Support filesystem notification through inotify on GNU/Linux.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2
3 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4
5 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6
7 * simple.el (just-one-space): Doc fix.
8
9 2012-12-10 Eli Zaretskii <eliz@gnu.org>
10
11 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add
12 "smallexample".
13
14 2012-12-10 Le Wang <l26wang@gmail.com>
15
16 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
17 narrowed buffer (bug#12361).
18
19 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
20
21 * vc/vc-hooks.el (vc-state): Doc fix.
22
23 2012-12-10 Glenn Morris <rgm@gnu.org>
24
25 * mail/rmail.el (rmail-maybe-display-summary):
26 Preserve buffer, in case select-window changes it. (Bug#13066)
27
28 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
31 cl-load-hook where they belong.
32
33 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
36
37 2012-12-09 Eli Zaretskii <eliz@gnu.org>
38
39 Parallelize byte compilation on MS-Windows.
40 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
41 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
42 (WINS_BASIC): Define as concatenation of the above.
43 (compile): Subdivide into 4 separate and independent jobs that can
44 be run in parallel.
45 (compile0-CMD, compile0-SH): New targets for compiling
46 COMPILE_FIRST files, which are prerequisites for the rest of the
47 byte-compilation.
48 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
49 New targets for parallel compilation with cmd.exe.
50 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
51 compiling under a Unixy shell.
52
53 2012-12-09 Chong Yidong <cyd@gnu.org>
54
55 * simple.el (set-mark-default-inactive): Delete this
56 accidentally-introduced option.
57 (set-mark-command, exchange-point-and-mark): Remove calls.
58
59 2012-12-09 Glenn Morris <rgm@gnu.org>
60
61 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
62 Respect a defcustom's :set function, if appropriate. (Bug#109)
63 (eval-defun): Doc fix.
64
65 2012-12-08 Juri Linkov <juri@jurta.org>
66
67 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
68 (Info-fontify-node, Info-bookmark-make-record): Remove the
69 file extension from Info-current-file (Bug#13016).
70
71 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
74 point, still provide some default.
75 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
76 names, since we don't use it right now. Actually return the list.
77 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
78
79 2012-12-07 Chong Yidong <cyd@gnu.org>
80
81 * novice.el (disabled-command-function): Remove a spurious help
82 xref (Bug#13043). Suggested by Kelly Dean.
83
84 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
85 syntax is specified (Bug#13025).
86
87 * info.el (Info-set-mode-line): Remove the file extension from
88 Info-current-file if there is one (Bug#13016).
89
90 2012-12-07 Glenn Morris <rgm@gnu.org>
91
92 * mail/rmail.el (rmail-mime-decoded): New permanent local.
93 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
94 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
95 and rmail-mime-decoded. (Bug#9841)
96
97 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
98 (batch-unrmail, unrmail): Doc fixes.
99 (unrmail): Respect unrmail-mbox-format.
100 * mail/rmail.el (rmail-mbox-format): New option.
101 (rmail-show-message-1): Respect rmail-mbox-format.
102
103 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
106
107 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
108
109 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
110 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
111 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
112 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
113 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
114 (cl-progv): Don't rely on dynamic scoping to find the body.
115 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
116 (cl--proclaims-deferred): Rename from the "cl-" prefix.
117 (cl-declaim): Use backquotes.
118 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
119 Use "cl--" prefix for the object's tag.
120
121 * ses.el: Use advice-add/remove.
122 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
123 (copy-region-as-kill, yank): Use advice-add.
124 (ses-unload-function): Use advice-remove.
125
126 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
127
128 * button.el: Make them work in header-lines (bug#12817).
129 (button-map): Add bindings for header-line and mode-line use.
130 (button-get, button-put, button-label): `button' may now be a string.
131 (button-activate): Don't make it a defsubst.
132 (button--area-button-p, button--area-button-string): New functions.
133 (make-text-button): Fix the return value when `beg' was a string.
134 (push-button): Handle the mode-line case.
135
136 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
137
138 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
139 (sql-signum): Remove. Use `cl-signum' instead.
140 (sql-read-passwd): Remove; use read-passwd instread.
141 (sql-get-login-ext): Use read-string.
142 (sql-get-login): Use dolist and pcase.
143 (sql--completion-table): Rename from sql-try-completion.
144 Use complete-with-action.
145 (sql-mode): Don't change abbrev-all-caps globally.
146 (sql-connect): Don't rely on dynamic scoping for `new-name'.
147 (sql-postgres-completion-object): Initialize vars in their `let'.
148 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
149 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
150 (sql-comint-interbase): Use a single append, without setq.
151 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
152
153 * hi-lock.el: Rework the default face and the serialize regexp code.
154 (hi-lock--auto-select-face-defaults): Remove.
155 (hi-lock-string-serialize-serial): Remove.
156 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
157 make weak.
158 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
159 equal string.
160 (hi-lock-set-pattern): Adjust accordingly.
161 (hi-lock--regexps-at-point): Simplify accordingly.
162 (hi-lock--auto-select-face-defaults): Remove.
163 (hi-lock--last-face): New var to replace it.
164 (hi-lock-read-face-name): Rewrite (bug#11095).
165 (hi-lock-unface-buffer): Arrange for the face to be the next default.
166
167 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
168
169 * net/tramp.el (tramp-replace-environment-variables):
170 Hide compiler warning.
171 (tramp-file-name-for-operation): Remove `executable-find',
172 `start-process', `call-process' and `call-process-region'.
173
174 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
175
176 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
177 compatibility.
178
179 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
180
181 2012-12-06 Chong Yidong <cyd@gnu.org>
182
183 * ffap.el (ffap-replace-file-component): Fix typo.
184
185 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
186
187 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
188 fix open-paren-like token test (bug#12785).
189
190 2012-12-06 Glenn Morris <rgm@gnu.org>
191
192 * mail/rmailsum.el (rmail-new-summary): Tweak for
193 rmail-maybe-display-summary changing buffer. (Bug#13066)
194
195 2012-12-06 Juri Linkov <juri@jurta.org>
196
197 * info.el (Info-fontify-node): Don't hide the last newline.
198 (Bug#12272)
199
200 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
201
202 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
203 so as to enable message-read-from-minibuffer to expand mail aliases.
204
205 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
206
207 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
208 the `intangible' property.
209 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
210
211 2012-12-05 Deniz Dogan <deniz@dogan.se>
212
213 * net/rcirc.el (rcirc-urls): Update documentation.
214 (rcirc-condition-filter): New function.
215 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
216 and exclude consecutive duplicate URLs (Bug#6082).
217
218 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
219
220 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
221 Check return code of copy command.
222
223 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
224 Use group `tramp'. Add version.
225
226 2012-12-05 Chong Yidong <cyd@gnu.org>
227
228 * ffap.el (ffap-url-regexp): Don't require matching at front of
229 string (Bug#4952).
230 (ffap-url-p): If only a substring matches, return that.
231 (ffap-url-at-point): Use the return value of ffap-url-p.
232 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
233 (find-file-at-point, dired-at-point, dired-at-point-prompter)
234 (ffap-guess-file-name-at-point): Likewise.
235 (ffap-replace-file-component): Fix typo.
236
237 * info.el (info-display-manual): Add existing Info buffers, whose
238 files may not be in Info-directory-list, to the completion.
239 (info--manual-names): New helper function.
240
241 2012-12-05 Glenn Morris <rgm@gnu.org>
242
243 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
244 New functions, for detecting and resolving conflicts. (Bug#10709)
245
246 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
247
248 * hi-lock.el (hi-lock-auto-select-face): New user variable.
249 (hi-lock-auto-select-face-defaults): New buffer local variable.
250 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
251 (hi-lock-unface-buffer): Prompt user with useful defaults.
252 With prefix arg, unhighlight all hi-lock patterns in buffer.
253
254 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
255
256 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
257
258 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
259
260 * Makefile.in (TRAMP_SRC):
261 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
262
263 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
264
265 * net/tramp-adb.el: New package.
266
267 2012-12-04 Chong Yidong <cyd@gnu.org>
268
269 * terminal.el: Move to obsolete/.
270
271 * longlines.el: Move to obsolete/.
272
273 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
274 Remove code referring to longlines mode.
275
276 2012-12-03 Juri Linkov <juri@jurta.org>
277
278 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
279
280 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
281
282 * textmodes/ispell.el (ispell-init-process)
283 (ispell-start-process, ispell-internal-change-dictionary):
284 Make sure personal dictionary name is expanded after initial
285 `default-directory' value. Use expanded strings for
286 keep/restart checks and for value (Bug#13019).
287
288 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
289
290 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
291
292 2012-12-03 Leo Liu <sdl.web@gmail.com>
293
294 * files.el (dir-locals-read-from-file): Check file non-empty
295 before reading. (Bug#13038)
296
297 2012-12-03 Glenn Morris <rgm@gnu.org>
298
299 * jka-cmpr-hook.el (jka-compr-get-compression-info):
300 Remove any version extension before checking filename. (Bug#13006)
301 (jka-compr-compression-info-list): Belated :version bump.
302
303 2012-12-03 Chong Yidong <cyd@gnu.org>
304
305 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
306
307 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
308 (buffer-menu): Doc fix (Bug#12294).
309
310 2012-12-03 Roland Winkler <winkler@gnu.org>
311
312 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
313 of diary-show-all-entries in the diary buffer (Bug#12994).
314
315 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
316
317 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
318 "<STDIN>". This is binary safe.
319
320 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
321
322 * calc/calc-forms.el (math-absolute-from-iso-dt)
323 (math-date-to-iso-dt, math-parse-iso-date-validate)
324 (math-iso-dt-to-date): New functions.
325 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
326 (math-fd-isoweekday): New variables.
327 (calc-date-notation, math-parse-standard-date, math-format-date)
328 (math-format-date-part): Add support for more formatting codes.
329
330 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
331
332 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
333 current buffer's file name when called interactively (Bug#12488).
334
335 2012-12-02 Juri Linkov <juri@jurta.org>
336
337 * info.el (info-display-manual): Don't clobber an existing Info
338 buffer (Bug#10770). Add completion (Bug#10771).
339
340 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
341
342 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
343 before using it for comparison (Bug#5297).
344
345 2012-12-01 Jari Aalto <jari.aalto@cante.net>
346
347 * textmodes/css-mode.el (css-current-defun-name): New function.
348 (css-mode): Use it.
349
350 * textmodes/sgml-mode.el (html-current-defun-name): New function.
351 (html-mode): Use it.
352
353 2012-12-01 Chong Yidong <cyd@gnu.org>
354
355 Modularize add-log-current-defun (Bug#2224).
356 Suggested by Jari Aalto.
357
358 * vc/add-log.el (add-log-current-defun-function): Doc fix.
359 (add-log-current-defun): Move mode-specific code to other files.
360 (add-log-lisp-like-modes, add-log-c-like-modes)
361 (add-log-tex-like-modes): Variables deleted.
362
363 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
364 (lisp-mode-variables): Use it.
365
366 * progmodes/cc-mode.el (c-common-init):
367 * progmodes/cperl-mode.el (cperl-mode): Set a value for
368 add-log-current-defun-function.
369
370 * progmodes/m4-mode.el (m4-current-defun-name): New function.
371 (m4-mode): Use it.
372
373 * progmodes/perl-mode.el (perl-current-defun-name): New.
374 (perl-mode): Use it.
375
376 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
377 Use lisp-current-defun-name.
378
379 * textmodes/tex-mode.el (tex-current-defun-name): New.
380 (tex-common-initialization): Use it.
381
382 * textmodes/texinfo.el (texinfo-current-defun-name): New.
383 (texinfo-mode): Use it.
384
385 2012-12-01 Chong Yidong <cyd@gnu.org>
386
387 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
388 * progmodes/autoconf.el (autoconf-mode):
389 * progmodes/js.el (js-mode):
390 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
391 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
392 * progmodes/perl-mode.el (perl-mode):
393 * progmodes/sh-script.el (sh-mode, sh-set-shell):
394 * textmodes/css-mode.el (css-mode):
395 * textmodes/sgml-mode.el (html-mode, sgml-mode)
396 (sgml-tags-invisible, sgml-guess-indent):
397 * textmodes/tex-mode.el (tex-common-initialization)
398 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
399 (doctex-mode, plain-tex-mode, latex-mode):
400 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
401
402 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
403
404 * vc/vc-hg.el (vc-hg-next-revision):
405 Ensure use of default "tip" output format. (Bug#6968)
406
407 2012-12-01 Kim F. Storm <storm@cua.dk>
408
409 * startup.el (fancy-startup-tail): Add a clickable link
410 (Bug#2176).
411
412 2012-12-01 Chong Yidong <cyd@gnu.org>
413
414 * startup.el (fancy-startup-tail): Improve the message about
415 auto-save files (Bug#2176).
416
417 * files.el (recover-session): Improve the descriptive message, and
418 use substitute-command-keys.
419
420 2012-12-01 Glenn Morris <rgm@gnu.org>
421
422 * ido.el (ido-file-internal):
423 Handle other-window, other-frame for dired. (Bug#13036)
424
425 2012-11-30 Glenn Morris <rgm@gnu.org>
426
427 * icomplete.el (icomplete-separator): Fix :version.
428
429 2012-11-30 Chong Yidong <cyd@gnu.org>
430
431 * shell.el (shell): For C-u M-x shell, use an inactive shell
432 buffer as the default (Bug#1975).
433 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
434 (shell-mode): Use them to reapply ansi colorization if Shell mode
435 is re-enabled.
436
437 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
438
439 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
440
441 2012-11-30 Samuel Bronson <naesten@gmail.com>
442
443 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
444 flag to xargs, for compatibility with BSD xargs (Bug#11703).
445
446 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
447
448 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
449 by move-to-column (Bug#3234).
450
451 2012-11-30 Chong Yidong <cyd@gnu.org>
452
453 * longlines.el (longlines-wrap-line, longlines-encode-region):
454 Preserve text properties (Bug#1425).
455
456 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
457
458 * vc/vc.el (vc-register): Allow registering a file which is
459 already registered with a different backend (Bug#10589).
460
461 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
462 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * icomplete.el: Change separator; add ido-style commands.
465 (icomplete-show-key-bindings): Remove custom var.
466 (icomplete-get-keys): Remove function.
467 (icomplete-forward-completions, icomplete-backward-completions):
468 New commands.
469 (icomplete-minibuffer-map): New var.
470 (icomplete-minibuffer-setup): Use it.
471 (icomplete-exhibit): Don't delay if the list of completions is known.
472 (icomplete-separator): New custom.
473 (icomplete-completions): Use it.
474 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
475 (minibuffer-force-complete-and-exit): New command.
476 (minibuffer--complete-and-exit): New function extracted from
477 minibuffer-complete-and-exit.
478 (minibuffer-complete-and-exit): Use it.
479
480 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
481 error message when the file doesn't exist (bug#12974).
482
483 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
484
485 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
486
487 2012-11-29 Glenn Morris <rgm@gnu.org>
488
489 * files.el (hack-dir-local-variables): Warn if try to set
490 coding via dir-locals, since it doesn't work. (Bug#7169)
491
492 Add desktop support for restoring vc-dir buffers. (Bug#10606)
493 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
494 Set buffer-local value of desktop-save-buffer.
495 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
496 New functions.
497 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
498 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
499
500 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
501 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
502 Doc fix.
503 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
504 Doc fixes.
505
506 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
507
508 * calc/calc-forms.el (calc-date-notation): Fix regexp
509 used to find time codes. Fix symbol for seconds.
510
511 2012-11-27 Glenn Morris <rgm@gnu.org>
512
513 * emacs-lisp/derived.el (derived-mode-make-docstring):
514 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
515
516 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
517
518 * textmodes/table.el (table-insert): Don't use `symbol-name' on
519 lexically scoped variables (bug#13005).
520
521 2012-11-27 Glenn Morris <rgm@gnu.org>
522
523 * vc/vc-hooks.el (vc-mistrust-permissions):
524 Default to t, to avoid data-loss. (Bug#11490)
525
526 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
527
528 * progmodes/python.el (python-indent-guess-indent-offset):
529 If indentation is guessed make python-indent-offset buffer-local.
530
531 Fix Imenu regression.
532 * progmodes/python.el (python-nav-beginning-of-defun):
533 Fix forward movement when statement(s) separates point from defun.
534 (python-imenu-prev-index-position): New function.
535
536 2012-11-27 Eli Zaretskii <eliz@gnu.org>
537
538 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
539
540 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
541 Don't set buffer-file-type. Return nil. (Bug#12989)
542
543 2012-11-27 Glenn Morris <rgm@gnu.org>
544
545 * hippie-exp.el (hippie-expand-try-functions-list):
546 Re-autoload it. (Bug#12982)
547
548 2012-11-27 Eli Zaretskii <eliz@gnu.org>
549
550 * descr-text.el (describe-char-padded-string):
551 Call internal-char-font only on GUI frames. (Bug#11964)
552
553 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
554
555 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
556 and obsoletion message.
557
558 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
561 the constructs to keep outside of the `cl-block' (bug#12977).
562
563 2012-11-27 Chong Yidong <cyd@gnu.org>
564
565 * mouse.el (mouse-drag-line): Even if the line is not draggable,
566 keep reading until we get the up-event anyway, in order to process
567 the up-event for mouse-1-click-follows-link (Bug#12971).
568
569 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
572 base function is not yet defined (bug#12965).
573 (ad-activate-advised-definition): Use ad-compile-function.
574 (ad-activate): Use cond.
575
576 2012-11-25 Leo Liu <sdl.web@gmail.com>
577
578 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
579 (Bug#12979)
580
581 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
582
583 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
584 reftex-section-info-function in order to be compatible with
585 Texinfo integration.
586
587 * textmodes/reftex.el (reftex-section-pre-regexp)
588 (reftex-section-post-regexp, reftex-section-info-function):
589 New variable.
590 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
591 reftex-section-post-regexp, and reftex-section-info-function in order
592 to be compatible with Texinfo integration.
593
594 * textmodes/reftex-toc.el (reftex-toc-promote-action):
595 use reftex-section-pre-regexp variable in order to be compatible with
596 Texinfo integration.
597
598 2012-11-25 Chong Yidong <cyd@gnu.org>
599
600 * faces.el: Make face-spec-set more analogous to setq.
601 (face-spec-set): Change the third arg to specify whether this
602 function is being called via defface, customize, or a third party.
603 Set the appropriate symbol properties. Clear the override spec if
604 setting via Custom. Initialize face if necessary. (Bug#4988)
605 (face-spec-recalc): Allow theme faces to completely replace the
606 defface spec, in the same way as custom faces (Bug#8454).
607
608 * cus-face.el (custom-declare-face): Move face initialization to
609 face-spec-set.
610 (custom-theme-set-faces): Don't initialize the face name here, as
611 that is now done in face-spec-set.
612
613 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
614 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
615 Simplify by using the new arg to face-spec-set.
616
617 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
618 reset face-override-spec too, and use custom-declare-face.
619
620 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
621
622 * term/ns-win.el (ns-initialize-window-system): Move creation of
623 fontsets here (Bug#11964).
624
625 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
626
627 * ses.el (ses-rename-cell): Correct bug on mode-line update after
628 cell renaming.
629
630 2012-11-24 Chong Yidong <cyd@gnu.org>
631
632 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
633 obsolete.
634
635 * custom.el (custom-theme-set-variables): Use a topological sort
636 for ordering by custom dependencies (Bug#12952).
637 (custom--sort-vars, custom--sort-vars-1): New functions.
638
639 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
640
641 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
642 lexical-binding (bug#12938).
643
644 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
645
646 * image-mode.el (image-transform-check-size): Use assertions only
647 for images of type imagemagick.
648
649 Otherwise no error, image-transform-fit-to-{width,height} is
650 silently ignored, as before. Doc fix.
651
652 2012-11-24 Chong Yidong <cyd@gnu.org>
653
654 * faces.el (color-defined-p): Doc fix (Bug#12853).
655
656 2012-11-24 Juri Linkov <juri@jurta.org>
657
658 * dired.el (dired-mark): Add optional arg `interactive'.
659 Check for `use-region-p' if `interactive' is non-nil.
660 (dired-unmark, dired-flag-file-deletion): Add optional arg
661 `interactive'. Call `dired-mark' with the arg `interactive'.
662 (Bug#10624)
663
664 * wdired.el: Revert 2012-10-17 change partly and replace it with
665 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
666 (wdired-finish-edit): Add marks for new file names to
667 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
668 after `revert-buffer'.
669 (wdired-do-renames): Remove calls to `dired-remove-file',
670 `dired-add-file', `dired-add-entry'. (Bug#11795)
671
672 2012-11-24 Alan Mackenzie <acm@muc.de>
673
674 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
675
676 Fix bugs in the state cache. Enhance a debugging mechanism.
677 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
678 "brace at column zero" strategy for C++.
679 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
680 (c-parse-state-point): New variable.
681 (c-record-parse-state-state): Record old parse state with
682 `copy-tree'. Record previous value of point.
683 (c-debug-parse-state-double-cons): New debugging function.
684 (c-debug-parse-state): Call the above new function.
685 (c-toggle-parse-state-debug): Output a confirmatory message.
686
687 * progmodes/cc-mode.el (c-before-change, c-after-change):
688 Call c-invalidate-state-cache from `c-before-change' instead of
689 `c-after-change'.
690
691 2012-11-23 Chong Yidong <cyd@gnu.org>
692
693 * find-cmd.el (find-constituents): Add executable, ipath,
694 readable, samefile, writable, daystart, regextype (Bug#12856).
695
696 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
697
698 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
699
700 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
701
702 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
703 definition. This fixes a bootstrap failure.
704 (calc-gregorian-switch): In menu, put dates before regions.
705 This is easier to follow, lines up better in the menu, and lets us
706 coalesce regions that switch at the same time. Give country
707 names, not "Vatican", as that's better for non-expert users.
708 Use names that are stable between the date of switch and now, e.g.,
709 Bohemia and Moravia (which existed then and now) and not
710 Czechoslovakia (which didn't exist then and doesn't exist now).
711 What is now the U.S. mostly did not switch at the same time as
712 Britain, so omit the U.S. Correct spelling of "Britain".
713 Catholic Switzerland was too much of a mess, so omit it.
714
715 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
716
717 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
718 after the variable is changed.
719
720 2012-11-21 Daniel Colascione <dancol@dancol.org>
721
722 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
723 in SQL declarations for font-lock.
724 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
725
726 2012-11-21 Glenn Morris <rgm@gnu.org>
727
728 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
729 (face-italic-p): Add optional argument "inherit".
730
731 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
732 Remove -p suffix from names, for consistency with other set-face-*.
733 (set-face-inverse-video): Fix interactive spec.
734 * play/gamegrid.el (gamegrid-make-mono-tty-face):
735 * textmodes/table.el (table--update-cell-face):
736 Use set-face-inverse-video rather than now obsolete alias.
737
738 2012-11-21 Eli Zaretskii <eliz@gnu.org>
739
740 * simple.el (line-move): Don't call line-move-partial if
741 scroll-conservatively is in effect. (Bug#12927)
742
743 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
744
745 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
746 Fallback on completion-at-point rather than
747 pcomplete-expand-and-complete, and only if pcomplete actually failed.
748 (eshell-cmpl-initialize): Setup completion-at-point.
749
750 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
751
752 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
753
754 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
755
756 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
757 are remote, check out-of-band property for both.
758
759 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * window.el (switch-to-buffer): Re-add the warning that was lost in the
762 code rewrite.
763
764 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
765
766 More minor time fixes.
767 * calendar/time-date.el: Commentary fix.
768 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
769 too much other code depends on (0 0) time stamps.
770 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
771 Add a couple of FIXME comments.
772
773 Minor cleanup for times as lists of four integers.
774 * files.el (dir-locals-directory-cache):
775 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
776 Doc fixes.
777 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
778 * ps-bdf.el (bdf-file-newer-than-time):
779 Process four-integers time stamps, not two. Doc fixes.
780
781 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
782
783 * uniquify.el (uniquify-managed): Use defvar-local.
784 (rename-buffer, create-file-buffer): Advise with advice-add.
785 (uniquify-unload-function): Unadvise accordingly.
786
787 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
788 (trace-buffer): Don't purecopy.
789 (trace-entry-message, trace-exit-message): Add `context' arg.
790 (trace--timer): New var.
791 (trace-make-advice): Adjust for use in nadvice.
792 Add `context' argument. Delay `display-buffer' via a timer.
793 (trace-function-internal): Use advice-add.
794 (trace--read-args): New function.
795 (trace-function-foreground, trace-function-background): Use it.
796 (trace-function): Rename to trace-function-foreground and redefine as
797 an alias to that new name.
798 (untrace-function, untrace-all): Adjust to the use of nadvice.
799
800 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
801
802 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
803
804 * subr.el (called-interactively-p-functions): New var.
805 (internal--called-interactively-p--get-frame): New macro.
806 (called-interactively-p, interactive-p): Rewrite in Lisp.
807 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
808 (called-interactively-p-functions): Use it.
809 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
810 (called-interactively-p-functions): Use it.
811 * allout.el (allout-called-interactively-p): Don't assume
812 called-interactively-p is a subr.
813
814 2012-11-20 Glenn Morris <rgm@gnu.org>
815
816 * profiler.el (profiler-report-mode-map): Add a menu.
817 No need to bind `q' because we derive from special-mode.
818 (profiler-report-find-entry): Handle calls from the menu-bar.
819
820 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
821
822 * emacs-lisp/byte-run.el (defun-declarations-alist):
823 Allow a compiler-macro to be a lambda expression.
824
825 * progmodes/python.el: Use cl-lib. Move var declarations outside of
826 eval-when-compile.
827 (python-syntax-context): Add compiler-macro.
828 (python-font-lock-keywords): Simplify with De Morgan.
829
830 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
831
832 * files.el (load-file): Require match in minibuffer selection, as was
833 the case in Emacs-20 before we changed the spec to allow .elc files
834 (bug#12935).
835
836 * json.el: Don't require cl since we don't use it.
837 * color.el: Don't require cl.
838 (color-complement): `caddr' -> `nth 2'.
839
840 * calendar/time-date.el (time-to-seconds): De-obsolete.
841
842 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
843
844 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
845 year numbers.
846 (math-date-to-julian-dt): Adjust the initial approximation for the
847 year to deal with the new definition of the DATE.
848
849 2012-11-19 Daniel Colascione <dancol@dancol.org>
850
851 * term/w32-win.el (cygwin-convert-path-from-windows):
852 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
853
854 2012-11-18 Chong Yidong <cyd@gnu.org>
855
856 * filecache.el (file-cache--read-list): New function.
857 (file-cache-add-directory-list, file-cache-add-file-list)
858 (file-cache-delete-file-list, file-cache-delete-directory-list):
859 Use it to read a list of files or directories (Bug#12846).
860 (file-cache-add-file, file-cache-add-directory)
861 (file-cache-delete-file-list, file-cache-delete-file-regexp)
862 (file-cache-delete-directory): Print an message.
863
864 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
865
866 * calc/calc-forms.el (math-date-to-dt): Use integer date when
867 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
868
869 2012-11-18 Glenn Morris <rgm@gnu.org>
870
871 * image.el (insert-image, insert-sliced-image): Doc fix.
872
873 2012-11-18 Chong Yidong <cyd@gnu.org>
874
875 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
876 (Bug#12810).
877
878 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
879
880 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
881 response when the target file is in a subdirectory (Bug#12757).
882
883 2012-11-18 Chong Yidong <cyd@gnu.org>
884
885 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
886
887 2012-11-18 Glenn Morris <rgm@gnu.org>
888
889 * emacs-lisp/cl-lib.el (face-underline-p):
890 Use set-face-underline rather than the alias set-face-underline-p.
891
892 * window.el (with-temp-buffer-window): Doc fix.
893 * subr.el (with-output-to-temp-buffer):
894 Add doc xref to with-temp-buffer-window.
895
896 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
897
898 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
899 * calc/calc.el (math-format-date-cache): Declare.
900
901 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
902
903 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
904 It also uses January 1, 1 AD as its day number 1.
905 * calc/calc-forms.el (math-julian-date-beginning)
906 (math-julian-date-beginning-int): Implement this.
907
908 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
909
910 * descr-text.el (quail-find-key):
911 * dired.el (desktop-file-name):
912 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
913 * generic-x.el (comint-mode, comint-exec):
914 * image-dired.el (widget-forward):
915 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
916 (speedbar-change-expand-button-char)
917 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
918 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
919 * printing.el (easy-menu-add-item, easy-menu-remove-item)
920 (widget-field-action, widget-value-set):
921 * speedbar.el (imenu--make-index-alist):
922 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
923 (ring-length, ring-insert):
924 * vcursor.el (compare-windows-skip-whitespace):
925 * woman.el (dired-get-filename):
926 Declare functions.
927
928 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
929
930 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
931
932 * calc/calc.el (calc-gregorian-switch): New variable.
933
934 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
935 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
936 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
937 (math-leap-year-p): Add option to distinguish between Julian
938 and Gregorian calendars.
939 (math-day-number): Use `math-day-in-year' to do the computations.
940 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
941 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
942 to do the computations.
943 (math-date-to-dt): Use `math-date-to-julian-dt' and
944 `math-date-to-gregorian-dt' to do the computations.
945 (calcFunc-weekday, math-format-date-part): Use the new version of
946 the DATE to determine the weekday.
947 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
948 when necessary.
949
950 2012-11-17 Eli Zaretskii <eliz@gnu.org>
951
952 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
953 Cygwin; otherwise use 'file:'. (Bug#12914)
954 (cygwin-convert-path-from-windows): Declare, to avoid
955 byte-compiler warnings.
956
957 2012-11-17 Andreas Politz <politza@fh-trier.de>
958
959 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
960 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
961 prefix and negative numeric prefix args (Bug#12795).
962
963 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
964
965 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
966 Don't signal an error with a score that is too low to add to the
967 list of top scores. (Bug#12779)
968
969 2012-11-17 Chong Yidong <cyd@gnu.org>
970
971 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
972
973 * filecache.el (file-cache-add-file): Handle relative file name in
974 the argument (Bug#12694).
975
976 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
977
978 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
979
980 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
983
984 * emacs-lisp/cl-lib.el: Set more meaningful version number.
985
986 2012-11-16 Martin Rudalics <rudalics@gmx.at>
987
988 * window.el (enlarge-window, shrink-window): Don't mention return
989 value in doc-string (Bug#12896).
990 (window--display-buffer): Don't resize frames - it won't work
991 with all window managers and defeat pop-up-frame-alist.
992 (display-buffer-alist): In doc-string explain that CONDITION can
993 be a function and which arguments are passed to it (Bug#12854).
994 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
995 expressions (Bug#12854).
996 (display-buffer): Pass ACTION argument to
997 display-buffer-assq-regexp.
998
999 2012-11-16 Glenn Morris <rgm@gnu.org>
1000
1001 * window.el (fit-frame-to-buffer-bottom-margin)
1002 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1003
1004 * faces.el (face-underline-p): Use face-attribute-specified-or.
1005
1006 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
1007
1008 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1009
1010 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1011
1012 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1013
1014 2012-11-16 Glenn Morris <rgm@gnu.org>
1015
1016 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1017 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1018
1019 * faces.el (face-underline-p): Doc fix. Handle :underline being
1020 things other than `t' (a string, a list).
1021 (face-inverse-video-p): Doc fix.
1022 (set-face-underline): Rename it back from set-face-underline-p.
1023 Doc fix. Allow interactive input of values other than t.
1024 (read-face-attribute): Apply formatting to :underline,
1025 since like :box and :stipple it can take list values.
1026
1027 * term.el (ansi-term): Don't let C-x escape-char binding
1028 clobber the more standard C-c binding. (Bug#12842)
1029
1030 * subr.el (set-temporary-overlay-map): Doc fix.
1031
1032 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1033
1034 * window.el (record-window-buffer)
1035 (display-buffer-record-window): When copying the markers to
1036 window-point preserve window-point-insertion-type. (Bug#12588)
1037
1038 2012-11-16 Glenn Morris <rgm@gnu.org>
1039
1040 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1041 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1042 Use new names for hooks rather than obsolete aliases.
1043
1044 2012-11-15 Daniel Colascione <dancol@dancol.org>
1045
1046 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
1047 prefix instead of "file:" so that when FILE-NAME begins with "//",
1048 as it does when the target file is on a network share, url-handler
1049 isn't confused.
1050
1051 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1052
1053 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1054 a preactivated advice from an old advice.el; they're not compatible!
1055
1056 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1057
1058 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1059 Fix string-spec case.
1060
1061 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1062
1063 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1066 (advice--buffer-local-function-sample): New var.
1067 (advice--set-buffer-local, advice--buffer-local): New functions.
1068 (add-function, remove-function): Use them.
1069
1070 2012-11-15 Drew Adams <drew.adams@oracle.com>
1071
1072 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1073
1074 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1077 potential binding of print-gensym to t, and prettify (back)quotes in
1078 case they appear in args's default values (bug#12884).
1079
1080 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1083 (advice-eval-interactive-spec): New function.
1084 (advice--make-interactive-form): Support around advice (bug#12844).
1085
1086 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1087
1088 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1089 more strict. Add docstring.
1090 (ruby-expression-expansion-re): Extract from
1091 `ruby-match-expression-expansion'.
1092 (ruby-syntax-propertize-function): After everything else, search
1093 for expansions in string literals, mark their insides as
1094 whitespace syntax and save match data for font-lock.
1095 (ruby-font-lock-keywords): Use the 2nd group from expression
1096 expansion matches.
1097 (ruby-match-expression-expansion): Use the match data saved to the
1098 text property in ruby-syntax-propertize-function.
1099
1100 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1103 (bug#12879).
1104
1105 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1106
1107 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1108 start/end keyword a bit harder. Works with different values of N.
1109 Add more comments.
1110 (ruby-end-of-block): Update accordingly.
1111
1112 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * woman.el (woman-file-name): Don't mess with unread-command-events
1115 (bug#12861).
1116
1117 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1118 Remove out of date self-require hack.
1119 (ad-do-advised-functions): Use simple `dolist'.
1120 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1121 (ad-advice-definition): Redefine as functions.
1122 (ad-advice-classes): Move before first use.
1123 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1124 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1125 (ad--defalias-fset): Remove functions.
1126 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1127 (ad-get-orig-definition): Rewrite.
1128 (ad-make-advised-definition-docstring): Change base docstring.
1129 (ad-real-orig-definition): Rewrite.
1130 (ad-map-arglists): Change name of called function.
1131 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1132 (ad-make-advised-definition): Simplify.
1133 (ad-assemble-advised-definition): Tweak for new calling context.
1134 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1135 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1136 function and call ad-activate if needed.
1137 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1138 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1139 (ad-compile-function): Compile ad-Advice-*.
1140 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1141 (ad-start-advice, ad-stop-advice): Remove.
1142
1143 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1144
1145 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1146 period before class method names, not after. Remove handling of
1147 one impossible case. Add comments.
1148
1149 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 * emacs-lisp/advice.el: Remove support for freezing.
1152 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1153 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1154 Remove support for `freeze'.
1155
1156 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1157 override the default.
1158 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1159 cl--dotimes/dolist.
1160 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1161 `cl' is loaded.
1162
1163 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1164 from add-advice.
1165 (advice--strip-macro): New function.
1166 (advice--defalias-fset): Use them to handle macros.
1167 (advice-add): Use them.
1168 (advice-member-p): Correctly handle macros.
1169
1170 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1171
1172 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1173 Never font-lock the beginning of singleton class as heredoc.
1174
1175 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1176
1177 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1178
1179 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
1180
1181 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1182 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1183 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1184
1185 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
1186
1187 Fix end-of-defun misbehavior.
1188 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1189 python-beginning-of-defun-function. Handle nested defuns
1190 correctly.
1191 (python-nav-end-of-defun): Rename from
1192 python-end-of-defun-function. Ensure forward movement.
1193 (python-info-current-defun): Reimplement to work as intended
1194 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1195 parent defuns as soon as possible.
1196
1197 2012-11-13 Glenn Morris <rgm@gnu.org>
1198
1199 * progmodes/flymake.el (flymake-error-bitmap)
1200 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1201 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1202
1203 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1204
1205 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1206 backward, always stop at indentation. Reverts the change from
1207 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1208
1209 2012-11-13 Glenn Morris <rgm@gnu.org>
1210
1211 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1212 Add ibuffer-filter-by-derived-mode.
1213
1214 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1215 the same name shadowing each other.
1216
1217 * window.el (with-temp-buffer-window): Doc tweak.
1218
1219 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1220
1221 * help.el (temp-buffer-max-height):
1222 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1223 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1224
1225 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1226
1227 * emacs-lisp/nadvice.el: New package.
1228 * subr.el (special-form-p): New function.
1229 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1230 (elp-all-instrumented-list): Remove var.
1231 (elp-not-profilable): Remove elp-wrapper.
1232 (elp-profilable-p): Use autoloadp and special-form-p.
1233 (elp--advice-name): New const.
1234 (elp-instrument-function): Use advice-add.
1235 (elp--instrumented-p): New predicate.
1236 (elp-restore-function): Use advice-remove.
1237 (elp-restore-all, elp-reset-all): Use mapatoms.
1238 (elp-set-master): Use elp--instrumented-p.
1239 (elp--make-wrapper): Rename from elp-wrapper, return a function
1240 suitable for advice-add. Use cl-inf.
1241 (elp-results): Use mapatoms+elp--instrumented-p.
1242 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1243 (debug-function-list): Remove var.
1244 (debug): Rename arg, and then let-bind it explicitly inside.
1245 (debugger-setup-buffer): Rename arg.
1246 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1247 (debugger-frame-number): Adjust to new debug-on-entry setup.
1248 (debug--implement-debug-on-entry): Rename from
1249 implement-debug-on-entry, add argument.
1250 (debugger-special-form-p): Remove, use special-form-p instead.
1251 (debug-on-entry): Use advice-add.
1252 (debug--function-list): New function.
1253 (cancel-debug-on-entry): Use it, along with advice-remove.
1254 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1255 (debugger-list-functions): Use debug--function-list instead of
1256 debug-function-list.
1257 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1258 (ad-special-form-p): Remove, use special-form-p instead.
1259 (ad-set-advice-info): Use add-function and remove-function.
1260 (ad--defalias-fset): Adjust accordingly.
1261
1262 2012-11-10 Glenn Morris <rgm@gnu.org>
1263
1264 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1265 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1266 (report-emacs-bug-create-existing-bugs-buffer)
1267 (report-emacs-bug-parse-query-results)
1268 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1269
1270 * term.el (term-default-fg-color, term-default-bg-color):
1271 Make obsolete, rather than just saying "deprecated" in the doc.
1272
1273 * term.el (term): Rename from `term-face'.
1274 (term-current-face, ansi-term-color-vector)
1275 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1276 Update all users.
1277
1278 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
1279
1280 * server.el (server-create-window-system-frame): Handle Nextstep
1281 specially (Bug#12780).
1282
1283 2012-11-10 Glenn Morris <rgm@gnu.org>
1284
1285 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1286 Unautoload, and make obsolete. (Bug#7449)
1287
1288 2012-11-10 Chong Yidong <cyd@gnu.org>
1289
1290 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1291 rename from diff-remove-trailing-whitespace (Bug#12831).
1292
1293 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1294
1295 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1296 miscompilation of trace.el.
1297
1298 2012-11-10 Glenn Morris <rgm@gnu.org>
1299
1300 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1301
1302 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1305 (bug#12812).
1306
1307 2012-11-10 Chong Yidong <cyd@gnu.org>
1308
1309 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1310 a defcustom with an appropriate :set function.
1311 (minibuffer-default--in-prompt-regexps): New function.
1312
1313 2012-11-10 Glenn Morris <rgm@gnu.org>
1314
1315 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1316 (define-modify-macro): Doc fixes.
1317
1318 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1319 (gv-define-simple-setter): Update doc of `fix-return'.
1320
1321 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1322
1323 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1324 twice when `fix-return' is set (bug#12813).
1325
1326 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1327 gv-define-simple-setter (bug#12812).
1328
1329 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1330 (bug#12756).
1331
1332 2012-11-10 Glenn Morris <rgm@gnu.org>
1333
1334 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1335
1336 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1337 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1338 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1339 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1340
1341 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1342
1343 2012-11-10 Leo Liu <sdl.web@gmail.com>
1344
1345 * ido.el (ido-set-matches-1): Improve flex matching performance by
1346 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1347
1348 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1351 (ad--defalias-fset): New function.
1352 (ad-safe-fset): Remove.
1353 (ad-make-freeze-definition): Use cl-letf*.
1354
1355 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1356
1357 * subr.el (dolist): Don't bind VAR in RESULT.
1358
1359 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1360 (fset, documentation): Don't save real def since we don't advise.
1361 (ad-do-advised-functions): Remove problematic `result-form'.
1362 (ad-safe-fset): `ad-real-fset' => `fset'.
1363 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1364 uses CL's dolist internally.
1365 (ad-arglist): Remove unused arg `name'.
1366 (ad-docstring, ad-make-advised-docstring):
1367 `ad-real-documentation' => `documentation'.
1368 (warning-suppress-types): Declare.
1369 (ad-set-arguments): Simple CSE.
1370 (ad-recover-normality): Sanity check.
1371
1372 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1373 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1374
1375 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1376
1377 * ses.el: symbol to coordinate mapping is made by symbol property
1378 `ses-cell'. This means that the same mapping is done for all SES
1379 sheets. That is good enough for cells with standard A1 names, but
1380 not for named cell. So a hash map is added for the latter.
1381 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1382 (ses-sym-rowcol): Use hashmap for named cell.
1383 (ses-is-cell-sym-p): New defun.
1384 (ses-decode-cell-symbol): New defun.
1385 (ses-create-cell-variable): Add cell to hashmap when name is not
1386 A1-like.
1387 (ses-rename-cell): Check that cell new name is not already in
1388 spreadsheet with the use of ses-is-cell-sym-p
1389 (ses-rename-cell): Use hash map for named cells, but accept also
1390 renaming back to A1-like.
1391
1392 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * emacs-lisp/advice.el: Use new dynamic docstrings.
1395 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1396 Use dynamic-docstring-function instead of ad-advice-info.
1397 (ad--make-advised-docstring): New function extracted from
1398 ad-make-advised-docstring.
1399 (ad-make-advised-docstring): Use it.
1400 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1401 from sql-help.
1402 (sql-help): Use it with dynamic-docstring-function.
1403
1404 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1405
1406 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * files.el (hack-one-local-variable--obsolete): New function.
1409 (hack-one-local-variable): Use it for obsolete settings.
1410
1411 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1412 the new name.
1413
1414 * progmodes/js.el (js--filling-paragraph): New var.
1415 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1416 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1417 less sneaky.
1418
1419 2012-11-08 Julien Danjou <julien@danjou.info>
1420
1421 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1422 `auto-mode-alist' (Bug#12835).
1423
1424 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1425
1426 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1427 (perl--prettify-symbols-alist): New const.
1428 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1429 New functions.
1430 (perl-font-lock-keywords-2): Use them.
1431 (perl-electric-noindent-p): New function.
1432 (perl-mode): Use it to set up electric-indent-mode.
1433 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1434 (perl-mode-map): Remove bindings for them.
1435 (perl-imenu-generic-expression, perl-outline-level):
1436 Match functions&packages in column>0.
1437
1438 * env.el (env--substitute-vars-regexp): New const.
1439 (substitute-env-vars): Use it. Add `only-defined' arg.
1440 * net/tramp.el (tramp-replace-environment-variables): Use it.
1441
1442 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1443 Byte-compile *before* eval in eval-and-compile.
1444 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1445 (byte-compile-file-form-autoload): Don't hide actual definition.
1446 (byte-compile-maybe-guarded): Accept `functionp' as well.
1447
1448 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1449
1450 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
1451
1452 * notifications.el (notifications-get-server-information-method):
1453 New defconst.
1454 (notifications-get-capabilities): Fix docstring.
1455 (notifications-get-server-information): New defun.
1456
1457 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1458
1459 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1460 readability.
1461
1462 * textmodes/ispell.el: Experimental support for support debugging.
1463 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1464 buffer for ispell.
1465 (ispell-print-if-debug): New function to print stuff to
1466 `ispell-debug-buffer' if debugging is enabled.
1467 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1468 show some debugging info.
1469 (ispell-buffer-with-debug): New function that creates a debugging
1470 buffer and calls `ispell-buffer' with debugging enabled.
1471
1472 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1473 comment in autoconf mode. (Bug#12768)
1474
1475 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1476
1477 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1478 frame-first-window, frame-root-window, frame-selected-window,
1479 minibuffer-selected-window, minibuffer-window,
1480 window-absolute-pixel-edges, window-at, window-body-height,
1481 window-body-width, window-display-table, window-combination-limit,
1482 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1483 window-inside-edges, window-inside-pixel-edges, window-left-child,
1484 window-left-column, window-margins, window-next-buffers,
1485 window-next-sibling, window-new-normal, window-new-total,
1486 window-normal-size, window-parameter, window-parameters, window-parent,
1487 window-pixel-edges, window-point, window-prev-buffers,
1488 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1489 window-start, window-text-height, window-top-child, window-top-line,
1490 window-total-height, window-total-width and window-use-time to the list
1491 of functions without side-effects.
1492 (toplevel): Add window-valid-p to the list of error-free functions
1493 without side-effects.
1494
1495 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1496
1497 * textmodes/ispell.el (ispell-program-name):
1498 Update spellchecker parameters when customized.
1499
1500 2012-11-04 Glenn Morris <rgm@gnu.org>
1501
1502 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1503
1504 2012-11-04 Chong Yidong <cyd@gnu.org>
1505
1506 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1507 same-window-* variables.
1508
1509 2012-11-04 Juri Linkov <juri@jurta.org>
1510
1511 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1512 (isearch-describe-key, isearch-describe-mode): Use a display
1513 action instead of binding same-window-* variables (Bug#10040).
1514
1515 2012-11-03 Glenn Morris <rgm@gnu.org>
1516
1517 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1518 Rename handler properties back from cl-- to cl-. (Bug#12788)
1519
1520 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1521
1522 2012-11-03 Eli Zaretskii <eliz@gnu.org>
1523
1524 * term/pc-win.el: Don't load term/internal from here.
1525
1526 * loadup.el: Load term/internal from here.
1527
1528 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1529
1530 * progmodes/python.el (inferior-python-mode): Fix hang in
1531 jit-lock (Bug#12645).
1532
1533 2012-11-03 Martin Rudalics <rudalics@gmx.at>
1534
1535 * window.el (switch-to-visible-buffer)
1536 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1537
1538 2012-11-03 Glenn Morris <rgm@gnu.org>
1539
1540 * emacs-lisp/cl-lib.el (cl--random-time):
1541 Rename from cl-random-time. (Bug#12773)
1542 (cl--gensym-counter, cl--random-state): Update callers.
1543 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1544
1545 2012-11-03 Chong Yidong <cyd@gnu.org>
1546
1547 * cus-start.el: Make cursor-type customizable (Bug#11633).
1548
1549 2012-11-02 Glenn Morris <rgm@gnu.org>
1550
1551 * filecache.el: No need to load find-lisp when compiling.
1552 (find-lisp-find-files): Autoload it.
1553 (file-cache-add-directory-recursively): Don't require find-lisp.
1554
1555 * image.el (image-type-from-file-name): Trivial simplification.
1556
1557 * emacs-lisp/bytecomp.el (byte-compile-eval):
1558 Decouple "noruntime" and "cl-functions" warnings.
1559
1560 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
1561
1562 * play/gomoku.el (gomoku-display-statistics): Update mode line
1563 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1564
1565 2012-10-31 Martin Rudalics <rudalics@gmx.at>
1566
1567 * window.el (quit-restore-window): If the window has been
1568 created on an existing frame and ended up as the sole window on
1569 that frame, do not delete it (Bug#12764).
1570
1571 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1572
1573 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1574 Rename from sh--inside-arithmetic-expression, handle more cases
1575 (bug#11263).
1576
1577 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1578 (sh-font-lock-open-heredoc): Use it (bug#12770).
1579
1580 2012-10-30 Glenn Morris <rgm@gnu.org>
1581
1582 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1583
1584 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1585
1586 2012-10-29 Chong Yidong <cyd@gnu.org>
1587
1588 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1589 function key is stored in a keyboard macro (Bug#4894).
1590
1591 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1592
1593 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1594
1595 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1596 header comments".
1597 (diff-unified->context, diff-context->unified)
1598 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1599
1600 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1601
1602 * files.el (find-alternate-file): Only ask one question (bug#12487).
1603
1604 2012-10-29 Chong Yidong <cyd@gnu.org>
1605
1606 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1607 Suggested by Dan Nicolaescu (Bug#6326).
1608
1609 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1610
1611 * startup.el (fancy-about-screen): Don't message (Bug#12680).
1612
1613 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1614
1615 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1616
1617 * face-remap.el (face-remap-add-relative): Handle the case where a
1618 face-remapping-alist entry is a cons cell (Bug#12762).
1619
1620 2012-10-29 Kevin Ryde <user42@zip.com.au>
1621
1622 * woman.el (woman-parse-numeric-value): Handle picas correctly
1623 (Bug#12639).
1624
1625 2012-10-29 Glenn Morris <rgm@gnu.org>
1626
1627 * emacs-lisp/cl.el (defsetf): Doc fix.
1628
1629 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1630
1631 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1632 syntax to the matching opener, if any (bug#12547).
1633 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1634 matching open as a "case-(".
1635 (sh-smie-rc-grammar): Add a corresponding rule for it.
1636
1637 2012-10-28 Daniel Hackney <dan@haxney.org>
1638
1639 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1640 "PKGNAME-autoloads.el" in case we created it.
1641
1642 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1643
1644 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1645 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1646 (completion--twq-all): Disable too-strict assertions.
1647
1648 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1649
1650 2012-10-27 Eli Zaretskii <eliz@gnu.org>
1651
1652 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1653 text to match the real keybindings.
1654
1655 2012-10-27 Juri Linkov <juri@jurta.org>
1656
1657 * wdired.el (wdired-keep-marker-rename): New defcustom.
1658 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1659 (Bug#11795)
1660
1661 * dired.el (dired-keep-marker-rename): Add reference to
1662 `wdired-keep-marker-rename' in the docstring.
1663 Add default character value ?R to display initially in
1664 Customization UI instead of ?@.
1665
1666 2012-10-27 Martin Rudalics <rudalics@gmx.at>
1667
1668 * window.el (display-buffer): In doc-string describe
1669 window-height and window-width alist entries.
1670
1671 * time.el (display-time-world): Restore fit-window-to-buffer
1672 behavior.
1673
1674 2012-10-27 Chong Yidong <cyd@gnu.org>
1675
1676 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1677
1678 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
1679
1680 * minibuffer.el (completion-category-overrides): New completion
1681 category `bookmark' (bug#11131).
1682
1683 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1684
1685 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1686 Silence bogus compiler warnings for ad-do-it.
1687
1688 * bookmark.el (bookmark-completing-read): Set the completion category
1689 to `bookmark' (bug#11131).
1690
1691 2012-10-26 Bastien <bzg@altern.org>
1692 Stefan Monnier <monnier@iro.umontreal.ca>
1693
1694 * face-remap.el: Use lexical-binding.
1695 (text-scale-adjust): Improve docstring. Use itself for the temporary
1696 overlay-map bindings, so as to repeat the "Use..." message each time.
1697
1698 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1699
1700 * emacs-lisp/macroexp.el (macroexp--expand-all):
1701 Obey byte-compile-warning-enabled-p (bug#12486).
1702
1703 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1704 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1705
1706 2012-10-26 Martin Rudalics <rudalics@gmx.at>
1707
1708 * mouse.el (mouse-drag-line): Move last form into preceding when
1709 clause (Bug#12731).
1710
1711 * help.el (resize-temp-buffer-window): Fix doc-string.
1712
1713 2012-10-25 David Engster <deng@randomsample.de>
1714
1715 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1716 Remove. This feature is already integrated in imenu.
1717
1718 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1719 always loaded. Require `speedbar' unconditionally.
1720
1721 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1722
1723 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1724
1725 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1726
1727 * net/ldap.el (ldap-search-internal): The official ldif format starts
1728 with a "version: 1" header (bug#12724).
1729
1730 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1731 (bug#12721).
1732
1733 2012-10-25 Glenn Morris <rgm@gnu.org>
1734
1735 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1736
1737 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1738
1739 * minibuffer.el (minibuffer-force-complete): Use one more marker
1740 for the temporary-overlay-map command (bug#12619).
1741
1742 2012-10-24 Chong Yidong <cyd@gnu.org>
1743
1744 * time.el (display-time-world-mode): Derive from special-mode.
1745 (display-time-world): Use display-buffer (Bug#12708).
1746 (display-time-world-mode-map): Variable deleted.
1747 (display-time-world-display): Wrap the final delete-char inside
1748 inhibit-read-only.
1749
1750 2012-10-24 Chong Yidong <cyd@gnu.org>
1751
1752 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1753 Doc fix.
1754
1755 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1756
1757 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1758
1759 * minibuffer.el (completion--all-sorted-completions-location): New var.
1760 (completion--cache-all-sorted-completions)
1761 (completion--flush-all-sorted-completions): Use it.
1762 (completion-in-region, completion-in-region--postch)
1763 (completion-at-point, completion-help-at-point): Use markers in
1764 completion-in-region--data (bug#12619).
1765
1766 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1767
1768 * progmodes/compile.el (compilation-start): Try to handle common
1769 quoting of `cd' argument (bug#12640).
1770
1771 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1772 (bug#12671).
1773
1774 2012-10-23 Glenn Morris <rgm@gnu.org>
1775
1776 * progmodes/gud.el (gud-menu-map):
1777 Check gdb-active-process is bound. (Bug#12358)
1778
1779 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 * repeat.el (repeat): Set real-this-command (bug#12232).
1782
1783 * htmlfontify.el (hfy-post-html-hook):
1784 * filesets.el (filesets-cache-fill-content-hook):
1785 * arc-mode.el (archive-extract-hook):
1786 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1787 * net/rcirc.el (rcirc-sentinel-functions)
1788 (rcirc-receive-message-functions, rcirc-activity-functions)
1789 (rcirc-print-functions):
1790 * net/dbus.el (dbus-event-error-functions):
1791 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1792 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1793 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1794 * term/sun.el (sun-raw-prefix-hooks):
1795 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1796
1797 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
1798
1799 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1800 Set `tramp-chunksize' to 1. This improves the performance.
1801 (tramp-smb-wait-for-output): Add timeout to
1802 `tramp-accept-process-output' calls.
1803
1804 2012-10-23 Chong Yidong <cyd@gnu.org>
1805
1806 * faces.el (font-list-limit): Define as an obsolete variable.
1807
1808 * startup.el (command-line):
1809 * cus-start.el: Don't refer to font-list-limit.
1810
1811 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1812
1813 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 * subr.el (internal-temp-output-buffer-show): Rename from
1816 temp-output-buffer-show, since previously compiled files expect this name.
1817
1818 2012-10-23 Glenn Morris <rgm@gnu.org>
1819
1820 * image.el (image-type-from-file-name): If multiple types match,
1821 return the first one that is supported. (Bug#9045)
1822
1823 2012-10-22 Glenn Morris <rgm@gnu.org>
1824
1825 * image.el (imagemagick-enabled-types): Doc fix.
1826
1827 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1828
1829 * progmodes/which-func.el (which-func-current): The hash-table may have
1830 an explicit nil (bug#12338).
1831
1832 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1833
1834 * electric.el (electric-pair-delete-selection-self-insert-function):
1835 Rename to electric-pair-will-use-region, return a boolean.
1836 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1837
1838 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1839 (delete-selection-pre-hook): Use use-region-p.
1840 (delete-selection-self-insert-function): Remove.
1841 (self-insert-command): Obey self-insert-uses-region-functions.
1842 (self-insert-iso): Revert to previous setting, since we don't actually
1843 know what that command does.
1844 (delete-selection-self-insert-hooks): Remove.
1845
1846 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1847
1848 * delsel.el (delete-selection-helper): New function, extracted from
1849 delete-selection-pre-hook.
1850 (delete-selection-pre-hook): Use it.
1851 (delete-selection-self-insert-function): New function.
1852 (delete-selection-self-insert-hooks): New hook.
1853 (self-insert-command, self-insert-iso): Use it.
1854 * electric.el (electric-pair-syntax): New function, extracted from
1855 electric-pair-post-self-insert-function.
1856 (electric-pair-post-self-insert-function): Use it.
1857 (electric-pair-delete-selection-self-insert-function): New function.
1858 (electric-pair-mode): Require delsel and setup
1859 delete-selection-self-insert-hooks (bug#11520).
1860
1861 2012-10-20 Chong Yidong <cyd@gnu.org>
1862
1863 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1864 no changes to show (Bug#12586).
1865
1866 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1867 list explicitly (Bug#12571).
1868
1869 2012-10-20 Arne Jørgensen <arne@arnested.dk>
1870
1871 * progmodes/flymake.el (flymake-create-temp-inplace):
1872 Use file-truename.
1873
1874 2012-10-20 Eli Zaretskii <eliz@gnu.org>
1875
1876 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1877
1878 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1879
1880 * calc/calc-units.el (math-extract-units): Properly extract powers
1881 of units.
1882
1883 2012-10-20 Daniel Colascione <dancol@dancol.org>
1884
1885 * frame.el (make-frame): Set x-display-name as we used to in order
1886 to unbreak creating an X11 frame from an Emacs daemon started
1887 without a display.
1888
1889 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1890
1891 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1892 the same completion-field (bug#12221).
1893
1894 2012-10-19 Martin Rudalics <rudalics@gmx.at>
1895
1896 * emacs-lisp/debug.el (debug): Record height of debugger window
1897 also when debugger will be back (Bug#8789).
1898
1899 2012-10-18 Chong Yidong <cyd@gnu.org>
1900
1901 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1902 Convert to defcustom.
1903 (gdb-get-source-file): Don't bind pop-up-windows.
1904
1905 * progmodes/gud.el (gud-display-line): Don't specially re-use
1906 other frames for the gdb-mi case (Bug#12648).
1907
1908 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1909
1910 * emacs-lisp/advice.el: Clean up commentary a bit.
1911 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1912 (byte-code-function-p): Never redefine.
1913
1914 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1915
1916 2012-10-18 Glenn Morris <rgm@gnu.org>
1917
1918 * dired.el (dired-sort-toggle): Some ls implementations only allow
1919 a single option string. (Bug#12666)
1920
1921 * minibuffer.el (completion-cycle-threshold): Doc fix.
1922
1923 2012-10-17 Kenichi Handa <handa@gnu.org>
1924
1925 * international/mule.el (set-keyboard-coding-system):
1926 Recover input meta mode when the new coding system doesn not use 8-bit.
1927 Supply TERMINAL arg to set-input-meta-mode.
1928
1929 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1930
1931 * wdired.el (wdired-old-marks): New variable.
1932 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1933 (wdired-do-renames): Move point with renamed file and don't lose
1934 mark status (Bug#11795).
1935
1936 2012-10-16 Juri Linkov <juri@jurta.org>
1937
1938 * replace.el (query-replace-help): Mention multi-buffer replacement
1939 keys in the Help message. (Bug#12655)
1940
1941 2012-10-15 Chong Yidong <cyd@gnu.org>
1942
1943 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1944
1945 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1946
1947 * window.el (display-buffer): Doc fix.
1948
1949 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1950 Adjust the msft regexp to the output of Studio 2010, and move msft
1951 before edg-1. See the discussion on emacs-devel,
1952 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1953 for the details.
1954
1955 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1956
1957 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1958 (oset): Move uses of object-class-fast macro after its definition.
1959
1960 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1961
1962 2012-10-13 Chong Yidong <cyd@gnu.org>
1963
1964 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1965 enabled, re-enable it (Bug#11963).
1966
1967 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1968
1969 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1970 non-nil, restore window configuration (Bug#12623).
1971
1972 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * help-fns.el (describe-variable, describe-function-1):
1975 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1976
1977 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1978
1979 2012-10-12 Glenn Morris <rgm@gnu.org>
1980
1981 * mail/rmailsum.el (rmail-header-summary):
1982 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1983
1984 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1985
1986 * progmodes/python.el (python-mode-map):
1987 Replace subtitute-key-definition with proper command remapping.
1988 (python-nav--up-list): Fix behavior for blocks on the same level.
1989
1990 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1991
1992 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1993
1994 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1995 changes to the format of load-history.
1996
1997 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1998 completion-ignore-case in case that var is buffer-local (bug#12615).
1999
2000 2012-10-11 Kenichi Handa <handa@gnu.org>
2001
2002 * international/eucjp-ms.el: Re-generated.
2003
2004 2012-10-10 Kenichi Handa <handa@gnu.org>
2005
2006 * select.el (xselect--encode-string): If a coding is specified for
2007 selection, and that is compatible with COMPOUND_TEXT, use it.
2008
2009 2012-10-10 Martin Rudalics <rudalics@gmx.at>
2010
2011 * window.el (switch-to-buffer-preserve-window-point): New option.
2012 (switch-to-buffer):
2013 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
2014
2015 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2018 Don't document nil as a useful value (bug#12583).
2019
2020 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
2021
2022 * net/tramp.el (tramp-debug-message):
2023 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
2024 (with-tramp-progress-reporter): Rename from
2025 `tramp-with-progress-reporter'.
2026 (with-tramp-file-property, with-tramp-connection-property):
2027 Move from tramp-cache.el, rename from `with-file-property' and
2028 `with-connection-property', respectively.
2029
2030 * net/tramp-cache.el: Remove `with-file-property' and
2031 `with-connection-property'.
2032
2033 * net/tramp.el:
2034 * net/tramp-gvfs.el:
2035 * net/tramp-sh.el:
2036 * net/tramp-smb.el: Adapt callees.
2037
2038 * net/trampver.el: Update release number.
2039
2040 2012-10-09 Glenn Morris <rgm@gnu.org>
2041
2042 * w32-fns.el (set-message-beep):
2043 * term/w32-win.el (set-message-beep): Update declarations.
2044
2045 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2046
2047 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2048 (mode-line-widen, mode-line-input-method-map)
2049 (mode-line-coding-system-map, mode-line-remote)
2050 (mode-line-unbury-buffer, mode-line-bury-buffer)
2051 (mode-line-next-buffer, mode-line-previous-buffer):
2052 Replace save-selected-window+select-window => with-selected-window.
2053
2054 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2055 * progmodes/cc-vars.el (bq-process): Remove, unused.
2056
2057 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2058
2059 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2060
2061 Implemented `backward-up-list'-like navigation.
2062 * progmodes/python.el (python-nav-up-list)
2063 (python-nav-backward-up-list): New functions.
2064 (python-mode-map): Define substitute key for backward-up-list to
2065 python-nav-backward-up-list.
2066
2067 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2068
2069 * progmodes/python.el (python-fill-paragraph): Rename from
2070 python-fill-paragraph-function. Fixed fill-paragraph for
2071 decorators (Bug#12605).
2072
2073 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2074
2075 * progmodes/python.el (python-shell-output-filter): Handle extra
2076 carriage return in OSX (Bug#12409).
2077
2078 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2079
2080 Fix shell handling of unbalanced quotes and parens in output.
2081 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
2082 (python-syntax-propertize-function): Use it.
2083 (python-shell-output-syntax-table): New var.
2084 (inferior-python-mode): Prevent unbalanced parens/quotes from
2085 previous output mess with current input context.
2086
2087 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
2088
2089 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2090 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2091
2092 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
2093
2094 * ffap.el (ffap-replace-file-component): Support Tramp file name
2095 syntax, not only ange-ftp's one.
2096
2097 2012-10-08 Glenn Morris <rgm@gnu.org>
2098
2099 * cus-start.el (message-log-max): Set :version.
2100
2101 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2102
2103 2012-10-08 Martin Rudalics <rudalics@gmx.at>
2104
2105 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2106 the minibuffer window (Bug#10851).
2107
2108 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2109
2110 Enhancements on forward-sexp movement.
2111 * progmodes/python.el (python-nav-beginning-of-statement)
2112 (python-nav-end-of-statement): Return point-marker.
2113 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2114 (python-info-current-symbol)
2115 (python-info-statement-starts-block-p): Rename from
2116 python-info-beginning-of-block-p.
2117 (python-info-statement-ends-block-p): Rename from
2118 python-info-end-of-block-p.
2119 (python-info-beginning-of-statement-p)
2120 (python-info-end-of-statement-p)
2121 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2122 New functions.
2123
2124 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2125
2126 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2127 frame-selected-windows.
2128
2129 2012-10-08 Daniel Colascione <dancol@dancol.org>
2130
2131 * battery.el (battery-status-function): Check for
2132 w32-battery-status itself, not system-time windows-nt.
2133
2134 * frame.el: Require cl-lib.
2135 (display-format-alist): New variable mapping frame types to
2136 functions that initialize them.
2137 (window-system-for-display): New function: interprets
2138 display-format-alist.
2139 (make-frame-on-display): Remove existing display-selection logic
2140 and just forward to make-frame, which will now DTRT.
2141 (make-frame): Restructure to use window-system-for-display to
2142 figure out how to create a frame on a given display.
2143 (display-mouse-p): Look for frame-type w32, not a particular
2144 system-type.
2145
2146 * loadup.el: Load w32 lisp code when we have the w32 feature.
2147
2148 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2149 system-type windows-nt.
2150
2151 * server.el (server-create-window-system-frame): Look for window
2152 type.
2153 (server-proces-filter): Only force a window system when windows-nt
2154 _and_ w32. Explain why.
2155
2156 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2157 of window systems we configure for the mode.
2158
2159 * startup.el (command-line): Mark window system is initialized
2160 after we've done it.
2161
2162 * common-win.el (x-select-text): Look for w32, not windows-nt.
2163
2164 * ns-win.el: Require cl-lib. Add ourselves to
2165 display-format-alist.
2166 (ns-initialize-window-system): Assert we're not initialized twice.
2167
2168 * w32-win.el: Enable lexical binding; require cl-lib; add
2169 ourselves to display-format-alist.
2170 (w32-handle-dropped-file): Convert incoming dropped files from
2171 Windows paths to Cygwin ones before passing them on to the rest of
2172 Emacs.
2173 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2174 (w32-initialize-window-system): Assert we're not initialized twice.
2175
2176 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2177 (x-initialize-window-system): Assert we're not initialized twice.
2178
2179 * w32-common-fns.el: New File.
2180 (w32-version, w32-using-nt, w32-get-clipboard-data)
2181 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2182 (w32-charset-info-alist, x-last-selected, text)
2183 (x-get-selection-value, x-selection-value): Move here.
2184
2185 * w32-fns.el: Require w32-common-fns.
2186 (w32-version, w32-using-nt, w32-get-clipboard-data)
2187 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2188 (w32-charset-info-alist, x-last-selected, text)
2189 (x-get-selection-value, x-selection-value): Move to
2190 w32-common-fns.
2191
2192 * w32-vars.el:
2193 (w32-allow-system-shell, w32-system-shells): Define only in
2194 non-cygwin case.
2195
2196 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2197
2198 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2199 (read-passwd): Remove a few more potential sources of leaks.
2200
2201 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2202
2203 * progmodes/python.el (inferior-python-mode)
2204 (python-shell-make-comint): Fix initialization of local
2205 variables copied from parent buffer.
2206
2207 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2208
2209 * term/ns-win.el (ns-read-file-name): Update declaration to match
2210 nsfns.m.
2211 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2212 it is set when font is acted upon.
2213
2214 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2215
2216 Enhancements to indentation.
2217 * progmodes/python.el (python-indent-context): Give priority to
2218 inside-string context. Make comments indentation markers.
2219 (python-indent-region): Do not mess with strings, unless it's the
2220 enclosing set of quotes.
2221
2222 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * window.el (internal--before-save-selected-window)
2225 (internal--after-save-selected-window): New functions extracted from
2226 save-selected-window. Make sure we return the `alist' we construct.
2227 (save-selected-window): Use them.
2228
2229 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2230 Use with-selected-window.
2231
2232 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2233 forms that define macros (bug#12593).
2234
2235 2012-10-07 Kenichi Handa <handa@gnu.org>
2236
2237 * international/mule-conf.el (compound-text-with-extensions):
2238 Add :mime-charset property as x-ctext.
2239
2240 2012-10-07 Stefan Merten <smerten@oekonux.de>
2241
2242 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2243 (rst-indent-literal-normal, rst-indent-literal-minimized)
2244 (rst-indent-comment): Correct :version tag.
2245 (rst-official-cvs-rev): Correct version string.
2246
2247 2012-10-07 Glenn Morris <rgm@gnu.org>
2248
2249 * mail/rmailmm.el (rmail-mime-process-multipart):
2250 Do not confuse a multipart message with an epilogue
2251 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2252
2253 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2254
2255 Fix shell output retrieval and comint-prompt-regexp init.
2256 * progmodes/python.el (inferior-python-mode):
2257 (python-shell-make-comint): Fix initialization of
2258 comint-prompt-regexp from copied file local variables.
2259 (python-shell-fetched-lines): Remove var.
2260 (python-shell-output-filter-in-progress): Rename from
2261 python-shell-fetch-lines-in-progress.
2262 (python-shell-output-filter-buffer): Rename from
2263 python-shell-fetch-lines-string.
2264 (python-shell-fetch-lines-filter): Delete function.
2265 (python-shell-output-filter): New function.
2266 (python-shell-send-string-no-output): Use them.
2267
2268 2012-10-07 Glenn Morris <rgm@gnu.org>
2269
2270 * hi-lock.el (hi-lock-process-phrase):
2271 Try to make it less fragile. (Bug#7161)
2272
2273 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2274
2275 2012-10-06 Glenn Morris <rgm@gnu.org>
2276
2277 * ehelp.el (electric-help-mode): Use help-mode rather than
2278 non-existent mode `help'.
2279 (electric-help-map): Use button-buffer-map. (Bug#10917)
2280
2281 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2282 (reftex-create-bibtex-footer): Fix custom types.
2283
2284 * progmodes/sh-script.el (sh-indent-after-continuation):
2285 Add explicit :group.
2286
2287 * textmodes/rst.el (rst-preferred-decorations)
2288 (rst-shift-basic-offset): Clarify obsolescence versions.
2289
2290 * profiler.el (profiler): Add missing group :version tag.
2291 * avoid.el (mouse-avoidance-banish-position):
2292 * proced.el (proced-renice-command):
2293 * calc/calc.el (calc-ensure-consistent-units):
2294 * calendar/icalendar.el (icalendar-import-format-uid):
2295 * net/tramp.el (tramp-save-ad-hoc-proxies):
2296 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2297 * progmodes/flymake.el (flymake-error-bitmap)
2298 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2299 * progmodes/sh-script.el (sh-indent-after-continuation):
2300 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2301 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2302 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2303 (vhdl-array-index-record-field-in-sensitivity-list)
2304 (vhdl-indent-comment-like-next-code-line):
2305 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2306 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2307 (reftex-cite-key-separator, reftex-create-bibtex-header)
2308 (reftex-create-bibtex-footer):
2309 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2310 (rst-indent-literal-normal, rst-indent-literal-minimized)
2311 (rst-indent-comment): Add missing custom :version tags.
2312
2313 * calendar/timeclock.el (timeclock-modeline-display):
2314 Add missing obsolete alias for renamed user option.
2315
2316 * strokes.el (strokes-modeline-string):
2317 * emulation/crisp.el (crisp-mode-modeline-string):
2318 * eshell/esh-mode.el (eshell-status-in-modeline):
2319 Aliases to defcustoms must come before the defcustom.
2320
2321 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2322 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2323 (cal-tex-cursor-week-monday): Doc fixes.
2324 (cal-tex-cursor-week2-summary): Doc fix.
2325 Rename from cal-tex-cursor-week-at-a-glance.
2326
2327 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2328 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2329
2330 * calendar/calendar.el (calendar-mode-map):
2331 Add cal-tex-cursor-week2-summary.
2332
2333 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2336
2337 * subr.el (read-passwd-map): New var.
2338 (read-passwd): Use `read-string' again.
2339 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2340
2341 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
2342
2343 * register.el (append-to-register, prepend-to-register):
2344 Deactivate mark, as does `copy-to-register' (bug#12389).
2345
2346 2012-10-06 Chong Yidong <cyd@gnu.org>
2347
2348 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2349
2350 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2351
2352 * international/characters.el: Fix simple mistake ((car chars) ->
2353 elt), delete duplicated code.
2354
2355 2012-10-06 Glenn Morris <rgm@gnu.org>
2356
2357 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2358
2359 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2360
2361 * color.el (color-hsl-to-rgb): Fix incorrect results for
2362 small and large hue values. (Bug#12559)
2363
2364 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2365
2366 Enhancements to docstring formatting when filling paragraphs.
2367 * progmodes/python.el (python-fill-docstring-style): Rename from
2368 python-fill-string-style. Added new style.
2369 (python-fill-string): Use new style. Better checks for
2370 docstrings.
2371
2372 2012-10-05 Glenn Morris <rgm@gnu.org>
2373
2374 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2375
2376 * color.el (color-name-to-rgb, color-rgb-to-hex)
2377 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2378 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2379 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2380 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2381
2382 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2383
2384 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
2385
2386 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2387 to get the correct size across symlinks.
2388
2389 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2390
2391 2012-10-04 Juri Linkov <juri@jurta.org>
2392
2393 * replace.el (query-replace-interactive): Declare obsolete.
2394 (query-replace-read-from): Add the last incremental search string
2395 to the list of default values accessible via M-n.
2396 (map-query-replace-regexp): Use `read-regexp'.
2397 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2398 (map-query-replace-regexp, replace-string, replace-regexp):
2399 Fix docstrings to replace mentions of `query-replace-interactive'
2400 with alternatives. (Bug#12526)
2401
2402 2012-10-04 Juri Linkov <juri@jurta.org>
2403
2404 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2405 (dired-pop-to-buffer): Declare obsolete.
2406 (dired-mark-pop-up): Doc fix.
2407
2408 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2409
2410 Allow user to set docstring style for fill-paragraph.
2411 * progmodes/python.el
2412 (python-fill-comment-function, python-fill-string-function)
2413 (python-fill-decorator-function, python-fill-paren-function):
2414 Remove :safe for defcustoms.
2415 (python-fill-string-style): New defcustom
2416 (python-fill-paragraph-function): Enhance context detection.
2417 (python-fill-string): Honor python-fill-string-style settings.
2418
2419 2012-10-04 Martin Rudalics <rudalics@gmx.at>
2420
2421 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2422 after setting its buffer (Bug#10805).
2423
2424 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2425
2426 Fix cornercase for string syntax.
2427 * progmodes/python.el (python-syntax-propertize-function):
2428 Simplify and enhance the regexp for unescaped quotes. Now it also
2429 matches quotes in weird situations like the single quote in
2430 "something\"'".
2431 (python-syntax-stringify): Simplify num-quotes detecting code.
2432
2433 2012-10-03 Glenn Morris <rgm@gnu.org>
2434
2435 * help-macro.el (three-step-help):
2436 Revert 2012-09-29 change. (Bug#12567)
2437
2438 2012-10-03 Martin Rudalics <rudalics@gmx.at>
2439
2440 * menu-bar.el (kill-this-buffer): Don't do anything when
2441 `menu-frame' is not alive or visible (Bug#8184).
2442
2443 * emacs-lisp/debug.el (debug): When quitting the debugger window
2444 restore current buffer (Bug#12502).
2445
2446 2012-10-02 Chong Yidong <cyd@gnu.org>
2447
2448 * progmodes/hideif.el (hif-lookup, hif-defined):
2449 Handle semantic-c-takeover-hideif.
2450
2451 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2452
2453 Change sampling interval units from ms to ns.
2454 * profiler.el (profiler-sampling-interval): Change units
2455 from ms to ns, multiplying the default by 1000000 so that
2456 it remains 1 ms.
2457 (profiler-report-cpu-line-format): Give enough room for
2458 the maximum counters on 64-bit hosts.
2459 (profiler-report-render-calltree-1): Call them "CPU samples",
2460 not "Time (ms)", since they are not milliseconds now (and
2461 never really were).
2462
2463 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2464
2465 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2466 Fix querying BBDB for entries without a last name (Bug#11580).
2467
2468 2012-10-02 Chong Yidong <cyd@gnu.org>
2469
2470 * emacs-lisp/eieio.el: Restore Version header.
2471
2472 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * vc/diff-mode.el (diff--auto-refine-data): New var.
2475 (diff-hunk): Use it to delay refinement.
2476 (diff-mode): Remove overlays when we turn off font-lock.
2477
2478 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2479 (table-initialize-table-fixed-width-mode)
2480 (table-set-table-fixed-width-mode): Remove functions.
2481 (table-command-list): Move initialization into declaration.
2482 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2483 (table-with-cache-buffer): Use `declare'.
2484 (table-span-cell): Simplify via CSE.
2485 (table-fixed-width-mode): Use define-minor-mode.
2486 (table-call-interactively, table-funcall, table-apply): Remove.
2487 (table-function): New function, to replace them.
2488
2489 * bookmark.el (bookmark-search-pattern): Remove var.
2490 (bookmark-read-search-input): Remove function.
2491 (bookmark-bmenu-search): Reimplement using a minibuffer.
2492
2493 * faces.el (modeline): Remove obsolete face name.
2494
2495 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2496 and give a non-nil default value.
2497 (add-change-log-entry): Simplify accordingly.
2498
2499 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2500
2501 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2502 (vc-git-log-edit-toggle-amend): New function.
2503 (vc-git-log-edit-toggle-signoff): New function.
2504 (vc-git-log-edit-mode): New major mode.
2505 (vc-git-log-edit-mode-map): Keymap for it.
2506 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2507
2508 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2509 header names.
2510 (log-edit-toggle-header): New function.
2511 (log-edit-extract-headers): Accept function values in HEADERS alist.
2512
2513 2012-10-01 David Engster <deng@randomsample.de>
2514
2515 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2516 from symbol property and change message to be more consistent with
2517 Emacs proper.
2518 (eieio-describe-generic): Add filename for each implementation.
2519 Fix indices for generic and normal methods.
2520 (eieio-method-def, eieio-class-def): New buttons.
2521 (eieio-help-find-method-definition)
2522 (eieio-help-find-class-definition): New functions.
2523 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2524 class, constructor and method definitions.
2525
2526 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2527 information in symbol property.
2528 (scoped-class): Remove.
2529 (eieio-slot-name-index, call-next-method): Check if it is bound.
2530
2531 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
2532
2533 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2534 (eieio-custom-mode): New major mode.
2535 (eieio-customize-object): Use it.
2536
2537 2012-10-01 Eric Ludlam <zappo@gnu.org>
2538
2539 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2540 specifying the expected class, and whether subclassing is allowed.
2541 (eieio-persistent-convert-list-to-object):
2542 (eieio-persistent-validate/fix-slot-value)
2543 (eieio-persistent-slot-type-is-class-p): New functions.
2544 (eieio-named::slot-missing): Doc fix.
2545
2546 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2547 Stop using unused publd variable.
2548
2549 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2550 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2551 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2552 (eieio-speedbar-handle-click): Do not specify a class for the
2553 method. Fixes method invocation order problems with EDE.
2554
2555 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2556
2557 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2558 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2559
2560 2012-10-01 Karl Fogel <kfogel@red-bean.com>
2561
2562 * bookmark.el (bookmark-version-control): Give tags in the
2563 :type choices (Bug#12309), and improve doc string.
2564 (bookmark-write-file): Bind `print-circle' to `t' to allow
2565 circular custom bookmark types. (Bug#12503)
2566
2567 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2568
2569 Revert the FOLLOW-SYMLINKS change for file-attributes.
2570 * files.el (remote-file-name-inhibit-cache, after-find-file):
2571 * time.el (display-time-file-nonempty-p): Undo last change.
2572
2573 * profiler.el (profiler-sampling-interval): Change default back to 1.
2574 See Stefan Monnier in
2575 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2576
2577 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2578
2579 Shell output catching a la gud-gdb.
2580 * progmodes/python.el (python-shell-fetch-lines-in-progress)
2581 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2582 New Vars.
2583 (python-shell-fetch-lines-filter): New function.
2584 (python-shell-send-string-no-output): Use them.
2585
2586 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2587
2588 * profiler.el (profiler-sampling-interval): Rename from
2589 profiler-sample-interval.
2590 (profiler-sampling-interval): Default to 10.
2591 (profiler-find-profile): New command (was profiler-find-log).
2592 (profiler-find-profile-other-window): New command.
2593 (profiler-find-profile-other-frame): New command.
2594 (profiler-profile): Introduce API-level data structure.
2595
2596 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2597
2598 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2599 * files.el (remote-file-name-inhibit-cache):
2600 * time.el (display-time-file-nonempty-p): Use it.
2601 * files.el (after-find-file): Don't chase links before calling
2602 file-exists-p, as file-exists-p already does the right thing.
2603
2604 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
2605
2606 Merge from standalone RefTeX repository.
2607
2608 The following ChangeLog entries are shortened versions of the
2609 original ones with file paths adapted. A not so strongly edited
2610 version of the original ChangeLog can be found in the commit log.
2611
2612 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2613 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2614 Correctly handle new value type returned by `reftex-citation'.
2615
2616 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2617 that entries with whitespace at various places are found.
2618 Doc fix. Include entries that are cross-referenced from cited entries.
2619 Include @String definitions in the resulting bib file. Add header
2620 and footer defined in `reftex-create-bibtex-header' and
2621 `reftex-create-bibtex-footer'.
2622 (reftex-do-citation): Make it possible again to insert
2623 non-existent entries. Save match data when asking for optional
2624 arguments. Return all keys, not just the first one.
2625 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2626 all citations in the same line.
2627 (reftex-parse-bibtex-entry): Accept additional optional argument
2628 `raw' and keep quotes or braces if it is non-nil. Match fields
2629 containing hyphens besides word constituents.
2630 (reftex-get-string-refs): New function.
2631 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2632 and ask if it should be reread in case it did.
2633 (reftex-pop-to-bibtex-entry)
2634 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2635 entries with spaces or tabs in front of arguments.
2636 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2637 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2638 Match entries containing numbers and symbol constituents.
2639 (reftex-do-citation, reftex-figure-out-cite-format):
2640 Use `reftex-cite-key-separator'.
2641
2642 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2643 (reftex-mouse-view-crossref): Explain why point is set.
2644
2645 * textmodes/reftex-global.el: Whitespace changes.
2646
2647 * textmodes/reftex-index.el: Move provide statement to end of
2648 file.
2649 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2650 (reftex-index-visit-phrases-buffer): Set marker when visiting
2651 buffer. This allows for returning from the phrases file to the
2652 file one was just editing instead of the file where the last
2653 phrases was added from.
2654 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2655 punctuation syntax as it usually is not used as string quote in
2656 TeX-related modes and may occur unmatched. The change also
2657 prevents fontification of quoted content.
2658 (reftex-index-phrases-mode): Use it.
2659
2660 * textmodes/reftex-parse.el (reftex-parse-from-file):
2661 Move backward one char if a `\' was matched after a section macro.
2662 (reftex-parse-from-file): Use beginning of match instead of end as
2663 bound.
2664
2665 * textmodes/reftex-ref.el: Adapt creation of
2666 `reftex-<package>-<macro>' functions to new structure of
2667 `reftex-ref-style-alist'.
2668 (reftex-reference): Use `reftex-ref-style-list' function.
2669 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
2670 reference macro if `reftex-ref-macro-prompt' is non-nil.
2671 (reftex-reference): Pass refstyle to `reftex-format-special'.
2672 Determine reference macro by looking at
2673 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2674 Use only one special format function.
2675 (reftex-varioref-vref, reftex-fancyref-fref)
2676 (reftex-fancyref-Fref): Remove definitions. The functions are now
2677 generated from `reftex-ref-style-alist'.
2678 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2679 Remove.
2680 (reftex-format-special): New function.
2681
2682 * textmodes/reftex-sel.el
2683 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2684 of `reftex-ref-style-alist'. Remove code for testing macro type.
2685 (reftex-select-toggle-varioref)
2686 (reftex-select-toggle-fancyref): Remove.
2687 (reftex-select-cycle-ref-style-internal)
2688 (reftex-select-cycle-ref-style-forward)
2689 (reftex-select-cycle-ref-style-backward): New functions.
2690 (reftex-select-label-map): Use `v' and `V' for general cycling
2691 through reference styles. Add `p' for switching between number
2692 and page reference types.
2693
2694 * textmodes/reftex-toc.el (reftex-re-enlarge):
2695 Call `enlarge-window' only if there is something to do because in Emacs
2696 the horizontal version throws an error even if the parameter is 0.
2697
2698 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2699 (reftex-plug-into-AUCTeX): Doc fix.
2700 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2701 string. Adapt to new name.
2702 (reftex-ref-style-alist): Change structure so that it is not
2703 possible to use multiple different package names within a style.
2704 Remove the symbols for symbols for macro type distinction.
2705 Add characters for macro selection.
2706 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2707 (reftex-create-bibtex-footer): New variables.
2708 (reftex-format-ref-function): Mention third argument of special
2709 format function.
2710 (reftex-ref-style-alist, reftex-ref-style-default-list):
2711 New variables.
2712 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2713 to new implementation. Mark as obsolete. Add compatibility code
2714 for honoring the variable values in case they are set.
2715 (reftex-cite-format-builtin, reftex-bibliography-commands):
2716 Add support for ConTeXt.
2717 (reftex-format-ref-function, reftex-format-cite-function):
2718 Fix custom type.
2719 (reftex-cite-key-separator): New variable.
2720
2721 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2722 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2723 `reftex-syntax-table' because parens have to retain their paren
2724 syntax in order for parsing of BibTeX entries like @book(...) to
2725 work.
2726 (reftex-in-comment): Do not error out if `comment-start-skip' is
2727 not set. Deal correctly with escaped comment characters.
2728 (reftex-tie-multifile-symbols): Add doc string.
2729 Initialize `reftex-ref-style-list'.
2730 (reftex-untie-multifile-symbols): Add doc string.
2731 (reftex-add-index-macros): Doc fix.
2732 (reftex-ref-style-activate, reftex-ref-style-toggle)
2733 (reftex-ref-style-list): New functions.
2734 (reftex-mode-menu): Use them. Adapt to new structure of
2735 `reftex-ref-style-alist'.
2736 (reftex-select-with-char): Kill the RefTeX Select buffer when
2737 done.
2738 (reftex-remove-if): New function.
2739 (reftex-erase-all-selection-and-index-buffers)
2740 (reftex-mode-menu): Reference styles are now computed from
2741 `reftex-ref-style-alist'. Fix typo.
2742 (reftex-report-bug): New function.
2743 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2744 algorithms with O(n log n). Introduce optional argument SORT (not
2745 yet used).
2746
2747 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2748
2749 Enhancements for triple-quote string syntax.
2750 * progmodes/python.el (python-syntax-propertize-function):
2751 Match both quote cases in one regexp.
2752 (python-syntax-stringify): Handle matches properly.
2753
2754 2012-09-30 Juri Linkov <juri@jurta.org>
2755
2756 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2757 to nil around the call to `insert' to prevent
2758 directory time modification by lock_file. (Bug#2295)
2759 * tar-mode.el (tar-summarize-buffer): Idem.
2760
2761 2012-09-30 Juri Linkov <juri@jurta.org>
2762
2763 * facemenu.el (list-colors-sort): Add option "Luminance".
2764 (list-colors-sort-key): Implement it.
2765
2766 * vc/diff-mode.el (diff-refine-removed):
2767 * vc/ediff-init.el (ediff-fine-diff-A):
2768 * vc/smerge-mode.el (smerge-refined-removed):
2769 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2770
2771 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2772
2773 * term/ns-win.el (x-file-dialog): New function.
2774
2775 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
2776
2777 * ido.el (ido-max-directory-size): Default to nil; the current
2778 default is small for POSIX systems, and impractical on Windows 7
2779 now that lstat returns directory sizes for NTFS.
2780
2781 2012-09-30 Martin Rudalics <rudalics@gmx.at>
2782
2783 In buffer display functions handle window-height/window-width
2784 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
2785 * window.el (window--display-buffer): New argument ALIST.
2786 Obey window-height and window-width alist entries.
2787 (window--try-to-split-window): New argument ALIST.
2788 Bind window-combination-limit to t when the window's size shall be
2789 changed and window-combination-limit equals `window-size'.
2790 (display-buffer-in-atom-window)
2791 (display-buffer-in-major-side-window)
2792 (display-buffer-in-side-window, display-buffer-same-window)
2793 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2794 (display-buffer-pop-up-window, display-buffer-below-selected)
2795 (display-buffer-at-bottom, display-buffer-in-previous-window)
2796 (display-buffer-use-some-window): Adjust all callers of
2797 window--display-buffer and window--try-to-split-window.
2798 (fit-frame-to-buffer): New option.
2799 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2800 is non-nil.
2801 (display-buffer-in-major-side-window): Evaluate window-height /
2802 window-width alist entries.
2803
2804 * help.el (temp-buffer-resize-frames)
2805 (temp-buffer-resize-regexps): Remove options.
2806 (temp-buffer-resize-mode): Adjust doc-string.
2807 (resize-temp-buffer-window): Don't consult
2808 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2809 temp-buffer-resize-frames.
2810
2811 * dired.el (dired-mark-pop-up):
2812 Call display-buffer-below-selected with a fit-window-to-buffer alist
2813 entry.
2814
2815 2012-09-30 Chong Yidong <cyd@gnu.org>
2816
2817 * server.el (server-host): Document the security implications.
2818 (server-auth-key): Doc fix.
2819
2820 * startup.el (initial-buffer-choice): Doc fix.
2821
2822 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2823
2824 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2825 restriction change.
2826
2827 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2828
2829 * help-fns.el (help-fns--obsolete): Fix last change.
2830
2831 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2833 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2834 (minor-mode-map-alist): Remove redundant code.
2835
2836 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2837 visited in a buffer.
2838 (cvs-insert-visited-file): New function.
2839 (find-file-hook): Use it.
2840
2841 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2842
2843 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2844 chose face.
2845 (log-edit-empty-buffer-p): Don't require a space after a header.
2846
2847 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2848
2849 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2850
2851 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2852 a proper minor-mode.
2853
2854 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2855
2856 2012-09-29 Glenn Morris <rgm@gnu.org>
2857
2858 * winner.el (winner-mode): Remove variable (let define-minor-mode
2859 handle it).
2860 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2861 Doc fixes.
2862 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2863 (winner-mode): Use define-minor-mode.
2864
2865 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2866 the full definition in loaddefs, rather than duplicating it.
2867
2868 * help-macro.el (three-step-help): No need to autoload defcustom.
2869
2870 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2871 (inferior-lisp-program, inferior-lisp-load-command)
2872 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2873 No need to autoload defcustoms.
2874
2875 * hippie-exp.el (hippie-expand-try-functions-list)
2876 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2877 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2878 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2879 (hippie-expand-only-buffers): No need to autoload defcustoms.
2880 * progmodes/vhdl-mode.el (vhdl-line-expand):
2881 Explicitly load hippie-exp, so it does not get autoloaded
2882 while hippie-expand-try-functions-list is let-bound.
2883
2884 2012-09-28 Glenn Morris <rgm@gnu.org>
2885
2886 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2887
2888 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2889 Only "cl.el" counts as cl these days.
2890
2891 2012-09-28 Juri Linkov <juri@jurta.org>
2892
2893 Display archive errors in the echo area instead of inserting
2894 to the file buffer.
2895
2896 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2897 to STDERR-TEST that can be a regexp matching a successful output.
2898 Create a temporary file and redirect stderr to it. Search for
2899 STDERR-TEST in the stderr output and display it in the echo area
2900 if no match is found.
2901 (archive-extract-by-file): New function like
2902 `archive-extract-by-stdout' but extracting archives to files
2903 and looking for successful matches in stdout. Function body is
2904 mostly copied from `archive-rar-extract'.
2905 (archive-rar-extract): Use `archive-extract-by-file'.
2906 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2907
2908 2012-09-28 Leo Liu <sdl.web@gmail.com>
2909
2910 * pcomplete.el (pcomplete-show-completions):
2911 Use minibuffer-message to make pcomplete usable in minibuffer.
2912
2913 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2914
2915 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2916
2917 * type-break.el: Use lexical-binding.
2918 (type-break-mode): Use define-minor-mode.
2919
2920 * emacs-lisp/pcase.el (pcase--mark-used): New.
2921 (pcase--u1): Use it (bug#12512).
2922
2923 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2924 in load-history with the right file name.
2925
2926 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2927
2928 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2929 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2930 (doc-view-get-bounding-box): Make bounding box slicing work for
2931 ODF and DVI documents.
2932
2933 2012-09-28 Glenn Morris <rgm@gnu.org>
2934
2935 * type-break.el (type-break-mode, type-break-interval)
2936 (type-break-good-rest-interval, type-break-keystroke-threshold):
2937 No need to autoload.
2938 (type-break-good-rest-interval, type-break-keystroke-threshold):
2939 Add :set-after.
2940
2941 2012-09-28 Chong Yidong <cyd@gnu.org>
2942
2943 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2944 Add :version tag.
2945
2946 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2949
2950 2012-09-27 Glenn Morris <rgm@gnu.org>
2951
2952 * faces.el (x-display-name): Declare (for without-x builds).
2953
2954 * linum.el (linum-format): Don't autoload it. Improve :type.
2955
2956 * progmodes/tcl.el: Don't require outline when compiling.
2957 (outline-regexp, outline-level): Declare.
2958 * textmodes/sgml-mode.el: Don't require outline when compiling.
2959 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2960
2961 * term.el (term-ansi-reset):
2962 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2963
2964 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2965 files for RCS and SCCS. (Bug#9781)
2966
2967 2012-09-27 Chong Yidong <cyd@gnu.org>
2968
2969 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2970 change; value should be t.
2971
2972 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2973
2974 * image-mode.el: Use lexical-binding.
2975 (image-mode-winprops): Use t to stand for the window of
2976 a buffer that's not displayed.
2977 * doc-view.el (doc-view-new-window-function): Handle the new
2978 t in winprops.
2979 (doc-view-enlarge): Make it a real nop if the size is not changed.
2980 (doc-view-display): Handle the case where the buffer is not (yet?)
2981 displayed in any window.
2982 (doc-view-saved-settings): New var.
2983 (doc-view-mode): Use it.
2984 (doc-view-fallback-mode): Set it.
2985
2986 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2987 Set lexical-binding.
2988 (minibuffer-eldef-shorten-default): New var.
2989 (minibuffer-default-in-prompt-regexps): Use it for new default.
2990 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2991
2992 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2993
2994 * international/uni-bidi.el:
2995 * international/uni-category.el:
2996 * international/uni-name.el:
2997 * international/uni-numeric.el: Regenerate.
2998
2999 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3000 Stefan Monnier <monnier@iro.umontreal.ca>
3001
3002 * profiler.el: New file.
3003
3004 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3005
3006 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3007 (testcover-reinstrument): Simplify with CSE.
3008
3009 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3010
3011 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3012
3013 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3014
3015 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3016 (verilog-auto-input, verilog-auto-insert-lisp)
3017 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3018 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3019 (verilog-auto-unused, verilog-auto-wire)
3020 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3021 newline. Reported by Andrew Jones.
3022 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3023 Reported by Brad Dobbie.
3024 (verilog-batch-delete-trailing-whitespace):
3025 Create verilog-batch-delete-trailing-whitespace.
3026 Reported by Brad Dobbie.
3027 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3028 parameters from another module. Reported by Dan Katz.
3029 (verilog-auto, verilog-auto-assign-modport)
3030 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3031 AUTOINOUTMODPORT for UVM interface module shell generation.
3032 Reported by Brad Dobbie.
3033 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3034 standard behavior.
3035 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3036 Reported by Matt Martin.
3037
3038 2012-09-25 Martin Rudalics <rudalics@gmx.at>
3039
3040 * window.el (window--resize-child-windows): When resizing child
3041 windows proportionally, process them in reverse order to
3042 preserve the "when splitting a window the new one gets the odd
3043 line" behavior.
3044 (window--resize-root-window-vertically): When resizing the
3045 minibuffer window try to affect only windows at the bottom of the
3046 frame. (Bug#12419)
3047
3048 2012-09-25 Chong Yidong <cyd@gnu.org>
3049
3050 * subr.el (declare): Doc fix.
3051
3052 * help-fns.el (help-fns--obsolete): Handle macros properly.
3053
3054 2012-09-25 Chong Yidong <cyd@gnu.org>
3055
3056 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3057 this function obsolete.
3058
3059 * calendar/cal-x.el (calendar-two-frame-setup)
3060 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3061 * calendar/calendar.el (american-calendar, european-calendar)
3062 (calendar-for-loop):
3063 * comint.el (comint-dynamic-simple-complete)
3064 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3065 * desktop.el (desktop-load-default):
3066 * dired-x.el (dired-omit-here-always)
3067 (dired-hack-local-variables, dired-default-directory):
3068 * emacs-lisp/derived.el (derived-mode-class):
3069 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3070 * emacs-lock.el (toggle-emacs-lock):
3071 * epa.el (epa-display-verify-result):
3072 * epg.el (epg-sign-keys, epg-start-sign-keys)
3073 (epg-passphrase-callback-function):
3074 * eshell/esh-util.el (eshell-for):
3075 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3076 (eshell-add-to-window-buffer-names):
3077 * files.el (locate-file-completion):
3078 * imenu.el (imenu-example--create-c-index)
3079 (imenu-example--create-lisp-index)
3080 (imenu-example--lisp-extract-index-name)
3081 (imenu-example--name-and-position):
3082 * international/mule-cmds.el (princ-list):
3083 * international/mule-diag.el (decode-codepage-char):
3084 * international/mule-util.el (detect-coding-with-priority):
3085 * iswitchb.el (iswitchb-read-buffer):
3086 * mail/mailalias.el (mail-complete):
3087 * mail/sendmail.el (mail-sent-via):
3088 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3089 (mouse-major-mode-menu):
3090 * password-cache.el (password-read-and-add):
3091 * pcomplete.el (pcomplete-parse-comint-arguments):
3092 * progmodes/sh-script.el (sh-maybe-here-document):
3093 * replace.el (query-replace-regexp-eval):
3094 * savehist.el (savehist-load):
3095 * simple.el (choose-completion-delete-max-match):
3096 * term.el (term-dynamic-simple-complete):
3097 * vc/ediff-init.el (ediff-check-version):
3098 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3099 * vc/vc.el (vc-diff-switches-list):
3100 * view.el (view-return-to-alist-update): Likewise.
3101
3102 * subr.el (eval-next-after-load, makehash, insert-string)
3103 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3104 mark obsolete.
3105 (mode-line-inverse-video): Variable deleted.
3106
3107 * international/mule-util.el (string-to-sequence): Remove.
3108
3109 * calendar/calendar.el (calendar-version):
3110 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3111 (icalendar-convert-diary-to-ical):
3112 * cus-edit.el (custom-mode):
3113 * ansi-color.el (ansi-color-unfontify-region):
3114 * international/latin1-disp.el (latin1-char-displayable-p):
3115 * progmodes/cwarn.el (turn-on-cwarn-mode):
3116 * progmodes/which-func.el (which-func-update-1):
3117 Use define-obsolete-function-alias.
3118
3119 * net/newst-backend.el (newsticker-cache-filename):
3120 * net/newst-treeview.el (newsticker-groups-filename):
3121 Fix incorrect obsolescence declaration.
3122
3123 * allout.el (allout-passphrase-hint-string): Likewise.
3124 (allout-init): Use a declare form to mark obsolete.
3125
3126 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3127 this applies to functions.
3128
3129 * iswitchb.el (iswitchb-read-buffer): Move code of
3130 iswitchb-define-mode-map here, and delete that obsolete function.
3131
3132 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3133 font-lock-reference-face.
3134
3135 2012-09-25 Glenn Morris <rgm@gnu.org>
3136
3137 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3138 Doc fixes.
3139
3140 * eshell/em-term.el (eshell-term-name):
3141 Default to term-term-name. (Bug#12485)
3142
3143 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3144
3145 * progmodes/python.el (python-shell-send-buffer): Better handling
3146 of "if __name__ == '__main__':" conditionals when sending the buffer.
3147
3148 2012-09-24 Glenn Morris <rgm@gnu.org>
3149
3150 * eshell/esh-cmd.el (eshell-find-alias-function):
3151 Tighten up file-name regexp. (Bug#12499)
3152
3153 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3154
3155 Enhancements for triple-quote string syntax.
3156 * progmodes/python.el (python-quote-syntax): Remove.
3157 (python-syntax-propertize-function): New value.
3158 (python-syntax-count-quotes, python-syntax-stringify):
3159 New functions.
3160
3161 2012-09-24 Chong Yidong <cyd@gnu.org>
3162
3163 * mail/supercite.el (sc-version): Remove obsolete function.
3164 (sc-describe): Don't mark as obsolete, since it is bound.
3165 (sc-submit-bug-report): Remove.
3166
3167 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3168 (cvs-commit-buffer-require-final-newline): Remove.
3169 (log-edit-require-final-newline)
3170 (log-edit-changelog-full-paragraphs): Default to t.
3171
3172 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3173 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3174 * vc/vc.el (vc-checkout-carefully): Likewise.
3175
3176 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3177 (emerge-version): Remove.
3178
3179 * progmodes/compile.el (compile-internal): Remove.
3180 (compilation-parse-errors-function): Fix typo.
3181
3182 * international/mule.el (set-char-table-default): Remove.
3183 (set-coding-priority, make-coding-system, generic-char-p)
3184 (charset-list, charset-bytes, charset-id): Use declare to mark
3185 functions as obsolete.
3186
3187 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3188 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3189 * vc/vc-hooks.el (vc-default-registered): Don't use
3190 vc-master-templates.
3191
3192 * font-lock.el (font-lock-reference-face):
3193 Use define-obsolete-variable-alias.
3194
3195 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3196 * calendar/calendar.el (calendar-font-lock-keywords):
3197 * calendar/diary-lib.el (diary-font-lock-keywords)
3198 (diary-fancy-font-lock-keywords):
3199 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3200 * textmodes/reftex-index.el (reftex-insert-index):
3201 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3202 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3203 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3204 * progmodes/prolog.el (prolog-font-lock-keywords):
3205 * progmodes/idlwave.el (idlwave-idl-keywords):
3206 * progmodes/ada-mode.el (ada-font-lock-keywords):
3207 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3208
3209 2012-09-24 Glenn Morris <rgm@gnu.org>
3210
3211 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3212
3213 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3214
3215 * progmodes/python.el (python-indent-line): More consistent cursor
3216 movement behavior.
3217
3218 2012-09-23 Stefan Merten <smerten@oekonux.de>
3219
3220 * textmodes/rst.el: Fix compiler warning.
3221
3222 2012-09-23 Roland Winkler <winkler@gnu.org>
3223
3224 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3225 Transcribe also LaTeX hyphenation.
3226 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3227 bibtex-reformat-previous-options.
3228
3229 2012-09-23 Roland Winkler <winkler@gnu.org>
3230
3231 * proced.el (proced-renice-command): New variable.
3232 (proced-marked-processes): New function.
3233 (proced-with-processes-buffer): New macro.
3234 (proced-send-signal): Use them.
3235 (proced-renice): New command bound to r.
3236
3237 2012-09-23 Roland Winkler <winkler@gnu.org>
3238
3239 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3240 ibuffer-saved-filter-groups has one element, shortcut the call of
3241 completing-read. (Bug#12331)
3242
3243 2012-09-23 Chong Yidong <cyd@gnu.org>
3244
3245 * bindings.el (mode-line-toggle-read-only):
3246 * bs.el (bs-toggle-readonly):
3247 * buff-menu.el (Buffer-menu-toggle-read-only):
3248 * dired.el (dired-toggle-read-only):
3249 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3250
3251 2012-09-23 Chong Yidong <cyd@gnu.org>
3252
3253 * image.el (image-type-available-p): Adapt to init-image-library
3254 argument changes.
3255
3256 2012-09-22 Juri Linkov <juri@jurta.org>
3257
3258 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3259 `dired-toggle-read-only'. (Bug#12462)
3260
3261 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3262
3263 * subr.el (temp-output-buffer-show): New function.
3264 (with-output-to-temp-buffer): Call temp-output-buffer-show
3265 instead of internal-temp-output-buffer-show.
3266
3267 2012-09-22 Chong Yidong <cyd@gnu.org>
3268
3269 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3270 (Bug#12462).
3271
3272 * repeat.el (repeat): Doc fix (Bug#12348).
3273
3274 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3275 (Bug#10909).
3276
3277 * simple.el (shell-command-on-region): Doc fix.
3278 (read-only-mode): Doc fix.
3279
3280 2012-09-22 Eli Zaretskii <eliz@gnu.org>
3281
3282 * emacs-lisp/timer.el (run-with-idle-timer)
3283 (timer-activate-when-idle): Warn against reinvoking an idle timer
3284 from within its own timer action. (Bug#12447)
3285
3286 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3287
3288 * cus-start.el (window-combination-limit): Add new optional
3289 values.
3290 * window.el (temp-buffer-window-show)
3291 (window--try-to-split-window): Handle new values of
3292 window-combination-limit (Bug#1806).
3293 (split-window): Test window-combination-limit for t instead of
3294 non-nil.
3295 (display-buffer-at-bottom): New buffer display action function.
3296 * help.el (temp-buffer-resize-regexps): New option.
3297 (temp-buffer-resize-mode): Rewrite doc-string.
3298 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3299 Don't resize reused window. Suggested by Glenn Morris.
3300
3301 2012-09-22 Stefan Merten <smerten@oekonux.de>
3302
3303 * textmodes/rst.el: Revamp section title faces.
3304 (rst-official-version)
3305 (rst-package-emacs-version-alist): Sync with official version
3306 V1.4.0.
3307 (rst-faces-defaults, rst-set-level-default)
3308 (rst-level-face-max, rst-level-face-base-color)
3309 (rst-level-face-base-light, rst-level-face-format-light)
3310 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3311 (rst-adornment-faces-alist): Match new setup.
3312 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3313 (rst-level-5, rst-level-6): New faces.
3314
3315 2012-09-22 Chong Yidong <cyd@gnu.org>
3316
3317 * simple.el (undo): Handle indirect buffers (Bug#8207).
3318
3319 2012-09-21 Leo Liu <sdl.web@gmail.com>
3320
3321 IDO: Disable match re-ordering for buffer switching.
3322 * ido.el (ido-buffer-disable-smart-matches): New variable.
3323 (ido-set-matches-1): Use it. (Bug#2042)
3324
3325 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
3326
3327 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3328 Fix 2011-05-17 change. (Bug#12418)
3329
3330 2012-09-21 Leo Liu <sdl.web@gmail.com>
3331
3332 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3333
3334 2012-09-21 Glenn Morris <rgm@gnu.org>
3335
3336 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3337 Be more robust about locating simple.el.
3338
3339 2012-09-21 Glenn Morris <rgm@gnu.org>
3340
3341 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3342
3343 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3344
3345 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3346
3347 2012-09-20 Juri Linkov <juri@jurta.org>
3348
3349 * replace.el (query-replace-read-from): Use `read-regexp' instead
3350 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3351 (occur-read-primary-args): Use `read-regexp' instead of
3352 `read-string'.
3353 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3354 `read-from-minibuffer'.
3355 * isearch.el (isearch-occur): Use `read-regexp' instead of
3356 `read-string'.
3357 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3358 `read-from-minibuffer'.
3359 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3360 of `read-string'. (Bug#7567)
3361
3362 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3363 and allow accepting a list of strings prepended to a list of
3364 standard default values. Doc fix. (Bug#12321)
3365
3366 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3367
3368 * replace.el (read-regexp): Don't add ": " when PROMPT already
3369 ends with a colon and space. (Bug#12321)
3370
3371 2012-09-20 Tassilo Horn <tsdh@gnu.org>
3372
3373 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3374 error.
3375
3376 2012-09-20 Stefan Merten <smerten@oekonux.de>
3377
3378 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3379 Fixes feature request bug#11711.
3380 (rst-mode): Create `imenu-create-index-function'.
3381 (rst-get-stripped-line): Delete after refactoring.
3382 (rst-section-tree, rst-section-tree-rec)
3383 (rst-section-tree-point): Refactor and document properly.
3384 (rst-imenu-find-adornments-for-position)
3385 (rst-imenu-convert-cell, rst-imenu-create-index):
3386 New function.
3387
3388 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3389
3390 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3391 (macroexp--expand-all): Use it.
3392 (macroexp--funcall-and-return): Remove by folding it into its sole
3393 caller (macroexp--warn-and-return).
3394 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3395 Use macroexp--obsolete-warning.
3396
3397 * calc/calc.el: Fix last change by removing the whole chunk, since it
3398 was only needed back when Calc was not bundled.
3399
3400 2012-09-20 Martin Rudalics <rudalics@gmx.at>
3401
3402 * emacs-lisp/debug.el (debug): Restore assignment to
3403 debugger-old-buffer removed on 2012-09-08.
3404
3405 2012-09-20 Juri Linkov <juri@jurta.org>
3406
3407 * dired-aux.el (dired-diff): Remove (require 'diff) since
3408 `diff-latest-backup-file' is now autoloaded.
3409
3410 2012-09-20 Chong Yidong <cyd@gnu.org>
3411
3412 * vc/diff.el (diff-latest-backup-file): Autoload.
3413
3414 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3415
3416 * calc/calc.el: Remove redundant autoload shape check.
3417 (sel-mode): Don't defvar.
3418 (calc-get-stack-element): Add `sel-mode' arg instead.
3419 (calc-top, calc-top-list): Pass it this additional argument.
3420 * calc/calc-store.el (calc-store-map):
3421 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3422 (calc-map-equation, calc-outer-product, calc-inner-product):
3423 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3424
3425 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3426
3427 2012-09-19 Juri Linkov <juri@jurta.org>
3428
3429 * dired-aux.el (dired-diff): Add (require 'diff) because
3430 `diff-latest-backup-file' is not autoloaded.
3431 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3432 of `dired-get-filename' to t to not report error when there is
3433 no default file on the current line.
3434
3435 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3438 macroexp--eval-if-compile.
3439 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3440 (macroexp--expand-all): Use them (bug#12371).
3441
3442 * doc-view.el (doc-view-guess-paper-size)
3443 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3444
3445 2012-09-19 Tassilo Horn <tsdh@gnu.org>
3446
3447 New feature: set optimal slice from BoundingBox information.
3448 * doc-view.el (doc-view-mode-map): Add keybinding.
3449 (doc-view-menu): Add menu entry.
3450 (doc-view-set-slice): Adapt docstring.
3451 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3452 (doc-view-scale-bounding-box)
3453 (doc-view-set-slice-from-bounding-box): New functions.
3454 (doc-view-paper-sizes): New defvar.
3455
3456 2012-09-19 Glenn Morris <rgm@gnu.org>
3457
3458 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3459 (byte-compile-log-warning): Autoload. (Bug#12371)
3460
3461 * calendar/calendar.el (calendar-american-month-header)
3462 (calendar-european-month-header, calendar-iso-month-header)
3463 (calendar-month-header): New options.
3464 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3465 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3466
3467 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3468
3469 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3470
3471 2012-09-18 Juri Linkov <juri@jurta.org>
3472
3473 * dired-aux.el (dired-diff): Restore original functionality of
3474 getting the default value, but keep new feature of using the
3475 latest existing backup file (`diff-latest-backup-file').
3476
3477 2012-09-18 Juri Linkov <juri@jurta.org>
3478
3479 * dired.el (dired-mark): If the region is active in Transient Mark
3480 mode, mark all files in the active region. Doc fix.
3481 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3482 Doc fix. (Bug#10624)
3483
3484 2012-09-18 Juri Linkov <juri@jurta.org>
3485
3486 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3487 attributes for M-n are pulled from the file at point.
3488 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3489 Suggested by Drew Adams. (Bug#10624)
3490
3491 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3492
3493 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3494 whitespace after "end".
3495 (ruby-do-end-to-brace): Collapse block to one line if it fits
3496 within fill-column.
3497
3498 2012-09-18 Martin Rudalics <rudalics@gmx.at>
3499
3500 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3501 value.
3502 (debug): Don't remove debugger window when debugger is expected
3503 to be back.
3504
3505 2012-09-18 Chong Yidong <cyd@gnu.org>
3506
3507 * custom.el (defface): Doc fix.
3508
3509 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3510
3511 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3512
3513 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3514 to initialize query-on-exit; then test that instead (bug#12288).
3515
3516 2012-09-17 Stefan Merten <smerten@oekonux.de>
3517
3518 * textmodes/rst.el: Add support for `testcover'.
3519 (rst-defcustom-testcover, rst-testcover-add-compose)
3520 (rst-testcover-add-1value): New functions.
3521 (rst-portable-mark-active-p): Replace by `use-region-p'.
3522 (rst-update-section, rst-classify-adornment)
3523 (rst-find-title-line): Mark `1value' forms.
3524 (rst-classify-adornment): Remove superfluous form.
3525 (rst-update-section, rst-get-adornments-around)
3526 (rst-adornment-complete-p, rst-get-next-adornment)
3527 (rst-adjust, rst-promote-region)
3528 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3529 (rst-find-pfx-in-region, rst-section-tree-rec)
3530 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3531 (rst-toc-node, rst-toc, rst-forward-section)
3532 (rst-iterate-leftmost-paragraphs)
3533 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3534 (rst-bullet-list-region)
3535 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3536 (rst-compile-find-conf, rst-compile)
3537 (rst-repeat-last-character): Fix style.
3538
3539 2012-09-17 Chong Yidong <cyd@gnu.org>
3540
3541 * comint.el (comint--complete-file-name-data): Don't add a space
3542 if the status is `sole'; that adds a gratuitous space in the
3543 completion-cycling case (Bug#12092).
3544
3545 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3546
3547 2012-09-17 Richard Stallman <rms@gnu.org>
3548
3549 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3550 only in the mime-shown mode, not in raw mode.
3551 (rmail-mime): Toggle off mime by displaying the message without
3552 mime processing. (Bug#12305)
3553
3554 * mail/rmail.el (rmail-retry-failure):
3555 Turn off mime processing first. (Bug#12037)
3556
3557 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3558
3559 2012-09-17 Chong Yidong <cyd@gnu.org>
3560
3561 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3562 (shell-dynamic-complete-functions): Convert to defcustom.
3563 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3564
3565 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3566 * comint.el (comint-prompt-read-only):
3567 * custom.el (defcustom):
3568 * hi-lock.el (hi-lock-mode):
3569 * ibuffer.el (ibuffer-formats):
3570 * ielm.el (ielm-prompt-read-only):
3571 * novice.el (disable-command):
3572 * saveplace.el (toggle-save-place):
3573 * speedbar.el (speedbar-supported-extension-expressions):
3574 * startup.el (auto-save-list-file-prefix, init-file-user)
3575 (after-init-hook, inhibit-startup-echo-area-message):
3576 * strokes.el (strokes-help):
3577 * time-stamp.el (time-stamp):
3578 * calendar/calendar.el (calendar, diary-file):
3579 * calendar/diary-lib.el (diary-mail-entries, diary)
3580 (diary-list-entries-hook):
3581 * calendar/holidays.el (holidays, calendar-holidays):
3582 * calendar/lunar.el (lunar-phases):
3583 * calendar/solar.el (sunrise-sunset):
3584 * emulation/edt.el (edt-load-keys):
3585 * emulation/viper.el (viper-mode):
3586 * eshell/em-alias.el (eshell-command-aliases-list):
3587 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3588 * international/ogonek.el (ogonek-information):
3589 * net/tramp-cmds.el (tramp-bug):
3590 * net/quickurl.el (quickurl-reread-hook-postfix):
3591 * play/decipher.el (decipher-font-lock-keywords):
3592 * progmodes/cc-styles.el (c-set-style):
3593 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3594 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3595 * progmodes/octave-mod.el (octave-mode):
3596 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3597 * progmodes/verilog-mode.el (verilog-read-defines):
3598 * textmodes/two-column.el (2C-mode): Likewise.
3599
3600 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3601
3602 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3603 that holds many addresses.
3604
3605 2012-09-16 Chong Yidong <cyd@gnu.org>
3606
3607 * align.el (align-areas): Call the indication function with
3608 positions instead of markers for arguments (Bug#12343).
3609
3610 * files.el (parse-colon-path): Use split-string (Bug#12351).
3611
3612 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3613 (display-buffer-function): Mark as obsolete.
3614
3615 * progmodes/compile.el (compilation-parse-errors): Accept list
3616 values similar to font-lock-keywords (Bug#12136).
3617 Suggested by Oleksandr Manzyuk.
3618 (compilation-error-regexp-alist): Doc fix.
3619
3620 2012-09-15 Glenn Morris <rgm@gnu.org>
3621
3622 * version.el (emacs-bzr-version-bzr): New function.
3623 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3624
3625 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3626 checkouts, check the parent dirstate matches the branch.
3627 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3628 empty string.
3629
3630 * version.el (emacs-bzr-version): Doc fix.
3631 (emacs-bzr-version-dirstate): New function.
3632 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3633 is local try and check that it matches the branch. If not, just
3634 use dirstate information. (Bug#12441)
3635
3636 2012-09-14 Juri Linkov <juri@jurta.org>
3637
3638 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3639 (Bug#12399)
3640
3641 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3642
3643 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3644
3645 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3646 Remove obsolete byte-compiler hack that tried to silence some warnings.
3647 (edebug-submit-bug-report): Remove.
3648 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3649 Remove aliases, use the un-prefixed name instead.
3650 (edebug-pop-to-buffer): Consider other frames.
3651 (edebug-original-read):: Make it more obvious that it's always defined.
3652 (edebug--make-form-data-entry, edebug--form-data-name)
3653 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3654 single-dashed name, and implement with cl-defstruct.
3655 (edebug-set-form-data-entry): Use the standard accessors.
3656 (edebug-make-top-form-data-entry): Use push.
3657 (edebug-no-match): Drop useless `funcall'.
3658 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3659 to functions.
3660 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3661 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3662 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3663 (easy-menu-define, with-custom-print): Remove redundant specs.
3664 (edebug-outside-overriding-local-map)
3665 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3666 (edebug--display): Bind unread-command-events directly to nil rather
3667 than binding it to unread-command-events and later setting it to nil.
3668 (edebug--display): Kill edebug-eval-buffer here...
3669 (edebug--recursive-edit): ...rather than here.
3670 Bind standard-output and standard-input.
3671 (edebug-eval): Check cl-macroexpand-all is fboundp.
3672 (edebug-temp-display-freq-count): Fix last change.
3673
3674 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3675 * subr.el (noreturn, 1value): Add `debug' spec.
3676 * emacs-lisp/advice.el: Require cl-lib.
3677 (ad-copy-tree): Remove, use copy-tree instead.
3678 (ad-dolist): Remove use dolist or cl-dolist instead.
3679 (ad-do-return): Remove, use cl-return instead.
3680 (defadvice): Add `debug' spec.
3681
3682 2012-09-13 Juri Linkov <juri@jurta.org>
3683
3684 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3685 (Bug#12399)
3686
3687 2012-09-13 Glenn Morris <rgm@gnu.org>
3688
3689 * calc/calc.el (math-compose-expr):
3690 * calc/calc-ext.el (math-compose-expr):
3691 * progmodes/cc-defs.el (cl-macroexpand-all):
3692 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3693 (cl-macroexpand-all): Update declarations.
3694
3695 * vc/vc.el: No need to require ediff.
3696 (ediff-load-version-control): Declare.
3697 (ediff-vc-internal): Fix declaration.
3698 (vc-version-ediff): Require ediff.
3699
3700 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3701
3702 Use a more backwards-compatible timer format (Bug#12430).
3703 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3704 being right after USECS, as that better supports old code that
3705 inadvisedly looked directly at the timer vector.
3706
3707 2012-09-13 Kenichi Handa <handa@gnu.org>
3708
3709 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3710 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3711 `coding-priority' property of these language environment.
3712
3713 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3714
3715 Fix glitches caused by addition of psec to timers (Bug#12430).
3716 * image.el (image-animate-timer):
3717 * time.el (display-time-world-timer):
3718 Use timer--function and timer--args rather than raw access to
3719 timer vector.
3720
3721 2012-09-13 Glenn Morris <rgm@gnu.org>
3722
3723 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3724 If not compiling a file, try using load-file-name.
3725
3726 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3729 Fix last change.
3730 (edebug-update-eval-list): Use `push'.
3731
3732 * emacs-lisp/edebug.el: Use lexical-binding.
3733 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3734 Mark unused args with underscore.
3735 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3736 (edebug-form-data): Use defvar-local.
3737 (edebug-make-before-and-after-form, edebug-make-after-form):
3738 Use backquote.
3739 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3740 Not dynamically scoped any more.
3741 (edebug--enter-trace): Add arguments `function' and `args'.
3742 Rename from edebug-enter-trace.
3743 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3744 (edebug--update-coverage): Add `after-index' and `value' args.
3745 Rename from edebug-update-coverage.
3746 (edebug-slow-after): Call it accordingly.
3747 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3748 edebug-recursive-edit.
3749 (edebug--display): Call it accordingly. Add args `value',
3750 `offset-index', and `arg-mode'. Rename from edebug-display.
3751 (edebug-debugger, edebug): Call it accordingly.
3752 (edebug-eval-display-list): Use dolist.
3753
3754 2012-09-12 Juri Linkov <juri@jurta.org>
3755
3756 * info.el (Info-search): Don't check for isearch-mode and
3757 isearch-regexp before let-binding search-spaces-regexp to
3758 Info-search-whitespace-regexp.
3759 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3760 search-whitespace-regexp if isearch-lax-whitespace or
3761 isearch-regexp-lax-whitespace is non-nil.
3762 (Info-mode): Don't set local variable search-whitespace-regexp.
3763 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3764
3765 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3766
3767 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3768 (debugger-env-macro): Remove support for unread-command-char.
3769
3770 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3771 the temporary map re-appearing on emulation-mode-map-alists.
3772
3773 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3774 since 22.1.
3775
3776 * ehelp.el (with-electric-help): Accept functions in
3777 electric-help-form-to-execute.
3778 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3779 And replace unread-command-char -> unread-command-events.
3780
3781 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
3782
3783 Sync with Tramp 2.2.6.
3784
3785 * net/tramp.el (tramp-accept-process-output): Don't use
3786 JUST-THIS-ONE in the XEmacs case.
3787
3788 * net/trampver.el: Update release number.
3789
3790 2012-09-12 Martin Rudalics <rudalics@gmx.at>
3791
3792 * emacs-lisp/debug.el (debugger-previous-window-height):
3793 New variable.
3794 (debug): When debugger-jumping-flag is non-nil try to restore
3795 height of debugger window. (Bug#8789)
3796
3797 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3800 overriding-local-map and pre/post-command-hook here.
3801 (edebug-recursive-edit): Do it here instead (bug#12345).
3802 (edebug-outside-unread-command-char): Remove all uses of
3803 unread-command-char.
3804
3805 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3806 inhibit-debugger is bound instead.
3807
3808 2012-09-11 Bastien Guerry <bzg@gnu.org>
3809
3810 * subr.el (set-temporary-overlay-map): Add a docstring.
3811 (Bug#12346)
3812
3813 2012-09-11 Bastien Guerry <bzg@gnu.org>
3814
3815 * minibuffer.el (completion-table-subvert): Fix docstring.
3816 (Bug#12347)
3817
3818 2012-09-11 Bastien Guerry <bzg@gnu.org>
3819
3820 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
3821
3822 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3823
3824 * progmodes/sql.el: Version 3.1
3825 (sql-db2-escape-newlines): New variable.
3826 (sql-escape-newlines-filter): Use it.
3827
3828 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
3829
3830 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3831
3832 2012-09-10 Dan Nicolaescu <dann@gnu.org>
3833
3834 * vc/diff-mode.el (diff-mode-menu):
3835 Bind diff-remove-trailing-whitespace.
3836
3837 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3838
3839 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3840 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3841 (emacs-lisp-byte-code-mode): New functions.
3842 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3843 (eval-defun-2): Remove bogus interactive spec.
3844 (lisp-indent-line): Remove redundant whole-exp code, now done in
3845 indent-according-to-mode.
3846 (save-match-data): Remove redundant indent data.
3847
3848 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3849 Use `declare'.
3850
3851 2012-09-09 Juri Linkov <juri@jurta.org>
3852
3853 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3854 (replace-lax-whitespace, query-replace-regexp)
3855 (query-replace-regexp-eval, replace-regexp): Doc fix.
3856 (perform-replace, replace-highlight): Let-bind
3857 isearch-lax-whitespace to replace-lax-whitespace and
3858 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3859
3860 * isearch.el (isearch-query-replace): Let-bind
3861 replace-lax-whitespace to isearch-lax-whitespace and
3862 replace-regexp-lax-whitespace to
3863 isearch-regexp-lax-whitespace. (Bug#10885)
3864
3865 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3866
3867 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3868
3869 2012-09-09 Alan Mackenzie <acm@muc.de>
3870
3871 * progmodes/cc-engine.el (c-state-cache-init):
3872 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3873 (c-record-parse-state-state):
3874 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3875
3876 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3877
3878 * register.el (register-separator): Rename from
3879 separator-register. All uses changed. Doc fix.
3880 (register): Fix version.
3881
3882 2012-09-09 Chong Yidong <cyd@gnu.org>
3883
3884 * replace.el (query-replace-map): Bind four new symbols for
3885 requesting window scrolling.
3886
3887 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3888 query-replace-map (Bug#8948).
3889
3890 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3891
3892 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3893 since they are now in query-replace-map.
3894
3895 * window.el (scroll-other-window-down): Make the arg optional.
3896
3897 2012-09-09 Chong Yidong <cyd@gnu.org>
3898
3899 * files.el (hack-local-variables-confirm): Use quit-window to kill
3900 the *Local Variables* buffer.
3901
3902 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3903
3904 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3905 not just expect to be at its beginning. Adjust callees.
3906 Succeed when do-end block has no space before the pipe character.
3907 (ruby-brace-to-do-end): When the original block is one-liner,
3908 convert to multiline. Reindent the result.
3909
3910 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3911
3912 * register.el (register): New group.
3913 (separator-register): New user option.
3914 (increment-register): Route it to `append-to-register', if
3915 register contains text. Implication is that `C-x r +' can now be
3916 used for appending to a text register (bug#12217).
3917 (append-to-register, prepend-to-register): Add separator based on
3918 `separator-register'.
3919
3920 2012-09-08 Alan Mackenzie <acm@muc.de>
3921
3922 AWK Mode: make auto-newline work when there's "==" in the pattern.
3923 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3924 correctly.
3925 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3926 Test more rigorously for "=" token.
3927
3928 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3929
3930 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3931 Only fail when reached LIMIT.
3932
3933 2012-09-08 Chong Yidong <cyd@gnu.org>
3934
3935 * dired.el (dired-mode-map): Don't bind M-=.
3936
3937 * dired-aux.el (dired-diff): Use backup file as default.
3938
3939 2012-09-08 Drew Adams <drew.adams@oracle.com>
3940
3941 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3942
3943 2012-09-08 Chong Yidong <cyd@gnu.org>
3944
3945 * subr.el (syntax-after, syntax-class): Doc fix.
3946
3947 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3948
3949 * window.el (display-buffer-in-previous-window): New buffer
3950 display action function.
3951
3952 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3953 (debugger-previous-window): New variable.
3954 (debug): Rewrite using display-buffer-in-previous-window,
3955 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3956
3957 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3960
3961 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3962
3963 * progmodes/python.el (python-shell-send-string):
3964 When default-directory is remote, create temp file on remote
3965 filesystem.
3966 (python-shell-send-file): When file is remote, pass local view of
3967 file paths to remote Python interpreter. (Bug#12340)
3968
3969 2012-09-07 Chong Yidong <cyd@gnu.org>
3970
3971 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3972
3973 * files.el (after-find-file): Don't fail on a read-only buffer if
3974 require-final-newline is `visit' or `visit-save' (Bug#11156).
3975
3976 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3977
3978 * userlock.el (ask-user-about-supersession-threat):
3979 Use read-char-choice (Bug#12093).
3980
3981 2012-09-07 Chong Yidong <cyd@gnu.org>
3982
3983 * subr.el (buffer-narrowed-p): New function.
3984
3985 * ses.el (ses-widen):
3986 * simple.el (count-words--buffer-message):
3987 * net/browse-url.el (browse-url-of-buffer): Use it.
3988
3989 * simple.el (count-words-region): Don't signal an error if there
3990 is a non-nil prefix arg and the mark is not set.
3991
3992 * help.el (describe-key-briefly): Allow the message to be seen
3993 when invoked from the minibuffer (Bug#7014).
3994
3995 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3996
3997 * progmodes/ruby-mode.el (ruby-end-of-defun)
3998 (ruby-beginning-of-defun): Simplify, allow indentation before
3999 block beginning and end keywords.
4000 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4001 (ruby-end-of-defun): Expect that the point is at the beginning of
4002 the defun.
4003
4004 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4007 (bug#12367).
4008 (cl--make-usage-args): Strip _ from argument names.
4009
4010 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4011
4012 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4013 obsolete alias speedbar-key-map.
4014 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4015 (vhdl-index-menu-init): Don't use obsolete variable
4016 font-lock-maximum-size.
4017
4018 2012-09-06 Chong Yidong <cyd@gnu.org>
4019
4020 * frame.el (window-system-version): Mark as obsolete.
4021
4022 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4023 of obsolete variable speedbar-key-map.
4024
4025 2012-09-06 Juri Linkov <juri@jurta.org>
4026
4027 * replace.el (replace-lax-whitespace): New defcustom.
4028 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4029 (replace-string, replace-regexp): Mention it in docstrings.
4030 (perform-replace, replace-highlight): Let-bind
4031 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4032 to the values of replace-lax-whitespace and regexp-flag.
4033 Don't let-bind search-whitespace-regexp. (Bug#10885)
4034
4035 * isearch.el (isearch-query-replace): Let-bind
4036 replace-lax-whitespace instead of let-binding
4037 replace-search-function and replace-re-search-function.
4038 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4039 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4040 (isearch-toggle-symbol): Set isearch-regexp to nil
4041 in isearch-word mode (like in isearch-toggle-word).
4042
4043 2012-09-06 Juri Linkov <juri@jurta.org>
4044
4045 * replace.el (replace-search-function)
4046 (replace-re-search-function): Set default values to nil.
4047 (perform-replace): Let-bind isearch-related variables based on
4048 replace-related values, call `isearch-search-fun' and let-bind
4049 the result to `search-function'. Remove code that sets
4050 `search-function' and `search-string' separately for
4051 `delimited-flag'.
4052 (replace-highlight): Add new argument `delimited-flag' and
4053 rename other arguments to the names used in `perform-replace'.
4054 Let-bind `isearch-word' to the argument `delimited-flag'.
4055 (Bug#10885, bug#10887)
4056
4057 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4058
4059 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4060 ruby-beginning-of-indent, simplify, allow all keywords to have
4061 indentation before them.
4062 (ruby-beginning-of-indent): Adjust for above. Search until the
4063 found point is not inside a string or comment.
4064 (ruby-font-lock-keywords): Allow symbols to start with "@"
4065 character, give them higher priority than variables.
4066 (ruby-syntax-propertize-function)
4067 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4068 matchers. Expression expansions are not comments when inside a
4069 string, and there comment syntax status is irrelevant.
4070 (ruby-match-expression-expansion): New function. Check that
4071 expression expansion is inside a string, and it's not escaped.
4072 (ruby-font-lock-keywords): Use it.
4073
4074 2012-09-05 Martin Rudalics <rudalics@gmx.at>
4075
4076 * help.el (temp-buffer-max-height): New default value.
4077 (temp-buffer-resize-frames): New option.
4078 (resize-temp-buffer-window): Optionally resize frame.
4079
4080 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4081 (fit-frame-to-buffer): New function.
4082
4083 2012-09-05 Glenn Morris <rgm@gnu.org>
4084
4085 * emulation/cua-rect.el (cua--init-rectangles):
4086 * textmodes/picture.el (picture-mode-map):
4087 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4088 like forward-char and backward-char. (Bug#12317)
4089
4090 2012-09-05 Leo Liu <sdl.web@gmail.com>
4091
4092 * progmodes/flymake.el (flymake-warning-re): New variable.
4093 (flymake-parse-line): Use it.
4094
4095 2012-09-05 Glenn Morris <rgm@gnu.org>
4096
4097 * calendar/holidays.el (holiday-christian-holidays):
4098 Rename an entry. (Bug#12289)
4099
4100 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4101
4102 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4103 (bug#12222).
4104
4105 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4107 * loadup.el: Load macroexp. Remove hack.
4108 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4109 (macroexp--expand-all): Use it to get better warnings.
4110 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4111 (internal-macroexpand-for-load): New functions.
4112 (macroexp--pending-eager-loads): New var.
4113 (emacs-startup-hook): New hack to replace one in loadup.el.
4114 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4115 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4116 (cl-psetf): Simplify.
4117 (cl-defstruct): Add indent rule.
4118
4119 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4120
4121 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4122 over `user-mail-address' for the SMTP MAIL FROM envelope.
4123 (smtpmail-via-smtp): Ditto.
4124
4125 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4126
4127 * progmodes/ruby-mode.el: Clean up keybindings.
4128 (ruby-mode-map): Don't bind ruby-electric-brace,
4129 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4130 backward-kill-word, reindent-then-newline-and-indent.
4131 (ruby-mark-defun): Remove.
4132 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4133 (ruby-mode): Set local beginning-of-defun-function and
4134 end-of-defun-function values.
4135
4136 2012-09-03 Martin Rudalics <rudalics@gmx.at>
4137
4138 * window.el (temp-buffer-window-setup-hook)
4139 (temp-buffer-window-show-hook): New hooks.
4140 (temp-buffer-window-setup, temp-buffer-window-show)
4141 (with-temp-buffer-window): New functions.
4142 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4143 (special-display-popup-frame): Make sure the window used shows BUFFER.
4144
4145 * help.el (temp-buffer-resize-mode): Fix doc-string.
4146 (resize-temp-buffer-window): New optional argument WINDOW.
4147
4148 * files.el (recover-file, save-buffers-kill-emacs):
4149 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4150
4151 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
4152
4153 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4154 remote definition of `default-directory', ensure we can connect.
4155
4156 2012-09-02 Juri Linkov <juri@jurta.org>
4157
4158 Toggle whitespace matching mode with M-s SPC.
4159 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4160
4161 * isearch.el (search-whitespace-regexp): Doc fix.
4162 Remove cons cell customization.
4163 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4164 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4165 New variables.
4166 (isearch-forward, isearch-forward-regexp): Doc fix.
4167 (isearch-toggle-lax-whitespace): New command.
4168 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4169 (re-search-forward-lax-whitespace)
4170 (re-search-backward-lax-whitespace): New functions.
4171 (isearch-whitespace-regexp): Remove function.
4172 (isearch-query-replace): Let-bind replace-search-function and
4173 replace-re-search-function.
4174 (isearch-occur): Let-bind search-spaces-regexp according to the
4175 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4176 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4177 condition for C-q SPC.
4178 (isearch-search-fun-default): Use new functions mentioned above.
4179 (isearch-search-forward, isearch-search-backward): Remove functions.
4180 (isearch-search): Don't let-bind search-spaces-regexp.
4181 (isearch-lazy-highlight-space-regexp): Remove variable.
4182 (isearch-lazy-highlight-lax-whitespace)
4183 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4184 (isearch-lazy-highlight-new-loop): Use them.
4185 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4186
4187 2012-09-02 Chong Yidong <cyd@gnu.org>
4188
4189 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4190
4191 2012-09-02 Glenn Morris <rgm@gnu.org>
4192
4193 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4194
4195 2012-09-01 Glenn Morris <rgm@gnu.org>
4196
4197 * term.el: Tidy up menu definitions.
4198 (term-mode-map): Use easymenu for In/Out, Complete menus.
4199 (term-pager-break-map): Initialize in the defvar.
4200 (term-terminal-menu, term-signals-menu): Define with easymenu.
4201 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4202 (term-pager-menu): New, extracted from term-process-pager.
4203 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4204 (term-update-mode-line): Propertize line/char and page items.
4205 (term-process-pager): Move keymap initialization elsewhere.
4206
4207 2012-09-01 Martin Rudalics <rudalics@gmx.at>
4208
4209 * window.el (switch-to-prev-buffer): Handle additional values of
4210 BURY-OR-KILL argument. Don't switch in minibuffer window.
4211 (switch-to-next-buffer): Don't switch in minibuffer window.
4212 (quit-restore-window): New function based on quit-window.
4213 Handle additional values of former KILL argument.
4214 (quit-window): Call quit-restore-window with appropriate
4215 interpretation of KILL argument.
4216 (display-buffer-below-selected): New buffer display action
4217 function.
4218
4219 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4220
4221 * minibuffer.el (completion-at-point-functions): Complete docstring
4222 (bug#12254).
4223
4224 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4225
4226 Better seed support for (random).
4227 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4228 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4229 * play/mpuz.el, play/tetris.el, play/zone.el:
4230 * calc/calc-comb.el (math-init-random-base):
4231 * play/blackbox.el (bb-init-board):
4232 * play/life.el (life):
4233 * server.el (server-use-tcp):
4234 * type-break.el (type-break):
4235 Remove unnecessary call to (random t).
4236 * net/sasl.el (sasl-unique-id-function):
4237 Change (random t) to (random), now that the latter is more random.
4238 * play/life.el (life-initialized): Remove no-longer-needed var.
4239
4240 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4241
4242 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4243 Consider frame's buffer predicate when choosing the buffer.
4244 (Bug#12081)
4245
4246 2012-08-30 Richard Stallman <rms@gnu.org>
4247
4248 * simple.el (special-mode-map): Delete binding for `z'.
4249
4250 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4251
4252 * progmodes/compile.el (compilation-always-kill): Doc fix.
4253
4254 2012-08-30 Chong Yidong <cyd@gnu.org>
4255
4256 * window.el (display-buffer-reuse-frames): Make the obsolescence
4257 message more informative.
4258
4259 2012-08-30 Glenn Morris <rgm@gnu.org>
4260
4261 * paren.el (show-paren-delay):
4262 Add a :set function. Doc fix. (Bug#12297)
4263
4264 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4265
4266 * progmodes/compile.el (compilation-always-kill): New var.
4267 (compilation-start): Use it.
4268
4269 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4272 * files.el (read-only-mode): Move to simple.el.
4273
4274 * files.el (read-only-mode): New minor mode.
4275 (toggle-read-only): Use it and mark obsolete.
4276 (find-file--read-only):
4277 * vc/vc.el (vc-next-action, vc-checkout):
4278 * vc/vc-cvs.el (vc-cvs-checkout):
4279 * obsolete/vc-mcvs.el (vc-mcvs-update):
4280 * ffap.el (ffap--toggle-read-only): Update callers.
4281
4282 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
4283
4284 * eshell/esh-ext.el (eshell-external-command): Do not examine
4285 remote shell scripts.
4286 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4287
4288 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4289 "/usr/local/sbin".
4290
4291 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4292
4293 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4294
4295 2012-08-28 Leo Liu <sdl.web@gmail.com>
4296
4297 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4298 completion-at-point. (Bug#12220)
4299
4300 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4301
4302 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4303
4304 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4305
4306 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4307 be buffer-local; add delete-trailing-whitespace (bug#12259).
4308
4309 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
4310
4311 * progmodes/hideif.el (hif-compress-define-list):
4312 Fix typo. (Bug#11951)
4313
4314 2012-08-28 Dan Nicolaescu <dann@gnu.org>
4315
4316 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4317 buffer local setting.
4318
4319 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4320 rcirc-encode-coding-system.
4321
4322 2012-08-28 Leo Liu <sdl.web@gmail.com>
4323
4324 * net/rcirc.el (rcirc-split-message): New function.
4325 (rcirc-send-message): Use it. (Bug#12051)
4326
4327 2012-08-28 Juri Linkov <juri@jurta.org>
4328
4329 * info.el (Info-fontify-node): Hide empty lines at the end of
4330 the node. (Bug#12272)
4331
4332 2012-08-27 Drew Adams <drew.adams@oracle.com>
4333
4334 * dired.el (dired-pop-to-buffer): Make window start at beginning
4335 of buffer (Bug#12281).
4336
4337 2012-08-26 Chong Yidong <cyd@gnu.org>
4338
4339 * window.el (special-display-regexps, special-display-frame-alist)
4340 (special-display-buffer-names, special-display-function)
4341 (display-buffer-reuse-frames): Mark as obsolete.
4342
4343 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4344
4345 * help.el (help-print-return-message): Don't treat
4346 display-buffer-reuse-frames specially.
4347
4348 2012-08-26 Chong Yidong <cyd@gnu.org>
4349
4350 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4351 New variable, replacing gdb-frame-parameters.
4352 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4353 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4354 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4355 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4356 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4357 the functions directly with gdb-display-buffer-other-frame-action.
4358 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4359 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4360 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4361 (gdb-display-registers-buffer): Define directly.
4362 (def-gdb-display-buffer): Macro deleted.
4363 (gdb-display-buffer): Remove second and third args, callers don't
4364 use them. Defer to the default display-buffer behavior, apart
4365 from making windows dedicated.
4366 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4367
4368 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4369
4370 * window.el (display-buffer-pop-up-frame): Handle a
4371 pop-up-frame-parameters alist entry.
4372 (display-buffer): Document it.
4373
4374 2012-08-26 Chong Yidong <cyd@gnu.org>
4375
4376 * isearch.el (search-whitespace-regexp): Make string and nil
4377 values apply to both ordinary and regexp search. Allow a cons
4378 cell value to distinguish between the two.
4379 (isearch-whitespace-regexp, isearch-search-forward)
4380 (isearch-search-backward): New functions.
4381 (isearch-occur, isearch-search-fun-default, isearch-search)
4382 (isearch-lazy-highlight-new-loop): Use them.
4383 (isearch-forward, isearch-forward-regexp): Doc fix.
4384
4385 2012-08-26 Chong Yidong <cyd@gnu.org>
4386
4387 * faces.el (help-argument-name): Always inherit from italic
4388 (Bug#12213).
4389
4390 2012-08-25 Martin Rudalics <rudalics@gmx.at>
4391
4392 * window.el (window--even-window-heights): Even heights when
4393 WINDOW and the selected window form a vertical combination.
4394 (display-buffer-use-some-window): Provide that window used gets
4395 sized back by quit-window. (Bug#11880) and (Bug#12091)
4396
4397 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4398
4399 Fix file time stamp problem with bzr and CVS (Bug#12001).
4400 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4401 in the file's time stamp, since the version control system loses
4402 that information.
4403
4404 2012-08-22 Juri Linkov <juri@jurta.org>
4405
4406 * info.el (Info-fontify-node): Hide the suffix of the
4407 Info file name in the header line. (Bug#12187)
4408
4409 2012-08-22 Glenn Morris <rgm@gnu.org>
4410
4411 * calendar/cal-tex.el (cal-tex-weekly-common):
4412 Restore leading blank page.
4413
4414 2012-08-22 Le Wang <l26wang@gmail.com>
4415
4416 * misc.el (forward-to-word, backward-to-word): Activate or extend
4417 the region under `shift-select-mode'. (Bug#12231)
4418
4419 2012-08-22 Bastien Guerry <bzg@gnu.org>
4420
4421 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4422 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4423 gives details on why the space is never needed.
4424
4425 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4426
4427 * window.el (walk-window-tree, window-with-parameter):
4428 New optional argument MINIBUF to control whether these functions
4429 should run on the minibuffer window.
4430 (window-at-side-list): Don't operate on minibuffer window.
4431 (window-in-direction): Simplify and rewrite doc-string.
4432 (window--size-ignore): Rename to window--size-ignore-p.
4433 Update callers.
4434 (display-buffer-in-atom-window, window--major-non-side-window)
4435 (window--major-side-window, display-buffer-in-major-side-window)
4436 (delete-side-window, display-buffer-in-side-window):
4437 New functions.
4438 (window--side-check, window-deletable-p, delete-window)
4439 (delete-other-windows, split-window): Handle side windows and
4440 atomic windows appropriately.
4441 (window--display-buffer): Call display-buffer-record-window also
4442 when the window buffer did not change.
4443
4444 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4445
4446 * help-fns.el (help-fns--key-bindings):
4447 Abbreviate non-symbol remap targets. (Bug#12174)
4448
4449 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4450
4451 * dired.el (dired-mark-remembered): Don't clobber point.
4452 (Bug#11795)
4453
4454 2012-08-22 Glenn Morris <rgm@gnu.org>
4455
4456 * progmodes/bug-reference.el (bug-reference): New custom group.
4457 (bug-reference-bug-regexp): Make it a defcustom.
4458
4459 2012-08-22 Daiki Ueno <ueno@unixuser.org>
4460
4461 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4462 (js-paren-indent-offset, js-square-indent-offset)
4463 (js-curly-indent-offset): Add :safe (Bug#12257).
4464
4465 2012-08-22 Edward O'Connor <hober0@gmail.com>
4466
4467 * json.el (json-key-format): Add error properties.
4468 (json-encode-key): New function.
4469 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4470 Use json-encode-key.
4471
4472 2012-08-22 Glenn Morris <rgm@gnu.org>
4473
4474 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4475 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4476 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4477 Update for above change.
4478
4479 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4480
4481 * cus-face.el (custom-face-attributes): Fix customize type for the
4482 :underline attribute. (Bug#11805)
4483
4484 2012-08-21 Martin Rudalics <rudalics@gmx.at>
4485
4486 * window.el (window-point-1, set-window-point-1): Remove.
4487 (window-in-direction, record-window-buffer)
4488 (set-window-buffer-start-and-point, split-window-below)
4489 (window--state-get-1, display-buffer-record-window):
4490 Replace calls to window-point-1 and set-window-point-1 by calls to
4491 window-point and set-window-point respectively.
4492
4493 2012-08-21 Glenn Morris <rgm@gnu.org>
4494
4495 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4496 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4497 Use it.
4498
4499 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4500 (cal-tex-shortday): New function.
4501 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4502 (cal-tex-cursor-filofax-daily): Use the above.
4503
4504 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4505 New functions.
4506 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4507 (cal-tex-cursor-filofax-week): Use them.
4508
4509 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4510 New constants.
4511 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4512 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4513
4514 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4515 (cal-tex-end-document): Don't rely on buffer name.
4516
4517 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4518 Use cal-tex-vspace.
4519 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4520 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4521 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4522 Use cal-tex-arg.
4523
4524 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4525 (cal-tex-cursor-week, cal-tex-cursor-week2)
4526 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4527 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4528 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4529 (cal-tex-insert-preamble, cal-tex-b-document)
4530 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4531 Improve cal-tex-cmd usage.
4532
4533 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4534 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4535 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4536 (cal-tex-weekly-paper): New function.
4537 (cal-tex-cursor-week, cal-tex-cursor-week2)
4538 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4539 (cal-tex-cursor-day): Use it.
4540
4541 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4542 (cal-tex-cursor-filofax-week): Remove leading blank page.
4543
4544 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4545 Add autoload cookie. For now at least, don't use color, since
4546 no other cal-tex function does.
4547
4548 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4549 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4550 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4551
4552 2012-08-21 Juri Linkov <juri@jurta.org>
4553
4554 * info.el (Info-file-attributes): New variable.
4555 (info-insert-file-contents): Add file attributes to
4556 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4557 `Info-toc-nodes' when previous modtime of the Info file is less
4558 than new modtime.
4559 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4560 of info.el. (Bug#12230)
4561
4562 2012-08-20 Glenn Morris <rgm@gnu.org>
4563
4564 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4565 * calendar/holidays.el (calendar-holiday-list):
4566 Report errors with display-warning rather than beep'n'sleep.
4567
4568 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
4569
4570 * net/tramp.el (tramp-accept-process-output): Accept only output
4571 from PROC. Otherwise, process filters and sentinels might be
4572 confused. (Bug#12145)
4573
4574 2012-08-20 Chong Yidong <cyd@gnu.org>
4575
4576 * descr-text.el (describe-text-properties-1): Use overlays-in to
4577 report on empty overlays (Bug#3322).
4578
4579 2012-08-20 Glenn Morris <rgm@gnu.org>
4580
4581 * mail/rmailout.el (rmail-output-read-file-name):
4582 Trap and report errors in rmail-output-file-alist elements.
4583
4584 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4585 since most non-font-lock faces are not also variables).
4586
4587 2012-08-20 Edward Reingold <reingold@iit.edu>
4588
4589 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4590 New function. (Bug12160)
4591
4592 2012-08-19 Glenn Morris <rgm@gnu.org>
4593
4594 * mail/rmailout.el (rmail-output-read-file-name):
4595 Fix previous change (when the alist is nil or does not match).
4596
4597 2012-08-19 Chong Yidong <cyd@gnu.org>
4598
4599 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4600 (Bug#12228).
4601
4602 2012-08-18 Chong Yidong <cyd@gnu.org>
4603
4604 * simple.el (yank-handled-properties): New defcustom.
4605 (yank-excluded-properties): Add font-lock-face and category.
4606 (yank): Doc fix.
4607
4608 * subr.el (remove-yank-excluded-properties):
4609 Obey yank-handled-properties. The special handling of font-lock-face
4610 and category is now done this way, instead of being hard-coded.
4611 (insert-for-yank-1): Remove font-lock-face handling.
4612 (yank-handle-font-lock-face-property)
4613 (yank-handle-category-property): New function.
4614
4615 2012-08-17 Glenn Morris <rgm@gnu.org>
4616
4617 * mail/rmailout.el (rmail-output-read-file-name):
4618 Check rmail-output-file-alist against the full message body
4619 in the correct rmail buffer. (Bug#12214)
4620
4621 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
4622
4623 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4624 Eliminate superfluous prompt. (Bug#12203)
4625
4626 2012-08-17 Chong Yidong <cyd@gnu.org>
4627
4628 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4629 font spec, set the font directly (Bug#3228).
4630
4631 2012-08-17 Martin Rudalics <rudalics@gmx.at>
4632
4633 * window.el (delete-window): Fix last fix.
4634
4635 2012-08-16 Martin Rudalics <rudalics@gmx.at>
4636
4637 * window.el (window-valid-p): Move to window.c.
4638 (window-child, window-child-count, window-last-child)
4639 (window-normalize-window, window-combined-p)
4640 (window-combinations, window-atom-root, window-min-size)
4641 (window-sizable, window-sizable-p, window-size-fixed-p)
4642 (window-min-delta, window-max-delta, window--resizable)
4643 (window--resizable-p, window-resizable, window-total-size)
4644 (window-full-height-p, window-full-width-p, window-body-size)
4645 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4646 (minimize-window, window-deletable-p, delete-window)
4647 (delete-other-windows, set-window-buffer-start-and-point)
4648 (next-buffer, previous-buffer, split-window, balance-windows-2)
4649 (set-window-text-height, window-buffer-height)
4650 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4651 (truncated-partial-width-window-p): Minor code adjustments.
4652 In doc-strings state whether the argument window has to denote a
4653 live, valid or any window.
4654
4655 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4656
4657 * progmodes/subword.el (subword-forward-function)
4658 (subword-backward-function, subword-forward-regexp)
4659 (subword-backward-regexp): New variables.
4660 (subword-forward, subword-forward-internal, subword-backward-internal):
4661 Use new variables, eg so that different "word" definitions
4662 can be easily used. (Bug#11411)
4663
4664 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4665
4666 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4667 for composite selectors.
4668 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4669 operation just because we can't find a previous revision.
4670
4671 2012-08-15 Chong Yidong <cyd@gnu.org>
4672
4673 * frame.el (set-frame-font): Accept font objects.
4674
4675 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4676
4677 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4678
4679 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4680
4681 * man.el (Man-overstrike-face, Man-underline-face)
4682 (Man-reverse-face): Remove variables.
4683 (Man-overstrike, Man-underline, Man-reverse): New faces.
4684 (Man-fontify-manpage): Use them instead of the variables.
4685 (Man-cleanup-manpage): Comment change.
4686 (Man-ansi-color-map): New variable.
4687 (Man-fontify-manpage): Use it.
4688 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4689
4690 Implement ANSI SGR parameters 22-27 (bug#12146).
4691 * ansi-color.el (ansi-colors): Doc fix.
4692 (ansi-color-context, ansi-color-context-region): Doc fix.
4693 (ansi-color--find-face): New function.
4694 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4695 Rename the local variable `face' to `codes' since it is now a list of
4696 ansi codes. Doc fix.
4697 (ansi-color-get-face): Remove.
4698 (ansi-color-parse-sequence): New function, derived from
4699 ansi-color-get-face.
4700 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4701 codes 22-27.
4702
4703 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4704
4705 * subr.el (read-passwd): Allow use from a minibuffer.
4706
4707 2012-08-14 Eli Zaretskii <eliz@gnu.org>
4708
4709 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4710 inside comments and strings as identifiers.
4711
4712 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4713 expression to evaluate. This allows to evaluate expressions with
4714 embedded whitespace.
4715 (gud-tooltip-tips): Add a blank before the newline in the
4716 message-box text, for the benefit of message-box emulation on
4717 MS-Windows.
4718
4719 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4720 messages from GDB, pop them up in a tooltip to give feedback to
4721 user.
4722 (gdb-tooltip-print-1): Quote the expression to evaluate.
4723 This allows to evaluate expressions with embedded whitespace.
4724 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4725 if the TTY name is nil or empty (which happens when communicating
4726 with the inferior via pipes, e.g. on MS-Windows).
4727 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4728 don't send that to the GUD buffer.
4729
4730 2012-08-14 Glenn Morris <rgm@gnu.org>
4731
4732 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4733 Optimize away setq-default with no args, as for setq. (Bug#12195)
4734
4735 2012-08-14 Chong Yidong <cyd@gnu.org>
4736
4737 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4738
4739 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4740 (Bug#12085).
4741
4742 2012-08-14 Glenn Morris <rgm@gnu.org>
4743
4744 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4745
4746 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
4747
4748 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4749 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4750 Use cached shell name.
4751
4752 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4753
4754 * progmodes/python.el (python-shell-send-string):
4755 (python-shell-send-setup-code): Do not use `format' with `message'.
4756
4757 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4758
4759 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4760 (ruby-percent-literal-beg-re): New constant.
4761 (ruby-syntax-general-delimiters-goto-beg): Rename to
4762 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4763 (ruby-syntax-propertize-general-delimiters): Rename to
4764 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4765 popular term. Adjust comments everywhere.
4766 (ruby-syntax-propertize-percent-literal): Only propertize when not
4767 inside a simple string or comment. When the literal is unclosed,
4768 leave the text after it unpropertized.
4769 (ruby-syntax-methods-before-regexp): New constant.
4770 (ruby-syntax-propertize-function): Use it to recognize regexps.
4771 Don't look at the text after regexp, just use the whitelist.
4772
4773 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4774
4775 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4776 non-nil always load the compiled file if it exists. (Bug#12197)
4777
4778 2012-08-14 Chong Yidong <cyd@gnu.org>
4779
4780 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4781 (hi-lock-set-pattern): When deciding whether to use font lock or
4782 overlays, look at font-lock-mode instead of font-lock-fontified
4783 (Bug#12168).
4784 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4785 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4786
4787 2012-08-14 Daiki Ueno <ueno@unixuser.org>
4788
4789 * subr.el (internal--after-with-selected-window): Fix typo
4790 (Bug#12193).
4791
4792 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4793
4794 Use `completion-table-dynamic' for completion functions.
4795 * progmodes/python.el
4796 (python-shell-completion--do-completion-at-point)
4797 (python-shell-completion--get-completions):
4798 Remove functions.
4799 (python-shell-completion-complete-at-point): New function.
4800 (python-completion-complete-at-point): Use it.
4801
4802 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
4803
4804 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4805 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4806
4807 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4808
4809 * subr.el (function-get): Refine `autoload' arg so it can also
4810 autoload functions for gv.el (bug#12191).
4811 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4812 autoloads macros.
4813
4814 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4815 Prefer pcase-let over destructuring-bind.
4816 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4817 Also, remove whitespace as we go, rather than after accumulating the
4818 various places.
4819
4820 * subr.el (internal--before-with-selected-window)
4821 (internal--after-with-selected-window): Fix typo seleted->selected.
4822 (with-selected-window): Adjust callers.
4823 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4824
4825 2012-08-13 Bastien Guerry <bzg@gnu.org>
4826
4827 * window.el (special-display-popup-frame): Minor docstring
4828 enhancement. (Bug#12172)
4829
4830 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4831
4832 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4833 type 1-6.
4834 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4835 extended headers.
4836
4837 * files.el (hack-local-variables-filter): Remove useless eval.
4838
4839 2012-08-13 Martin Rudalics <rudalics@gmx.at>
4840
4841 * subr.el (with-selected-window): Fix last change.
4842
4843 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4844
4845 * subr.el (internal--before-with-seleted-window)
4846 (internal--after-with-seleted-window): New functions.
4847 (with-selected-window): Use them, to replace dependency on
4848 tty-top-frame.
4849
4850 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4851
4852 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4853 binding for `newline'.
4854 (ruby-move-to-block): When moving backward, stop at block opening,
4855 not indentation.
4856 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4857 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4858 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4859 `ruby-toggle-block'.
4860
4861 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4862
4863 * ibuffer.el (ibuffer-do-toggle-read-only):
4864 * dired.el (dired-toggle-read-only):
4865 * buff-menu.el (Buffer-menu-toggle-read-only):
4866 * bindings.el (mode-line-toggle-read-only):
4867 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4868
4869 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4870
4871 * descr-text.el (describe-char): Put the overlays over the
4872 "displayed as" character.
4873
4874 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4875
4876 * calc/calc-units.el (math-default-units-table): Give an
4877 initial value.
4878 (math-put-default-units): Add options to put composite units and
4879 unit systems in the default units table.
4880 (calc-convert-units): Send composite units to
4881 `math-put-default-units' when appropriate.
4882
4883 2012-08-11 Glenn Morris <rgm@gnu.org>
4884
4885 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4886
4887 * tutorial.el (help-with-tutorial):
4888 * emacs-lisp/copyright.el (copyright-update-directory):
4889 * emacs-lisp/autoload.el (autoload-find-generated-file)
4890 (autoload-find-file): Disable local eval: (for insurance).
4891
4892 * files.el (hack-local-variables-filter): If an eval: form is not
4893 known to be safe, and enable-local-variables is :safe, then ignore
4894 the form totally, as is done for non-eval forms. (Bug#12155)
4895 This is CVE-2012-3479.
4896
4897 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4898
4899 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4900 (rx-form): Simplify.
4901
4902 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4903
4904 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4905 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4906 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4907 (ruby-syntax-propertize-function): Adjust for changes in
4908 `ruby-syntax-propertize-heredoc'.
4909
4910 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4911
4912 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4913 binding (use `M-;' instead).
4914 (ruby-singleton-class-p): New function.
4915 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4916
4917 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4918
4919 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4920
4921 2012-08-10 Chong Yidong <cyd@gnu.org>
4922
4923 * progmodes/python.el (python-shell-get-process-name): Don't mess
4924 with same-window-buffer-names.
4925
4926 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4927 (eshell-remove-from-window-buffer-names): Make obsolete.
4928 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4929 (eshell): Just use pop-to-buffer-same-window instead.
4930
4931 2012-08-10 Chong Yidong <cyd@gnu.org>
4932
4933 * bindings.el: Bind M-= back to count-words-region.
4934
4935 * simple.el (count-words-region): Accept a prefix arg for acting
4936 on the entire buffer.
4937 (count-words--buffer-message): New helper function.
4938
4939 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4940
4941 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4942 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4943 (event-start, event-end): Use posn-at-point to return a more
4944 informative posn.
4945 (posnp): New function.
4946 * mouse.el (popup-menu-normalize-position): Use it.
4947
4948 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4949
4950 * mouse.el (popup-menu-normalize-position): New function.
4951 (popup-menu): Use `popup-menu-normalize-position' to normalize
4952 the form for POSITION argument.
4953
4954 * term/x-win.el (x-menu-bar-open):
4955 Use the value returend from (posn-at-point) as position
4956 passed to `popup-menu'.
4957
4958 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4959
4960 * calc/calccomp.el (math-compose-expr): Add extra argument
4961 indicating that parentheses should be put around products in
4962 denominators. Give multiplication precedence over division during
4963 composition.
4964
4965 2012-08-09 Chong Yidong <cyd@gnu.org>
4966
4967 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4968 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4969 (Man-untabify-command, manual-program): Convert to defcustom
4970 (Bug#10429).
4971
4972 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4973
4974 * descr-text.el (describe-char): Don't insert extra newlines
4975 (Bug#10127).
4976
4977 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4978 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4979
4980 * align.el (align-region): Delete temporary markers (Bug#10047).
4981 Plus some code cleanups.
4982
4983 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4984
4985 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4986 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4987 (python-shell-internal-last-output): Use make-local-variable
4988 instead of make-variable-buffer-local.
4989
4990 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4991
4992 * progmodes/python.el: Enhancements to forward-sexp.
4993 (python-nav-forward-sexp): Rename from
4994 python-nav-forward-sexp-function.
4995 (python-nav--forward-sexp, python-nav--backward-sexp):
4996 New functions.
4997
4998 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4999
5000 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5001 modes and simplification modes.
5002
5003 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * delsel.el (delete-selection-pre-hook): Don't propagate the
5006 file-supersession signals (bug#12161).
5007
5008 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5009
5010 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5011 (cl-map-extents): Add compatibility aliases (bug#12135).
5012
5013 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
5014
5015 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5016 tests by `ignore-error'.
5017 (tramp-find-shell): Open also a new shell, when cache is already
5018 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5019
5020 2012-08-08 Juri Linkov <juri@jurta.org>
5021
5022 * bookmark.el: Add `defaults' property to the bookmark record.
5023 (bookmark-current-buffer): Doc fix.
5024 (bookmark-make-record): Add `defaults' property with default values
5025 to the bookmark record.
5026 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5027 with `bookmark-insert-current-bookmark'.
5028 (bookmark-set): Get `defaults' property from the bookmark record
5029 and use it in `read-from-minibuffer'.
5030 (bookmark-insert-current-bookmark): Remove function.
5031
5032 * info.el (Info-bookmark-make-record): Add `defaults' property
5033 with values of canonical Info node name, the current Info file
5034 name and the current Info node name. (Bug#12107)
5035
5036 2012-08-08 Juri Linkov <juri@jurta.org>
5037
5038 * files.el (basic-save-buffer): Use `buffer-name' as the default
5039 of `read-file-name' when buffer is not visiting a file (bug#12128).
5040
5041 2012-08-08 Juri Linkov <juri@jurta.org>
5042
5043 * info.el (Info-isearch-search): Doc fix.
5044 (Info-search): Change search-failed message from "initial node" to
5045 "end of node" (bug#12078).
5046 (Info-isearch-search): Change `isearch-string-state' to
5047 `isearch--state-string'.
5048
5049 2012-08-08 Glenn Morris <rgm@gnu.org>
5050
5051 * language/persian.el: Remove file.
5052 * language/misc-lang.el: Move unique part of persian.el here.
5053 * loadup.el: Remove language/persian.
5054
5055 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5056
5057 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5058
5059 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5060
5061 * progmodes/python.el Fixed defsubst warning.
5062 (python-syntax-context) Rename from python-info-ppss-context.
5063 (python-syntax-context-type): Rename from
5064 python-info-ppss-context-type.
5065 (python-syntax-comment-or-string-p): Rename from
5066 python-info-ppss-comment-or-string-p.
5067
5068 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5069
5070 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5071
5072 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5073
5074 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5075 a defcustom that is quoted with backquote.
5076
5077 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5078 Fix handling of interactive spec when the body uses return.
5079 (math-do-arg-check, math-define-function-body): Use backquote forms.
5080 * calc/calc-ext.el (math-defcache): Likewise.
5081 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5082 * allout.el (allout-new-exposure): Likewise.
5083 * calc/calcalg2.el (math-tracing-integral): Likewise.
5084 * info.el (Info-last-menu-item): Likewise.
5085 * emulation/vip.el (vip-loop): Likewise.
5086 * textmodes/artist.el (artist-funcall): Likewise.
5087 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5088 Construct menu-item directly.
5089
5090 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5091 Don't declare.
5092
5093 2012-08-07 Chong Yidong <cyd@gnu.org>
5094
5095 * simple.el (deactivate-mark): Preserve text properties when
5096 saving the primary selection (Bug#8384).
5097
5098 2012-08-07 Kevin Ryde <user42@zip.com.au>
5099
5100 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5101 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5102 and continue processing (Bug#12110).
5103
5104 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5105
5106 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5107 syntax-propertize-function (bug#10095).
5108
5109 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5110
5111 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5112 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5113 describe-function-1.
5114 (describe-function-1): Use them. Move compiler macro after sig.
5115 (help-fns--compiler-macro): Use function-get. Assume we're already in
5116 standard-output. Adjust layout to new call order.
5117
5118 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5119 re-binding a symbol that has a symbol-macro (bug#12119).
5120
5121 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5122
5123 * language/persian.el: New file. (Bug#11812)
5124 * loadup.el: Add language/persian.el.
5125
5126 2012-08-06 Chong Yidong <cyd@gnu.org>
5127
5128 * window.el (window--maybe-raise-frame): New function.
5129 (window--display-buffer): Split off from here.
5130 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5131 (display-buffer-pop-up-window, display-buffer-use-some-window):
5132 Obey an inhibit-switch-frame action alist entry.
5133 (display-buffer): Update doc.
5134
5135 * replace.el (occur-after-change-function): Avoid losing focus by
5136 using the inhibit-switch-frame display parameter (Bug#12139).
5137
5138 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5139
5140 Make internal shell process buffer names start with space.
5141 * progmodes/python.el (python-shell-make-comint): Add optional
5142 argument INTERNAL.
5143 (run-python-internal): Use it.
5144 (python-shell-internal-get-or-create-process): Check for new
5145 internal buffer names.
5146
5147 2012-08-06 Glenn Morris <rgm@gnu.org>
5148
5149 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5150 Do less getting and setting of environment variables.
5151
5152 2012-08-05 Chong Yidong <cyd@gnu.org>
5153
5154 * proced.el (proced): Add substitution string to docstring to
5155 trigger autoloading of the proced library on C-h f (Bug#1768).
5156
5157 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5158 Don't show defvars which have no second argument (Bug#8638).
5159
5160 * imenu.el (imenu-generic-expression): Move documentation here
5161 from imenu--generic-function.
5162 (imenu--generic-function): Refer to imenu-generic-expression.
5163
5164 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
5165
5166 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5167 indentation declaration.
5168 (viper-loop): Add indentation declaration (Bug#7025).
5169
5170 2012-08-05 Chong Yidong <cyd@gnu.org>
5171
5172 * help-fns.el (describe-variable): Add hyperlink for
5173 directory-local variables files. Improve buffer-local and
5174 permanent-local reporting; suggested by MON KEY (Bug#6644).
5175
5176 * help-mode.el (help-dir-local-var-def): New button type.
5177
5178 * files.el (kill-buffer-hook): Provide a defvar.
5179
5180 2012-08-05 Glenn Morris <rgm@gnu.org>
5181
5182 * eshell/esh-ext.el (eshell/addpath):
5183 Also update eshell-path-env. (Bug#12013)
5184
5185 2012-08-05 Chong Yidong <cyd@gnu.org>
5186
5187 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5188
5189 * fringe.el (fringe-styles): Add docstring.
5190 (fringe--check-mode): New function.
5191 (set-fringe-mode, set-fringe-style): Use it.
5192 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5193
5194 * files.el (set-auto-mode): Fix invalid setq call.
5195
5196 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * isearch.el: Misc simplification; use defstruct.
5199 (isearch-mode-map): Dense maps now work like sparse ones.
5200 (isearch--state): New defstruct.
5201 (isearch-string-state, isearch-message-state, isearch-point-state)
5202 (isearch-success-state, isearch-forward-state)
5203 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5204 (isearch-wrapped-state, isearch-barrier-state)
5205 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5206 replaced by defstruct's accessors.
5207 (isearch--set-state): Rename from isearch-top-state and change
5208 calling convention.
5209 (isearch-push-state): Use new isearch--get-state.
5210 (isearch-toggle-word): Disable regexp when enabling word.
5211 (isearch-message-prefix): Remove unused arg _c-q-hack.
5212 (isearch-message-suffix): Remove unused arg _ellipsis.
5213
5214 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5215
5216 * simple.el (list-processes--refresh): For a server use :host or
5217 :local as the address.
5218 (list-processes): Doc fix.
5219
5220 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
5221
5222 * lisp/mpc.el: Support password in host argument.
5223 (mpc--proc-connect): Parse and use new password element.
5224 Set mpc-proc variable instead of returning process.
5225 (mpc-proc): Adjust accordingly.
5226
5227 2012-08-03 Eli Zaretskii <eliz@gnu.org>
5228
5229 * whitespace.el (whitespace-display-mappings): Use Unicode
5230 codepoints, instead of emacs-mule codepoints. See
5231 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5232 for the details.
5233
5234 * files.el (file-truename): Don't skip symlink-chasing part on
5235 windows-nt. Incorporate the resolution of 8+3 short aliases on
5236 Windows into the loop that recursively chases symlinks.
5237 Compare directory and its parent case-insensitively on MS-Windows and
5238 MS-DOS.
5239
5240 2012-08-03 Chong Yidong <cyd@gnu.org>
5241
5242 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5243
5244 * sort.el (sort-regexp-fields): Doc fix.
5245
5246 2012-08-03 Tassilo Horn <tsdh@gnu.org>
5247
5248 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5249 labels regex position point at the expected place.
5250
5251 2012-08-03 MON KEY <monkey@sandpframing.com>
5252
5253 * net/imap.el (imap-interactive-login, imap-authenticate)
5254 (imap-mailbox-lsub, imap-mailbox-list)
5255 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5256 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5257 (imap-parse-response): Doc fix.
5258
5259 2012-08-03 João Távora <joaotavora@gmail.com>
5260
5261 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5262 if sexp scanning does not move point (Bug#5734).
5263
5264 2012-08-02 Tassilo Horn <tsdh@gnu.org>
5265
5266 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5267 Add listings, minted, and ctable packages.
5268 (reftex-label-alist-builtin): Move listings, minted, and ctable
5269 entries before LaTeX.
5270 (reftex-label-alist): Docfix.
5271
5272 2012-08-02 Bastien Guerry <bzg@gnu.org>
5273
5274 * replace.el (occur): Fix docstring (bug#12122).
5275
5276 2012-08-02 Glenn Morris <rgm@gnu.org>
5277
5278 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5279
5280 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5281
5282 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5283 * international/mule-cmds.el: Create
5284 inactivate-current-input-method-function as an obsolete alias for
5285 deactivate-current-input-method-function. See Katsumi Yamaoka in
5286 <http://bugs.gnu.org/10150#46>.
5287
5288 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5289
5290 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5291 of nested `if's.
5292
5293 2012-08-01 Glenn Morris <rgm@gnu.org>
5294
5295 * progmodes/autoconf.el (autoconf-definition-regexp):
5296 Add AH_TEMPLATE, adjust submatch numbering.
5297 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5298 (autoconf-current-defun-function): Update for above change.
5299 (autoconf-current-defun-function): First skip to end of current word.
5300
5301 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5302
5303 * calendar/cal-html.el (cal-html-insert-agenda-days):
5304 Fix typo. (Bug#12018)
5305
5306 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5307
5308 Shell processes: enhancements to startup and CEDET compatibility.
5309 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5310 (python-shell-make-comint): accept-process-output at startup.
5311 (run-python-internal): Set inferior-python-mode-hook to nil.
5312 (python-shell-internal-get-or-create-process): call sit-for.
5313 (python-preoutput-result): Add obsolete alias.
5314 (python-shell-internal-send-string): Use it.
5315 (python-shell-send-setup-code): Remove call to
5316 accept-process-output.
5317
5318 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5319
5320 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5321 (Bug#12108)
5322
5323 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5324
5325 * calc-mode.el (calc-basic-simplification-mode): Rename from
5326 `calc-limited-simplification-mode'.
5327 (calc-alg-simplification-mode): New function.
5328 (calc-set-simplify-mode): Adjust message.
5329
5330 * calc.el (calc-set-mode-line): Adjust mode line display for
5331 basic simplification mode.
5332
5333 * calc-help.el (calc-m-prefix-help): Update help message.
5334
5335 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5336 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5337
5338 2012-07-31 Bastien Guerry <bzg@gnu.org>
5339
5340 * man.el (man): Fix comment. (bug#12101)
5341
5342 2012-07-31 Martin Rudalics <rudalics@gmx.at>
5343
5344 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5345 Don't return a non-nil value when no suitable buffer was found.
5346
5347 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5348
5349 * progmodes/python.el (run-python-internal): Disable font lock for
5350 internal shells.
5351
5352 2012-07-30 Stefan Merten <smerten@oekonux.de>
5353
5354 * textmodes/rst.el: Silence `checkdoc-ispell'.
5355 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5356 (rst-official-version, rst-official-cvs-rev)
5357 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5358 (rst-mode-map): New key binding.
5359
5360 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5361
5362 Update .PHONY listings in makefiles.
5363 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5364 autoloads, update-subdirs, updates, bzr-update, update-authors,
5365 compile-onefile, compile-calc, backup-compiled-files,
5366 compile-after-backup, compile-one-process, mh-autoloads,
5367 bootstrap-clean, distclean, maintainer-clean.
5368
5369 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5370
5371 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5372 (calc-set-mode-line): Don't display "AlgSimp ".
5373
5374 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5375 (calc-lim-simplify-mode): New function.
5376 (calc-set-simplify-mode): Default to 'alg.
5377 (calc-default-simplify-mode): Make algebraic simplifications
5378 the default.
5379
5380 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5381 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5382
5383 * calc/calc-help.el (calc-m-prefix-help): Change messages to
5384 indicate new simplification modes.
5385
5386 * calc/README: Mention new default simplification mode.
5387
5388 * calc/calc.el (math-normalize-error): New variable.
5389 (math-normalize): Set `math-normalize-error' to t
5390 when there's an error.
5391
5392 * calc/calc-alg.el (math-simplify): Don't simplify when
5393 `math-normalize' returns an error.
5394
5395 2012-07-29 Eli Zaretskii <eliz@gnu.org>
5396
5397 * international/mule-cmds.el (set-locale-environment): Revert last
5398 change, since display-graphic-p returns nil when this function is
5399 called during startup. Instead...
5400
5401 * term/w32console.el (terminal-init-w32console): ...setup the
5402 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5403
5404 2012-07-29 Juri Linkov <juri@jurta.org>
5405
5406 * simple.el (goto-line): Don't display default line number in the
5407 prompt because it should be displayed by `read-number' (bug#9952).
5408 Add the current line number to the defaults of `goto-line' to
5409 allow its easier modification by users with `M-n' (bug#9201).
5410
5411 * subr.el (read-number): Support multiple default values like in
5412 other minibuffer reading functions. Replace `read' with
5413 `string-to-number' for consistency with `number-to-string'.
5414
5415 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5416
5417 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5418 * emulation/viper-init.el (viper-deactivate-input-method-action):
5419 Rename from viper-inactivate-input-method-action.
5420 (viper-deactivate-input-method):
5421 Rename from viper-inactivate-input-method.
5422 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5423 * international/mule-cmds.el (deactivate-input-method):
5424 Rename from inactivate-input-method.
5425 Also run input-method-deactivate-hook.
5426 (deactivate-current-input-method-function):
5427 Rename from inactivate-current-input-method-function.
5428 (input-method-deactivate-hook): New hook.
5429 (input-method-inactivate-hook): Mark obsolete.
5430 (inactivate-input-method): Mark obsolete.
5431
5432 * international/quail.el (quail-activate):
5433 Also run quail-deactivate-hook.
5434 (quail-deactivate): Rename from quail-inactivate.
5435 * international/robin.el (robin-activate):
5436 Also run robin-deactivate-hook.
5437 (robin-deactivate): Rename from robin-inactivate.
5438
5439 2012-07-29 Chong Yidong <cyd@gnu.org>
5440
5441 * simple.el (indicate-copied-region): New function.
5442 (kill-ring-save): Split off from here.
5443
5444 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5445 (kill-rectangle): Set deactivate-mark to t on read-only error.
5446
5447 * register.el (copy-to-register, copy-rectangle-to-register):
5448 Deactivate the mark, and use indicate-copied-region (Bug#10056).
5449 (append-to-register, prepend-to-register): Call indicate-copied-region.
5450
5451 2012-07-29 Juri Linkov <juri@jurta.org>
5452
5453 * simple.el (async-shell-command-buffer): New defcustom.
5454 (shell-command): Use it. (Bug#4719)
5455
5456 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5457
5458 * international/mule-cmds.el (set-locale-environment): In a
5459 console session on MS-Windows, set up keyboard and terminal
5460 encoding from the OEM codepage, not the ANSI codepage.
5461 (Bug#12055)
5462
5463 2012-07-28 Chong Yidong <cyd@gnu.org>
5464
5465 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5466 gdb-get-location.
5467
5468 2012-07-28 Leo Liu <sdl.web@gmail.com>
5469
5470 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5471 the alist (bug#12029).
5472
5473 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5474
5475 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5476 (compile-always, compile-first)
5477 ($(lisp)/calendar/cal-loaddefs.el)
5478 ($(lisp)/calendar/diary-loaddefs.el)
5479 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5480 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5481 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5482 instead of on update-subdirs.
5483 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5484
5485 2012-07-28 Chong Yidong <cyd@gnu.org>
5486
5487 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5488 directory if vc-deduce-backend returns nil (Bug#7350).
5489
5490 * simple.el (delete-trailing-lines): New option.
5491 (delete-trailing-whitespace): Obey it (Bug#11879).
5492
5493 2012-07-28 David Engster <deng@randomsample.de>
5494
5495 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5496 Explanation of new 'symbol-qnames feature in doc-strings.
5497 (xml-maybe-do-ns): Return expanded names as plain symbols if
5498 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5499 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5500
5501 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5502
5503 Consistent completion in inferior python with emacs -nw.
5504 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5505 binding in inferior-python-mode-map with "\t".
5506 (python-shell-completion-complete-at-point)
5507 (python-completion-complete-at-point): Remove interactive spec.
5508
5509 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5510
5511 * calc/calccomp.el (math-compose-expr): Undo previous change.
5512
5513 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5514
5515 * progmodes/python.el (python-mode-map): Add keybinding for
5516 run-python.
5517 (python-shell-make-comint): Fix pop-to-buffer call.
5518 (run-python): Autoload. New arg SHOW.
5519 (python-shell-get-or-create-process): Do not pop python process
5520 buffer.
5521
5522 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
5523
5524 * notifications.el (notifications-on-action-signal)
5525 (notifications-on-closed-signal): Use also the bus address for the map.
5526 (notifications-notify, notifications-close-notification)
5527 (notifications-get-capabilities): Add optional argument BUS.
5528
5529 2012-07-27 Tassilo Horn <tsdh@gnu.org>
5530
5531 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5532 Add support for the lstlisting and minted environments, and for the
5533 ctable macro.
5534 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5535 labels written in keyvals syntax.
5536
5537 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5538
5539 * calc/calccomp.el (math-compose-expr): Use parentheses when
5540 there is a product in the denominator of a fraction.
5541
5542 2012-07-26 Eli Zaretskii <eliz@gnu.org>
5543
5544 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5545 ($(lisp)/calendar/diary-loaddefs.el)
5546 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5547 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5548 Fixes failures in parallel bootstrap because subdirs.el is being
5549 rewritten while the autoload files are built at the same time,
5550 which needs to load subdirs.el.
5551
5552 2012-07-26 Martin Rudalics <rudalics@gmx.at>
5553
5554 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5555 (mouse-drag-line): Don't exit tracking when a switch-frame or
5556 switch-window event occurs (Bug#12006).
5557
5558 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5559
5560 * mouse.el (popup-menu): Fix last change.
5561
5562 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5563
5564 Autoload from Lisp with more care. Follow aliases when looking for
5565 function properties.
5566 * subr.el (autoloadp): New function.
5567 (symbol-file): Use it.
5568 (function-get): New function.
5569 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5570 autoload-do-load.
5571 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5572 (lisp-indent-function):
5573 * emacs-lisp/gv.el (gv-get):
5574 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5575 * emacs-lisp/byte-opt.el (byte-optimize-form):
5576 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5577 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5578 Use function-get.
5579 * emacs-lisp/cl.el: Don't propagate function properties any more.
5580
5581 * speedbar.el (speedbar-add-localized-speedbar-support):
5582 * emacs-lisp/disass.el (disassemble-internal):
5583 * desktop.el (desktop-load-file):
5584 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5585 (describe-function-1):
5586 * emacs-lisp/find-func.el (find-function-noselect):
5587 * emacs-lisp/elp.el (elp-instrument-function):
5588 * emacs-lisp/advice.el (ad-has-proper-definition):
5589 * apropos.el (apropos-safe-documentation, apropos-macrop):
5590 * emacs-lisp/debug.el (debug-on-entry):
5591 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5592 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5593 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5594
5595 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5596
5597 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5598 function, not an obsolete variable (Bug#12046).
5599
5600 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5601
5602 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5603
5604 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5605
5606 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5607 window only if it is still live (Bug#12034).
5608
5609 2012-07-25 Martin Rudalics <rudalics@gmx.at>
5610
5611 * subr.el (redirect-frame-focus): Add advertised calling
5612 convention (Bug#12030).
5613
5614 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5615
5616 Prefer typical American spelling for "acknowledgment".
5617 * vc/add-log.el (change-log-acknowledgment): Rename from
5618 change-log-acknowledgement, with an alias for the old name.
5619
5620 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5621
5622 * calc-alg.el (math-simplify-divide): Don't cross multiply
5623 in an equation when the lhs is a variable.
5624
5625 2012-07-24 Julien Danjou <julien@danjou.info>
5626
5627 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5628 Remove, unused.
5629
5630 2012-07-23 Eli Zaretskii <eliz@gnu.org>
5631
5632 * startup.el (command-line): Don't display an empty user name in
5633 the error message about non-existent home directory, when
5634 init-file-user was set to an empty string. See
5635 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5636 for the details and context.
5637
5638 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5639
5640 * ses.el (ses-cell-formula-aset): New macro.
5641 (ses-cell-references-aset): New macro.
5642 (ses-cell-p): New function.
5643 (ses-rename-cell): Do no longer rely on complex operations like
5644 ses-cell-set-formula or ses-set-cell to change the cell and handle
5645 the undo at the same time, but rather use lower level new macros
5646 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5647 the undo directly. Refresh the mode line.
5648
5649 2012-07-21 Leo Liu <sdl.web@gmail.com>
5650
5651 * progmodes/cc-cmds.el (c-defun-name):
5652 Use match-string-no-properties instead for consistency.
5653
5654 2012-07-20 Leo Liu <sdl.web@gmail.com>
5655
5656 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5657 (Bug#7879)
5658
5659 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5660
5661 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5662
5663 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5664 * progmodes/bug-reference.el, misearch.el: Provide themselves
5665 (bug#11915).
5666
5667 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5668 of narrowed buffer (bug#11966).
5669
5670 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5671
5672 * ses.el (ses-rename-cell): Set new name also in reference list of
5673 cells of which the renamed cell depends.
5674
5675 2012-07-20 Masatake YAMATO <yamato@redhat.com>
5676
5677 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5678 to check whether menu-bar is shown or not. If not shown,
5679 show the menu-bar as a popup menu instead of using tmm.
5680 * mouse.el (popup-menu): Accept `point' as `position' argument.
5681
5682 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5683
5684 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5685 up inside string symbol literal (bug#11923).
5686
5687 2012-07-20 Eli Zaretskii <eliz@gnu.org>
5688
5689 * startup.el (fancy-startup-text): Read the whole tutorial, not
5690 just its first 256 bytes. Prevents gibberish in display of the
5691 tutorial title.
5692
5693 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5694
5695 Drop idle buffer compaction due to an absence of the
5696 proved efficiency.
5697 * compact.el: Remove.
5698
5699 2012-07-19 Sam Steingold <sds@gnu.org>
5700
5701 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5702 vc-bzr-pull & vc-bzr-merge-branch.
5703 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5704 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5705 for consistency with compilation-error-regexp-alist.
5706 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5707 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5708 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5709 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5710
5711 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5712
5713 * emacs-lisp/chart.el: Use lexical-binding.
5714 (chart-emacs-storage): Don't hardcode the list of entries.
5715
5716 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5717
5718 Next round of tweaks caused by Fgarbage_collect changes.
5719 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5720
5721 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5722
5723 Compact buffers when idle.
5724 * compact.el: New file.
5725
5726 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * subr.el (eventp): Presume that if it looks vaguely like an event,
5729 it's an event (bug#10190).
5730
5731 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5732
5733 Enhancements to ppss related code (thanks Stefan).
5734 * progmodes/python.el (python-indent-context)
5735 (python-indent-calculate-indentation, python-indent-dedent-line)
5736 (python-indent-electric-colon, python-nav-forward-block)
5737 (python-mode-abbrev-table)
5738 (python-info-assignment-continuation-line-p): Simplify checks
5739 for ppss context.
5740 (python-info-continuation-line-p): Cleanup.
5741 (python-info-ppss-context): Do not catch 'quote.
5742 (python-info-ppss-context-type)
5743 (python-info-ppss-comment-or-string-p): Simplify.
5744
5745 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5746
5747 * progmodes/python.el: Enhancements to eldoc support.
5748 (python-info-current-symbol): New function.
5749 (python-eldoc-at-point): Use python-info-current-symbol.
5750 (python-info-current-defun): Fix cornercase on first defun scan.
5751 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5752 and signal error when no inferior python process is available.
5753
5754 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5755
5756 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5757 assume it's always t.
5758 (vc-git-registered): Remove caching, the function is only called
5759 once.
5760 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5761
5762 2012-07-18 Chong Yidong <cyd@gnu.org>
5763
5764 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5765
5766 * simple.el (count-words): Report on narrowing (Bug#9959).
5767
5768 * bindings.el: Bind M-= to count-words.
5769
5770 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5771
5772 2012-07-18 Masatake YAMATO <yamato@redhat.com>
5773
5774 * progmodes/sh-script.el (sh-imenu-generic-expression):
5775 Capture a function with `function' keyword and without parentheses
5776 like "function FOO" (bug#11856).
5777
5778 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5779
5780 * window.el (split-window-sensibly): Make WINDOW argument
5781 optional.
5782
5783 2012-07-18 Chong Yidong <cyd@gnu.org>
5784
5785 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5786
5787 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5788 and make C-x 8 RET exit isearch (Bug#11439).
5789
5790 * international/iso-transl.el: Move isearch-mode-map key
5791 definitions to isearch.el.
5792
5793 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5794
5795 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5796 (eieio-defclass): Use gv-define-setter when possible.
5797
5798 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5799
5800 Reflect recent changes in Fgarbage_collect.
5801 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5802 reflect new format of data returned by Fgarbage_collect.
5803
5804 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5805
5806 New utility functions + python-info-ppss-context fix (Bug#11910).
5807 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5808 (python-info-ppss-comment-or-string-p): New functions.
5809 (python-info-ppss-context): Small fix for string check.
5810
5811 2012-07-17 Juri Linkov <juri@jurta.org>
5812
5813 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5814 (dired-do-async-shell-command): Don't add `*' at the end of the
5815 command (Bug#11815).
5816 (dired-do-shell-command): Doc fix.
5817 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5818 Join the individual commands using either "&" or ";" as the
5819 separator depending on the values of these trailing characters.
5820 At the end re-add the trailing "&". (Bug#10598)
5821
5822 * simple.el (async-shell-command): Sync the interactive spec with
5823 `shell-command'. Doc fix.
5824 (shell-command): Doc fix.
5825
5826 2012-07-17 Juri Linkov <juri@jurta.org>
5827
5828 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5829
5830 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5831
5832 Final renames and doc fixes for movement commands (bug#11899).
5833 * progmodes/python.el (python-nav-beginning-of-statement):
5834 Rename from python-nav-statement-start.
5835 (python-nav-end-of-statement): Rename from
5836 python-nav-statement-end.
5837 (python-nav-beginning-of-block): Rename from
5838 python-nav-block-start.
5839 (python-nav-end-of-block): Rename from python-nav-block-end.
5840
5841 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5842
5843 * progmodes/python.el (python-shell-send-string-no-output):
5844 Allow accept-process-output to quit, keeping shell process ready for
5845 future interactions (Bug#11868).
5846
5847 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5848
5849 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5850
5851 * emacs-lisp/elint.el (elint-find-args-in-code):
5852 Use help-function-arglist, so as to handle lexical byte-code.
5853
5854 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5855 change (bug#11826).
5856
5857 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5858
5859 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5860 Avoid spuriously marking the buffer as modified because of c-is-sws.
5861
5862 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5863 as not-a-comment (bug#11946).
5864
5865 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5866 for uninterned vars.
5867
5868 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5869 Use read-event since we don't really want to read chars but bytes.
5870
5871 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5872 $$..$$ but also $..$ using regexps (bug#11953).
5873 Use tex-verbatim for \url and \path.
5874 (tex-font-lock-keywords): Define as defconst like the others.
5875 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5876
5877 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5878
5879 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5880 alias for insert-char.
5881
5882 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5883
5884 * progmodes/python.el: Simplified imenu implementation.
5885 (python-nav-jump-to-defun): Remove command.
5886 (python-mode-map): Use `imenu' instead.
5887 (python-nav-list-defun-positions-cache)
5888 (python-imenu-include-defun-type, python-imenu-make-tree)
5889 (python-imenu-subtree-root-label, python-imenu-index-alist):
5890 Remove vars.
5891 (python-nav-list-defun-positions, python-nav-read-defun)
5892 (python-imenu-tree-assoc, python-imenu-make-element-tree)
5893 (python-imenu-make-tree, python-imenu-create-index):
5894 Remove functions.
5895 (python-mode): Update to interact with imenu by setting
5896 `imenu-extract-index-name-function' only.
5897
5898 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5899
5900 * progmodes/python.el: Enhancements to navigation commands.
5901 (python-nav-backward-sentence)
5902 (python-nav-forward-sentence): Remove.
5903 (python-nav-backward-statement, python-nav-forward-statement)
5904 (python-nav-statement-start, python-nav-statement-end)
5905 (python-nav-backward-block, python-nav-forward-block)
5906 (python-nav-block-start, python-nav-block-end)
5907 (python-nav-forward-sexp-function)
5908 (python-info-current-line-comment-p)
5909 (python-info-current-line-empty-p): New functions.
5910 (python-indent-context): Use `python-nav-statement-start'.
5911
5912 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5913
5914 * eshell/em-ls.el (eshell/ls): Use `apply'.
5915
5916 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5917 multi-hops, instead of Tramp internals.
5918
5919 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5920
5921 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5922 when F1 and F2 are located on different hosts.
5923
5924 2012-07-14 Chong Yidong <cyd@gnu.org>
5925
5926 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5927 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5928 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5929 (xterm-mouse--read-event-sequence-1000)
5930 (xterm-mouse--read-event-sequence-1006): New functions. For old
5931 mouse protocol, handle M-mouse-X events correctly.
5932 (xterm-mouse-event): New arg specifying mouse protocol.
5933 (turn-on-xterm-mouse-tracking-on-terminal)
5934 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5935 sequence to toggle extended coordinates on newer XTerms.
5936 This appears to be harmless on terminals which do not support this.
5937
5938 2012-07-14 Leo Liu <sdl.web@gmail.com>
5939
5940 Add fringe bitmap indicators for flymake. (Bug#11253)
5941 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5942 (flymake-make-overlay): New arg BITMAP.
5943 (flymake-error-bitmap, flymake-warning-bitmap)
5944 (flymake-fringe-indicator-position): New user variables.
5945
5946 * fringe.el: New bitmap exclamation-mark.
5947
5948 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5949
5950 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5951 also (Bug#7879).
5952
5953 2012-07-14 Chong Yidong <cyd@gnu.org>
5954
5955 * electric.el (electric-pair-post-self-insert-function): Fix pair
5956 insertion in empty-region case (Bug#11520).
5957
5958 2012-07-14 Chong Yidong <cyd@gnu.org>
5959
5960 * bindings.el: Consolidate ctl-x-r-map bindings.
5961 Bind copy-rectangle-as-kill to C-x r w.
5962
5963 * rect.el, register.el: Move bindings to bindings.el.
5964
5965 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5966
5967 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5968
5969 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5970
5971 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5972
5973 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5974
5975 * bindings.el (top): Use `mapc' instead of `mapcar'.
5976
5977 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5978
5979 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5980
5981 * progmodes/sql.el (sql-comint): Suppress the check for program on
5982 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5983 (Bug#11908)
5984
5985 2012-07-13 Chong Yidong <cyd@gnu.org>
5986
5987 * bindings.el: Assign a non-nil permanent-local property to
5988 per-buffer variables which lack a default value (Bug#11930).
5989
5990 * help-fns.el (describe-variable): In the "automatically becomes
5991 local" notice, take note of permanent-local variables.
5992
5993 2012-07-13 Chong Yidong <cyd@gnu.org>
5994
5995 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5996 to allow printing the message when called from Lisp.
5997
5998 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5999 Remove toggle-read-only.
6000
6001 * bs.el (bs-toggle-readonly):
6002 * buff-menu.el (Buffer-menu-toggle-read-only):
6003 Remove with-no-warnings around toggle-read-only.
6004
6005 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6006 Remove with-no-warnings around toggle-read-only.
6007 (ffap-read-only, ffap-read-only-other-window)
6008 (ffap-read-only-other-frame): Callers changed.
6009
6010 * help-mode.el: Don't require view package.
6011 (help-mode-finish): Set buffer-read-only instead of calling
6012 toggle-read-only.
6013
6014 * bindings.el (mode-line-toggle-read-only):
6015 * dired.el (dired-toggle-read-only):
6016 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6017 with non-nil second arg.
6018
6019 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6020 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6021 directly.
6022
6023 2012-07-12 Eli Zaretskii <eliz@gnu.org>
6024
6025 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6026 not incf.
6027
6028 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 More CL cleanups and reduction of use of cl.el.
6031 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6032 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6033 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6034 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6035 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6036 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6037 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6038 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6039 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6040 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6041 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6042 * eshell/em-cmpl.el, eshell/em-banner.el:
6043 * calendar/parse-time.el: Use cl-lib.
6044 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6045 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6046 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6047 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6048 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6049 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6050 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6051 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6052 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6053 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6054 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6055 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6056 `lambda' rather than with `quote'.
6057 (eshell-do-opt): Adjust accordingly.
6058 (eshell-process-option): Simplify.
6059 * eshell/esh-var.el:
6060 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6061 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6062 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6063 to `pcase--dontcare'.
6064 * emacs-lisp/cl.el (labels): Mark obsolete.
6065 (cl--letf, letf): Move to cl-lib.
6066 (cl--letf*, letf*): Remove.
6067 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6068 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6069 (cl-progv): Rewrite.
6070 (cl--letf, cl-letf): Move from cl.el.
6071 (cl-letf*): New macro.
6072 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6073
6074 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
6075
6076 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6077
6078 2012-07-11 Chong Yidong <cyd@gnu.org>
6079
6080 * vc/log-edit.el (log-edit-vc-backend): New variable.
6081 (log-edit): Doc fix.
6082
6083 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6084 argument of log-edit to set up all local variables.
6085 (vc-start-logentry): New optional arg specifying VC backend.
6086
6087 * vc/vc.el (vc-checkin): Use it.
6088 (vc-deduce-fileset): Handle Log Edit buffers.
6089 (vc-diff): Make first argument optional too.
6090
6091 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6092
6093 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
6094
6095 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6096 command, just in case. The function is not needed anymore.
6097 (eshell-external-command): Do not call `eshell-remote-command'.
6098
6099 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6100
6101 Reduce use of (require 'cl).
6102 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6103 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6104 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6105 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6106 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6107 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6108 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6109 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6110 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6111 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6112 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6113 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6114 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6115 (byte-compile-unfold-bcf, byte-compile-check-variable):
6116 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6117 (byte-compile-nilconstp):
6118 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6119 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6120
6121 * emacs-lisp/gv.el (cond): Make it a valid place.
6122 (if): Simplify slightly.
6123
6124 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6125 (pcase--self-quoting-p): New function.
6126 (pcase--u1): Use it.
6127
6128 2012-07-10 Glenn Morris <rgm@gnu.org>
6129
6130 * emacs-lisp/authors.el (authors-fixed-entries):
6131 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6132
6133 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6134
6135 Rename configure.in to configure.ac (Bug#11603).
6136 * emacs-lisp/authors.el (authors-canonical-file-name):
6137 * progmodes/autoconf.el (autoconf-mode):
6138 Prefer configure.ac to configure.in.
6139
6140 2012-07-08 Chong Yidong <cyd@gnu.org>
6141
6142 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6143 Implement the mouse-1-click-follows-link handling properly.
6144
6145 * info.el (Info-link-keymap): Use follow-link mechanism for
6146 header-line links (Bug#374).
6147
6148 * simple.el (deactivate-mark): Do not set the primary selection
6149 if another program has acquired it (Bug#11772).
6150
6151 2012-07-07 Kevin Ryde <user42@zip.com.au>
6152
6153 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6154 (woman-decode-region): Replace escaped-escapes without destroying
6155 bold or underline (Bug#11552).
6156 (woman2-process-escapes): Handle nofill regions (Bug#11591).
6157
6158 2012-07-07 Chong Yidong <cyd@gnu.org>
6159
6160 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6161 (interprogram-cut-function, interprogram-paste-function):
6162 Mention that we typically mean the clipboard.
6163
6164 2012-07-06 Glenn Morris <rgm@gnu.org>
6165
6166 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6167
6168 * files.el (toggle-read-only): Restrict message to interactive use.
6169
6170 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
6171
6172 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6173
6174 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6175
6176 2012-07-06 Glenn Morris <rgm@gnu.org>
6177
6178 * Makefile.in (compile-one-process): Rename from "recompile".
6179
6180 * Makefile.in (bzr-update): "compile" is the same as "recompile
6181 autoloads", but parallelizable, so use that instead.
6182
6183 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6184
6185 * window.el (quit-window): Always restore window height when
6186 it's saved in quit-restore parameter (Bug#11810).
6187
6188 2012-07-06 Glenn Morris <rgm@gnu.org>
6189
6190 * simple.el (kill-whole-line): Doc tweak.
6191
6192 2012-07-06 Eli Zaretskii <eliz@gnu.org>
6193
6194 * files.el (file-relative-name): Compare file names
6195 case-insensitively if on MS-Windows or MS-DOS, or if
6196 read-file-name-completion-ignore-case is non-nil. Don't use
6197 case-fold-search for this purpose. (Bug#11827)
6198
6199 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6200
6201 * calendar/cal-dst.el (calendar-current-time-zone):
6202 Return calendar-current-time-zone-cache if non-nil.
6203
6204 2012-07-17 Masatake YAMATO <yamato@redhat.com>
6205 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6206
6207 * calendar/cal-dst.el (calendar-current-time-zone):
6208 Return calendar-current-time-zone-cache if non-nil.
6209
6210 2012-07-06 Glenn Morris <rgm@gnu.org>
6211
6212 * Makefile.in (cvs-update): Remove old alias.
6213
6214 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
6215
6216 Sync with Tramp 2.2.6-pre.
6217
6218 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6219 compatible declaration.
6220
6221 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6222 Protect `list-load-path-shadows' call.
6223
6224 * net/tramp-compat.el (top): Require packages, which aren't
6225 autoloaded anymore for XEmacs. Protect call of
6226 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6227 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6228 it hurts at least for SXEmacs.
6229 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6230 standard-value for `temporary-file-directory'.
6231
6232 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6233 Redirect stderr to /dev/null.
6234 (tramp-sh-handle-write-region): uid and gid can be floats.
6235 Reported by Russell Sim <russell.sim@gmail.com>.
6236 (tramp-sh-handle-vc-registered): Hide errors.
6237 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6238 and `start-file-process'.
6239 (tramp-maybe-open-connection): Check also whether `non-essential'
6240 is bound.
6241
6242 2012-07-04 Chong Yidong <cyd@gnu.org>
6243
6244 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6245 (xml-parse-tag): Likewise, and avoid changing entity tables.
6246 (xml-syntax-table): Define from scratch, making sure not to give
6247 x2000 and other Unicode spaces whitespace syntax, since those are
6248 not spaces in XML.
6249 (xml-parse-fragment): Delete unused function.
6250 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6251 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6252 (xml-entity-ref, xml-pe-reference-re)
6253 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6254 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6255 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6256 (xml-entity-value-re): Use syntax references in regexps where
6257 possible; no need to define inside a let-binding.
6258 (xml-parse-dtd): Use xml-pe-reference-re.
6259 (xml-entity-or-char-ref-re): New defconst.
6260 (xml-parse-string, xml-substitute-special): Use it.
6261
6262 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6263
6264 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6265 (find-file--read-only): New function.
6266 (find-file-read-only, find-file-read-only-other-window)
6267 (find-file-read-only-other-frame): Use it.
6268 (insert-file-contents-literally): Don't `fset'.
6269 (get-free-disk-space): Use locate-dominating-file.
6270
6271 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6272 function is already compiled.
6273
6274 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6275
6276 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
6277
6278 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6279 files on the same host.
6280
6281 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6282
6283 * help-fns.el (describe-function-1): Only call
6284 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6285
6286 2012-07-03 Chong Yidong <cyd@gnu.org>
6287
6288 * xml.el: Protect parser against XML bombs.
6289 (xml-entity-expansion-limit): New variable.
6290 (xml-parse-string, xml-substitute-special): Use it.
6291 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6292
6293 2012-07-03 Glenn Morris <rgm@gnu.org>
6294
6295 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6296 Allow linking to specific messages in debbugs reports (eg 123#5).
6297
6298 2012-07-02 Chong Yidong <cyd@gnu.org>
6299
6300 * xml.el: Fix entity and character reference expansion, allowing
6301 them to expand into markup as per XML spec.
6302 (xml-default-ns): New variable.
6303 (xml-entity-alist): Use XML spec definitions for lt and amp.
6304 (xml-parse-region): Make first two arguments optional.
6305 Discard text properties.
6306 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6307 All callers changed.
6308 (xml-parse-tag): Call xml-parse-tag-1. For backward
6309 compatibility, this function should not modify buffer contents.
6310 (xml-parse-tag-1): Fix opening-tag regexp.
6311 (xml-parse-string): Rewrite, handling entity and character
6312 references properly.
6313 (xml--entity-replacement-text): Signal an error if a parameter
6314 entity is undefined.
6315
6316 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6317
6318 * comint.el (comint-output-filter): Filter out repeated prompts.
6319
6320 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6321 and file-name-absolute-p.
6322 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6323 internal calls.
6324
6325 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6326
6327 Spelling fixes.
6328 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6329 Rename from byte-compile--refiy-function. All uses changed.
6330
6331 2012-07-01 Chong Yidong <cyd@gnu.org>
6332
6333 * xml.el (xml--parse-buffer): New function. Move most of
6334 xml-parse-region here.
6335 (xml-parse-region): Copy region into a temporary buffer, since
6336 parameter entity substitution requires changing buffer contents.
6337 Use xml--parse-buffer.
6338 (xml-parse-file): Use xml--parse-buffer.
6339 (xml-parse-dtd): Make parameter entity substitution work right.
6340 Use proper regexps for ELEMENT declarations (Bug#7172).
6341
6342 2012-06-30 Glenn Morris <rgm@gnu.org>
6343
6344 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6345
6346 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6347 Remove outdated and unnecessary dbus declarations.
6348
6349 2012-06-30 Eli Zaretskii <eliz@gnu.org>
6350
6351 * emacs-lisp/timer.el (timer-until): Subtract results of
6352 float-time, instead of taking float-time of the result of
6353 time-subtract, since float-time signals an error for negative time
6354 arguments.
6355
6356 2012-06-30 Chong Yidong <cyd@gnu.org>
6357
6358 * xml.el (xml-*-re): Convert defvars into defconsts, and
6359 eval-and-compile them so eval-and-compile works on derivatives.
6360 (xml--entity-replacement-text): Use eval-and-comple.
6361
6362 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
6363
6364 * vc/vc-git.el (vc-git-registered): Use cache property
6365 `git-registered'.
6366 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6367 `vc-git-working-revision' in order to benefit from the cache.
6368 (vc-git-root): Use cache property `git-root'. (Bug#11757)
6369
6370 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6371
6372 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6373 removed (likely outside Emacs). (Bug#11757)
6374
6375 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6376
6377 * emacs-lisp/cl-lib.el: Require macroexp.
6378
6379 2012-06-30 Chong Yidong <cyd@gnu.org>
6380
6381 * xml.el: Implement XML parameter entities.
6382 (xml-parameter-entity-alist): New variable.
6383 (xml-parse-region, xml-parse-fragment): Preserve previous values
6384 of xml-entity-alist and xml-parameter-entity-alist, so that
6385 repeated calls on different documents do not change them.
6386 (xml-parse-tag): Fix doctype regexp.
6387 (xml--entity-replacement-text): New function.
6388 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6389 properly requires url retrieval which is unimplemented.
6390 (xml-escape-string): Doc fix.
6391
6392 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6393
6394 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6395
6396 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6397
6398 * fringe.el (fringe-mode): Doc fix.
6399
6400 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
6401
6402 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6403 is non-nil.
6404 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6405 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6406
6407 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
6408
6409 * calendar/cal-dst.el (calendar-current-time-zone):
6410 Return calendar-current-time-zone-cache if non-nil.
6411
6412 2012-06-29 Masatake YAMATO <yamato@redhat.com>
6413
6414 * progmodes/which-func.el (which-func-format):
6415 Add mouse-face. (Bug#11698)
6416
6417 2012-06-29 Leo Liu <sdl.web@gmail.com>
6418
6419 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6420
6421 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6422
6423 * minibuffer.el (minibuffer-confirm-exit-commands):
6424 Add completion-at-point (bug#11725).
6425
6426 2012-06-29 Glenn Morris <rgm@gnu.org>
6427
6428 * progmodes/f90.el (f90-font-lock-keywords-2):
6429 Add some preprocessor elements. (Bug#10499)
6430
6431 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6434 Use syntax-propertize (bug#11739).
6435
6436 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
6437
6438 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6439
6440 2012-06-28 Julien Danjou <julien@danjou.info>
6441
6442 * term.el (term-handle-colors-array): Use a set of new faces to
6443 color the terminal. Also uses :inverse-video property.
6444 (term-default-fg-color): Set to nil by default, deprecate in favor
6445 of `term-face'.
6446 (term-default-bg-color): Set to nil by default, deprecate in favor
6447 of `term-face'.
6448 (term-current-face): Use `term-face' by default.
6449 (term-bold-attribute): Variable deleted.
6450
6451 2012-06-28 Glenn Morris <rgm@gnu.org>
6452
6453 * simple.el (completion-list-mode-finish):
6454 Don't use toggle-read-only. (Since completion-list-mode has
6455 a special mode-class, it wasn't doing anything extra anyway.)
6456
6457 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6458
6459 Make inlining of other-mode interpreted functions work (bug#11799).
6460 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6461 (byte-compile): Use it to fix compilation of lexical-binding closures.
6462 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6463 function, if needed.
6464
6465 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6466
6467 * help-mode.el (help-make-xrefs): Don't just withstand
6468 cyclic-variable-indirection but any error in documentation-property.
6469
6470 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6471 memory use.
6472 * bindings.el (bindings--define-key): New function.
6473 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6474 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6475 * bindings.el: Use it to purecopy define-key bindings.
6476
6477 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6478
6479 * emacs-lisp/cl.el (flet): Mark obsolete.
6480 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6481 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6482 * progmodes/js.el (js-c-fill-paragraph):
6483 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6484 (ebrowse-switch-member-buffer-to-derived-class):
6485 * play/5x5.el (5x5-solver): Use cl-flet.
6486
6487 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6488 (cl--symbol-function): New macro.
6489 (cl--letf, cl--letf*): Use it.
6490
6491 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6492 Strip "toggle-" if any.
6493
6494 2012-06-27 Glenn Morris <rgm@gnu.org>
6495
6496 * info.el (Info-default-directory-list): Move here from paths.el.
6497 * paths.el: Remove file, which is now empty.
6498 * loadup.el: No longer load "paths".
6499
6500 * custom.el (custom-initialize-delay): Doc fix.
6501
6502 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6503 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6504 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6505 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6506 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6507 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6508 * eshell/eshell.el (eshell-defgroup): Remove alias.
6509
6510 2012-06-27 Chong Yidong <cyd@gnu.org>
6511
6512 * help.el (help-enable-auto-load): New variable.
6513
6514 * help-fns.el (help-fns--autoloaded-p): New function.
6515 (describe-function-1): Refer to a function as "autoloaded" if it
6516 was autoloaded at any time in the past. Perform autoloading if
6517 help-enable-auto-load is non-nil.
6518
6519 2012-06-26 Eli Zaretskii <eliz@gnu.org>
6520
6521 * makefile.w32-in (compile, compile-always): Depend on
6522 update-subdirs, not on subdirs.el. Otherwise, several different
6523 sub-targets of 'bootstrap' running in parallel could
6524 simultaneously write to subdirs.el, producing a garbled file.
6525
6526 2012-06-26 Sam Steingold <sds@gnu.org>
6527
6528 * files.el (file-name-base): New convenience function.
6529 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6530 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6531 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6532 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6533 * textmodes/ispell.el, textmodes/reftex-ref.el:
6534 * textmodes/tex-mode.el: Use it.
6535 Did not touch cedet and org because they are maintained elsewhere.
6536
6537 2012-06-26 Martin Rudalics <rudalics@gmx.at>
6538
6539 * calendar/calendar.el (calendar-exit): Don't try to delete or
6540 iconify last frame. See:
6541 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6542
6543 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6544
6545 * server.el (server-process-filter): Remember dir in the
6546 process's `server-client-directory' properties.
6547
6548 2012-06-24 Chong Yidong <cyd@gnu.org>
6549
6550 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6551 non-tag text.
6552
6553 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
6554
6555 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6556
6557 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6558
6559 * help-fns.el (describe-variable): Don't croak when doc is not found.
6560 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6561 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6562 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6563 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6564 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6565 ((lambda ..) ..).
6566 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6567
6568 2012-06-23 Chong Yidong <cyd@gnu.org>
6569
6570 * info.el (Info-mouse-follow-link): Accept symbol values of
6571 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
6572 (Info-fontify-node): Use Info-link-keymap for all navigation
6573 buttons, with link-args property to perform the desired action.
6574 (Info-link-keymap): Doc fix.
6575 (Info-next-link-keymap, Info-prev-link-keymap)
6576 (Info-up-link-keymap): Delete now-unused keymaps.
6577
6578 2012-06-23 Chong Yidong <cyd@gnu.org>
6579
6580 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6581
6582 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6583 system abbrevs.
6584
6585 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6586
6587 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6588
6589 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6590 (bug#11719).
6591
6592 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6593 the requote function doesn't work properly (bug#11714).
6594
6595 2012-06-23 Glenn Morris <rgm@gnu.org>
6596
6597 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6598
6599 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6600
6601 Further GV/CL cleanups.
6602 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6603 gv-expander.
6604 (gv--defun-declaration): New function.
6605 (defun-declarations-alist): Use it.
6606 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6607 (gv-place): Autoload.
6608 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6609 original definition of dotimes and dolist.
6610 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6611 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6612 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6613 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6614 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6615 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6616 to the function's definition.
6617 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6618 * window.el:
6619 * files.el:
6620 * faces.el:
6621 * env.el: Don't use CL.
6622
6623 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6624
6625 Support higher-resolution time stamps (Bug#9000).
6626
6627 * calendar/time-date.el (with-decoded-time-value): New arg
6628 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6629 (encode-time-value): New optional arg PICO. New type 3.
6630 (time-to-seconds) [!float-time]: Support the new picoseconds
6631 component if it's used.
6632 (seconds-to-time, time-subtract, time-add):
6633 Support ps-resolution time stamps as well.
6634
6635 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6636 (timerp): Timer vectors now have length 9, not 8.
6637 (timer--time): Support new-style (4-part) time stamps.
6638 (timer-next-integral-multiple-of-time): Time stamps now have
6639 picosecond resolution, so take a bit more care about rounding.
6640 (timer-relative-time, timer-inc-time): New optional arg psecs.
6641 (timer-set-time-with-usecs): Set psecs to 0.
6642 (timer--activate): Check psecs component, too.
6643
6644 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6645
6646 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6647
6648 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6649 Move the non-essential binding to the post/pre-command-hook where it is
6650 more obviously correct.
6651
6652 * subr.el (read-passwd): Don't use a history at all.
6653 * savehist.el (savehist-save): Remove password saved accidentally
6654 because of the above bug.
6655
6656 2012-06-22 Bastien Guerry <bzg@gnu.org>
6657
6658 * files.el (toggle-read-only): Display a message telling whether
6659 the buffer is read-only or not (bug#11726).
6660
6661 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * emacs-lisp/gv.el: New file.
6664 * subr.el (push, pop): Extend to generalized variables.
6665 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6666 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6667 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6668 gv-define-simple-setter, and gv-define-expander.
6669 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6670 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6671 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6672 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6673 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6674 gv-letplace.
6675 (cl-defstruct): Don't define setf-method any more.
6676 * emacs-lisp/cl.el (flet): Don't autoload.
6677 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6678 (define-setf-expander, defsetf, define-modify-macro)
6679 (cl-struct-setf-expander): Move from cl-lib.el.
6680 * emacs-lisp/syntax.el:
6681 * emacs-lisp/ewoc.el:
6682 * emacs-lisp/smie.el:
6683 * emacs-lisp/cconv.el:
6684 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6685 (timer--time): Use gv-define-simple-setter.
6686 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6687 to avoid coding-system problems in subr.el. Adjust all users.
6688 (macroexp--maxsize, macroexp-small-p): New functions.
6689 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6690 * scroll-bar.el (scroll-bar-mode):
6691 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6692 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6693 * winner.el (winner-configuration, winner-make-point-alist)
6694 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6695 * files.el (locate-file-completion-table): Avoid list*.
6696
6697 2012-06-22 Chong Yidong <cyd@gnu.org>
6698
6699 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6700 (dired-create-files): Doc fix (Bug#11329).
6701 (dired-do-copy): Doc fix (Bug#11334).
6702 (dired-mark-read-string): Doc fix (Bug#11553).
6703
6704 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6705 Doc fix (Bug#11326).
6706 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6707 (dired-dwim-target): Doc fix.
6708
6709 * wdired.el (wdired-mode): Doc fix.
6710
6711 2012-06-22 Glenn Morris <rgm@gnu.org>
6712
6713 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6714 (pcmpl-rpm-cache-stamp-file): New constant.
6715 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6716 (pcmpl-rpm-packages): Optionally cache list of packages.
6717
6718 * pcmpl-rpm.el (pcmpl-rpm): New group.
6719 (pcmpl-rpm-query-options): New option.
6720 (pcmpl-rpm-packages): No need to inline it.
6721 Use pcmpl-rpm-query-options.
6722
6723 * calendar/calendar.el (calendar-in-read-only-buffer):
6724 Avoid some needless mode changes.
6725
6726 2012-06-21 Chong Yidong <cyd@gnu.org>
6727
6728 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6729 (desktop-path): Remove . from the default value (Bug#10977).
6730 (desktop-read): Use user-emacs-directory if desktop-path is nil.
6731
6732 2012-06-20 Chong Yidong <cyd@gnu.org>
6733
6734 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6735
6736 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6737
6738 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6739 (bug#11201).
6740
6741 2012-06-20 Chong Yidong <cyd@gnu.org>
6742
6743 * term.el (term-window-width): Handle the case of a missing right
6744 fringe (Bug#8837).
6745 (term-check-size): Use window-text-height (Bug#5445).
6746 (term-mode): Use define-derived-mode. Minor cleanups.
6747 Set font-lock-defaults (Bug#7692).
6748 (term-move-columns, term-insert-char, term-emulate-terminal)
6749 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6750
6751 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
6752
6753 * net/ange-ftp.el (ange-ftp-get-passwd):
6754 Bind `enable-recursive-minibuffers'.
6755 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6756
6757 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6758
6759 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6760
6761 2012-06-19 Glenn Morris <rgm@gnu.org>
6762
6763 * progmodes/python.el (python-mode): Derive from prog-mode.
6764
6765 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6766
6767 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6768 (edt-user-menu-bar-update-buffers): New functions.
6769 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6770
6771 2012-06-19 Chong Yidong <cyd@gnu.org>
6772
6773 * subr.el (with-selected-window): Preserve the selected window's
6774 terminal's top-frame (Bug#4702).
6775
6776 * window.el (save-selected-window): Likewise.
6777
6778 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6779
6780 * progmodes/python.el (python-rx-constituents): Move backquote.
6781 (python-skeleton-define, python-define-auxiliary-skeleton):
6782 Use `declare'.
6783
6784 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
6785
6786 * minibuffer.el (read-file-name-default): Revert the patch from
6787 2012-06-17.
6788
6789 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6790
6791 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6792 (pcase--u1, pcase--q1): Don't use apply-partially.
6793
6794 2012-06-18 Glenn Morris <rgm@gnu.org>
6795
6796 * progmodes/python.el (python-proc, python-buffer)
6797 (python-send-receive, python-send-string): Fix obsolete versions.
6798
6799 2012-06-18 Martin Rudalics <rudalics@gmx.at>
6800
6801 * window.el (special-display-p): Completely remove stringp
6802 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6803
6804 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
6805
6806 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6807
6808 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6809
6810 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6811 * net/tramp-sh.el (tramp-maybe-open-connection):
6812 Throw if `non-essential' is non-nil.
6813
6814 2012-06-17 Martin Rudalics <rudalics@gmx.at>
6815
6816 * window.el (special-display-p): Signal an error if BUFFER-NAME
6817 is not a string (Bug#11713).
6818
6819 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6820
6821 * progmodes/python.el (python-info-beginning-of-backslash):
6822 Rename from python-info-beginning-of-backlash, as a spelling fix.
6823
6824 2012-06-17 Chong Yidong <cyd@gnu.org>
6825
6826 * term.el (term-emulate-terminal): If term-check-size is called,
6827 move point to the process mark without resetting point (Bug#4635).
6828
6829 2012-06-17 Glenn Morris <rgm@gnu.org>
6830
6831 * international/mule-cmds.el (mule-menu-keymap)
6832 (set-language-environment, set-locale-environment): Doc tweaks.
6833
6834 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6835
6836 * cus-face.el (custom-face-attributes): Add wave-style underline
6837 attribute.
6838 * faces.el (set-face-attribute): Update docstring to describe
6839 wave-style underline attribute.
6840
6841 2012-06-16 Chong Yidong <cyd@gnu.org>
6842
6843 * term/xterm.el (terminal-init-xterm): Discard input before
6844 querying background mode (Bug#10959).
6845
6846 2012-06-16 Stefan Merten <smerten@oekonux.de>
6847
6848 * textmodes/rst.el: Added and corrected some comments.
6849 (rst-re-alist-def): Improve symbol syntax.
6850 (rst-mode-syntax-table): Correct syntax entries.
6851 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6852 (rst-official-version, rst-official-cvs-rev): Update version
6853 information.
6854
6855 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
6856
6857 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6858 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6859
6860 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6861
6862 * progmodes/python.el: New python.el merge.
6863 (python-guess-indent): Obsolete var.
6864 (python-indent-guess-indent-offset): New defcustom.
6865 (python-indent): Obsolete var.
6866 (python-indent-offset): New defcustom.
6867 (python-python-command, python-jython-command): Delete var.
6868 (python-shell-interpreter): New defcustom.
6869 (python-pdbtrack-do-tracking-p): Delete var.
6870 (python-pdbtrack-activate): New defcustom.
6871 (python-use-skeletons): Obsolete var.
6872 (python-skeleton-autoinsert): New defcustom.
6873 (inferior-python-filter-regexp, python-continuation-offset)
6874 (python-honour-comment-indentation, python-indent-string-contents)
6875 (python-jython-packages, python-mode-hook)
6876 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6877 (python-shell-prompt-alist)
6878 (python-source-modes): Delete defcustoms.
6879 (python-check-buffer-name, python-eldoc-setup-code)
6880 (python-eldoc-string-code, python-ffap-setup-code)
6881 (python-ffap-string-code, python-fill-comment-function)
6882 (python-fill-decorator-function, python-fill-paren-function)
6883 (python-fill-string-function, python-imenu-include-defun-type)
6884 (python-imenu-make-tree, python-imenu-subtree-root-label)
6885 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6886 (python-shell-compilation-regexp-alist)
6887 (python-shell-completion-module-string-code)
6888 (python-shell-completion-pdb-string-code)
6889 (python-shell-completion-setup-code)
6890 (python-shell-completion-string-code)
6891 (python-shell-enable-font-lock, python-shell-exec-path)
6892 (python-shell-extra-pythonpaths)
6893 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6894 (python-shell-process-environment)
6895 (python-shell-prompt-block-regexp)
6896 (python-shell-prompt-output-regexp)
6897 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6898 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6899 (python-shell-virtualenv-path): New defcustoms.
6900 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6901 (inferior-python-mode-syntax-table, python--prompt-regexp)
6902 (python-buffer, python-command python-python-command)
6903 (python-default-template, python-imports, python-indent-index)
6904 (python-indent-list, python-indent-list-length)
6905 (python-mode-running, python-pdbtrack-is-tracking-p)
6906 (python-preoutput-continuation, python-preoutput-leftover)
6907 (python-preoutput-result, python-preoutput-skip-next-prompt)
6908 (python-prev-dir/file, python-recursing)
6909 (python-saved-check-command, python-version-checked)
6910 (python-which-func-length-limit)
6911 (view-return-to-alist): Delete vars.
6912 (python-check-custom-command, python-dotty-syntax-table)
6913 (python-imenu-index-alist, python-indent-current-level)
6914 (python-indent-dedenters, python-indent-levels)
6915 (python-nav-beginning-of-defun-regexp)
6916 (python-nav-list-defun-positions-cache)
6917 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6918 (python-shell-internal-buffer)
6919 (python-skeleton-available): New vars.
6920 (def-python-skeleton): Delete macro.
6921 (python-skeleton-define): New macro.
6922 (python-define-auxiliary-skeleton, python-rx): New macros.
6923 (python-insert-class): Delete command.
6924 (python-skeleton-class): New command.
6925 (python-insert-def): Delete command.
6926 (python-skeleton-def): New command.
6927 (python-insert-for): Delete command.
6928 (python-skeleton-for): New command.
6929 (python-insert-if): Delete command.
6930 (python-skeleton-if): New command.
6931 (python-insert-try/except, python-insert-try/finally): Delete commands.
6932 (python-skeleton-try): New command.
6933 (python-insert-while): Delete command.
6934 (python-skeleton-while): New command.
6935 (python-backspace): Delete command.
6936 (python-indent-dedent-line-backspace): New command.
6937 (python-electric-colon): Delete command.
6938 (python-indent-electric-colon): New command.
6939 (python-guess-indent): Delete command.
6940 (python-indent-guess-indent-offset): New command.
6941 (python-shift-left): Delete command.
6942 (python-indent-shift-left): New command.
6943 (python-shift-right): Delete command.
6944 (python-indent-shift-right): New command.
6945 (python-find-function): Delete command.
6946 (python-nav-jump-to-defun): New command.
6947 (python-next-statement): Delete command.
6948 (python-nav-forward-sentence): New command.
6949 (python-previous-statement): Delete command.
6950 (python-nav-backward-sentence): New command.
6951 (python-fill-paragraph): Delete command.
6952 (python-fill-paragraph-function): New command.
6953 (python-send-buffer): Delete command.
6954 (python-shell-send-buffer): New command.
6955 (python-send-defun): Delete command.
6956 (python-shell-send-defun): New command.
6957 (python-send-region, python-send-region-and-go): Delete commands.
6958 (python-shell-send-region)
6959 (python-shell-switch-to-shell): New commands.
6960 (python-send-string): Delete command.
6961 (python-shell-send-string): New command.
6962 (python-switch-to-python): Delete command.
6963 (python-shell-switch-to-shell): New command.
6964 (python-describe-symbol): Delete command.
6965 (python-eldoc-at-point): New command.
6966 (python--set-prompt-regexp, python-args-to-list)
6967 (python-after-info-look, python-check-version)
6968 (python-check-comint-prompt, python-find-imports)
6969 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6970 (python-unload-function, python-expand-template)
6971 (python-maybe-jython, python-preoutput-filter)
6972 (python-pdbtrack-get-source-buffer)
6973 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6974 (python-pdbtrack-toggle-stack-tracking)
6975 (python-pdbtrack-track-stack-file, python-initial-text)
6976 (python-first-word, python-comment-line-p, python-send-command)
6977 (python-setup-brm, python-sentinel, python-set-proc)
6978 (python-skip-out, python-input-filter, python-outdent-p)
6979 (python-outline-level, python-backslash-continuation-line-p)
6980 (python-end-of-block, python-end-of-statement, python-mark-block)
6981 (python-beginning-of-block, python-beginning-of-statement)
6982 (python-blank-line-p, python-beginning-of-string)
6983 (python-open-block-statement-p): Delete functions.
6984 (python-indent-line, python-indent-line-1): Delete functions.
6985 (python-indent-line): New function.
6986 (python-indentation-levels): Delete function.
6987 (python-indent-calculate-levels): New function.
6988 (python-proc): Delete function.
6989 (python-shell-get-process): New function.
6990 (python-send-receive): Delete function.
6991 (python-shell-send-string-no-output): New function.
6992 (python-module-path): Delete function.
6993 (python-ffap-module-path): New function.
6994 (python-completion-at-point)
6995 (python-symbol-completions): Delete functions.
6996 (python-completion-complete-at-point): New function.
6997 (python-load-file): Delete function.
6998 (python-shell-send-file): New function.
6999 (python-calculate-indentation): Delete function.
7000 (python-indent-calculate-indentation): New function.
7001 (python-skip-comments/blanks): Delete function.
7002 (python-util-forward-comment): New function.
7003 (python-continuation-line-p): Delete function.
7004 (python-info-continuation-line-p): New function.
7005 (python-which-func, python-current-defun): Delete function.
7006 (python-info-current-defun): New function.
7007 (python-beginning-of-defun): Delete function.
7008 (python-nav-beginning-of-defun): New function.
7009 (python-close-block-statement-p)
7010 (python-block-end-p): Delete function.
7011 (python-info-closing-block): New function.
7012 (python-comint-output-filter-function)
7013 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7014 (python-fill-comment, python-fill-decorator, python-fill-paren)
7015 (python-fill-string, python-imenu-make-element-tree)
7016 (python-imenu-make-tree, python-imenu-tree-assoc)
7017 (python-indent-context, python-indent-dedent-line)
7018 (python-indent-line-function)
7019 (python-indent-post-self-insert-function)
7020 (python-indent-toggle-levels)
7021 (python-info-assignment-continuation-line-p)
7022 (python-info-beginning-of-backlash)
7023 (python-info-block-continuation-line-p)
7024 (python-info-closing-block-message)
7025 (python-info-line-ends-backslash-p)
7026 (python-info-looking-at-beginning-of-defun)
7027 (python-info-ppss-context, python-info-ppss-context-type)
7028 (python-nav-list-defun-positions, python-nav-read-defun)
7029 (python-nav-sentence-end, python-nav-sentence-start)
7030 (python-pdbtrack-comint-output-filter-function)
7031 (python-pdbtrack-set-tracked-buffer)
7032 (python-shell-calculate-exec-path)
7033 (python-shell-calculate-process-environment)
7034 (python-shell-completion--do-completion-at-point)
7035 (python-shell-completion--get-completions)
7036 (python-shell-completion-complete-at-point)
7037 (python-shell-completion-complete-or-indent)
7038 (python-shell-get-or-create-process)
7039 (python-shell-get-process-name)
7040 (python-shell-internal-get-or-create-process)
7041 (python-shell-internal-get-process-name)
7042 (python-shell-internal-send-string, python-shell-make-comint)
7043 (python-shell-parse-command, python-shell-send-setup-code)
7044 (python-skeleton-add-menu-items)
7045 (python-util-clone-local-variables, python-util-position)
7046 (run-python-internal, python-indentation-levels)
7047 (python-nav-beginning-of-defun)
7048 (python-completion-complete-at-point): New functions.
7049 (run-python): Change arguments. New API requirements.
7050
7051 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7052
7053 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7054 (bug#11649).
7055
7056 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7057 (macroexp--expand-all): Use it.
7058
7059 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7060 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7061 Use `cl-function' instead.
7062
7063 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
7064
7065 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7066 Suggested by Stefan Monnier while discussing bug#11657.
7067
7068 2012-06-14 Sam Steingold <sds@gnu.org>
7069
7070 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7071
7072 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7073
7074 * play/doctor.el (doctor-doc): Remove parameter and use
7075 doctor-sent instead of sent.
7076 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7077
7078 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7079
7080 * files.el: Require cl-lib.
7081 (file-name-non-special): Replace case -> cl-case.
7082
7083 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7084
7085 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7086 mapping from #' to function*.
7087
7088 2012-06-13 Chong Yidong <cyd@gnu.org>
7089
7090 * mouse.el (mouse-drag-track): Do not set the mark if the user
7091 releases the mouse without selecting anything (Bug#11588).
7092
7093 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7094
7095 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7096 as well (bug#11646).
7097
7098 * loadup.el: Count byte-code functions as well.
7099
7100 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7101 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7102
7103 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7104 (bug#11649). Add cl-defun and cl-defmacro.
7105
7106 2012-06-13 Drew Adams <drew.adams@oracle.com>
7107
7108 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7109 Fix last change.
7110
7111 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
7112
7113 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7114 Otherwise, it blocks in batch mode.
7115
7116 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
7117
7118 * help-mode.el (bookmark-make-record-default): Declare.
7119
7120 2012-06-13 Chong Yidong <cyd@gnu.org>
7121
7122 * emacs-lisp/package.el (list-packages): Compute a list of
7123 packages that are newly-available since the last list-packages
7124 invocation.
7125 (package-menu--new-package-list): New var.
7126 (package-menu--generate, package-menu--print-info)
7127 (package-menu--status-predicate, package-menu-mark-install):
7128 Handle new status label "new".
7129
7130 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7131
7132 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7133 conversion to backquotes.
7134
7135 2012-06-12 Chong Yidong <cyd@gnu.org>
7136
7137 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7138 Rename from gud-inhibit-global-bindings.
7139
7140 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7141
7142 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7143 hook from nxml-glyph-set-hook.
7144
7145 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7146 declaration.
7147
7148 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7149
7150 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7151 Convert to defcustom.
7152
7153 2012-06-12 Drew Adams <drew.adams@oracle.com>
7154
7155 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7156 New functions.
7157 (help-mode): Use them.
7158
7159 2012-06-11 Glenn Morris <rgm@gnu.org>
7160
7161 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7162 Use preprocessor face for directives.
7163 (fortran-directive-re): Doc fix.
7164
7165 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7166
7167 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7168 conversion to backquotes (bug#11652).
7169
7170 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7171 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7172 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7173 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7174 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7175 (cl-ninth, cl-tenth): Mark them as inlinable.
7176 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7177 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7178 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7179 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7180 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7181 (cl-list*, cl-adjoin): Don't put an autoload manually.
7182 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7183 (cl--compiler-macro-list*): Add autoload cookie.
7184 (cl--compiler-macro-cXXr): New function.
7185
7186 * help-fns.el (help-fns--compiler-macro): New function extracted from
7187 describe-function-1; follow aliases and use `compiler-macro' property.
7188 (describe-function-1): Use it.
7189
7190 2012-06-11 Chong Yidong <cyd@gnu.org>
7191
7192 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7193 is uninstalled, if imagemagick is installed.
7194
7195 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7196
7197 * emacs-lisp/cl-lib.el: Use lexical-binding.
7198 (cl-map-extents, cl-maclisp-member): Remove.
7199 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7200 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7201 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7202 * emacs-lisp/cl-extra.el: Use lexical-binding.
7203 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7204 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7205 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7206 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7207 * emacs-lisp/cl-seq.el: Use lexical-binding.
7208 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7209 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7210 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7211 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7212 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7213 CL's internals.
7214
7215 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
7216
7217 Sync with Tramp 2.2.6-pre.
7218
7219 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7220 `print-length' and `print-level' to nil, in order to avoid
7221 truncation. Reported by Christopher Schmidt
7222 <christopher@ristopher.com>.
7223
7224 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7225
7226 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7227 New defmacro.
7228 (tramp-compat-copy-directory): Add optional argument
7229 COPY-CONTENTS. It is not handled yet.
7230
7231 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7232 (tramp-ftp-file-name-p): Simplify.
7233
7234 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7235 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7236 connection vector.
7237
7238 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7239 (tramp-methods): Do not use `tramp-password-end-of-line'.
7240 (tramp-completion-function-alist-putty): Handle UNIX case.
7241 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7242 (tramp-do-file-attributes-with-stat)
7243 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7244 gid as real numbers. They could run out of integer range on cygwin.
7245 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7246 (tramp-sh-handle-expand-file-name): Handle hops.
7247 (tramp-open-connection-setup-interactive-shell):
7248 Use `tramp-cleanup'. Move check for busyboxes ...
7249 (tramp-find-shell): ... here. Simplify implementation.
7250 Set "remote-shell" property also for alternative shells.
7251 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7252 If failing, a regular file would be written otherwise.
7253 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7254 (tramp-find-inline-encoding): Cache the coding commands in the
7255 process cache. Apply test command on the remote side, if defined.
7256 (tramp-find-inline-compress): Cache the compress commands in the
7257 process cache.
7258 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7259 when requested. Handle hops.
7260 (tramp-current-connection): New defvar.
7261 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7262 Throw `suppress', if there was a failed connection shortly before.
7263 Handle user interrupt. (Bug#10187)
7264 (tramp-get-inline-compress, tramp-get-inline-coding):
7265 Read connection properties from the process cache.
7266
7267 * net/tramp-smb.el (tramp-smb-server-version)
7268 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7269 New defconsts.
7270 (tramp-smb-prompt): Extend for powershell prompt.
7271 (tramp-smb-file-name-handler-alist): Add handlers for
7272 `process-file', `shell-command' and `start-file-process'.
7273 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7274 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7275 (tramp-smb-file-name-p): Simplify.
7276 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7277 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7278 (tramp-smb-shell-quote-argument): New defuns.
7279 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7280 Implement using "tar". By this, time-stamps are preserved.
7281 (tramp-smb-handle-copy-file): Handle also the case of directories.
7282 (tramp-smb-do-file-attributes-with-stat)
7283 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7284 Use `tramp-get-connection-buffer').
7285 (tramp-smb-handle-rename-file): Use "rename", when source and
7286 target are on the same share.
7287 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7288 Use `tramp-smb-server-version'.
7289 (tramp-smb-wait-for-output): Remove prompt.
7290
7291 * net/tramp.el (top): Require 'cl.
7292 (tramp-methods, tramp-rsh-end-of-line):
7293 Remove `tramp-password-end-of-line' from docstring.
7294 (tramp-save-ad-hoc-proxies): New defcustom.
7295 (tramp-completion-function-alist): Adapt docstring.
7296 (tramp-default-password-end-of-line): Remove defcustom.
7297 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7298 (tramp-user-regexp, tramp-file-name-regexp-unified)
7299 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7300 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7301 (tramp-remote-file-name-spec-regexp): New defconst.
7302 (tramp-file-name-structure): Extend structure for hops.
7303 (tramp-get-method-parameter): Move up.
7304 (tramp-file-name-p, tramp-dissect-file-name)
7305 (with-parsed-tramp-file-name): Handle hops.
7306 (tramp-file-name-hop): New defun.
7307 (tramp-make-tramp-file-name): New optional arg HOP.
7308 (tramp-message-show-progress-reporter-message): New defvar.
7309 (tramp-with-progress-reporter): Use it. We cannot use
7310 `tramp-message-show-message' here, because this suppresses also
7311 error buffers.
7312 (tramp-error-with-buffer): Suppress buffer view, if
7313 `tramp-message-show-message' is nil.
7314 Use `tramp-get-connection-buffer'.
7315 (tramp-cleanup): New defun.
7316 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7317 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7318 an error unchanged.
7319 (tramp-completion-handle-file-name-all-completions): Handle hops.
7320 Fix an error when called from ido.
7321 (tramp-completion-dissect-file-name): Use better local variable
7322 name. Add hop to the vector.
7323 (tramp-handle-insert-file-contents): Use progress-reporter for the
7324 whole scenario.
7325 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7326 to `t'.
7327 (tramp-check-for-regexp): Simplify search.
7328 (tramp-enter-password): Remove it. Move implementation ...
7329 (tramp-action-password): ... here.
7330 (tramp-mode-string-to-int, tramp-local-host-p)
7331 (tramp-make-tramp-temp-file, tramp-read-passwd)
7332 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7333 Set tramp-autoload cookie.
7334
7335 * net/trampver.el: Update release number.
7336
7337 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7338 Michael Albinus <michael.albinus@gmx.de>
7339
7340 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7341 (tramp-parse-group, tramp-parse-file)
7342 (tramp-parse-shostkeys-sknownhosts): New defuns.
7343 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7344 (tramp-parse-shosts-group, tramp-parse-sconfig)
7345 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7346 (tramp-parse-sknownhosts, tramp-parse-hosts)
7347 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7348 Use them.
7349 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7350 (tramp-parse-putty-group): Don't narrow.
7351 (tramp-parse-putty): Make a loop.
7352 (tramp-file-name-handler): Catch the `suppress' signal.
7353
7354 2012-06-11 Chong Yidong <cyd@gnu.org>
7355
7356 * image.el (imagemagick-register-types): Put the ImageMagick entry
7357 at the end of image-type-file-name-regexps.
7358
7359 2012-06-11 Johan Bockgård <bojohan@gnu.org>
7360
7361 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7362 (pcase, pcase-let*, pcase-dolist): Use them.
7363
7364 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 * emacs-lisp/pcase.el (pcase--let*): New function.
7367 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7368 (pcase--expand): Use macroexp-let².
7369
7370 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7371
7372 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7373 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7374 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7375 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7376 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7377 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7378
7379 2012-06-10 Glenn Morris <rgm@gnu.org>
7380
7381 * mail/rmail.el (rmail-yank-current-message): Leave point at
7382 correct position. (Bug#11660)
7383
7384 2012-06-10 Chong Yidong <cyd@gnu.org>
7385
7386 * allout-widgets.el: Fix code header.
7387
7388 2012-06-10 Chong Yidong <cyd@gnu.org>
7389
7390 * cus-edit.el (customize-changed-options-previous-release):
7391 Bump to 24.1.
7392
7393 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7394
7395 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7396
7397 2012-06-09 Chong Yidong <cyd@gnu.org>
7398
7399 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7400
7401 2012-06-09 Martin Rudalics <rudalics@gmx.at>
7402
7403 * window.el (special-display-popup-frame): Don't use
7404 window--display-buffer (Bug#11651).
7405
7406 2012-06-09 Eli Zaretskii <eliz@gnu.org>
7407
7408 Fix parallel builds: make sure loaddefs.el is not being written
7409 while Lisp files are compiled.
7410 (compile): Don't depend on 'mh-autoloads'.
7411 (compile-CMD, compile-SH): Depend on 'autoloads'.
7412 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7413
7414 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7415
7416 2012-06-09 Chong Yidong <cyd@gnu.org>
7417
7418 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7419 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7420 Doc fixes (Bug#11225).
7421
7422 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7423
7424 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7425 a function if there's a clear indication that it has a compiler-macro.
7426 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7427 (macro-declarations-alist): Add arglist to declaration functions.
7428 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7429 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7430 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7431 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7432 Also add autoload to find the compiler macro.
7433 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7434 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7435 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7436 (cl--compiler-macro-get): New functions, replacing calls to
7437 cl-define-compiler-macro.
7438 (cl-typep) [compiler-macro]: Use macroexp-let².
7439
7440 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
7441
7442 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7443 string properly, fixes Bug#11473.
7444
7445 2012-06-08 Chong Yidong <cyd@gnu.org>
7446
7447 * faces.el (set-face-attribute): Doc fix.
7448 (modify-face): Don't use :bold and :italic.
7449 (error, warning, success): Tweak definitions.
7450
7451 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7452 (custom-modified, custom-set, custom-changed, custom-themed)
7453 (custom-saved, custom-button, custom-button-mouse)
7454 (custom-button-pressed, custom-state, custom-comment-tag)
7455 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7456 (custom-group-subtitle): Use new-style face specs.
7457 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7458 (custom-set-face, custom-changed-face, custom-saved-face)
7459 (custom-button-face, custom-button-pressed-face)
7460 (custom-documentation-face, custom-state-face)
7461 (custom-comment-face, custom-comment-tag-face)
7462 (custom-variable-tag-face, custom-variable-button-face)
7463 (custom-face-tag-face, custom-group-tag-face-1)
7464 (custom-group-tag-face): Remove obsolete face alias.
7465
7466 * epa.el (epa-validity-high, epa-validity-medium)
7467 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7468 (epa-field-name, epa-field-body):
7469 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7470 (font-lock-keyword-face, font-lock-builtin-face)
7471 (font-lock-function-name-face, font-lock-variable-name-face)
7472 (font-lock-type-face, font-lock-constant-face):
7473 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7474 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7475 * speedbar.el (speedbar-button-face, speedbar-file-face)
7476 (speedbar-directory-face, speedbar-tag-face)
7477 (speedbar-selected-face, speedbar-highlight-face)
7478 (speedbar-separator-face):
7479 * whitespace.el (whitespace-newline, whitespace-space)
7480 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7481 (whitespace-line, whitespace-space-before-tab)
7482 (whitespace-space-after-tab, whitespace-indentation)
7483 (whitespace-empty):
7484 * emulation/cua-base.el (cua-global-mark):
7485 * eshell/em-prompt.el (eshell-prompt):
7486 * net/newst-plainview.el (newsticker-new-item-face)
7487 (newsticker-old-item-face, newsticker-immortal-item-face)
7488 (newsticker-obsolete-item-face, newsticker-date-face)
7489 (newsticker-statistics-face, newsticker-default-face):
7490 * net/newst-reader.el (newsticker-feed-face)
7491 (newsticker-extra-face, newsticker-enclosure-face):
7492 * net/newst-treeview.el (newsticker-treeview-face)
7493 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7494 (newsticker-treeview-immortal-face)
7495 (newsticker-treeview-obsolete-face)
7496 (newsticker-treeview-selection-face):
7497 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7498 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7499 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7500 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7501 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7502 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7503 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7504 (mpuz-text):
7505 * progmodes/vera-mode.el (vera-font-lock-number)
7506 (vera-font-lock-function, vera-font-lock-interface):
7507 * textmodes/table.el (table-cell): Use new-style face specs, and
7508 don't use the old :bold and :italic attributes.
7509
7510 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7511 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7512 (ebrowse-member-class, ebrowse-progress): Likewise.
7513 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7514 (ebrowse-file-name-face, ebrowse-default-face)
7515 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7516 (ebrowse-progress-face): Remove obsolete faces.
7517
7518 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7519 Inherit from error and warning faces respectively.
7520
7521 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7522 Likewise.
7523 (flyspell-incorrect-face, flyspell-duplicate-face):
7524 Remove obsolete aliases.
7525
7526 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
7527
7528 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7529 Avoid infloop.
7530
7531 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7532
7533 * startup.el (argv, argi): Make lexically scoped.
7534 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7535 * emacs-lisp/cl-macs.el: Use lexical-binding.
7536 Rename cl-bind-* to cl--bind-*.
7537 * files.el: Don't require `cl' since it doesn't use it.
7538 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7539
7540 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
7541
7542 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7543 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7544 instead of calling external sort utility.
7545 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7546
7547 2012-06-08 Eli Zaretskii <eliz@gnu.org>
7548
7549 * descr-text.el (describe-char): Mention how to insert the
7550 character, if the current input method doesn't support it.
7551 See the discussion in this thread for the details:
7552 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7553
7554 2012-06-08 Sam Steingold <sds@gnu.org>
7555
7556 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7557 XF86Back to previous-buffer.
7558 (minibuffer-local-map): Bind them to next-history-element and
7559 previous-history-element respectively.
7560 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7561 help-go-back respectively.
7562 * info.el (Info-mode-map): Bind them to Info-history-forward and
7563 Info-history-back respectively.
7564 These are the keys next to Up on the ThinkPad keyboard.
7565
7566 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7569 * emacs-lisp/cl-macs.el: Provide itself.
7570 (cl--labels-convert-cache): New var.
7571 (cl--labels-convert): New function.
7572 (cl-flet, cl-labels): New implementation with new semantics, relying on
7573 lexical-binding.
7574 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7575 (cl-closure-vars, cl--function-convert-cache)
7576 (cl--function-convert): Move from cl-macs.el.
7577 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7578 rename by removing the "cl-" prefix.
7579 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7580
7581 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7584 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7585 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7586 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7587 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7588 (cl-hash-table-count): Add old compatibility aliases.
7589
7590 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7591 Use macroexpand-all-environment instead.
7592 (cl--old-macroexpand): New var.
7593 (cl--sm-macroexpand): New function.
7594 (cl-symbol-macrolet): Use it during macro expansion.
7595 (cl--function-convert-cache): New var.
7596 (cl--function-convert): New function, extracted from
7597 cl-macroexpand-all.
7598 (cl-lexical-let): Use it.
7599
7600 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7601 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7602 (cl-member): Remove old alias.
7603
7604 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7605 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7606 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7607 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7608 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7609 (cl-macroexpand-cmacs): Remove var.
7610 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7611 Use macroexpand-all instead.
7612
7613 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7614
7615 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7616 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7617 (macroexp-copyable-p): New functions and macros.
7618 * emacs-lisp/edebug.el (edebug-unwrap):
7619 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7620 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7621 (pcase--let*): Remove.
7622 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7623 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7624 macroexp-const-p instead.
7625 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7626
7627 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7628 instead of "cl-" for internal definitions. Use macroexp-const-p.
7629 (cl-old-bc-file-form): Remove var.
7630 (cl-const-exprs-p): Remove fun.
7631 (cl-labels, cl-macrolet): Use backquote.
7632 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7633 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7634 (cl-define-setf-expander): Rename from cl-define-setf-method.
7635 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7636
7637 * international/mule-cmds.el: Don't require CL.
7638 (view-hello-file): Don't use `letf'.
7639
7640 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7641
7642 * tmm.el (tmm-prompt): Use string-prefix-p.
7643 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7644 (tmm-add-prompt): Use minibuffer-completion-help.
7645 (tmm-delete-map): Remove.
7646
7647 * subr.el (kbd): Make it its own function.
7648
7649 2012-06-07 Stefan Merten <smerten@oekonux.de>
7650
7651 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7652 Silence compiler warnings. Fix versions.
7653 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7654 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7655 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7656 (rst-package-emacs-version-alist): Correct Emacs version to
7657 represent major merge with upstream.
7658 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7659
7660 2012-06-06 Glenn Morris <rgm@gnu.org>
7661
7662 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7663 Only print environment variables if set.
7664
7665 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7668 (macroexp--cons): Rename from maybe-cons.
7669 (macroexp--accumulate): Rename from macroexp-accumulate.
7670 (macroexp--all-forms): Rename from macroexpand-all-forms.
7671 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7672 (macroexp--expand-all): Rename from macroexpand-all-1.
7673
7674 2012-06-06 Sam Steingold <sds@gnu.org>
7675
7676 * calendar/calendar.el (calendar-in-read-only-buffer):
7677 Call `special-mode' to enable the standard read-only keybindings.
7678
7679 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7680
7681 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7682 with "loading" messages (bug#11635).
7683
7684 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
7685
7686 * files.el (enable-remote-dir-locals): New option.
7687 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7688
7689 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7690 Ensure, that the temp directory is local.
7691
7692 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7693 `temporary-file-directory'.
7694
7695 * progmodes/python.el (python-send-region): Ensure, that the
7696 temporary file is created also in the remote case.
7697
7698 2012-06-06 Glenn Morris <rgm@gnu.org>
7699
7700 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7701 (vc-rcs-update-changelog): Use it.
7702
7703 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7704
7705 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7706 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7707 (vc-sccs-diff): Replace use of the external vcdiff script.
7708
7709 2012-06-05 Glenn Morris <rgm@gnu.org>
7710
7711 * ledit.el: Move to obsolete/.
7712
7713 2012-06-05 Sam Steingold <sds@gnu.org>
7714
7715 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7716 patch (Bug#11140).
7717
7718 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7719
7720 * emacs-lisp/cust-print.el: Move to obsolete.
7721
7722 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7723 compiler-macro expansion.
7724
7725 Add native compiler-macro support.
7726 * emacs-lisp/macroexp.el (macroexpand-all-1):
7727 Support compiler-macros directly. Properly follow aliases and apply
7728 the compiler macros more thoroughly.
7729 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7730 macroexpand now properly follows aliases.
7731 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7732 (cl-compiler-macroexpand): Use new prop.
7733 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7734
7735 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7736
7737 2012-06-05 Martin Rudalics <rudalics@gmx.at>
7738
7739 * window.el (get-lru-window, get-mru-window, get-largest-window):
7740 New argument NOT-SELECTED to avoid picking the selected window.
7741 (window--display-buffer-1, window--display-buffer-2): Replace by
7742 new function window--display-buffer
7743 (display-buffer-same-window, display-buffer-reuse-window)
7744 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7745 Use window--display-buffer.
7746 (display-buffer-use-some-window): Remove temporary dedication
7747 hack by calling get-lru-window and get-largest-window with
7748 NOT-SELECTED argument non-nil. Call window--display-buffer.
7749
7750 2012-06-05 Glenn Morris <rgm@gnu.org>
7751
7752 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7753 Replace external vcdiff script.
7754
7755 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7756
7757 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7758
7759 2012-06-04 Chong Yidong <cyd@gnu.org>
7760
7761 * image.el (imagemagick-types-inhibit): Revert last change.
7762 Add INFO and M.
7763 (imagemagick-enabled-types): Remove CIN and EPS*.
7764
7765 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7766
7767 * emacs-lisp/cl-lib.el: Rename from cl.el.
7768 * emacs-lisp/cl.el: New compatibility file.
7769 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7770 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7771 to obey the "cl-" prefix.
7772 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7773
7774 2012-06-03 Glenn Morris <rgm@gnu.org>
7775
7776 * emacs-lisp/authors.el (authors-aliases): Addition.
7777
7778 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7779 Fix :version.
7780
7781 2012-06-03 Stefan Merten <smerten@oekonux.de>
7782
7783 * textmodes/rst.el: Add comments.
7784 (rst-transition, rst-adornment): New faces.
7785 (rst-adornment-faces-alist): Make default safe to reevaluate.
7786 Fixes
7787 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7788 Improve customization tags.
7789 (rst-define-level-faces): Clarify meaning.
7790
7791 2012-06-03 Chong Yidong <cyd@gnu.org>
7792
7793 * progmodes/compile.el (compilation-mode-line-fail)
7794 (compilation-mode-line-run, compilation-mode-line-exit):
7795 New faces.
7796 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7797
7798 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7799
7800 * progmodes/which-func.el (which-func-update-ediff-windows):
7801 New function. Use it in ediff-select-hook (Bug#11478).
7802
7803 2012-06-03 Chong Yidong <cyd@gnu.org>
7804
7805 * bindings.el: Remove explicit help text from format-mode-line.
7806 It is now supplied by mode-line-default-help-echo.
7807 (mode-line-front-space, mode-line-end-spaces)
7808 (mode-line-misc-info): New variables.
7809 (mode-line-modes, mode-line-position): Move the default value to
7810 the variable definition.
7811 (mode-line-default-help-echo): New defcustom.
7812 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7813 (mode-line-modified-help-echo): New functions.
7814 (mode-line-mule-info, mode-line-modified): Use them.
7815 (mode-line-eol-desc, propertized-buffer-identification):
7816 Consistency fixes for help text.
7817 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7818 set-buffer-file-coding-system (Bug#289).
7819 (mode-line-mule-info-help-echo): Update help text.
7820
7821 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7822
7823 * simple.el (execute-extended-command): Set real-this-command
7824 (bug#11506).
7825
7826 2012-06-02 Chong Yidong <cyd@gnu.org>
7827
7828 Remove incorrect uses of "modeline" in comments, docstrings, and
7829 function/variable names (Bug#10329).
7830
7831 * cus-edit.el (mode-line):
7832 * dframe.el (dframe-mouse-hscroll):
7833 * emacs-lisp/re-builder.el:
7834 * emacs-lisp/easy-mmode.el (define-minor-mode):
7835 * frame.el (set-frame-name):
7836 * help.el (lookup-minor-mode-from-indicator):
7837 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7838 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7839 (c-toggle-hungry-state):
7840 * progmodes/antlr-mode.el (antlr-language-alist):
7841 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7842 * progmodes/vhdl-mode.el (vhdl-mode):
7843 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7844 * term/ns-win.el (ns-face-at-pos):
7845 * term/sup-mouse.el (sup-mouse-report):
7846 * textmodes/flyspell.el (flyspell-mode-line-string):
7847 * textmodes/ispell.el (ispell-highlight-face):
7848 * textmodes/reftex-global.el:
7849 * vc/vc-arch.el (vc-arch-mode-line-string):
7850 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7851 * vc/vc-git.el (vc-git-mode-line-string):
7852 * vc/vc-hooks.el (vc-display-status)
7853 (vc-default-mode-line-string):
7854 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7855
7856 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7857
7858 * dired.el (dired-sort-set-mode-line): Rename from
7859 dired-sort-set-modeline. All callers changed.
7860
7861 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7862 eshell-status-in-modeline.
7863
7864 * foldout.el (foldout-mode-line-string): Rename from
7865 foldout-modeline-string. All callers changed.
7866 (foldout-update-mode-line): Rename from foldout-update-modeline.
7867
7868 * subr.el (redraw-modeline): Make into obsolete alias.
7869
7870 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7871 timeclock-modeline-display. Make old name an alias.
7872 (timeclock-update-mode-line): Likewise. All callers changed.
7873 (timeclock-mode-line-display): No need to check before using
7874 add-hook.
7875 (timeclock-relative, timeclock-day-over-hook)
7876 (timeclock-use-elapsed, timeclock-mode-string)
7877 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7878
7879 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7880 crisp-mode-modeline-string.
7881
7882 * play/solitaire.el (solitaire-build-mode-line): Rename from
7883 solitaire-build-modeline. All callers changed.
7884
7885 * play/zone.el (zone-hiding-mode-line): Rename from
7886 zone-hiding-modeline. All callers changed.
7887 (zone): Remove unusued `modeline-hidden-level' property.
7888
7889 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7890 xscheme-modeline-initialize. All callers changed.
7891
7892 * strokes.el (strokes-lighter): Rename from
7893 strokes-modeline-string.
7894
7895 * textmodes/sgml-mode.el (html-face-tag-alist)
7896 (html-tag-face-alist): Use mode-line face instead of obsolete
7897 alias modeline.
7898
7899 2012-06-02 Stefan Merten <smerten@oekonux.de>
7900
7901 * textmodes/rst.el: Always require `cl'.
7902 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7903
7904 2012-06-02 Chong Yidong <cyd@gnu.org>
7905
7906 * image.el (imagemagick-enabled-types): Rename from
7907 imagemagick-types-enable. Add many more types.
7908 (imagemagick-types-inhibit): Change default to nil.
7909 (imagemagick-filter-types): Caller changed.
7910
7911 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7912
7913 * emacs-lisp/cl-macs.el: Use backquotes.
7914 (cl-transform-function-property): Use eval-and-compile rather than
7915 abusing `require'.
7916 (defstruct): Use declare-function instead of with-no-warnings.
7917
7918 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7919 (byte-compile-output-docform): Re-add the print-circle bindings.
7920 (byte-compile-fix-header): Use #$ just because it's shorter.
7921 (byte-compile-output-file-form): Remove defun/defmacro.
7922
7923 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7924
7925 * simple.el (choose-completion): Remove now obsolete binding for
7926 owindow.
7927
7928 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7929
7930 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7931 in order to avoid "Stack overflow in regexp matcher".
7932
7933 2012-05-31 Glenn Morris <rgm@gnu.org>
7934
7935 * image.el: For clarity, call imagemagick-register-types at
7936 top-level, rather than relying on a custom :initialize.
7937 (imagemagick-types-enable): New option. (Bug#11557)
7938 (imagemagick-filter-types): New function. (Bug#7406)
7939 (imagemagick-register-types): Use imagemagick-filter-types.
7940 If disabling support, remove elements altogether rather
7941 than using an impossible regexp.
7942 (imagemagick-types-inhibit): Give it the default init function.
7943
7944 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7945
7946 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7947 Handle arbitrary file name lengths (Bug#11585).
7948
7949 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7950
7951 * desktop.el (desktop-read): Clear previous and next buffers for
7952 all windows and bury *Messages* buffer (bug#11556).
7953
7954 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 Add `declare' for `defun'. Align `defmacro's with it.
7957 * emacs-lisp/easy-mmode.el (define-minor-mode)
7958 (define-globalized-minor-mode): Don't autoload the var definitions.
7959 * emacs-lisp/byte-run.el: Use lexical-binding.
7960 (defun-declarations-alist, macro-declarations-alist): New vars.
7961 (defmacro, defun): Use them.
7962 (make-obsolete, define-obsolete-function-alias)
7963 (make-obsolete-variable, define-obsolete-variable-alias):
7964 Use `declare'.
7965 (macro-declaration-function): Mark obsolete.
7966 * emacs-lisp/autoload.el: Use lexical-binding.
7967 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7968
7969 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7970
7971 * textmodes/ispell.el (ispell-with-no-warnings):
7972 Define as a macro.
7973 (ispell-kill-ispell, ispell-change-dictionary):
7974 Use `called-interactively-p' for Emacs instead of obsolete
7975 `interactive-p'.
7976
7977 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7978
7979 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7980 (macro-declaration-function): Move var from C code.
7981 (macro-declaration-function): Define function with defalias.
7982 * emacs-lisp/macroexp.el (macroexpand-all-1):
7983 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7984 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7985 defun/defmacro any more.
7986 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7987 Provide fallback for unknown arglist.
7988 (byte-compile-arglist-warn): Change calling convention.
7989 (byte-compile-output-file-form): Move print-vars binding.
7990 (byte-compile-output-docform): Simplify accordingly.
7991 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7992 (byte-compile-defmacro-declaration): Remove.
7993 (byte-compile-file-form-defmumble): Generalize to defalias.
7994 (byte-compile-output-as-comment): Return byte-positions.
7995 Simplify callers accordingly.
7996 (byte-compile-lambda): Use `assert'.
7997 (byte-compile-defun, byte-compile-defmacro): Remove.
7998 (byte-compile-file-form-defalias):
7999 Use byte-compile-file-form-defmumble.
8000 (byte-compile-defalias-warn): Remove.
8001
8002 2012-05-29 Stefan Merten <smerten@oekonux.de>
8003
8004 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
8005 possible. Fix authors. Improve comments. Improve loading of `cl'.
8006
8007 (rst-mode-abbrev-table): Merge definition.
8008 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8009 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8010
8011 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
8012
8013 * calendar/icalendar.el
8014 (icalendar-export-region): Export UID properly.
8015
8016 2012-05-29 Leo Liu <sdl.web@gmail.com>
8017 * calendar/icalendar.el (icalendar-import-format):
8018 Add `icalendar-import-format-uid' (Bug#11525).
8019 (icalendar-import-format-uid): New.
8020 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8021 Export UID.
8022
8023 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8024
8025 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8026 different alternative patterns.
8027 (pcase-codegen): Be more careful to preserve identity.
8028 (pcase--u1): Don't forget to mark vars as used.
8029
8030 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8031 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8032 (byte-compile-from-buffer): ...rather than here.
8033
8034 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8035 functions from byte-compile-function-environment.
8036
8037 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
8038
8039 * window.el (window-deletable-p): Avoid deleting the root window
8040 of a frame with an active minibuffer.
8041
8042 2012-05-29 Martin Rudalics <rudalics@gmx.at>
8043
8044 * simple.el (choose-completion): Use quit-window (Bug#11567).
8045
8046 2012-05-29 Chong Yidong <cyd@gnu.org>
8047
8048 * whitespace.el (whitespace-cleanup): Fix usage of
8049 whitespace-empty-at-bob-regexp (Bug#11492).
8050
8051 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8052
8053 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8054 revert (Bug#11488).
8055
8056 2012-05-29 Juri Linkov <juri@jurta.org>
8057
8058 * isearch.el (isearch-mode-map): Bind `M-s _' to
8059 `isearch-toggle-symbol'. Bind `M-s c' to
8060 `isearch-toggle-case-fold'.
8061 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8062 (isearch-forward): Add `M-s _' to the docstring.
8063 (isearch-forward-symbol, isearch-toggle-case-fold)
8064 (isearch-symbol-regexp): New functions. (Bug#11381)
8065
8066 2012-05-29 Juri Linkov <juri@jurta.org>
8067
8068 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8069 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8070 a function, call it to get the regexp.
8071 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8072 property `isearch-message-prefix' instead of the string "word ".
8073 (isearch-search-fun-default): For the case of `isearch-word',
8074 return a lambda that calls re-search-forward/re-search-backward
8075 with a regexp returned by `word-search-regexp' or by the function
8076 in `isearch-word'.
8077
8078 2012-05-29 Juri Linkov <juri@jurta.org>
8079
8080 * isearch.el (isearch-search-fun-default): New function.
8081 (isearch-search-fun): Move default part to the new function
8082 `isearch-search-fun-default'.
8083 (isearch-search-fun-function): Set the default value to
8084 `isearch-search-fun-default'. (Bug#11381)
8085
8086 * comint.el (comint-history-isearch-end):
8087 Use `isearch-search-fun-default'.
8088 (comint-history-isearch-search): Use `isearch-search-fun-default'
8089 and remove spacial case for `isearch-word'.
8090 (comint-history-isearch-wrap): Remove spacial case for
8091 `isearch-word'.
8092
8093 * hexl.el (hexl-isearch-search-function):
8094 Use `isearch-search-fun-default'.
8095
8096 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8097 Use `word-search-regexp' for `isearch-word'.
8098
8099 * misearch.el (multi-isearch-search-fun):
8100 Use `isearch-search-fun-default'.
8101
8102 * simple.el (minibuffer-history-isearch-search):
8103 Use `isearch-search-fun-default' and remove spacial case for
8104 `isearch-word'.
8105 (minibuffer-history-isearch-wrap): Remove spacial case for
8106 `isearch-word'.
8107
8108 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8109 Remove spacial case for `isearch-word'.
8110 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8111
8112 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8113
8114 Decrease XEmacs incompatibilities.
8115 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8116 Use `string-match'.
8117 (flyspell-delete-region-overlays): Use alternative definition for
8118 XEmacs.
8119 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8120 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8121 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8122 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8123 `define-obsolete-face-alias' under XEmacs, but old method.
8124
8125 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8126 `with-no-warnings' definition or Emacs alias.
8127 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8128 (ispell-word): Do not use `region-p' if XEmacs.
8129
8130 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8131
8132 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8133 Check for `ispell-dictionary-base-alist' instead of full
8134 `ispell-dictionary-alist'.
8135 (ispell-init-process): Show spellchecker when starting new Ispell
8136 process.
8137
8138 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8139
8140 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8141 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8142
8143 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
8144
8145 * version.el (motif-version-string, gtk-version-string)
8146 (ns-version-string): Declare.
8147
8148 2012-05-27 Juri Linkov <juri@jurta.org>
8149
8150 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8151 after the `eval-defun-1' specialcaseing
8152 like in `edebug-eval-defun' (bug#10181).
8153
8154 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8155 like in `eval-defun-1'.
8156
8157 2012-05-27 Eli Zaretskii <eliz@gnu.org>
8158
8159 * mail/sendmail.el (mail-yank-region):
8160 Recognize rmail-yank-current-message in addition to insert-buffer.
8161 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8162 a *mail* buffer created through rmail-start-mail with sendmail as
8163 mail-user-agent.
8164
8165 2012-05-27 Chong Yidong <cyd@gnu.org>
8166
8167 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8168 Default to 256 (Bug#11267).
8169
8170 * help.el (describe-mode): Doc fix.
8171
8172 2012-05-26 Glenn Morris <rgm@gnu.org>
8173
8174 * w32-fns.el (w32-init-info): Remove.
8175 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8176
8177 * info.el (info-initialize): For self-contained NS builds, put the
8178 included info/ directory at the front. (Bug#2791)
8179
8180 * paths.el (Info-default-directory-list): Make it a defcustom,
8181 mainly so that we can use custom-initialize-delay.
8182
8183 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8184
8185 * subr.el (buffer-has-markers-at): Mark obsolete.
8186
8187 * subr.el (lambda): Use declare.
8188
8189 * emacs-lisp/lisp-mode.el (lambda):
8190 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8191
8192 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8193
8194 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8195
8196 2012-05-26 Glenn Morris <rgm@gnu.org>
8197
8198 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8199
8200 2012-05-25 Glenn Morris <rgm@gnu.org>
8201
8202 * paths.el: Remove no-byte-compile.
8203 * loadup.el: No need to load paths.el uncompiled.
8204
8205 * image.el (imagemagick-types-inhibit): Doc fix.
8206
8207 * version.el: Remove no-byte-compile and associated formatting.
8208 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8209 is ancient code from when there was an "inc-vers.el".
8210
8211 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8212
8213 * progmodes/gdb-mi.el: Minor style changes.
8214 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8215 Turn into minor modes.
8216 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8217 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8218 (gdb-shell): Remove unneeded let-binding.
8219 (gdb-get-many-fields): Eliminate O(n²) behavior.
8220
8221 2012-05-25 Eli Zaretskii <eliz@gnu.org>
8222
8223 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8224 platforms that don't link in fontset.c.
8225
8226 2012-05-25 Juri Linkov <juri@jurta.org>
8227
8228 Use the same diff color scheme as in modern VCSes (bug#10181).
8229
8230 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8231 to avoid confusion with `diff-added' that now uses green colors.
8232 (diff-removed): Use shades of red.
8233 (diff-added): Use shades of green.
8234 (diff-changed): Leave just the yellow color.
8235 (diff-use-changed-face): New variable.
8236 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8237 how to highlight context diff changes.
8238 (diff-refine-change): Use shades of yellow.
8239 (diff-refine-removed): New face that uses shades of red.
8240 (diff-refine-added): New face that uses shades of green.
8241 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8242 `diff-refine-removed' in the call to `smerge-refine-subst'
8243 depending on the value of `diff-use-changed-face'.
8244
8245 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8246 (smerge-other): Use shades of green.
8247 (smerge-base): Use shades of yellow.
8248 (smerge-refined-change): Empty face.
8249 (smerge-refined-removed): New face that uses shades of red.
8250 (smerge-refined-added): New face that uses shades of green.
8251 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8252 args `props-r' and `props-a', and use them. Doc fix.
8253 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8254 on its value use different faces `smerge-refined-change',
8255 `smerge-refined-removed', `smerge-refined-added' in the call to
8256 `smerge-refine-subst'.
8257
8258 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8259 Add face condition `min-colors 88' with shades of red.
8260 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8261 `min-colors 88' with shades of green.
8262 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8263 `min-colors 88' with shades of yellow.
8264
8265 2012-05-24 Glenn Morris <rgm@gnu.org>
8266
8267 * paths.el (prune-directory-list, remote-shell-program): Move to...
8268 * files.el (prune-directory-list, remote-shell-program): ...here.
8269 For the latter, delay initialization, prefer ssh, just search PATH.
8270
8271 * paths.el (term-file-prefix): Move to faces.el (the only user).
8272 * faces.el (term-file-prefix): Move here, make it a defcustom.
8273
8274 * paths.el (news-directory, news-path, news-inews-program):
8275 Move to gnus/nnspool.el.
8276
8277 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8278
8279 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8280 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8281 Make the latter a defcustom, with a delayed initialization.
8282
8283 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8284 These were deleted from Gnus itself late 2010.
8285
8286 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
8287
8288 * progmodes/which-func.el (which-func-ff-hook):
8289 Check against user-error, not error.
8290
8291 * emacs-lisp/edebug.el (top): Do not load or set up loading of
8292 cl-specs.el, which no longer exists.
8293
8294 2012-05-22 Glenn Morris <rgm@gnu.org>
8295
8296 * info.el (info-emacs-bug): New command.
8297 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8298 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8299
8300 2012-05-21 Glenn Morris <rgm@gnu.org>
8301
8302 * makefile.w32-in (update-subdirs-SH):
8303 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8304
8305 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8306
8307 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8308
8309 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8310 Simplify Maven regexp, and make sure the file can't start with a space
8311 (bug#11517).
8312
8313 2012-05-21 Glenn Morris <rgm@gnu.org>
8314
8315 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8316 Scrap superfluous subshells.
8317
8318 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8319
8320 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8321 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8322
8323 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8324
8325 * calc/calc.el (calc-ensure-consistent-units): New variable.
8326
8327 * calc/calc-units.el (math-consistent-units-p)
8328 (math-check-unit-consistency): New functions.
8329 (calc-quick-units, calc-convert-units):
8330 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8331 is non-nil.
8332 (calc-extract-units): Fix typo.
8333
8334 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8337
8338 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8339 (flyspell-default-deplacement-commands): Don't spell check after
8340 repeated window/frame switches (e.g. triggered by mouse-movement).
8341 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8342 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8343 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8344 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8345 Remove unused vars.
8346 (flyspell-get-casechars, flyspell-get-not-casechars):
8347 Simplify; Don't bother removing a ] just to add it back.
8348 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8349
8350 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8351
8352 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8353 New functions.
8354 (math-function-table): Add support for more C functions.
8355
8356 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8357
8358 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8359 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8360 Protect delay handling for otherchars against empty otherchars.
8361
8362 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8365 their respective macro declarations.
8366 * skeleton.el (define-skeleton):
8367 * progmodes/compile.el (define-compilation-mode):
8368 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8369 (define-ibuffer-filter):
8370 * emacs-lisp/generic.el (define-generic-mode):
8371 * emacs-lisp/easy-mmode.el (define-minor-mode)
8372 (define-globalized-minor-mode):
8373 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8374 * emacs-lisp/byte-run.el (defsubst):
8375 * custom.el (deftheme): Add doc-string metadata.
8376
8377 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8378
8379 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8380
8381 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8384
8385 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8386 * emacs-lisp/cl-macs.el: Idem.
8387 * emacs-lisp/cl-specs.el: Remove.
8388
8389 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8390
8391 Minor renaming of internal CL functions and variables.
8392 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8393 (cl--position): Rename from cl-position.
8394 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8395 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8396 (cl--random-state): Rename from *random-state*.
8397
8398 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8399
8400 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8401 parens around the arg list (bug#11499).
8402
8403 2012-05-17 Juri Linkov <juri@jurta.org>
8404
8405 * isearch.el (word-search-regexp, word-search-backward)
8406 (word-search-forward, word-search-backward-lax)
8407 (word-search-forward-lax): Move functions from search.c
8408 (bug#10145, bug#11381).
8409
8410 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8411
8412 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8413 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8414 Delay for otherchars as for normal word components.
8415
8416 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8417
8418 * minibuffer.el (completion--sifn-requote): Fix last change.
8419 (minibuffer-local-must-match-filename-map):
8420 Move define-obsolete-variable-alias before its var.
8421
8422 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8423
8424 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8425
8426 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8427 behavior.
8428 (completion--string-equal-p): New function.
8429 (completion--twq-all): Use it to get better assertion failure data.
8430
8431 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8432 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8433 (shell--requote-argument): New functions.
8434 (shell-completion-vars): Use them.
8435 (shell--parse-pcomplete-arguments): Rename from
8436 shell-parse-pcomplete-arguments.
8437 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8438 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8439 Obey comint-file-name-quote-list.
8440
8441 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8442 (smie-indent-keyword): Use it.
8443
8444 2012-05-14 Stefan Merten <smerten@oekonux.de>
8445
8446 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8447
8448 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8449
8450 * net/rlogin.el (rlogin-mode-map): Fix last change.
8451
8452 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8453
8454 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8455 the following \r\n using a single `process-send-string', since the
8456 Lotus SMTP server refuses to accept any commands if they are sent
8457 with two `process-send-string's (Bug#11444).
8458
8459 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8460
8461 * shell.el (shell-parse-pcomplete-arguments):
8462 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8463
8464 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8465
8466 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8467 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8468 (image-transform-width, image-transform-fit-width): New functions.
8469 (image-transform-properties): Use them.
8470 (image-transform-check-size): New function.
8471 (image-toggle-display-image): Use it (for testing).
8472 (image-transform-set-rotation): Reduce angle mod 360.
8473 Delete obsolete comment.
8474
8475 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8476
8477 * image-mode.el: Fix scaling (bug#11399).
8478 (image-transform-resize): Doc fix.
8479 (image-transform-properties): Default scale is 1 and height should
8480 be an integer.
8481
8482 2012-05-13 Johan Bockgård <bojohan@gnu.org>
8483
8484 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8485 than hard-coding `car', to fix misbehavior when moving forward.
8486
8487 2012-05-13 Chong Yidong <cyd@gnu.org>
8488
8489 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8490 (tabulated-list-entries, tabulated-list-padding)
8491 (tabulated-list-sort-key): Make permanent-local.
8492
8493 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8494 (electric-buffer-list): Put electric buffer menu
8495 command descriptions in this docstring, instead of the docstring
8496 of electric-buffer-menu-mode. Code cleanups.
8497 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8498 Electric-buffer-menu-mode.
8499 (electric-buffer-update-highlight): Minor code cleanup.
8500
8501 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
8502
8503 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8504 (Bug#11447)
8505
8506 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 Move define-obsolete-variable-alias before the var's definition.
8509 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8510 * tooltip.el (tooltip-hook):
8511 * textmodes/reftex-toc.el (reftex-toc-map):
8512 * textmodes/reftex-sel.el (reftex-select-label-map)
8513 (reftex-select-bib-map):
8514 * textmodes/reftex-index.el (reftex-index-map)
8515 (reftex-index-phrases-map):
8516 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8517 * progmodes/meta-mode.el (meta-mode-map):
8518 * novice.el (disabled-command-hook):
8519 * loadhist.el (unload-hook-features-list):
8520 * frame.el (blink-cursor):
8521 * files.el (find-file-not-found-hooks, write-file-hooks)
8522 (write-contents-hooks):
8523 * emulation/tpu-edt.el (GOLD-map):
8524 * emacs-lock.el (emacs-lock-from-exiting):
8525 * emacs-lisp/generic.el (generic-font-lock-defaults):
8526 * emacs-lisp/chart.el (chart-map):
8527 * dos-fns.el (register-name-alist):
8528 * dired-x.el (dired-omit-files-p):
8529 * desktop.el (desktop-enable):
8530 * cus-edit.el (custom-mode-hook):
8531 * buff-menu.el (buffer-menu-mode-hook):
8532 * bookmark.el (bookmark-read-annotation-text-func)
8533 (bookmark-exit-hooks):
8534 * allout.el (allout-mode-deactivate-hook)
8535 (allout-exposure-change-hook, allout-structure-added-hook)
8536 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8537 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8538 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8539 comes before the corresponding variable's definition.
8540
8541 2012-05-12 Chong Yidong <cyd@gnu.org>
8542
8543 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8544 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8545 (Buffer-menu-mode-map): Bind it.
8546 (Buffer-menu--pretty-name): Add a mouse-face property.
8547
8548 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8551 (prolog-upper-case-string, prolog-lower-case-string)
8552 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8553 (prolog-use-smie, prolog-smie-grammar): New vars.
8554 (prolog-smie-forward-token, prolog-smie-backward-token)
8555 (prolog-smie-rules): New funs.
8556 (prolog-comment-indent): Remove.
8557 (prolog-mode-variables): Use default comment indentation instead.
8558 Setup SMIE.
8559 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8560 (prolog-mode): Don't call them any more.
8561 (prolog-electric-colon, prolog-electric-dash)
8562 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8563
8564 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8565
8566 * minibuffer.el (completion--twq-all): Again, allow case differences.
8567
8568 * term.el: Move keymap initialization code to be more idiomatic.
8569 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8570 (term-terminal-menu): Move initialization into declaration.
8571 (term-escape-char): Let the user set it in her .emacs.
8572
8573 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8574 Provide SMIE-based indentation (not enabled by default yet).
8575 (sh-mode-map): Don't bind electric keys.
8576 Use electric-pair-mode instead of skeleton-pair.
8577 (sh-assignment-regexp): Fit within 80 columns.
8578 (sh-indent-supported): Specify actual shell name instead of boolean.
8579 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8580 (sh-maybe-here-document): Use it. Make obsolete.
8581 (sh-electric-here-document-mode) New minor mode.
8582 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8583 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8584 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8585 (sh-smie-rc-grammar, sh-use-smie): New vars.
8586 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8587 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8588 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8589 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8590 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8591 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8592 (sh-set-shell): Use smie-setup if requested.
8593
8594 * term.el (term-set-escape-char): Properly set term-escape-char.
8595 See http://stackoverflow.com/questions/10524656.
8596
8597 2012-05-10 Chong Yidong <cyd@gnu.org>
8598
8599 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8600 Use url-generic-parse-url, and handle host names and Windows
8601 filenames properly.
8602 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8603 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8604 URL schemes to work on.
8605 (ffap--toggle-read-only): New function.
8606 (ffap-read-only, ffap-read-only-other-window)
8607 (ffap-read-only-other-frame): Use it.
8608 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8609 necessary for ffap-url-unwrap-remote.
8610
8611 2012-05-10 Dave Abrahams <dave@boostpro.com>
8612
8613 * cus-start.el (create-lockfiles): Add it.
8614
8615 2012-05-09 Chong Yidong <cyd@gnu.org>
8616
8617 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8618 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8619
8620 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8621
8622 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8623
8624 2012-05-09 Chong Yidong <cyd@gnu.org>
8625
8626 * ansi-color.el (ansi-color-process-output): Check for validity of
8627 comint-last-output-start before using it. This avoids a bad
8628 interaction with gdb-mi's input/output buffer.
8629
8630 2012-05-09 Glenn Morris <rgm@gnu.org>
8631
8632 * files.el (dir-locals-read-from-file):
8633 Mention dir-locals in any error message.
8634
8635 2012-05-09 Chong Yidong <cyd@gnu.org>
8636
8637 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8638 package (Bug#11410).
8639
8640 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8641 variables into description.
8642
8643 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8646 shell-delimiter-argument-list (bug#11348).
8647 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8648
8649 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
8650
8651 * textmodes/rst.el: Silence byte-compiler warnings.
8652 (rst-re-alist, rst-reset-section-caches): Move around.
8653 (rst-re): Use `characterp', not `char-valid-p'.
8654 (font-lock-beg, font-lock-end): Declare.
8655
8656 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8657 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8658
8659 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8660
8661 2012-05-08 Glenn Morris <rgm@gnu.org>
8662
8663 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8664
8665 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8666
8667 * vc/log-edit.el: Add GNU coding standards highlighting.
8668 (log-edit-font-lock-gnu-style)
8669 (log-edit-font-lock-gnu-keywords): New vars.
8670 (log-edit-font-lock-keywords): New fun.
8671 (log-edit-mode): Don't fold case in font-lock.
8672 (log-edit-font-lock-keywords): Do not assume case-folding.
8673
8674 * imenu.el: Misc cleanup. Make docstrings out of comments.
8675 Use lexical-binding.
8676 (imenu--index-alist, imenu--last-menubar-index-alist)
8677 (imenu-menubar-modified-tick): Use defvar-local.
8678 (imenu--split-menu): Remove unused var.
8679 (imenu--cleanup-seen): Declare as global.
8680 (imenu--cleanup): Use dolist.
8681
8682 * subr.el (defvar-local): Add debug spec and doc-string position.
8683
8684 2012-05-08 Glenn Morris <rgm@gnu.org>
8685
8686 * language/burmese.el, language/cham.el, language/czech.el:
8687 * language/english.el, language/georgian.el, language/greek.el:
8688 * language/japanese.el, language/khmer.el, language/korean.el:
8689 * language/lao.el, language/misc-lang.el, language/romanian.el:
8690 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8691 * language/thai.el, language/utf-8-lang.el:
8692 Remove no-byte-compile setting.
8693
8694 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8695
8696 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8697
8698 * progmodes/make-mode.el (makefile-browse):
8699 Remove unnecessary interactive. (Bug#11324)
8700
8701 2012-05-07 Glenn Morris <rgm@gnu.org>
8702
8703 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8704
8705 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8706
8707 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8708
8709 * loadup.el: Preload newcomment.el.
8710 * newcomment.el: Move autoload-only code to toplevel.
8711
8712 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8713 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8714 Handle new :right-align column property.
8715 (tabulated-list-print-col): Idem, plus use `display' text-property to
8716 try and preserve alignment for variable pitch fonts.
8717
8718 2012-05-07 Chong Yidong <cyd@gnu.org>
8719
8720 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8721 (tabulated-list-use-header-line): New var.
8722 (tabulated-list-init-header): Use it.
8723 (tabulated-list-print-fake-header): New function.
8724 (tabulated-list-print): Use it.
8725 (tabulated-list-sort-button-map): Add non-header-line commands.
8726 (tabulated-list-init-header): Add column name property to basic
8727 labels as well.
8728 (tabulated-list-col-sort): Handle non-header-line button case.
8729 (tabulated-list--sort-by-column-name): Fix a corner case.
8730
8731 * buff-menu.el (list-buffers--refresh):
8732 Handle Buffer-menu-use-header-line.
8733
8734 2012-05-06 Chong Yidong <cyd@gnu.org>
8735
8736 * buff-menu.el: Convert to Tabulated List mode.
8737 (Buffer-menu-buffer+size-width): Make obsolete.
8738 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8739 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8740 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8741 documentation into docstring of buffer-menu.
8742 (Buffer-menu-toggle-files-only): Add an informative message.
8743 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8744 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8745 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8746 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8747 (Buffer-menu-execute, Buffer-menu-select)
8748 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8749 (Buffer-menu-bury): Use Tabulated List machinery.
8750 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8751 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8752 Delete.
8753 (list-buffers--refresh): New function.
8754 (list-buffers-noselect): Use it.
8755 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8756 (Buffer-menu--pretty-file-name): New helper functions.
8757
8758 * loadup.el: Preload tabulated-list.
8759
8760 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8761 tabulated-list-sort-column.
8762 (tabulated-list-init-header): Add the initial aligning space even
8763 if tabulated-list-padding is zero.
8764
8765 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8766
8767 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8768 whose cdr is not a cons cell correctly (bug#11038).
8769
8770 2012-05-06 Chong Yidong <cyd@gnu.org>
8771
8772 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8773 Accept additional plist in column descriptors.
8774 (tabulated-list-init-header): Obey it.
8775 (tabulated-list-get-entry): New function.
8776 (tabulated-list-put-tag): Use it. Use string-width instead of
8777 length.
8778 (tabulated-list--column-number): New function.
8779 (tabulated-list-print): Use it.
8780 (tabulated-list-print-col): New function.
8781 Set `tabulated-list-column-name' property on each column's text.
8782 (tabulated-list-print-entry): Use it.
8783 (tabulated-list-delete-entry, tabulated-list-set-col):
8784 New functions.
8785 (tabulated-list-sort-column): New command (Bug#11337).
8786
8787 * buff-menu.el (list-buffers): Move C-x C-b binding from
8788 buff-menu.el to bindings.el.
8789
8790 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8791 :advertised-binding feature.
8792
8793 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8794
8795 * progmodes/compile.el (compilation-internal-error-properties):
8796 Calculate start position correctly when end-col is set but
8797 end-line is not (Bug#11382).
8798
8799 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8800
8801 * man.el (Man-unindent): Use text-property-default-nonsticky to
8802 prevent untabify from inheriting face properties (Bug#11408).
8803
8804 2012-05-05 Stefan Merten <smerten@oekonux.de>
8805
8806 * textmodes/rst.el: Major merge with upstream development up to
8807 Docutils SVN r7399 / rst.el V1.2.1.
8808
8809 Clarify maintainership and authors.
8810
8811 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8812 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8813 (rst-official-version, rst-official-cvs-rev, rst-version)
8814 (rst-package-emacs-version-alist): New functions and variables
8815 for version information.
8816
8817 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8818 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8819 (rst-mode-syntax-table, rst-mode): New and corrected functions
8820 and variables representing reStructuredText features.
8821
8822 (rst-re): New function for reStructuredText regexes. Use in
8823 many places.
8824
8825 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8826 (rst-mode-map): Rebind keys.
8827
8828 (rst-mode-lazy, rst-font-lock-keywords)
8829 (rst-font-lock-extend-region)
8830 (rst-font-lock-extend-region-internal)
8831 (rst-font-lock-extend-region-extend)
8832 (rst-font-lock-find-unindented-line-limit)
8833 (rst-font-lock-find-unindented-line-match)
8834 (rst-adornment-level, rst-font-lock-adornment-level)
8835 (rst-font-lock-adornment-match)
8836 (rst-font-lock-handle-adornment-pre-match-form)
8837 (rst-font-lock-handle-adornment-matcher): Major revision of
8838 font-locking. Integrate with other code. Use `jit-lock-mode'.
8839
8840 (rst-preferred-adornments, rst-adjust-hook)
8841 (rst-new-adornment-down, rst-preferred-bullets)
8842 (rst-preferred-bullets, rst-indent, rst-indent-width)
8843 (rst-indent-field, rst-indent-literal-normal)
8844 (rst-indent-literal-minimized, rst-indent-comment): Change,
8845 extend and improve customization.
8846
8847 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8848 (rst-normalize-cursor-position, rst-get-decoration)
8849 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8850 (rst-rstrip, rst-toc-insert-find-delete-contents)
8851 (rst-shift-fill-region, rst-compute-bullet-tabs)
8852 (rst-debug-print-tabs, rst-debug-mark-found)
8853 (rst-shift-region-guts, rst-shift-region-right)
8854 (rst-shift-region-left, rst-use-char-classes)
8855 (rst-font-lock-keywords-function)
8856 (rst-font-lock-indentation-point)
8857 (rst-font-lock-find-unindented-line-begin)
8858 (rst-font-lock-find-unindented-line-end)
8859 (rst-font-lock-find-unindented-line)
8860 (rst-font-lock-adornment-point, rst-font-lock-level)
8861 (rst-adornment-level-alist): Remove functions and variables.
8862
8863 (rst-compare-adornments, rst-get-adornment-match)
8864 (rst-suggest-new-adornment, rst-get-adornments-around)
8865 (rst-adornment-complete-p, rst-get-next-adornment)
8866 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8867 (rst-straighten-adornments): Standardize function names to
8868 use "adornment" instead of "decoration". Correct callers.
8869 Similar standardizing in many places.
8870
8871 (rst-update-section, rst-adjust, rst-promote-region)
8872 (rst-enumerate-region, rst-bullet-list-region)
8873 (rst-repeat-last-character): Correct use of `interactive'.
8874
8875 (rst-classify-adornment, rst-find-all-adornments)
8876 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8877 (rst-find-leftmost-column, rst-repeat-last-character):
8878 Refactor functions.
8879
8880 (rst-find-title-line, rst-reset-section-caches)
8881 (rst-get-adornments-around, rst-adjust-adornment-work)
8882 (rst-arabic-to-roman, rst-roman-to-arabic)
8883 (rst-insert-list-pos, rst-insert-list-new-item)
8884 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8885 New functions.
8886
8887 (rst-all-sections, rst-section-hierarchy)
8888 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8889 New variables.
8890
8891 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8892 configuration instead of only buffer. Change where necessary.
8893
8894 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8895 (rst-shift-region, rst-adaptive-fill): New functions for
8896 indentation and filling.
8897
8898 (rst-comment-line-break, rst-comment-indent)
8899 (rst-comment-insert-comment, rst-comment-region)
8900 (rst-uncomment-region): New functions for handling comments.
8901
8902 (rst-compile): Quote shell arguments.
8903
8904 (rst-compile-pdf-preview, rst-compile-slides-preview):
8905 Delete temporary files after use.
8906
8907 2012-05-05 Glenn Morris <rgm@gnu.org>
8908
8909 * calendar/cal-html.el: Optionally include holidays in the output.
8910 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8911 (cal-html-holidays): New option.
8912 (cal-html-css-default): Add holiday entry.
8913 (holiday-in-range): Autoload it.
8914 (cal-html-htmlify-entry): Add optional class argument.
8915 (cal-html-htmlify-list): Add optional holidays argument.
8916 (cal-html-insert-agenda-days): Include holidays in the output.
8917 (cal-html-one-month): Maybe include holidays.
8918
8919 * calendar/holidays.el (holiday-in-range):
8920 Move here from cal-tex-list-holidays.
8921 * calendar/cal-tex.el (cal-tex-list-holidays):
8922 Make it an obsolete alias for holiday-in-range. Update all callers.
8923
8924 2012-05-05 Chong Yidong <cyd@gnu.org>
8925
8926 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8927 Nextstep.
8928
8929 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8930
8931 * files.el (file-auto-mode-skip): New var.
8932 (set-auto-mode-1): Use it.
8933
8934 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * repeat.el: Use lexical-binding.
8937 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8938 (repeat-undo-count): Remove.
8939 (repeat):
8940 * progmodes/octave-mod.el (octave-abbrev-start):
8941 * progmodes/f90.el (f90-abbrev-start):
8942 * face-remap.el (text-scale-adjust):
8943 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8944
8945 * emacs-lisp/pcase.el (pcase--let*): New function.
8946 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8947 a bit more.
8948 (pcase--split-pred): Be more clever about ruling out overlap between
8949 a predicate and some constant pattern.
8950 (pcase--q1): Use `null' instead of (eq foo nil).
8951
8952 * subr.el (setq-local, defvar-local): New macros.
8953 (kbd): Redefine as an alias.
8954 (with-selected-window): Leave unrelated frames alone.
8955 (set-temporary-overlay-map): New function.
8956
8957 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8958
8959 * subr.el (user-error): New function.
8960 * window.el (switch-to-buffer):
8961 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8962 (smerge-match-conflict):
8963 * simple.el (previous-matching-history-element)
8964 (next-matching-history-element, goto-history-element, undo-more)
8965 (undo-start):
8966 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8967 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8968 (next-file, tags-loop-scan, list-tags, complete-tag):
8969 * progmodes/compile.el (compilation-loop):
8970 * mouse.el (mouse-minibuffer-check):
8971 * man.el (Man-bgproc-sentinel, Man-goto-page):
8972 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8973 (Info-history-forward, Info-follow-reference, Info-menu)
8974 (Info-extract-menu-item, Info-extract-menu-counting)
8975 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8976 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8977 (Info-next-reference, Info-prev-reference, Info-index)
8978 (Info-index-next, Info-follow-nearest-node)
8979 (Info-copy-current-node-name):
8980 * imenu.el (imenu--make-index-alist)
8981 (imenu-default-create-index-function, imenu-add-to-menubar):
8982 * files.el (basic-save-buffer, recover-file):
8983 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8984 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8985 (checkdoc-message-text, checkdoc-defun):
8986 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8987 * cus-edit.el (customize-changed-options, customize-rogue)
8988 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8989 (custom-variable-mark-to-reset-standard)
8990 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8991 (custom-file):
8992 * completion.el (check-completion-length):
8993 * comint.el (comint-search-arg)
8994 (comint-previous-matching-input-string-position)
8995 (comint-previous-matching-input)
8996 (comint-replace-by-expanded-history-before-point, comint-send-input)
8997 (comint-copy-old-input, comint-backward-matching-input)
8998 (comint-goto-process-mark, comint-set-process-mark):
8999 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9000 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9001
9002 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9003
9004 * dabbrev.el (dabbrev--ignore-case-p): New function.
9005 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9006 Use it.
9007
9008 * files.el (automount-dir-prefix): Mark as obsolete.
9009
9010 2012-05-04 Glenn Morris <rgm@gnu.org>
9011
9012 * patcomp.el, play/bruce.el: Move to obsolete/.
9013
9014 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9015
9016 Fix minor Y10k bugs.
9017 * arc-mode.el (archive-unixdate):
9018 * autoinsert.el (auto-insert-alist):
9019 * calc/calc-forms.el (math-this-year):
9020 * emacs-lisp/copyright.el (copyright-current-year)
9021 (copyright-update-year, copyright):
9022 * tar-mode.el (tar-clip-time-string):
9023 * time.el (display-time-update):
9024 Don't assume years have 4 digits.
9025
9026 2012-05-04 Chong Yidong <cyd@gnu.org>
9027
9028 * dos-w32.el (file-name-buffer-file-type-alist)
9029 (direct-print-region-use-command-dot-com):
9030 * ffap.el (ffap-menu-regexp):
9031 * find-file.el (ff-special-constructs):
9032 * follow.el (follow-debug):
9033 * forms.el (forms--debug):
9034 * iswitchb.el (iswitchb-all-frames):
9035 * ido.el (ido-all-frames):
9036 * emacs-lisp/timer.el (timer-max-repeats):
9037 * mail/feedmail.el (feedmail-mail-send-hook)
9038 (feedmail-mail-send-hook-queued):
9039 * mail/footnote.el (footnote-signature-separator):
9040 * mail/mailabbrev.el (mail-alias-separator-string)
9041 (mail-abbrev-mode-regexp):
9042 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9043 * progmodes/idlwave.el (idlwave-libinfo-file)
9044 (idlwave-default-completion-case-is-down)
9045 (idlwave-library-routines): Convert defvars to defcustoms.
9046
9047 * mail/rmail.el (rmail-decode-mime-charset):
9048 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9049 (idlwave-shell-fix-inserted-breaks)
9050 (idlwave-shell-activate-alt-keybindings)
9051 (idlwave-shell-use-breakpoint-glyph):
9052 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9053
9054 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9055
9056 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9057
9058 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9059
9060 * progmodes/verilog-mode.el (font-lock-keywords):
9061 Fix mis-highligting auto. Reported by Craig Barner.
9062 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
9063 defines from global name space. Reported by Dan Dever.
9064 (verilog-auto-reset, verilog-auto-reset-widths)
9065 (verilog-auto-tieoff): Support using unbased numbers for
9066 AUTORESET and AUTOTIEOFF.
9067 (verilog-submit-bug-report): Update variable list.
9068 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
9069 parenthesis from not matching. Reported by Michael Rytting.
9070 (verilog-auto-template-lint): Fix hash error when linting modules
9071 with no used templates.
9072 (verilog-warn, verilog-warn-error)
9073 (verilog-warn-fatal): When non-interactive report multiple
9074 warnings before exiting. Suggested by Brad Dobbie.
9075 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9076 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9077 to report unused template errors. Reported by Brad Dobbie.
9078 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
9079 nets, bug438. Reported by Vns Blore.
9080 (verilog-auto-inout-module, verilog-auto-reg)
9081 (verilog-read-decls, verilog-read-sub-decls-sig)
9082 (verilog-signals-edit-wire-reg, verilog-signals-with):
9083 Fix passing of Verilog data types in ANSI input/output ports
9084 such as "output logic" into the AUTOs. Special case "wire" and
9085 "reg" for backwards compatibility presuming Verilog 2001.
9086 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9087 (verilog-preprocess): Fix replication of preprocess output.
9088 Reported by Brad Dobbie.
9089 (verilog-auto-inst-interfaced-ports):
9090 Create verilog-auto-inst-interfaced-ports, bug429.
9091 Reported by Julian Gorfajn.
9092 (verilog-after-save-font-hook)
9093 (verilog-before-save-font-hook): New variable.
9094 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9095 (verilog-save-font-mods): Wrap disabling fontification, reported
9096 by David Rogoff.
9097 (verilog-do-indent, verilog-pretty-declarations-auto)
9098 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9099 Reported by Pierre-David Pfister.
9100 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9101 of class declarations, bug292. Reported by Kevin Heilman.
9102 (verilog-read-decls): Fix 'parameter type' not appearing in
9103 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9104 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
9105 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
9106 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9107 Reported by David Kravitz.
9108
9109 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
9110
9111 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9112 assignment with tests in ifs and for loops.
9113 (verilog-extended-complete-re, verilog-complete-reg): Change so
9114 that DPI inport functions don't look like fuction declarations.
9115 (verilog-pretty-expr): Don't line up assignment
9116 operations to the test and increment in if and for loops
9117 (verilog-extended-complete-re, verilog-complete-reg): Change so
9118 that DPI inport functions don't look like fuction declarations.
9119
9120 2012-05-03 Kenichi Handa <handa@m17n.org>
9121
9122 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
9123 decoding, and show a warning message without signaling an error
9124 (Bug#11282).
9125
9126 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9127
9128 * emacs-lisp/bytecomp.el
9129 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9130 since cconv.el might have introduced :fun-body, internal-make-closure,
9131 and friends for bytecomp to handle (bug#11391).
9132 * custom.el (defcustom): Avoid ((λ ..) ..).
9133
9134 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9135
9136 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9137
9138 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
9139
9140 * notifications.el (dbus-debug):
9141 * term/linux.el (gpm-mouse-enable):
9142 * term/screen.el (xterm-register-default-colors): Declare.
9143
9144 2012-05-02 Chong Yidong <cyd@gnu.org>
9145
9146 * cus-start.el (gc-cons-percentage, exec-suffixes)
9147 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9148 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9149 (make-cursor-line-fully-visible, void-text-area-pointer)
9150 (font-list-limit): Add customization data.
9151
9152 * allout.el (allout-exposure-change-functions)
9153 (allout-structure-added-functions)
9154 (allout-structure-deleted-functions)
9155 (allout-structure-shifted-functions): Rename abnormal hooks from
9156 *-hook, and convert to defcustoms.
9157 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9158 Convert to defcustoms.
9159 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9160
9161 * allout-widgets.el: Hook callers changed.
9162
9163 2012-05-02 Eli Zaretskii <eliz@gnu.org>
9164
9165 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9166 the yanked message in preference to the default value of
9167 buffer-file-coding-system.
9168
9169 2012-05-02 Martin Rudalics <rudalics@gmx.at>
9170
9171 * window.el (display-buffer--action-function-custom-type):
9172 Fix entry.
9173
9174 2012-05-02 Alan Mackenzie <acm@muc.de>
9175
9176 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9177
9178 2012-05-01 Glenn Morris <rgm@gnu.org>
9179
9180 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9181
9182 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9183
9184 * cus-edit.el (custom-variable-documentation): Simplify with format.
9185
9186 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9187 Stefan Monnier <monnier@iro.umontreal.ca>
9188
9189 * simple.el (suggest-key-bindings, execute-extended-command):
9190 Move from keyboard.c.
9191
9192 2012-05-01 Chong Yidong <cyd@gnu.org>
9193
9194 * follow.el: Eliminate advice.
9195 (set-process-filter, process-filter, sit-for): Advice deleted.
9196 (follow-mode-off-hook): Obsolete hook removed.
9197 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9198 Vars deleted.
9199 (follow-auto): Use a :set function.
9200 (follow-mode): Rewritten. Don't advise process filters.
9201 (follow-switch-to-current-buffer-all, follow-scroll-up)
9202 (follow-scroll-down): Assume follow-mode is bound.
9203 (follow-comint-scroll-to-bottom)
9204 (follow-align-compilation-windows): New functions.
9205 (follow--window-sorter): New function.
9206 (follow-all-followers): Use it to explicitly sort windows by their
9207 positions; don't make assumptions about next-window order.
9208 (follow-windows-start-end, follow-delete-other-windows-and-split)
9209 (follow-calc-win-start): Doc fix.
9210 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9211 vertical-motion unnecessarily.
9212 (follow-adjust-window): New function.
9213 (follow-post-command-hook): Use it.
9214 (follow-call-set-process-filter, follow-call-process-filter)
9215 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9216 (follow-stop-intercept-process-output, follow-generic-filter):
9217 Functions deleted.
9218 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9219 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9220 New functions, replacing advice on scroll-bar-* commands.
9221 (follow-mwheel-scroll): New function (Bug#4112).
9222
9223 * comint.el (comint-adjust-point): New function.
9224 (comint-postoutput-scroll-to-bottom): Use it.
9225 Call follow-comint-scroll-to-bottom for Follow mode buffers.
9226
9227 2012-05-01 Glenn Morris <rgm@gnu.org>
9228
9229 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9230 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9231 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9232 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9233 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9234 Remove no-byte-compile setting.
9235
9236 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9237
9238 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9239 all-completions code to not return a number in the last cdr.
9240
9241 2012-04-30 Leo Liu <sdl.web@gmail.com>
9242
9243 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9244 read-only error.
9245
9246 2012-04-29 Chong Yidong <cyd@gnu.org>
9247
9248 * follow.el (follow-calc-win-end): Rewrite to handle partial
9249 screen lines correctly (Bug#8390).
9250 (follow-avoid-tail-recenter): Minor cleanup.
9251
9252 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9253
9254 Avoid the obsolete `assoc' package.
9255 * speedbar.el (speedbar-refresh): Avoid adelete.
9256 (speedbar-file-lists): Simplify and avoid aput.
9257 * man.el (Man--sections, Man--refpages): New vars, replacing
9258 Man-sections-alist and Man-refpages-alist.
9259 (Man-build-section-alist, Man-build-references-alist):
9260 Use them; avoid aput.
9261 (Man--last-section, Man--last-refpage): New vars.
9262 (Man-follow-manual-reference): Use them.
9263 Use the `default' arg of completing-read.
9264 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9265
9266 2012-04-27 Chong Yidong <cyd@gnu.org>
9267
9268 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9269
9270 * startup.el (x-apply-session-resources): New function.
9271
9272 * term/ns-win.el (ns-initialize-window-system):
9273 * term/w32-win.el (w32-initialize-window-system):
9274 * term/x-win.el (x-initialize-window-system): Use it to properly
9275 set menu-bar-mode and other vars from X resources, even if the
9276 initial frame is not a window-system frame (Bug#2299).
9277
9278 * subr.el (read-key): Avoid running filter function when setting
9279 up temporary tool bar entries (Bug#9922).
9280
9281 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9282
9283 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9284 (Bug#11344)
9285
9286 2012-04-27 Chong Yidong <cyd@gnu.org>
9287
9288 * select.el (xselect--encode-string): New function, split from
9289 xselect-convert-to-string.
9290 (xselect-convert-to-string): Use it.
9291 (xselect-convert-to-filename, xselect-convert-to-os)
9292 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9293 returned strings are properly encoded (Bug#11315).
9294
9295 2012-04-27 Chong Yidong <cyd@gnu.org>
9296
9297 * simple.el (delete-active-region): Move to killing custom group.
9298
9299 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9300
9301 * progmodes/which-func.el (which-func-current): Quote %
9302 characters for mode-line processing.
9303
9304 2012-04-27 Chong Yidong <cyd@gnu.org>
9305
9306 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9307 reaching eob (Bug#11286).
9308
9309 2012-04-27 Eli Zaretskii <eliz@gnu.org>
9310
9311 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9312 (gdb): Make it buffer-local and init to zero.
9313 (gdb-control-commands-regexp): New variable.
9314 (gdb-send): Don't wrap in "-interpreter-exec console" if
9315 gdb-control-level is positive. Increment gdb-control-level
9316 whenever the command matches gdb-control-commands-regexp, and
9317 decrement it each time the command is "end". (Bug#11279)
9318
9319 2012-04-27 Martin Rudalics <rudalics@gmx.at>
9320
9321 * window.el (adjust-window-trailing-edge, enlarge-window)
9322 (shrink-window, window-resize):
9323 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9324 windows (Bug#11276).
9325
9326 2012-04-27 Chong Yidong <cyd@gnu.org>
9327
9328 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9329 fix "missing prefix" warning. All callers changed.
9330
9331 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9332
9333 * emacs-lisp/assoc.el: Move to obsolete/.
9334
9335 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9336
9337 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9338
9339 * term/ns-win.el (ns-define-service):
9340 * progmodes/pascal.el (pascal-goto-defun):
9341 * progmodes/js.el (js--read-tab):
9342 * progmodes/etags.el (tags-lazy-completion-table):
9343 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9344 * emacs-lisp/ewoc.el (ewoc--wrap):
9345 * emacs-lisp/assoc.el (aput, adelete, amake):
9346 * doc-view.el (doc-view-convert-current-doc):
9347 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9348
9349 2012-04-26 Chong Yidong <cyd@gnu.org>
9350
9351 * image.el (image-type-from-buffer): Only return supported image
9352 type (Bug#9045).
9353
9354 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9355 value, for symmetry with diff-end-of-hunk.
9356 (diff-split-hunk, diff-find-source-location)
9357 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9358 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9359 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9360 compute the relevant hunk or file properly (Bug#6005).
9361 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9362
9363 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9364
9365 * vc/vc-mtn.el:
9366 * vc/vc-hg.el:
9367 * vc/vc-git.el:
9368 * vc/vc-dir.el:
9369 * vc/vc-cvs.el:
9370 * vc/vc-bzr.el:
9371 * vc/vc-arch.el:
9372 * vc/vc.el: Replace lexical-let by lexical-binding.
9373 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9374 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9375 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9376
9377 2012-04-26 Chong Yidong <cyd@gnu.org>
9378
9379 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9380 (diff-mode-shared-map): Bind it to / and [remap undo].
9381
9382 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9383 (ediff-window-setup-function): Use it as the default, to set up
9384 windows based on whether the current frame is graphical (Bug#2138).
9385 (ediff-choose-window-setup-function-automatically): Make obsolete.
9386
9387 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9388
9389 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9391 * ffap.el: Remove old code for obsolete package.
9392 (ffap-complete-as-file-p): Remove.
9393
9394 Use completion-table-with-quoting for comint and pcomplete.
9395 * comint.el (comint--unquote&requote-argument)
9396 (comint--unquote-argument, comint--requote-argument): New functions.
9397 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9398 (comint-quote-filename): Use regexp-opt-charset.
9399 (comint--common-suffix, comint--common-quoted-suffix)
9400 (comint--table-subvert): Remove.
9401 (comint-unquote-function, comint-requote-function): New vars.
9402 (comint--complete-file-name-data): Use them with
9403 completion-table-with-quoting.
9404 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9405 * pcomplete.el (pcomplete-arg-quote-list)
9406 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9407 (pcomplete-unquote-argument-function): Default to non-nil.
9408 (pcomplete-unquote-argument): Simplify.
9409 (pcomplete--common-quoted-suffix): Remove.
9410 (pcomplete-requote-argument-function): New var.
9411 (pcomplete--common-suffix): New function.
9412 (pcomplete-completions-at-point): Use completion-table-with-quoting
9413 and completion-table-subvert.
9414
9415 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9416 (minibuffer--double-dollars): Preserve properties.
9417 (completion--sifn-requote): New function.
9418 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9419
9420 * minibuffer.el: Add support for completion of quoted/escaped data.
9421 (completion-table-with-quoting, completion-table-subvert): New funs.
9422 (completion--twq-try, completion--twq-all): New functions.
9423 (completion--nth-completion): New function.
9424 (completion-try-completion, completion-all-completions): Use it.
9425
9426 2012-04-25 Leo Liu <sdl.web@gmail.com>
9427
9428 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9429 Use compilation-message if available to find real filename.
9430
9431 2012-04-25 Chong Yidong <cyd@gnu.org>
9432
9433 * vc/diff-mode.el (diff-setup-whitespace): New function.
9434 (diff-mode): Use it.
9435
9436 * vc/diff.el (diff-sentinel):
9437 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9438 Whitespace mode variables based on diff style (Bug#8612).
9439
9440 2012-04-25 Leo Liu <sdl.web@gmail.com>
9441
9442 * progmodes/python.el (python-send-region): Add suffix .py to the
9443 temp file.
9444
9445 * files.el (auto-mode-alist): Use javascript-mode instead.
9446
9447 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9448
9449 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
9450
9451 * net/soap-client.el (soap-resolve-references-for-sequence-type)
9452 (soap-resolve-references-for-array-type): Hack to prevent self
9453 references, see Bug#9.
9454 (soap-parse-envelope): Report the contents of the 'detail' node
9455 when receiving a fault reply.
9456 (soap-parse-envelope): Report the contents of the entire 'detail' node.
9457
9458 * net/soap-inspect.el (soap-sample-value-for-simple-type)
9459 (soap-inspect-simple-type): New function.
9460
9461 * net/soap-client.el (soap-simple-type): New struct.
9462 (soap-default-xsd-types, soap-default-soapenc-types)
9463 (soap-decode-basic-type, soap-encode-basic-type):
9464 support unsignedInt and double basic types.
9465 (soap-resolve-references-for-simple-type)
9466 (soap-parse-simple-type, soap-encode-simple-type): New function.
9467 (soap-parse-schema): Parse xsd:simpleType declarations.
9468
9469 * net/soap-client.el (soap-default-xsd-types)
9470 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9471 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9472 the local name of "soapenc:Array".
9473 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9474 decoding integer, byte and anyURI xsd types.
9475
9476 2012-04-25 Chong Yidong <cyd@gnu.org>
9477
9478 * cus-edit.el (custom-buffer-create-internal): Update header text.
9479
9480 2012-04-25 Eli Zaretskii <eliz@gnu.org>
9481
9482 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9483 settings on 'system-type', not on 'window-system'. On MS-Windows,
9484 set interactive-mode on in GDB.
9485
9486 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9487
9488 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9489 (ruby-syntax-propertize-regexp): Remove.
9490 (ruby-syntax-propertize-function): Split regexp into chunks.
9491 Match following code directly.
9492
9493 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9494
9495 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9496 (ruby-syntax-propertize-regexp): New function.
9497 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9498 by a special keyword.
9499
9500 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9501 (ruby-syntax-general-delimiters-goto-beg)
9502 (ruby-syntax-propertize-general-delimiters): New functions.
9503 (ruby-syntax-propertize-function): Use them to handle GDL.
9504 (ruby-font-lock-keywords): Move old handling of GDL...
9505 (ruby-font-lock-syntactic-keywords): .. to here.
9506 (ruby-calculate-indent): Adjust indentation for GDL.
9507
9508 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
9509
9510 * notifications.el (top): Remove unneeded declarations.
9511 (notifications-specification-version): Change to "1.2".
9512 (notifications-interface, notifications-notify-method)
9513 (notifications-close-notification-method): Fix docstring.
9514 (notifications-get-capabilities-method): New defconst.
9515 (notifications-notify): Add :action-items, :resident and
9516 :transient hints. Change "image_data" to "image-data" and
9517 "image_path" to "image-path".
9518 (notifications-get-capabilities): New defun.
9519
9520 2012-04-24 Leo Liu <sdl.web@gmail.com>
9521
9522 * progmodes/python.el: Move hideshow setup to the end.
9523
9524 2012-04-24 Martin Rudalics <rudalics@gmx.at>
9525
9526 * window.el (handle-select-window): Clear echo area since this is
9527 no more done by read_char (Bug#11304).
9528
9529 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9530
9531 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9532 and `/ M' to filter-derived-mode.
9533 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9534 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9535 (ibuffer-mark-by-mode): Use default rather than initial-input.
9536 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9537
9538 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9539
9540 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9541 (ibuffer-filter-by-derived-mode): New filter.
9542 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9543
9544 2012-04-23 Andreas Politz <politza@fh-trier.de>
9545
9546 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9547
9548 2012-04-23 Chong Yidong <cyd@gnu.org>
9549
9550 * cus-edit.el (customize-apropos, customize-apropos-options):
9551 Disable matching of non-option variables (Bug#11176).
9552 (customize-option, customize-option-other-window)
9553 (customize-changed-options): Doc fix.
9554 (customize-apropos-options, customize-apropos-faces)
9555 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9556
9557 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9558 Fix word list splitting (Bug#11132).
9559 (apropos-symbol, apropos-keybinding, apropos-label)
9560 (apropos-property, apropos-function-button)
9561 (apropos-variable-button, apropos-misc-button): New faces.
9562 (apropos-symbol-face, apropos-keybinding-face)
9563 (apropos-label-face, apropos-property-face, apropos-match-face):
9564 Variables removed (Bug#8396).
9565 (apropos-library-button, apropos-format-plist, apropos-print)
9566 (apropos-print-doc, apropos-describe-plist): Callers changed.
9567
9568 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
9569
9570 * net/xesam.el (xesam-mode-map): Use let-bound map in
9571 initialization. (Bug#11292)
9572
9573 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9574
9575 Preserve ispell session localwords when switching back to
9576 original buffer.
9577
9578 * textmodes/ispell.el (ispell-buffer-session-localwords):
9579 New buffer-local variable to hold buffer session localwords.
9580 (ispell-kill-ispell): Add option 'clear to delete session
9581 localwords.
9582 (ispell-command-loop, ispell-change-dictionary)
9583 (ispell-buffer-local-words): Preserve session localwords when
9584 needed.
9585
9586 * textmodes/flyspell.el (flyspell-process-localwords)
9587 (flyspell-do-correct): Preserve session localwords when needed.
9588
9589 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9590
9591 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9592 using obsolete `translation-table-for-input'.
9593 (ispell-word, ispell-process-line, ispell-complete-word):
9594 Use plain `insert' instead of removed `ispell-insert-word'.
9595
9596 2012-04-22 Chong Yidong <cyd@gnu.org>
9597
9598 * cus-edit.el (custom-variable-menu)
9599 (custom-variable-reset-saved, custom-face-menu)
9600 (custom-face-reset-saved): If there is no saved value, make the
9601 "reset-saved" operation bring back the default (Bug#9509).
9602 (custom-face-state): Properly detect themed faces.
9603
9604 * faces.el (face-spec-set): Stop supporting deprecated form of
9605 third arg.
9606
9607 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
9608
9609 Move functions from C to Lisp. Make non-blocking method calls
9610 the default. Implement further D-Bus standard interfaces.
9611
9612 * net/dbus.el (dbus-message-internal): Declare function.
9613 Remove unneeded function declarations.
9614 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9615 (dbus-message-type-method-return, dbus-message-type-error)
9616 (dbus-message-type-signal): Declare variables. Remove local
9617 definitions.
9618 (dbus-interface-dbus, dbus-interface-peer)
9619 (dbus-interface-introspectable, dbus-interface-properties)
9620 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9621 Adapt docstring.
9622 (dbus-interface-objectmanager): New defconst.
9623 (dbus-call-method, dbus-call-method-asynchronously)
9624 (dbus-send-signal, dbus-method-return-internal)
9625 (dbus-method-error-internal, dbus-register-service)
9626 (dbus-register-signal, dbus-register-method): New defuns, moved
9627 from dbusbind.c
9628 (dbus-call-method-handler, dbus-setenv)
9629 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9630 New defuns.
9631 (dbus-call-method-non-blocking): Make it an obsolete function.
9632 (dbus-unregister-object, dbus-unregister-service)
9633 (dbus-handle-event, dbus-register-property)
9634 (dbus-property-handler): Obey the new structure of
9635 `bus-registered-objects'.
9636 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9637 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9638 Use `dbus-call-method'.
9639
9640 2012-04-22 Chong Yidong <cyd@gnu.org>
9641
9642 * cus-edit.el (custom-commands, custom-reset-menu)
9643 (Custom-reset-standard): Tweak labels.
9644 (custom-reset-button-menu): Change default to t.
9645 (custom-buffer-create-internal): For the custom-reset-button-menu
9646 case, put the revert button first.
9647 (custom-group-subtitle): New face.
9648 (custom-group-value-create): Align docstring to a specific column.
9649
9650 * wid-edit.el (widget-documentation-link-add): Don't handle
9651 indentation in this function.
9652 (widget-documentation-string-indent-to): New function.
9653 (widget-documentation-string-value-create): Use it.
9654
9655 * autorevert.el (auto-revert):
9656 * epg-config.el (epg):
9657 * ibuffer.el (ibuffer):
9658 * mpc.el (mpc):
9659 * ses.el (ses):
9660 * eshell/eshell.el (eshell):
9661 * net/ange-ftp.el (ange-ftp):
9662 * progmodes/ebnf2ps.el (postscript):
9663 * progmodes/flymake.el (flymake):
9664 * progmodes/prolog.el (prolog):
9665 * progmodes/verilog-mode.el (verilog-mode):
9666 * progmodes/which-func.el (which-func):
9667 * term/xterm.el (xterm):
9668 * textmodes/picture.el (picture):
9669 * textmodes/tildify.el (tildify):
9670 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9671 customization buffers.
9672
9673 2012-04-22 Alan Mackenzie <acm@muc.de>
9674
9675 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9676 Adding a ) can hide the resulting (..) from searches. Fix it.
9677 Bound the backward search to the position of the existing (.
9678
9679 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
9680
9681 * progmodes/verilog-mode.el (verilog-mode): Check whether
9682 which-func-modes is t before adding verilog-mode.
9683 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9684
9685 2012-04-21 Leo Liu <sdl.web@gmail.com>
9686
9687 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9688
9689 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9690
9691 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9692 filling of the last column of a table (Bug#5635).
9693 (woman-find-next-control-line): New arg, specifying an additional
9694 regexp component for the control line.
9695 (woman2-roff-buffer): Use it.
9696 (woman-break-table): New function.
9697 (woman2-TS): Use it.
9698
9699 2012-04-21 Chong Yidong <cyd@gnu.org>
9700
9701 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9702 (woman-horizontal-escapes, woman-negative-vertical-space)
9703 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9704 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9705
9706 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9707
9708 * minibuffer.el (completion-file-name-table): Complete user names.
9709
9710 2012-04-20 Leo Liu <sdl.web@gmail.com>
9711
9712 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9713 and pcase-let*.
9714
9715 2012-04-20 Chong Yidong <cyd@gnu.org>
9716
9717 * server.el (server-execute): Respect initial-buffer-choice if it
9718 is a string and there are no files to open (Bug#2825).
9719 (server-create-window-system-frame, server-create-tty-frame):
9720 Don't switch buffers here.
9721 (server-process-filter): Only try to open a window system frame if
9722 compiled with graphical support (Bug#8314).
9723
9724 2012-04-20 Dan Nicolaescu <dann@gnu.org>
9725
9726 * battery.el (battery-echo-area-format): Display remaining time
9727 for sysfs backend too (Bug#11269).
9728 (battery-linux-sysfs): Fix conditional for the charge.
9729
9730 2012-04-20 Chong Yidong <cyd@gnu.org>
9731
9732 * progmodes/gdb-mi.el (gdb): Revert previous change.
9733 (gdb-inferior-io--init-proc): New function.
9734 (gdb-init-1): Use it.
9735 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9736 responsible for allocating a new pty and hooking it to gdb when
9737 the old pty gets an EIO due to process exit.
9738 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9739 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9740 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9741
9742 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9743
9744 * window.el (window-min-size, window-sizable, window-min-delta)
9745 (window-max-delta, window--resizable, window-resizable)
9746 (window-total-size, window-full-height-p, window-full-width-p)
9747 (window-in-direction, window--resize-mini-window, window-resize)
9748 (window--resize-child-windows-normal)
9749 (window--resize-child-windows, window--resize-siblings)
9750 (window--resize-this-window, adjust-window-trailing-edge)
9751 (enlarge-window, shrink-window): Doc fixes.
9752
9753 2012-04-20 Chong Yidong <cyd@gnu.org>
9754
9755 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9756 New function to call delete-process on the gdb-inferior buffer's pty.
9757 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9758 pty process (Bug#11273).
9759 (gdb-update): New arg to suppress talking to the gdb process.
9760 (gdb-done-or-error): Use it.
9761 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9762 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9763 sentinel not being called.
9764
9765 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9766
9767 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9768
9769 2012-04-20 Glenn Morris <rgm@gnu.org>
9770
9771 * net/network-stream.el (open-network-stream): Doc fix.
9772
9773 2012-04-20 Chong Yidong <cyd@gnu.org>
9774
9775 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9776
9777 2012-04-20 Alan Mackenzie <acm@muc.de>
9778
9779 Ensure searching for keywords is case sensitive.
9780
9781 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9782 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9783 (c-defun-name, c-mark-function, c-cpp-define-name)
9784 (c-comment-indent, c-scan-conditionals, c-indent-defun)
9785 (c-context-line-break): Bind case-fold-search to nil.
9786
9787 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9788 Bind case-fold-search to nil.
9789
9790 2012-04-20 Chong Yidong <cyd@gnu.org>
9791
9792 * mail/sendmail.el (mail-bury): Call return action with the right
9793 Rmail buffer (Bug#11242).
9794
9795 * server.el (server-process-filter): Handle corner case where both
9796 tty and nowait options are present (Bug#11102).
9797
9798 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9799
9800 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9801 (top level): Put into the executable the ident-style '$Id:' tag on
9802 windows-nt as well.
9803
9804 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9805
9806 * electric.el (electric-indent-post-self-insert-function): Check that
9807 electric-indent-mode is enabled in current buffer.
9808
9809 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9810
9811 * imenu.el (imenu-progress-message): Restore; it is "used" in
9812 erc/erc-imenu.el and net/snmp-mode.el.
9813
9814 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9815
9816 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9817 (mouse-avoidance-nudge-mouse): Remove unused binding.
9818
9819 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9820
9821 * descr-text.el (describe-char):
9822 * progmodes/python.el (python-describe-symbol):
9823 Don't call `toggle-read-only', set `buffer-read-only'.
9824
9825 * imenu.el (imenu-default-goto-function): Mark unused args.
9826 (imenu-progress-message): Remove obsolete macro; all callers changed.
9827
9828 * subr.el (keymap-canonicalize): Remove unused binding.
9829 (read-passwd): Mark unused arg.
9830
9831 * tutorial.el (tutorial--display-changes): Remove unused binding.
9832 (tutorial--save-tutorial-to): Remove unused variable.
9833
9834 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9835 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9836 (package-generate-autoloads, package-menu--generate)
9837 (package-menu--find-upgrades): Remove unused bindings.
9838
9839 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9840 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9841 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9842 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9843 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9844 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9845 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9846 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9847 (cua-delete-char-rectangle): Mark unused args.
9848 (cua-align-rectangle): Remove unused binding.
9849
9850 * mail/rmail.el (compilation--message->loc)
9851 (epa--find-coding-system-for-mime-charset): Declare.
9852
9853 * net/dbus.el (dbus-register-service): Declare.
9854 (dbus-name-owner-changed-handler): Remove unused binding.
9855
9856 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9857 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9858 (nxml-scan-backward-within): Mark unused arg.
9859 (nxml-dynamic-markup-word): Remove unused binding.
9860
9861 * mouse.el (mouse-menu-major-mode-map):
9862 * emacs-lisp/authors.el (authors-scan-change-log)
9863 (authors-add-to-author-list):
9864 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9865 * emacs-lisp/smie.el (smie-auto-fill):
9866 * mail/sendmail.el (mail-bury):
9867 * mail/unrmail.el (unrmail):
9868 * net/tls.el (open-tls-stream):
9869 * textmodes/picture.el (picture-mouse-set-point):
9870 Remove unused bindings.
9871
9872 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
9873
9874 * net/tramp.el (tramp-action-password): Let-bind
9875 `enable-recursive-minibuffers' to t.
9876
9877 2012-04-18 Sam Steingold <sds@gnu.org>
9878
9879 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9880 instead of 'string to accommodate values like [f11].
9881 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9882 * progmodes/gdb-mi.el: Likewise.
9883
9884 2012-04-18 Leo Liu <sdl.web@gmail.com>
9885
9886 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9887 current buffer.
9888 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9889 LOCAL is nil.
9890
9891 2012-04-18 Chong Yidong <cyd@gnu.org>
9892
9893 * simple.el (line-move): Use forward-line if in batch mode
9894 (Bug#11053).
9895
9896 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9897
9898 * files.el (after-find-file): Do not try to add a final newline if
9899 the buffer is read-only (Bug#11156).
9900
9901 2012-04-17 Richard Stallman <rms@gnu.org>
9902
9903 * mail/rmail.el (rmail-start-mail):
9904 Pass (rmail-mail-return...) for the return-action.
9905 Pass (rmail-yank-current-message...) for the yank-action.
9906 (rmail-yank-current-message): New function.
9907 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9908 (rmail-reply): Likewise.
9909 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9910
9911 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9912 buffer, not the last. Reject temp buffers. Use the rmail-mode
9913 buffer, not newbuf.
9914
9915 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9916
9917 * server.el (server-ensure-safe-dir): Simplify.
9918
9919 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9920
9921 * emacs-lisp/smie.el: Provide smarter auto-filling.
9922 (smie-auto-fill): New function.
9923 (smie-setup): Use it.
9924
9925 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9926
9927 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9928
9929 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9930 (comment-indent): Use it.
9931
9932 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9933
9934 * ses.el: The overall change is to add cell renaming, that is
9935 setting fancy names for cell symbols other than name matching
9936 "\\`[A-Z]+[0-9]+\\'" regexp .
9937 (ses-localvars): Add ses--renamed-cell-symb-list.
9938 (ses-create-cell-variable): New defun.
9939 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9940 (ses-relocate-formula): Relocate formulas only for cells the
9941 symbols of which are not renamed, i.e. symbols whose names do not
9942 match regexp "\\`[A-Z]+[0-9]+\\'".
9943 (ses-relocate-all): Relocate values only for cells the symbols of
9944 which are not renamed.
9945 (ses-load): Create cells variables as the (ses-cell ...) are read,
9946 in order to check row col consistency with cell symbol name only
9947 for cells that are not renamed.
9948 (ses-replace-name-in-formula): New defun.
9949 (ses-rename-cell): New defun.
9950
9951 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9952
9953 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9954 New option (bug#11118).
9955 (perl-calculate-indent): Respect it.
9956
9957 2012-04-17 Glenn Morris <rgm@gnu.org>
9958
9959 * dired-aux.el (dired-mark-read-string): Doc fix.
9960
9961 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9962
9963 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9964 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9965
9966 2012-04-17 Glenn Morris <rgm@gnu.org>
9967
9968 * mouse.el (mouse-drag-track):
9969 * speedbar.el (speedbar-frame-mode):
9970 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9971
9972 2012-04-16 Leo Liu <sdl.web@gmail.com>
9973
9974 * progmodes/python.el: Trivial cleanup.
9975
9976 2012-04-16 Glenn Morris <rgm@gnu.org>
9977
9978 * vc/vc.el (vc-string-prefix-p):
9979 * vc/pcvs-util.el (cvs-string-prefix-p):
9980 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9981 * mpc.el (mpc-string-prefix-p):
9982 Make all of these into obsolete aliases for string-prefix-p.
9983 Update callers.
9984 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9985
9986 * textmodes/two-column.el: Move custom options to the start.
9987 (frame-width): Remove compat definition.
9988 (2C-associate-buffer, 2C-dissociate):
9989 Use with-current-buffer rather than save-excursion.
9990 (2C-dissociate): Force a mode-line update.
9991 (2C-autoscroll): Use ignore-errors.
9992
9993 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9994 Autoload trivia.
9995
9996 * emacs-lisp/cl-extra.el (*random-state*):
9997 Remove unnecessary declaration.
9998
9999 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10000
10001 * play/cookie1.el (cookie-snarf):
10002 Give an explicit error if input file cannot be read.
10003
10004 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10005
10006 * progmodes/perl-mode.el (c-macro-expand):
10007 Remove unnecessary autoload (it is in loaddefs.el).
10008
10009 * textmodes/picture.el (picture-desired-column)
10010 (picture-update-desired-column): Convert comments to doc-strings.
10011 (picture-substitute): Remove function.
10012 (picture-mode-map): Initialize in the defvar.
10013
10014 * woman.el: Remove eval-after-load for tar-mode.
10015 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10016 (woman-tar-extract-file): Autoload it.
10017
10018 * frame.el (automatic-hscrolling): Make this alias obsolete.
10019
10020 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10021
10022 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
10023 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
10024 (ispell-dictionary-base-alist): Revert to original XEmacs
10025 friendly version for default. [:alpha:] will be added in
10026 `ispell-set-spellchecker-params' if needed.
10027
10028 2012-04-16 Chong Yidong <cyd@gnu.org>
10029
10030 * image.el (imagemagick--file-regexp): New variable.
10031 (imagemagick-register-types): Use it.
10032 (imagemagick-types-inhibit): Add :set function. Allow new value
10033 of t to inhibit all types.
10034
10035 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10036 so we can preload it.
10037
10038 * loadup.el (fboundp): Preload regexp-opt, needed by
10039 imagemagick-register-types.
10040
10041 2012-04-15 Chong Yidong <cyd@gnu.org>
10042
10043 * frame.el (scrolling): Remove nearly unused customization group.
10044
10045 * scroll-all.el (scroll-all-mode): Move to windows group.
10046
10047 2012-04-15 Chong Yidong <cyd@gnu.org>
10048
10049 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10050
10051 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10052
10053 Avoid the use of ((lambda ...) ...) in lexical-binding code.
10054 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
10055
10056 2012-04-15 Glenn Morris <rgm@gnu.org>
10057
10058 * simple.el (process-file-side-effects): Doc fix.
10059
10060 2012-04-15 Glenn Morris <rgm@gnu.org>
10061
10062 * international/mule-cmds.el (set-language-environment): Doc fix.
10063
10064 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10065
10066 * server.el (server-auth-key, server-generate-key): Doc fixes.
10067 (server-get-auth-key): Doc fix. Use `string-match-p'.
10068 (server-start): Reflow docstring.
10069
10070 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10071
10072 * server.el (server-generate-key): `called-interactively-p'
10073 requires a parameter.
10074
10075 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
10076
10077 * server.el (server-auth-key): New variable.
10078 (server-generate-key, server-get-auth-key): New function.
10079 (server-start): Use the new variable and functions to allow
10080 setting a permanent server key (bug#9423).
10081
10082 2012-04-14 Leo Liu <sdl.web@gmail.com>
10083
10084 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10085
10086 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10087
10088 Spelling fixes.
10089 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10090 Emacs uses American spelling.
10091
10092 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10093
10094 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10095 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10096 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10097 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10098
10099 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10100
10101 * progmodes/which-func.el (which-func-modes): Change default.
10102
10103 2012-04-14 Kim F. Storm <storm@cua.dk>
10104
10105 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10106 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10107
10108 2012-04-14 Chong Yidong <cyd@gnu.org>
10109
10110 * custom.el (custom-theme-set-variables): Doc fix.
10111
10112 2012-04-14 Glenn Morris <rgm@gnu.org>
10113
10114 * international/mule.el (set-auto-coding-for-load): Doc fix.
10115
10116 2012-04-14 Alan Mackenzie <acm@muc.de>
10117
10118 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10119 imenu work again for Objective C Mode. Correct the *-index values,
10120 these having been disturbed by a previous change in 2011-08.
10121
10122 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10123 Correct two search limits.
10124
10125 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10128
10129 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
10130
10131 * international/characters.el: Fix sorting.
10132
10133 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10134
10135 * international/characters.el: Add more missing Latin case pairs.
10136
10137 2012-04-14 Glenn Morris <rgm@gnu.org>
10138
10139 * files.el (dir-locals-set-class-variables): Doc fix.
10140
10141 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10142
10143 * international/characters.el: Add set-case-syntax-pair call for
10144 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10145 counterpart. (Bug#11209)
10146
10147 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10148
10149 2012-04-14 Glenn Morris <rgm@gnu.org>
10150
10151 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10152
10153 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10154
10155 * textmodes/ispell.el (ispell-dictionary-base-alist):
10156 Add data for Hebrew.
10157
10158 2012-04-14 Chong Yidong <cyd@gnu.org>
10159
10160 * net/rcirc.el (rcirc-cmd-quit):
10161 Revert 2012-03-18 change (Bug#11192).
10162
10163 2012-04-14 Glenn Morris <rgm@gnu.org>
10164
10165 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10166
10167 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10168
10169 * minibuffer.el (completion-in-region-mode-map):
10170 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
10171
10172 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10173
10174 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10175
10176 2012-04-13 Masatake YAMATO <yamato@redhat.com>
10177
10178 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10179 to allow `C-M-f' and `C-M-b' to move to the nearest path
10180 separator (bug#9511).
10181
10182 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10183
10184 * avoid.el: Require cl when compiling. And also move the
10185 `provide' to the end.
10186
10187 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10188
10189 * avoid.el (mouse-avoidance-banish-position): New variable.
10190 (mouse-avoidance-banish-destination): Use it (bug#10165).
10191
10192 2012-04-13 Leo Liu <sdl.web@gmail.com>
10193
10194 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10195
10196 2012-04-13 Ken Brown <kbrown@cornell.edu>
10197
10198 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10199 this is no longer needed now that cygstart understands file:// URLs.
10200 (browse-url-filename-alist): For the same reason, don't modify
10201 file:// URLs on Cygwin.
10202
10203 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10204
10205 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10206 the region on shift if the binding is already shifted (bug#11221).
10207
10208 2012-04-12 Glenn Morris <rgm@gnu.org>
10209
10210 * mail/mailpost.el: Move to obsolete/.
10211
10212 2012-04-12 Drew Adams <drew.adams@oracle.com>
10213
10214 * imenu.el (imenu--generic-function): Ignore invisible definitions
10215 (bug#10123).
10216
10217 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10218
10219 * hexl.el (hexl-bits): New variable.
10220 (hexl-options): Mention the variable in the doc string.
10221 (hexl-rulerise, hexl-line-displen): New functions.
10222 (hexl-mode): Mention the new variable.
10223 (hexl-mode, hexl-current-address, hexl-current-address):
10224 Use the displen.
10225 (hexl-ascii-start-column): New function.
10226 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10227 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10228
10229 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10230
10231 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10232 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10233 the encoding, as expected by hunspell.
10234
10235 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10236
10237 * battery.el (battery--linux-sysfs-regexp): New const.
10238 (battery-status-function): Use it. Remove yeeloong special case.
10239 (battery-yeeloong-sysfs): Remove.
10240 (battery-echo-area-format): Remove yeeloong special case.
10241
10242 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10243
10244 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10245 Reported by Noah Friedman.
10246
10247 * subr.el (read-passwd): Use read-string.
10248
10249 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10250
10251 * vcursor.el (vcursor-move): Increase the priority of the overlay
10252 (bug#9663).
10253
10254 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10255
10256 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10257 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10258
10259 2012-04-11 William Stevenson <yhvh2000@gmail.com>
10260
10261 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10262 define-minor-mode (bug#10760).
10263
10264 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10265
10266 * progmodes/grep.el (rgrep): Tweak the find command line so
10267 that directories matching `grep-find-ignored-files' won't be
10268 pruned (bug#10351).
10269
10270 2012-04-11 Chong Yidong <cyd@gnu.org>
10271
10272 * startup.el (command-line): Remove support for long-obsolete
10273 variable font-lock-face-attributes.
10274
10275 2012-04-11 Glenn Morris <rgm@gnu.org>
10276
10277 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10278
10279 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * window.el (window--state-get-1): Obey window-point-insertion-type.
10282
10283 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10284
10285 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10286 to previous function when point is on the first character of a
10287 function. Take care of that in `narrow-to-defun' (bug#6157).
10288
10289 2012-04-11 Glenn Morris <rgm@gnu.org>
10290
10291 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10292 not just file-errors.
10293
10294 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10295 (vc-bzr-sha1): Use internal sha1.
10296
10297 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10298
10299 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10300
10301 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10302
10303 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10304 that start in the middle of the line (bug#10496).
10305
10306 2012-04-10 Dan Nicolaescu <dann@gnu.org>
10307
10308 * battery.el (battery-linux-proc-acpi): Only one battery is
10309 discharged at a time, but that seems to confuse battery.el when
10310 computing `rate-type' for the battery not being discharged
10311 (bug#10332).
10312
10313 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10314
10315 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10316
10317 * international/quail.el: Use dolist and simplify.
10318 (quail-define-package, quail-update-keyboard-layout)
10319 (quail-define-rules): Use dolist.
10320 (quail-insert-kbd-layout, quail-get-translation): CSE.
10321
10322 * tmm.el: Use dolist, remove left over hook.
10323 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10324 Use dolist.
10325 (calendar-load-hook): Don't mess with it.
10326
10327 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10328 Use derived-mode-p. Run the diff asynchronously.
10329
10330 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10331
10332 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10333
10334 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
10335
10336 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10337 (list-dynamic-libraries--loaded): New function.
10338 (list-dynamic-libraries--refresh): Use it.
10339
10340 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
10341
10342 * progmodes/python.el (python-fill-paragraph):
10343 Make python-fill-region in a multiline string work when font-lock is
10344 disabled (bug#7018).
10345
10346 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10347
10348 * language/european.el (cp775): Add oem/legacy (en)coding on
10349 DOS/MS Windows for the Baltic languages. There are still plenty
10350 of texts written in this encoding/codepage (bug#6519).
10351
10352 2012-04-10 Glenn Morris <rgm@gnu.org>
10353
10354 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10355 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10356
10357 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10358
10359 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10360 next-line "n" and previous-line "p" in order to make recentf more
10361 consistent with ibuffer, dired or org-mode (bug#9387).
10362
10363 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10364
10365 * image.el (put-image): Return the overlay created instead of the
10366 optional input string (bug#7834). Note that this may break code
10367 that is (for some reason or other) depending on `put-image'
10368 returning the string.
10369
10370 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10371
10372 * simple.el (zap-to-char): Allow zapping using input methods
10373 (bug#1580).
10374
10375 * textmodes/fill.el (fill-region): Leave point and mark where they
10376 were before filling (bug#5399).
10377
10378 2012-04-09 Glenn Morris <rgm@gnu.org>
10379
10380 * version.el (emacs-bzr-get-version):
10381 Handle lightweight checkouts of local branches.
10382
10383 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10384
10385 * international/characters.el: Recover lost case pairs. (Bug#11209)
10386
10387 2012-04-09 Chong Yidong <cyd@gnu.org>
10388
10389 * custom.el (custom-variable-p): Return nil for non-symbol
10390 arguments instead of signaling an error.
10391 (user-variable-p): Obsolete alias for custom-variable-p.
10392
10393 * apropos.el (apropos-variable):
10394 * files-x.el (read-file-local-variable):
10395 * simple.el (set-variable):
10396 * woman.el (woman-mini-help):
10397 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10398
10399 2012-04-09 Glenn Morris <rgm@gnu.org>
10400
10401 * startup.el (normal-top-level): Don't look for leim-list.el
10402 in places where it will not be found. (Bug#910)
10403
10404 * international/mule-cmds.el (set-default-coding-systems):
10405 * files.el (normal-mode):
10406 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10407 This function was removed with ucs-tables.el in 2008.
10408
10409 2012-04-08 Eli Zaretskii <eliz@gnu.org>
10410
10411 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10412 ispell-encoding8-command to "-i", without a trailing space.
10413 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10414 separate command-line arguments, to specify the encoding, since
10415 that's how hunspell expects it.
10416
10417 2012-04-08 Glenn Morris <rgm@gnu.org>
10418
10419 * loadup.el: Load bindings before cus-start.
10420 This reduces somewhat the number of "rogue" settings in emacs -Q.
10421
10422 2012-04-07 Glenn Morris <rgm@gnu.org>
10423
10424 * version.el (emacs-bzr-get-version): New function.
10425 (emacs-bzr-version): New variable.
10426 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10427 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10428
10429 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10430
10431 * international/uni-bidi.el, international/uni-category.el:
10432 * international/uni-combining.el, international/uni-decimal.el:
10433 * international/uni-decomposition.el, international/uni-digit.el:
10434 * international/uni-lowercase.el, international/uni-mirrored.el:
10435 * international/uni-name.el, international/uni-numeric.el:
10436 * international/uni-titlecase.el, international/uni-uppercase.el:
10437 Update for Unicode 6.1.
10438
10439 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10440
10441 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10442
10443 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10444
10445 * window.el (shrink-window): Mention the `window-min-height'
10446 variable in the doc string.
10447
10448 2012-04-05 Bastien Guerry <bzg@altern.org>
10449
10450 * color.el (color-lighten-name): Fix typo.
10451
10452 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10453
10454 * server.el (server--on-display-p): New function.
10455 (server--on-display-p): Use it.
10456
10457 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10458
10459 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10460 (bug#11145).
10461
10462 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10463
10464 * comint.el (comint--common-quoted-suffix): Check string boundary
10465 before comparing (bug#11158).
10466 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10467
10468 2012-04-04 Chong Yidong <cyd@gnu.org>
10469
10470 * minibuffer.el (completion-extra-properties): Doc fix.
10471
10472 * subr.el (delayed-warnings-hook): Doc fix.
10473
10474 2012-04-04 Daiki Ueno <ueno@unixuser.org>
10475
10476 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10477 selection (Bug#11159).
10478 (epa-insert-keys): Inform that the default public key will be
10479 exported if no key is selected.
10480
10481 2012-04-04 Richard Stallman <rms@gnu.org>
10482
10483 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10484
10485 2012-04-03 Chong Yidong <cyd@gnu.org>
10486
10487 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10488 mail-insert-file, not its obsolete alias mail-attach-file.
10489
10490 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
10491
10492 * notifications.el (notifications-notify): Fix docstring.
10493
10494 2012-04-02 Glenn Morris <rgm@gnu.org>
10495
10496 * emacs-lisp/authors.el (authors-aliases): Another addition.
10497
10498 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
10499
10500 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10501 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10502 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10503
10504 2012-04-01 Chong Yidong <cyd@gnu.org>
10505
10506 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10507 Handle root directory properly.
10508 (copy-directory): Caller changed.
10509
10510 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10511 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10512
10513 2012-03-31 Glenn Morris <rgm@gnu.org>
10514
10515 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10516
10517 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10518
10519 * calendar/calendar.el (calendar-window-list)
10520 (calendar-hide-window): Restore. (Bug#11140)
10521 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10522
10523 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10524
10525 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10526
10527 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10528 Check if file is a symlink (Bug#10489).
10529
10530 * files.el (copy-directory): Likewise.
10531
10532 2012-03-30 Chong Yidong <cyd@gnu.org>
10533
10534 * image.el (imagemagick-types-inhibit)
10535 (imagemagick-register-types): Doc fix.
10536
10537 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10538
10539 * textmodes/ispell.el (ispell-get-extended-character-mode):
10540 Disable extended-char-mode for hunspell. hunspell does not support it
10541 and treats ~word as ordinary words in pipe mode.
10542
10543 2012-03-30 Glenn Morris <rgm@gnu.org>
10544
10545 * tutorial.el (help-with-tutorial): Ensure local variables don't
10546 happen to make the buffer read-only. (Bug#11127)
10547
10548 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10551 (perl-calculate-indent): Return `noindent' in strings.
10552
10553 2012-03-28 Sam Steingold <sds@gnu.org>
10554
10555 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10556 instead of the broken adhockery which does not prevent calendar
10557 buffers from being displayed at random after exit.
10558 (calendar-window-list, calendar-hide-window): Remove the broken
10559 adhockery.
10560
10561 2012-03-28 Glenn Morris <rgm@gnu.org>
10562
10563 * replace.el (query-replace-map): Doc fix.
10564
10565 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10566
10567 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10568 contents. (Bug#11109)
10569
10570 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10571
10572 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10573 (bug#11077).
10574 (avl-tree--check, avl-tree--check-node): New funs.
10575
10576 2012-03-27 Martin Rudalics <rudalics@gmx.at>
10577
10578 * window.el (switch-to-visible-buffer): New option.
10579 (switch-to-prev-buffer, switch-to-next-buffer):
10580 Observe switch-to-visible-buffer. Make sure that checking for a window
10581 showing a buffer already is done on the same frame.
10582
10583 2012-03-27 Glenn Morris <rgm@gnu.org>
10584
10585 * startup.el (mail-host-address): Doc fix.
10586
10587 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10588
10589 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10590 than 197 variables.
10591
10592 2012-03-26 Ami Fischman <ami@fischman.org>
10593
10594 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10595
10596 2012-03-26 Glenn Morris <rgm@gnu.org>
10597
10598 * files.el (save-buffers-kill-emacs): Doc fix.
10599
10600 * startup.el (normal-top-level, command-line, command-line-1):
10601 Give them doc strings.
10602
10603 2012-03-25 Eli Zaretskii <eliz@gnu.org>
10604
10605 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10606 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10607
10608 2012-03-25 Chong Yidong <cyd@gnu.org>
10609
10610 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10611 theme if it was previously enabled before (Bug#11031).
10612
10613 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10614 spec with custom-face-get-current-spec if its :shown-value is not
10615 determined yet (Bug#9337).
10616 (customize-create-theme, custom-theme-revert): Doc fixes.
10617
10618 * button.el (button-at): Minor addition to docstring.
10619
10620 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
10621
10622 * vc/vc.el (vc-merge): Fix a prompt.
10623
10624 2012-03-24 Chong Yidong <cyd@gnu.org>
10625
10626 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10627 point (Bug#9623).
10628
10629 * button.el (button-at): Minor addition to docstring.
10630
10631 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10632
10633 * newcomment.el (comment-choose-indent): No space after BOL.
10634
10635 2012-03-22 Sam Steingold <sds@gnu.org>
10636
10637 * window.el (switch-to-prev-buffer): Revert last patch because the
10638 bug turned out to be an advertised feature (Elisp manual 28.14).
10639
10640 2012-03-22 Glenn Morris <rgm@gnu.org>
10641
10642 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10643 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10644
10645 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10646
10647 * net/network-stream.el (network-stream-open-starttls): Make error
10648 message under Windows be less misleading.
10649
10650 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10651
10652 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10653 understands (bug#9942).
10654
10655 2012-03-22 Chong Yidong <cyd@gnu.org>
10656
10657 * simple.el (end-of-visible-line): Handle return value of
10658 next-single-property-change properly (Bug#9371).
10659
10660 2012-03-22 Kenichi Handa <handa@m17n.org>
10661
10662 * international/quail.el (quail-insert-kbd-layout): Fix previous
10663 change. To avoid unwanted bidi reordering, use
10664 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10665
10666 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10667
10668 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10669 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10670 (ruby-beginning-of-indent): Be more careful with the difference
10671 between word-boundary and symbol boundary.
10672 (ruby-mode-syntax-table): Make : a symbol constituent.
10673
10674 2012-03-21 Andreas Politz <politza@fh-trier.de>
10675
10676 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10677
10678 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * progmodes/etags.el (tags-completion-at-point-function):
10681 Improve last fix.
10682
10683 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10684
10685 2012-03-21 Sam Steingold <sds@gnu.org>
10686
10687 * progmodes/etags.el (tags-completion-at-point-function):
10688 Avoid the error when point is inside the pattern.
10689
10690 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10691
10692 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10693 line (Bug#10855).
10694
10695 2012-03-21 Drew Adams <drew.adams@oracle.com>
10696
10697 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10698
10699 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10700
10701 * ido.el (ido-set-current-directory, ido-read-internal)
10702 (ido-choose-completion-string, ido-completion-help): Handle nil
10703 value of ido-completion-buffer (Bug#11008).
10704
10705 2012-03-21 Sam Steingold <sds@gnu.org>
10706
10707 * window.el (switch-to-prev-buffer): Do not switch to a visible
10708 window previous buffer, just like with the frame previous buffers.
10709
10710 2012-03-21 Chong Yidong <cyd@gnu.org>
10711
10712 * faces.el (make-face, make-empty-face, copy-face):
10713 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10714 Doc fixes.
10715
10716 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10717
10718 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10719 (widget-complete): Remove broken use of it.
10720
10721 2012-03-20 Chong Yidong <cyd@gnu.org>
10722
10723 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10724 Use string-width and truncate-string-width to handle arbitrary
10725 characters.
10726
10727 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10728
10729 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10730 to draw rectangles, not squares. (Regression introduced by revno
10731 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10732
10733 2012-03-18 Chong Yidong <cyd@gnu.org>
10734
10735 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10736 it is not yet defined (for temacs).
10737
10738 2012-03-18 Leo Liu <sdl.web@gmail.com>
10739
10740 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10741 prefix.
10742
10743 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10744
10745 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10746 (ispell-choices-win-default-height, ispell-silently-savep)
10747 (ispell-dictionary-alist, ispell-encoding8-command)
10748 (ispell-check-version, ispell-aspell-find-dictionary)
10749 (ispell-valid-dictionary-list, ispell-words-keyword)
10750 (ispell-get-word, ispell-internal-change-dictionary)
10751 (ispell-region, ispell-skip-region-list)
10752 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10753 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10754 (ispell-message-text-end, ispell-message)
10755 (ispell-buffer-local-parsing): Doc fix.
10756
10757 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
10758
10759 * htmlfontify.el: Add support for code block fontification for ODT
10760 export (Bug #9914).
10761 (hfy-optimisations): Define new option
10762 `body-text-only'
10763 (hfy-fontify-buffer): Honor above setting.
10764 (hfy-begin-span, hfy-end-span): New routines factored out form
10765 `hfy-fontify-buffer'.
10766 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10767 that permit insertion of custom tags.
10768 (hfy-fontify-buffer): Use above handlers.
10769 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10770 (hfy-face-to-css): Re-defined to be a variable.
10771 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
10772 over multiple runs. This is made possible by having the caller let
10773 bind a special variable `hfy-user-sheet-assoc'.
10774 (htmlfontify-string): New defun.
10775 (hfy-compile-face-map): Make sure that the last char in the
10776 buffer is correctly fontified.
10777 (hfy-face-resolve-face): Whitespace only change.
10778
10779 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10780
10781 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10782 message more clear.
10783
10784 2012-03-16 Leo Liu <sdl.web@gmail.com>
10785
10786 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10787
10788 2012-03-16 Alan Mackenzie <acm@muc.de>
10789
10790 Further optimise the handling of large macros.
10791
10792 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10793 limit to a call of `c-literal-limits'.
10794 (c-determine-+ve-limit): New function.
10795 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10796 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10797 In CASE 5B, restrict a search limit to 500.
10798 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10799
10800 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10801 Restrict macro bounds to +-500 from after-change's BEG END.
10802
10803 2012-03-16 Leo Liu <sdl.web@gmail.com>
10804
10805 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10806
10807 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10808
10809 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10810 `special-mode' setting of `buffer-read-only'. (Bug#11010)
10811
10812 2012-03-16 Glenn Morris <rgm@gnu.org>
10813
10814 * view.el (view-buffer, view-buffer-other-window)
10815 (view-buffer-other-frame): Doc fixes re special mode-class.
10816
10817 * subr.el (eval-after-load): If named feature is provided not from
10818 a file, run after-load forms. (Bug#10946)
10819
10820 * calendar/calendar.el (calendar-insert-at-column):
10821 Handle non-unit-width characters a bit better. (Bug#10978)
10822
10823 2012-03-15 Chong Yidong <cyd@gnu.org>
10824
10825 * emacs-lisp/ring.el (ring-extend): New function.
10826 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10827
10828 * comint.el (comint-read-input-ring)
10829 (comint-add-to-input-history): Grow comint-input-ring lazily.
10830
10831 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10832
10833 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10834 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10835
10836 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10837 (imenu-add-to-menubar): Don't add a redundant index.
10838 (imenu-update-menubar): Handle a dynamically composed keymap.
10839
10840 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10841
10842 * mail/sendmail.el (mail-encode-header):
10843 Bind rfc2047-encode-encoded-words to nil.
10844
10845 2012-03-13 Glenn Morris <rgm@gnu.org>
10846
10847 * calendar/calendar.el (calendar-string-spread):
10848 Handle non-unit-width characters a bit better. (Bug#10978)
10849
10850 2012-03-13 Leo Liu <sdl.web@gmail.com>
10851
10852 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10853 directory and file as argument (Bug#10822).
10854
10855 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10856
10857 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10858 For dynamically generated code, follow $PC.
10859 (gdb-disassembly-handler-custom): Handle no function name case.
10860
10861 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10862
10863 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10864 * emulation/ws-mode.el (ws-query-replace):
10865 * sort.el (sort-regexp-fields):
10866 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10867
10868 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10869
10870 * dabbrev.el: Fix cycle completion order (bug#10963).
10871 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10872 (dabbrev-completion): Don't use an obarray; provide
10873 a cycle-sort-function.
10874
10875 2012-03-12 Leo Liu <sdl.web@gmail.com>
10876
10877 * simple.el (kill-new): Use equal-including-properties for comparison.
10878 (kill-do-not-save-duplicates): Doc fix.
10879
10880 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * dabbrev.el: Fix cycle completion (bug#10963).
10883 Use lexical binding and wrap to 80 columns.
10884 (dabbrev-completion): Delay computing the list of completions.
10885
10886 2012-03-12 Kenichi Handa <handa@m17n.org>
10887
10888 * international/quail.el (quail-insert-kbd-layout): Surround each
10889 row by LRO and PDF instead of inserting many LRMs. Pad the left
10890 and right of each non-spacing marks. Insert invisible space
10891 between lower and upper characters to prevent composition.
10892
10893 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10894
10895 * minibuffer.el (minibuffer-complete): Don't get confused when the
10896 function is run twice via different commands (bug#10958).
10897 (complete-with-action): Fix docstring.
10898
10899 2012-03-12 Chong Yidong <cyd@gnu.org>
10900
10901 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10902 (nxml-completion-at-point-function): New function.
10903 (nxml-mode): Use it.
10904 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10905
10906 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10907 Load generated autoloads file before byte compiling (Bug#10970).
10908 (package--make-autoloads-and-compile): New helper fun.
10909
10910 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10911
10912 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10913
10914 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10915
10916 * autorevert.el (auto-revert-handler): Ensure, that
10917 file-readable-p is applied only for local files or in
10918 auto-revert-tail-mode.
10919
10920 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10921
10922 * server.el (server-eval-at): Handle non-tcp connections.
10923 Decode result string.
10924
10925 * server.el (server-msg-size): New constant.
10926 (server-reply-print): New function.
10927 (server-eval-and-print): Use it.
10928 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10929 Handle -print-nonl.
10930
10931 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10932
10933 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10934 (Bug#10987).
10935
10936 2012-03-11 Chong Yidong <cyd@gnu.org>
10937
10938 * simple.el (goto-line): Doc fix (Bug#9938).
10939
10940 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10941
10942 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10943 when finished (Bug#10963).
10944
10945 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10946
10947 * window.el (split-window-below): Fix bug in case where
10948 split-window-keep-point is nil (Bug#10971).
10949
10950 2012-03-11 Juri Linkov <juri@jurta.org>
10951
10952 * replace.el (replace-highlight): Set isearch-word to nil
10953 unconditionally. (Bug#10887)
10954
10955 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10956
10957 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10958 mairix-replace-illegal-chars; all callers changed. Don't remove
10959 ^, ~, and = characters: they are meaningful in mairix search specs.
10960 (mairix-widget-create-query): Add usage information about mairix
10961 search forms: negating words, searching for substrings, etc.
10962
10963 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10964
10965 * international/fontset.el (font-encoding-alist): Add an entry for
10966 ksx1001 (Bug#5667).
10967
10968 2012-03-10 Richard Stallman <rms@gnu.org>
10969
10970 * mail/sendmail.el (mail-encode-header):
10971 Set rfc2047-encode-encoded-words.
10972
10973 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10974
10975 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10976 view buffer means not swapped.
10977 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10978 (rmail-write-region-annotate): Error if real text has disappeared.
10979
10980 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10981
10982 2012-03-10 Chong Yidong <cyd@gnu.org>
10983
10984 * emulation/cua-rect.el (cua--init-rectangles):
10985 * emulation/cua-base.el (cua--init-keymaps):
10986 Add delete-forward-char to remappings (Bug#9666).
10987
10988 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10989
10990 * speedbar.el (speedbar-unhighlight-one-tag-line):
10991 Avoid unhighlighting due to frame switching (Bug#10275).
10992
10993 2012-03-10 Chong Yidong <cyd@gnu.org>
10994
10995 * minibuffer.el (completion-in-region, completion-help-at-point):
10996 Give the completion field overlay a high priority (Bug#6830).
10997
10998 * dired.el (dired-goto-file): Recognize absolute file name
10999 listings (Bug#7126).
11000 (dired-goto-file-1): New helper function.
11001 (dired-toggle-read-only): Inhibit warnings.
11002
11003 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
11004
11005 * net/dbus.el (dbus-property-handler): Return empty array if
11006 there are no properties.
11007
11008 2012-03-09 Leo Liu <sdl.web@gmail.com>
11009
11010 * savehist.el (savehist-printable): Stricter check for string
11011 value (Bug#10937).
11012
11013 2012-03-09 Eli Zaretskii <eliz@gnu.org>
11014
11015 * mail/smtpmail.el (smtpmail-send-it):
11016 Bind coding-system-for-write to *-unix, so that FCC files are kept in
11017 valid mbox format.
11018
11019 2012-03-09 Glenn Morris <rgm@gnu.org>
11020
11021 * files.el (dir-locals-find-file):
11022 Don't check result is regular, readable.
11023 (dir-locals-read-from-file): Demote errors.
11024
11025 2012-03-08 Eli Zaretskii <eliz@gnu.org>
11026
11027 * international/quail.el (quail-insert-kbd-layout):
11028 Insert invisible LRM characters before each character in a keyboard
11029 layout cell, to prevent their reordering by bidi display engine.
11030 For details, see the discussion in
11031 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11032
11033 2012-03-08 Alan Mackenzie <acm@muc.de>
11034
11035 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11036 the starting position; make it extend the marked region when
11037 invoked repeatedly - all under appropriate circumstances.
11038 Fixes bugs #5525, #10906.
11039
11040 2012-03-08 Glenn Morris <rgm@gnu.org>
11041
11042 * files.el (locate-dominating-file, dir-locals-find-file):
11043 Undo 2012-03-06 change.
11044
11045 2012-03-07 Eli Zaretskii <eliz@gnu.org>
11046
11047 * international/quail.el (quail-help):
11048 Force bidi-paragraph-direction be left-to-right. See discussion in
11049 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11050 for the reason.
11051
11052 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
11053
11054 Avoid superfluous registering of signals. (Bug#10807)
11055
11056 * notifications.el (notifications-on-action-object)
11057 (notifications-on-close-object): New defvars.
11058 (notifications-on-action-signal, notifications-on-closed-signal):
11059 Unregister the signal if not needed any longer.
11060 (notifications-notify): Register `notifications-action-signal' or
11061 `notifications-closed-signal', if :on-action or :on-close has been
11062 passed as argument.
11063
11064 2012-03-07 Chong Yidong <cyd@gnu.org>
11065
11066 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11067 non-X platforms.
11068
11069 2012-03-06 Glenn Morris <rgm@gnu.org>
11070
11071 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11072 (x-disown-selection-internal, x-get-selection-internal):
11073 Doc fix (add arglist signatures). (Bug#10783)
11074
11075 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11076
11077 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11078 Handle breakpoints with no "type".
11079
11080 2012-03-06 Glenn Morris <rgm@gnu.org>
11081
11082 * files.el (locate-dominating-file): Add optional predicate argument.
11083 (dir-locals-find-file): Make use of above change.
11084
11085 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11086
11087 * info.el (Info-insert-dir): Also try "dir.gz".
11088
11089 2012-03-06 Glenn Morris <rgm@gnu.org>
11090
11091 * files.el (dir-locals-find-file):
11092 Ignore non-readable or non-regular files. (Bug#10928)
11093
11094 * files.el (locate-dominating-file): Doc fix.
11095
11096 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11097
11098 * calendar/calendar.el (calendar-set-mode-line):
11099 `getenv' returns a string. (Bug#10951)
11100
11101 2012-03-05 Leo Liu <sdl.web@gmail.com>
11102
11103 * simple.el (backward-delete-char-untabify): Constrain point to
11104 field (Bug#10939).
11105
11106 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11107
11108 2012-03-05 Chong Yidong <cyd@gnu.org>
11109
11110 * simple.el (count-words): If called from Lisp, return the word
11111 count, for symmetry with `count-lines'. Arglist changed.
11112 (count-words--message): Args changed. Consolidate counting code
11113 from count-words and count-words-region.
11114 (count-words-region): Caller changed.
11115 (count-lines-region): Make it an obsolete alias.
11116
11117 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11118
11119 * saveplace.el (save-place-to-alist)
11120 (save-place-ignore-files-regexp): Allow value nil to disable this
11121 feature.
11122
11123 2012-03-04 Chong Yidong <cyd@gnu.org>
11124
11125 * faces.el (face-spec-reset-face): For the default face, reset the
11126 attributes to default values (Bug#10748).
11127
11128 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11129
11130 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11131 previous patch: Check `message-send-mail-function', and not the
11132 default function (bug#10897).
11133
11134 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
11135
11136 * notifications.el (notifications-on-action-signal)
11137 (notifications-on-closed-signal): Check for unique service name of
11138 incoming event. Fix error in removing entry.
11139 (top): Register for signals with wildcard service name.
11140 (notifications-notify): Use daemon unique service name for map entries.
11141
11142 2012-03-04 Chong Yidong <cyd@gnu.org>
11143
11144 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11145
11146 2012-03-04 Glenn Morris <rgm@gnu.org>
11147
11148 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11149 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11150 (expand-abbrev, define-abbrev-table): Doc fixes.
11151
11152 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11153
11154 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11155 `message-default-send-mail-function' and not `send-mail-function'
11156 when doing the prompting for `sendmail-query-once' before sending
11157 in Message buffers (bug#10897).
11158
11159 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11160 This is inconsistent with all the other stream functions, which leave
11161 the setting up to the higher levels (if so wanted) (bug#10931).
11162
11163 2012-03-02 Alan Mackenzie <acm@muc.de>
11164
11165 Depessimize the handling of very large macros.
11166
11167 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11168 (c-macro-cache-syntactic): New variables to implement a one
11169 element macro cache.
11170 (c-invalidate-macro-cache): New function.
11171 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11172 Adapt to use the new cache.
11173 (c-state-safe-place): Use better the cache of safe positions.
11174 (c-state-semi-nonlit-pos-cache)
11175 (c-state-semi-nonlit-pos-cache-limit):
11176 New variables for...
11177 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11178 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11179 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11180 Use c-state-semi-safe-place.
11181
11182 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11183 Add c-invalidate-macro-cache to the C, C++, Obj entries.
11184
11185 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
11186
11187 * jka-compr.el (jka-compr-call-process):
11188 Apply `file-accessible-directory-p' only when the default directory is
11189 not remote.
11190
11191 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
11192
11193 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11194 access of FILE2, if FILE1 does not exist.
11195
11196 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11197 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11198
11199 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11200 Add "PAGER=" to `process-environment'.
11201
11202 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11203
11204 * progmodes/sql.el: Bug fix
11205 (sql-get-login-ext): Save login values in globals.
11206 (sql-get-login): Use new version of `sql-get-login-ext'.
11207 (sql-interactive-mode): Set global `sql-connection' to nil.
11208 (sql-connect): Set global values for connection.
11209 (sql-product-interactive): Save global values as buffer local.
11210
11211 2012-02-29 Leo Liu <sdl.web@gmail.com>
11212
11213 * abbrev.el (define-abbrevs): Reset sys to nil.
11214
11215 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11216
11217 * files.el (file-equal-p): Rename from `files-equal-p'.
11218 Return nil when one or both files don't exist.
11219 (file-subdir-of-p): Now only top directory must exists,
11220 return nil if it doesn't.
11221 (copy-directory): No need to test with `file-subdir-of-p' after
11222 creating dir.
11223 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11224 to `file-equal-p'.
11225
11226 2012-02-28 Glenn Morris <rgm@gnu.org>
11227
11228 * shell.el (shell-mode):
11229 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11230 * play/landmark.el (landmark-font-lock-face-O):
11231 * play/handwrite.el (handwrite):
11232 * play/gomoku.el (gomoku-O):
11233 * net/browse-url.el (browse-url-browser-display):
11234 * international/mule.el (define-charset):
11235 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11236 * filesets.el (filesets-find-file-delay):
11237 * eshell/em-xtra.el (eshell-xtra):
11238 * eshell/em-unix.el (eshell-grep):
11239 * emulation/viper.el (viper-mode):
11240 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11241 * emacs-lisp/easymenu.el (easy-menu-define):
11242 * calendar/timeclock.el (timeclock-use-display-time):
11243 * bs.el (bs-mode):
11244 * bookmark.el (bookmark-save-flag):
11245 Doc fix (standardize possessive apostrophe usage).
11246
11247 2012-02-27 Chong Yidong <cyd@gnu.org>
11248
11249 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11250 Fix key-binding lookup for ESC key (Bug#9146).
11251
11252 * font-lock.el (font-lock-specified-p): Rename from
11253 font-lock-spec-present. Callers changed.
11254
11255 2012-02-27 Daniel Hackney <dan@haxney.org>
11256
11257 * emacs-lisp/package.el (package-compute-transaction):
11258 Handle holding a package version to t in package-load-list.
11259
11260 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
11261
11262 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11263 (tramp-get-inode, tramp-get-device): Use cached values.
11264
11265 2012-02-26 Alan Mackenzie <acm@muc.de>
11266
11267 Check there is a font-lock specification before doing initial
11268 fontification.
11269
11270 * font-core.el (font-lock-mode): Move the conditional from
11271 :after-hook to font-lock-initial-fontify.
11272 (font-lock-default-function): Move the check for a specification
11273 to font-lock-spec-present.
11274
11275 * font-lock.el (font-lock-initial-fontify): Call ...
11276 (font-lock-spec-present): New function.
11277
11278 2012-02-26 Jim Blandy <jimb@red-bean.com>
11279
11280 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11281 (gdb-send): Apply it to the operand of the '-interpreter-exec
11282 console' command, so that we can pass arguments with (say) quotes
11283 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11284
11285 2012-02-26 Chong Yidong <cyd@gnu.org>
11286
11287 * help-fns.el (describe-function-1): Clarify description of
11288 remapping (Bug#10844).
11289
11290 * files.el (files-equal-p): Doc fix.
11291 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11292 and quit the loop once a mismatch is found.
11293
11294 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
11295
11296 * bs.el (bs--show-with-configuration): Don't throw an error
11297 if the window cannot be split; otherwise, subsequent calls to
11298 bs-show fail, restoring a stale window config. (Bug#10882)
11299
11300 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11301
11302 * term/ns-win.el (global-map): Bind ns-drag-file to
11303 ns-find-file (Bug#5855, Bug#10050).
11304
11305 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11306
11307 * calendar/parse-time.el (parse-time-string): Allow extractor to
11308 return nil.
11309
11310 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
11311
11312 * net/tramp.el (tramp-file-name-for-operation):
11313 Add `files-equal-p' and `file-subdir-of-p'.
11314
11315 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11316 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11317 Add COPY-CONTENTS argument.
11318
11319 2012-02-25 Chong Yidong <cyd@gnu.org>
11320
11321 Add custom groups for VC backends, for consistency with vc-bzr.
11322
11323 * vc/vc-arch.el (vc-arch):
11324 * vc/vc-cvs.el (vc-cvs):
11325 * vc/vc-git.el (vc-git):
11326 * vc/vc-hg.el (vc-hg):
11327 * vc/vc-mtn.el (vc-mtn):
11328 * vc/vc-rcs.el (vc-rcs):
11329 * vc/vc-sccs.el (vc-sccs):
11330 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11331 All relevant defcustoms reassigned.
11332
11333 2012-02-25 Chong Yidong <cyd@gnu.org>
11334
11335 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11336
11337 * term/x-win.el (x-initialize-window-system): Reduce default for
11338 x-selection-timeout to 5 seconds (Bug#8869).
11339
11340 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11341
11342 * files.el (files-equal-p, file-subdir-of-p): New functions.
11343 (copy-directory): Error when trying to copy a directory on itself.
11344 Add missing copy-contents arg to tramp handler.
11345 * dired-aux.el (dired-copy-file-recursive): Same.
11346 (dired-create-files): Modify destination when source is equal to
11347 dest when copying files.
11348 Return also when dest is a subdir of source. (Bug#10489)
11349
11350 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
11351
11352 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11353 (Bug#10874)
11354
11355 2012-02-23 Alan Mackenzie <acm@muc.de>
11356
11357 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11358 parameter "after-hook:" to allow the expansion to run code after
11359 the execution of the mode hooks.
11360
11361 * font-lock.el (font-lock-initial-fontify): New function extracted
11362 from font-lock-mode-internal.
11363
11364 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11365 :after-hook.
11366
11367 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11368
11369 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11370 (completion--cache-all-sorted-completions): New function.
11371 (completion-all-sorted-completions): Use it.
11372 (completion--do-completion, minibuffer-force-complete):
11373 Use it to re-instate the flush hook.
11374
11375 * icomplete.el (icomplete-completions): Replace last fix with a better
11376 one (bug#10850).
11377
11378 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11379
11380 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11381 when it might call us back infinitely (bug#10797).
11382
11383 2012-02-23 Glenn Morris <rgm@gnu.org>
11384
11385 * minibuffer.el (completion-category-overrides): Doc fix.
11386
11387 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11388
11389 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11390 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11391
11392 2012-02-23 Glenn Morris <rgm@gnu.org>
11393
11394 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11395 (authors-obsolete-files-regexps, authors-ignored-files)
11396 (authors-ambiguous-files, authors-renamed-files-alist):
11397 Add more entries.
11398
11399 2012-02-23 Juri Linkov <juri@jurta.org>
11400
11401 * isearch.el (isearch-occur): Sync interactive spec with occur's
11402 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11403
11404 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11405
11406 2012-02-22 Juri Linkov <juri@jurta.org>
11407
11408 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11409 (ucs-insert): Doc fix. Check for hex digits in the string.
11410 Don't display `nil' in the error message. (Bug#10857)
11411
11412 2012-02-22 Alan Mackenzie <acm@muc.de>
11413
11414 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11415
11416 2012-02-22 Glenn Morris <rgm@gnu.org>
11417
11418 * ffap.el (ffap-c-path):
11419 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11420
11421 2012-02-22 Chong Yidong <cyd@gnu.org>
11422
11423 * custom.el (load-theme): Doc fix.
11424
11425 2012-02-22 Glenn Morris <rgm@gnu.org>
11426
11427 * dired-x.el (dired-guess-shell-alist-default):
11428 Remove escape sequences from nroff output. (Bug#172)
11429
11430 2012-02-21 Glenn Morris <rgm@gnu.org>
11431
11432 * vc/emerge.el (emerge-defvar-local):
11433 Set `permanent-local' property rather than unused `preserved'.
11434
11435 * textmodes/picture.el (picture-delete-char): New alias.
11436 (picture-mode-map): Use it. (Bug#10860)
11437 (picture-mode): Doc fix.
11438
11439 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
11440
11441 * newcomment.el (uncomment-region-default): Remove unused binding.
11442
11443 2012-02-21 Glenn Morris <rgm@gnu.org>
11444
11445 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11446 (picture-self-insert, picture-tab-chars): Doc fix.
11447 (picture-mode-map): Fix C-a, C-e.
11448
11449 2012-02-20 Glenn Morris <rgm@gnu.org>
11450
11451 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11452
11453 2012-02-20 Leo Liu <sdl.web@gmail.com>
11454
11455 * icomplete.el (icomplete-completions): Check FROM arg before
11456 passing to substring (Bug#10850).
11457
11458 2012-02-19 Chong Yidong <cyd@gnu.org>
11459
11460 * comint.el: Require ansi-color.
11461 (comint-output-filter-functions): Add ansi-color-process-output.
11462
11463 * ansi-color.el: Don't set comint-output-filter-functions; it is
11464 now in the initial value defined in comint.el.
11465 (ansi-color-apply-face-function): New variable.
11466 (ansi-color-apply-on-region): Use it.
11467 (ansi-color-apply-overlay-face): New function.
11468
11469 * shell.el (shell): No need to require ansi-color.
11470 (shell-mode): Use ansi-color-apply-face-function to highlight
11471 color escapes using font-lock-face property (Bug#10835).
11472
11473 2012-02-19 Chong Yidong <cyd@gnu.org>
11474
11475 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11476 mode-line formats (Bug#10839).
11477
11478 2012-02-18 Glenn Morris <rgm@gnu.org>
11479
11480 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11481
11482 * mail/undigest.el (unforward-rmail-message): Doc fix.
11483
11484 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11485
11486 2012-02-18 Eli Zaretskii <eliz@gnu.org>
11487
11488 * international/characters.el (script-list): Sync with the latest
11489 Unicode Character Database.
11490
11491 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11492
11493 * international/titdic-cnv.el: Remove duplicate coding tag.
11494 * language/cham.el: Likewise.
11495 * language/tai-viet.el: Likewise.
11496
11497 2012-02-18 Glenn Morris <rgm@gnu.org>
11498
11499 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11500 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11501 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11502 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11503 * calendar/holidays.el (holiday-bahai-holidays)
11504 (calendar-holidays, list-holidays):
11505 Use utf-8 Bahá'í in doc-strings, menus, etc.
11506
11507 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11508
11509 * saveplace.el (save-place-ignore-files-regexp): New variable
11510 allowing for excluding files from saving their location of point.
11511 The default value matches the temporary commit message editing
11512 files from Git, SVN, Bazaar, and Mercurial.
11513 (save-place-to-alist): Use it.
11514
11515 2012-02-17 Lawrence Mitchell <wence@gmx.li>
11516 Stefan Monnier <monnier@iro.umontreal.ca>
11517
11518 * newcomment.el (uncomment-region-default): Don't leave extra space
11519 when an arg is provided (bug#8150).
11520
11521 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11522
11523 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11524
11525 2012-02-17 Glenn Morris <rgm@gnu.org>
11526
11527 * net/socks.el: Require network-stream. (Bug#10599)
11528
11529 2012-02-17 Kenichi Handa <handa@m17n.org>
11530
11531 * international/charprop.el:
11532 * international/uni-name.el:
11533 * international/uni-old-name.el:
11534 * international/uni-comment.el: Regenerate.
11535
11536 2012-02-16 Glenn Morris <rgm@gnu.org>
11537
11538 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11539 Interactively in calendar buffer, give an error if not on a date.
11540
11541 2012-02-15 Glenn Morris <rgm@gnu.org>
11542
11543 * shell.el (shell-delimiter-argument-list):
11544 Revert 2011-02-17 change. (Bug#8027)
11545
11546 2012-02-15 Chong Yidong <cyd@gnu.org>
11547
11548 * minibuffer.el (completion-at-point-functions): Doc fix.
11549
11550 * custom.el (defcustom): Doc fix; note use of defvar.
11551
11552 2012-02-15 Glenn Morris <rgm@gnu.org>
11553
11554 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11555 Doc fixes.
11556
11557 2012-02-14 Glenn Morris <rgm@gnu.org>
11558
11559 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11560
11561 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11562
11563 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11564 way the ports list is computed.
11565 (smtpmail-query-smtp-server): Prompt the user for a port number if
11566 we can't connect to any of the standard ports (bug#10810).
11567
11568 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11569
11570 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11571
11572 2012-02-13 Glenn Morris <rgm@gnu.org>
11573
11574 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11575
11576 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11577
11578 * net/gnutls.el (gnutls-trustfiles): New variable.
11579 (gnutls-negotiate): Use it.
11580
11581 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11582
11583 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11584 does its stuff if Gnus is running.
11585
11586 2012-02-13 Alan Mackenzie <acm@muc.de>
11587
11588 Fix a loop in c-set-fl-decl-start.
11589
11590 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11591 c-backward-syntactic-ws actually moves backwards.
11592
11593 2012-02-13 Leo Liu <sdl.web@gmail.com>
11594
11595 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11596 beginning so that all \C-o chars are removed.
11597
11598 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11599
11600 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11601
11602 2012-02-12 Alan Mackenzie <acm@muc.de>
11603
11604 Fix infinite loop with long macros.
11605 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11606
11607 2012-02-12 Chong Yidong <cyd@gnu.org>
11608
11609 * window.el (display-buffer): Doc fix (Bug#10785).
11610
11611 2012-02-12 Glenn Morris <rgm@gnu.org>
11612
11613 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11614 (x-disown-selection-internal, x-get-selection-internal):
11615 Sync docs with the xselect.c versions.
11616
11617 * allout-widgets.el: Add missing license notice.
11618
11619 2012-02-11 Glenn Morris <rgm@gnu.org>
11620
11621 * select.el (x-get-selection-internal, x-own-selection-internal)
11622 (x-disown-selection-internal):
11623 * x-dnd.el (x-get-selection-internal): Update declarations.
11624
11625 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11626
11627 * window.el (window-sides-slots):
11628 * tool-bar.el (tool-bar-position):
11629 * term/xterm.el (xterm-extra-capabilities):
11630 * ses.el (ses-self-reference-early-detection):
11631 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11632 (verilog-auto-wire-type)
11633 (verilog-auto-delete-trailing-whitespace)
11634 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11635 (verilog-auto-tieoff-declaration):
11636 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11637 (sql-oracle-statement-starters, sql-oracle-scan-on):
11638 * progmodes/prolog.el (prolog-align-comments-flag)
11639 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11640 (prolog-left-indent-regexp, prolog-paren-indent-p)
11641 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11642 (prolog-types, prolog-mode-specificators)
11643 (prolog-determinism-specificators, prolog-directives)
11644 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11645 (prolog-electric-dot-flag)
11646 (prolog-electric-dot-full-predicate-template)
11647 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11648 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11649 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11650 (prolog-program-switches, prolog-prompt-regexp)
11651 (prolog-debug-on-string, prolog-debug-off-string)
11652 (prolog-trace-on-string, prolog-trace-off-string)
11653 (prolog-zip-on-string, prolog-zip-off-string)
11654 (prolog-use-standard-consult-compile-method-flag)
11655 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11656 (prolog-imenu-max-lines, prolog-info-predicate-index)
11657 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11658 (prolog-char-quote-workaround):
11659 * progmodes/cc-vars.el (c-defun-tactic):
11660 * net/tramp.el (tramp-encoding-command-interactive)
11661 (tramp-local-end-of-line):
11662 * net/soap-client.el (soap-client):
11663 * net/netrc.el (netrc-file):
11664 * net/gnutls.el (gnutls):
11665 * minibuffer.el (completion-category-overrides)
11666 (completion-cycle-threshold)
11667 (completion-pcm-complete-word-inserts-delimiters):
11668 * man.el (Man-name-local-regexp):
11669 * mail/feedmail.el (feedmail-display-full-frame):
11670 * international/characters.el (glyphless-char-display-control):
11671 * eshell/em-ls.el (eshell-ls-date-format):
11672 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11673 (lisp-lambda-list-keyword-parameter-indentation)
11674 (lisp-lambda-list-keyword-parameter-alignment):
11675 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11676 * dired-x.el (dired-omit-verbose):
11677 * cus-theme.el (custom-theme-allow-multiple-selections):
11678 * calc/calc.el (calc-highlight-selections-with-faces)
11679 (calc-lu-field-reference, calc-lu-power-reference)
11680 (calc-note-threshold):
11681 * battery.el (battery-mode-line-limit):
11682 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11683 (archive-7z-update):
11684 * allout.el (allout-prefixed-keybindings)
11685 (allout-unprefixed-keybindings)
11686 (allout-inhibit-auto-fill-on-headline)
11687 (allout-flattened-numbering-abbreviation):
11688 * allout-widgets.el (allout-widgets-auto-activation)
11689 (allout-widgets-icons-dark-subdir)
11690 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11691 (allout-widgets-theme-dark-background)
11692 (allout-widgets-theme-light-background)
11693 (allout-widgets-item-image-properties-emacs)
11694 (allout-widgets-item-image-properties-xemacs)
11695 (allout-widgets-run-unit-tests-on-load)
11696 (allout-widgets-time-decoration-activity)
11697 (allout-widgets-hook-error-post-time)
11698 (allout-widgets-track-decoration):
11699 Add missing :version tags to new defcustoms and defgroups.
11700
11701 * progmodes/sql.el (sql-ansi-statement-starters)
11702 (sql-oracle-statement-starters): Add custom type.
11703
11704 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11705 (prolog-system-version): Give it a type.
11706
11707 2012-02-11 Eli Zaretskii <eliz@gnu.org>
11708
11709 * term/pc-win.el (x-select-text, x-selection-owner-p)
11710 (x-own-selection-internal, x-disown-selection-internal)
11711 (x-get-selection-internal): Sync doc strings and argument lists
11712 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11713
11714 2012-02-11 Leo Liu <sdl.web@gmail.com>
11715
11716 * progmodes/python.el (python-end-of-statement): Fix infinite
11717 loop. (Bug#10788)
11718
11719 2012-02-10 Glenn Morris <rgm@gnu.org>
11720
11721 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11722 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11723
11724 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11725
11726 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11727 about SMTP before checking the From header.
11728
11729 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11730 into own function for reuse by emacsbug.el.
11731
11732 2012-02-10 Leo Liu <sdl.web@gmail.com>
11733
11734 * subr.el (condition-case-unless-debug): Rename from
11735 condition-case-no-debug. All callers changed.
11736 (with-demoted-errors): Fix caller.
11737
11738 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11739 * nxml/rng-valid.el (rng-do-some-validation):
11740 * emacs-lisp/package.el (package-refresh-contents)
11741 (package-menu-execute):
11742 * desktop.el (desktop-create-buffer):
11743 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11744
11745 2012-02-10 Glenn Morris <rgm@gnu.org>
11746
11747 * textmodes/bibtex.el:
11748 Add missing :version tags for new/changed defcustoms.
11749
11750 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11751
11752 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
11753
11754 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11755 (smtpmail-via-smtp): Use it, or fall back on the From address.
11756 (smtpmail-send-it): Ditto.
11757
11758 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11759
11760 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11761 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11762 (byte-compile-tmp-var): New const.
11763 (byte-compile-defvar): Use it to minimize .elc size.
11764 Just use `defvar' rather than simulate it (bug#10761).
11765
11766 2012-02-09 Glenn Morris <rgm@gnu.org>
11767
11768 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11769
11770 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11771 Add :version tags.
11772
11773 * progmodes/compile.el (compilation-error-screen-columns)
11774 (compilation-first-column, compilation-filter-start): Doc fixes.
11775
11776 * vc/log-view.el (log-view-toggle-entry-display):
11777 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11778
11779 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11780 (report-emacs-bug-can-use-xdg-email):
11781 (report-emacs-bug-insert-to-mailer): Doc fixes.
11782 (report-emacs-bug): Message fix.
11783
11784 * net/browse-url.el (browse-url-can-use-xdg-open)
11785 (browse-url-xdg-open): Doc fixes.
11786
11787 * electric.el (electric-indent-mode, electric-pair-mode)
11788 (electric-layout-rules, electric-layout-mode): Doc fixes.
11789 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11790
11791 2012-02-08 Martin Rudalics <rudalics@gmx.at>
11792
11793 * server.el (server-unselect-display): Don't inadvertently kill
11794 the current buffer. (Bug#10729)
11795
11796 2012-02-08 Glenn Morris <rgm@gnu.org>
11797
11798 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11799 (sql-list-table): Doc fixes.
11800
11801 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11802 Comment out (does nothing).
11803
11804 * completion.el (dynamic-completion-mode):
11805 * dirtrack.el (dirtrack-debug-mode):
11806 * electric.el (electric-layout-mode):
11807 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11808 * face-remap.el (text-scale-mode, buffer-face-mode):
11809 * iimage.el (iimage-mode):
11810 * image-mode.el (image-transform-mode):
11811 * minibuffer.el (completion-in-region-mode):
11812 * scroll-lock.el (scroll-lock-mode):
11813 * simple.el (next-error-follow-minor-mode):
11814 * tar-mode.el (tar-subfile-mode):
11815 * tooltip.el (tooltip-mode):
11816 * vcursor.el (vcursor-use-vcursor-map):
11817 * wid-browse.el (widget-minor-mode):
11818 * emulation/tpu-edt.el (tpu-edt-mode):
11819 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11820 * international/iso-ascii.el (iso-ascii-mode):
11821 * language/thai-util.el (thai-word-mode):
11822 * mail/supercite.el (sc-minor-mode):
11823 * net/goto-addr.el (goto-address-mode):
11824 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11825 * progmodes/cwarn.el (cwarn-mode):
11826 * progmodes/flymake.el (flymake-mode):
11827 * progmodes/glasses.el (glasses-mode):
11828 * progmodes/hideshow.el (hs-minor-mode):
11829 * progmodes/pascal.el (pascal-outline-mode):
11830 * textmodes/enriched.el (enriched-mode):
11831 * vc/smerge-mode.el (smerge-mode):
11832 Doc fixes (minor mode argument).
11833
11834 2012-02-07 Eli Zaretskii <eliz@gnu.org>
11835
11836 * ls-lisp.el (ls-lisp-sanitize): New function.
11837 (ls-lisp-insert-directory): Use it to fix or remove any elements
11838 in file-alist with missing attributes. (Bug#4673)
11839
11840 2012-02-07 Alan Mackenzie <acm@muc.de>
11841
11842 Fix spurious recognition of c-in-knr-argdecl.
11843
11844 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11845 putative K&R region.
11846
11847 2012-02-07 Alan Mackenzie <acm@muc.de>
11848
11849 * progmodes/cc-engine.el (c-forward-objc-directive):
11850 Prevent looping in "#pragma mark @implementation".
11851
11852 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
11853
11854 * notifications.el (notifications-on-closed-signal): Make `reason'
11855 optional. (Bug#10744)
11856
11857 2012-02-07 Glenn Morris <rgm@gnu.org>
11858
11859 * emacs-lisp/easy-mmode.el (define-minor-mode):
11860 Doc fixes for the macro and the mode it defines.
11861
11862 * image.el (imagemagick-types-inhibit): Doc fix.
11863
11864 * cus-start.el (imagemagick-render-type): Add it.
11865
11866 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11867
11868 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11869 Set the default at load time, too, so that `font-lock-fontify-buffer'
11870 can be called without setting up the entire mode first. This fixes
11871 a bug in `mm-inline-text' with C MIME parts.
11872
11873 2012-02-06 Chong Yidong <cyd@gnu.org>
11874
11875 * simple.el (list-processes--refresh): Delete exited processes
11876 (Bug#8094).
11877
11878 * comint.el (comint-next-prompt): next-single-char-property-change
11879 and prev-single-char-property-change never return nil (Bug#8657).
11880
11881 * custom.el (defcustom): Doc fix (Bug#9711).
11882
11883 2012-02-05 Chong Yidong <cyd@gnu.org>
11884
11885 * cus-edit.el (custom-variable-reset-backup): Quote the value
11886 before storing it in the customized-value property (Bug#6712).
11887 (custom-display): Add a customization type tag.
11888 (custom-buffer-create-internal): Improve tooltip message.
11889
11890 * wid-edit.el (widget-field-value-get): New optional arg to
11891 suppress trailing whitespace truncation.
11892 (character): Use it (Bug#2689).
11893
11894 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11895
11896 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11897 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11898
11899 2012-02-05 Chong Yidong <cyd@gnu.org>
11900
11901 * cus-edit.el (custom-variable-value-create): For mismatched
11902 types, show the current value (Bug#7600).
11903
11904 * custom.el (defcustom): Doc fix.
11905
11906 2012-02-05 Glenn Morris <rgm@gnu.org>
11907
11908 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11909
11910 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11911
11912 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11913 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11914 (pp-last-sexp): Use `looking-at-p'.
11915
11916 2012-02-04 Glenn Morris <rgm@gnu.org>
11917
11918 * files.el (revert-buffer):
11919 Doc fix (mention revert-buffer-in-progress-p).
11920
11921 * emacs-lisp/ert-x.el (ert-simulate-command):
11922 Check deferred-action-list (which is obsolete) is bound.
11923
11924 * subr.el (with-wrapper-hook): Doc fixes.
11925
11926 * simple.el (filter-buffer-substring-functions)
11927 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11928
11929 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11930
11931 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11932 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11933
11934 2012-02-04 Leo Liu <sdl.web@gmail.com>
11935
11936 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11937
11938 2012-02-04 Glenn Morris <rgm@gnu.org>
11939
11940 * image.el (image-extension-data): Add obsolete alias.
11941
11942 * isearch.el (isearch-update): Doc fix.
11943
11944 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11945
11946 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11947
11948 2012-02-03 Glenn Morris <rgm@gnu.org>
11949
11950 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11951 (image-animate-timeout): Doc fix.
11952
11953 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11954
11955 2012-02-02 Glenn Morris <rgm@gnu.org>
11956
11957 * server.el (server-auth-dir): Doc fix.
11958 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11959
11960 * subr.el (run-mode-hooks): Doc fix.
11961
11962 2012-02-02 Juri Linkov <juri@jurta.org>
11963
11964 * image-mode.el (image-toggle-display-image): Remove tautological
11965 `major-mode' from the `derived-mode-p' test.
11966
11967 2012-02-02 Kenichi Handa <handa@m17n.org>
11968
11969 * composite.el (compose-region): Cancel previous change.
11970
11971 2012-02-02 Kenichi Handa <handa@m17n.org>
11972
11973 * composite.el (compose-region, compose-string): Signal error for
11974 a null string component (Bug#6988).
11975
11976 2012-02-01 Chong Yidong <cyd@gnu.org>
11977
11978 * view.el (view-buffer-other-window, view-buffer-other-frame):
11979 Handle special modes like view-buffer (Bug#10650).
11980 (view-buffer): Simplify.
11981
11982 * frame.el (set-frame-font): Tweak meaning of third argument.
11983
11984 * dynamic-setting.el (font-setting-change-default-font):
11985 Use set-frame-font (Bug#9982).
11986
11987 2012-02-01 Glenn Morris <rgm@gnu.org>
11988
11989 * progmodes/compile.el (compilation-internal-error-properties):
11990 Respect compilation-first-column in the "*compilation*" buffer.
11991
11992 * emacs-lisp/easy-mmode.el (define-minor-mode):
11993 Relax :variable's test for a named function.
11994
11995 2012-01-31 Alan Mackenzie <acm@muc.de>
11996
11997 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11998 off by one error.
11999
12000 2012-01-31 Chong Yidong <cyd@gnu.org>
12001
12002 * frame.el (set-frame-font): New arg ALL-FRAMES.
12003
12004 * menu-bar.el (menu-set-font): Use set-frame-font.
12005
12006 * faces.el (face-spec-reset-face): Don't apply unspecified
12007 attribute values to the default face.
12008
12009 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
12010
12011 * progmodes/cwarn.el (cwarn): Remove dead link.
12012 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12013 Remove * from defcustom docstrings.
12014 (turn-on-cwarn-mode): Make obsolete.
12015 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12016 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12017
12018 2012-01-31 Glenn Morris <rgm@gnu.org>
12019
12020 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
12021 Fix :variable handling of mode a symbol not equal to modefun.
12022 Allow named functions to be used as the cdr of :variable.
12023
12024 2012-01-30 Glenn Morris <rgm@gnu.org>
12025
12026 * emacs-lisp/authors.el (authors-fixed-entries):
12027 Remove reference to deleted file rnewspost.el.
12028
12029 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
12030
12031 * window.el (window-with-parameter): Remove unused variable `windows'.
12032 (window--side-check): Remove unused variable `code'.
12033 (window--resize-siblings): Remove unused variable `first'.
12034 (adjust-window-trailing-edge): Remove unused variable `failed'.
12035 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12036 Use `let', not `let*'.
12037 (balance-windows-2): Remove unused variable `found'.
12038 (window--state-put-2): Remove unused variable `splits'.
12039 (window-state-put): Remove unused variable `selected'.
12040 (same-window-p): Use `string-match-p'.
12041 (display-buffer-assq-regexp): Remove unused variable `value'.
12042 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12043 Mark argument ALIST as ignored.
12044 (pop-to-buffer): Remove unused variable `old-window'.
12045
12046 2012-01-29 Eli Zaretskii <eliz@gnu.org>
12047
12048 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12049 and .lzma compressed files.
12050
12051 2012-01-29 Chong Yidong <cyd@gnu.org>
12052
12053 * frame.el (window-system-default-frame-alist): Doc fix.
12054
12055 * dynamic-setting.el (font-setting-change-default-font): Don't
12056 change the default face if SET-FONT argument is non-nil (Bug#9982).
12057
12058 2012-01-29 Samuel Bronson <naesten@gmail.com>
12059
12060 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12061
12062 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
12063
12064 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12065 breakpoints in files outside current directory (Bug#6098).
12066
12067 2012-01-29 Chong Yidong <cyd@gnu.org>
12068
12069 * progmodes/python.el: Require ansi-color at top-level.
12070
12071 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12072 Define and use in Emacs Lisp mode (Bug#9360).
12073 (lisp-mode-abbrev-table): Add doc.
12074 (lisp-mode-variables): Don't set local-abbrev-table.
12075 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12076
12077 2012-01-28 Roland Winkler <winkler@gnu.org>
12078
12079 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12080
12081 2012-01-28 Roland Winkler <winkler@gnu.org>
12082
12083 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12084 (bibtex-set-dialect): Use it. Either set global values of
12085 dialect-dependent variables or bind these variables buffer-locally
12086 (Bug#10254).
12087 (bibtex-mode): Call bibtex-set-dialect via
12088 hack-local-variables-hook.
12089 (bibtex-dialect): Update docstring.
12090 Add safe-local-variable predicate.
12091 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12092 bibtex-set-dialect.
12093 (bibtex-mode-map): Define menu for each dialect.
12094 (bibtex-entry): Fix docstring.
12095
12096 2012-01-28 Chong Yidong <cyd@gnu.org>
12097
12098 * eshell/esh-arg.el (eshell-quote-argument): New function.
12099
12100 * eshell/esh-ext.el (eshell-invoke-batch-file):
12101 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12102 first arg to eshell-parse-command (Bug#10523).
12103
12104 2012-01-28 Drew Adams <drew.adams@oracle.com>
12105
12106 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12107 `default-directory' is non-nil.
12108
12109 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12110
12111 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12112 line that displays system-configuration-options. (Bug#9924)
12113
12114 2012-01-28 Drew Adams <drew.adams@oracle.com>
12115
12116 * descr-text.el (describe-char): Show information about POS, in
12117 addition to information about the character at POS. Improve and
12118 update the doc string. Change "code point" to "code point in
12119 charset", to avoid confusion with the character's Unicode code
12120 point shown above that. (Bug#10129)
12121
12122 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12123
12124 * descr-text.el (describe-char): Show the raw character, not only
12125 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12126 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12127 for the reasons.
12128
12129 2012-01-28 Phil Hagelberg <phil@hagelb.org>
12130
12131 * emacs-lisp/package.el (package-install):
12132 Run package-refresh-contents if there is no archive yet (Bug#9798).
12133
12134 2012-01-28 Chong Yidong <cyd@gnu.org>
12135
12136 * emacs-lisp/package.el (package-maybe-load-descriptor):
12137 New function, split from package-maybe-load-descriptor.
12138 (package-maybe-load-descriptor): Use it.
12139 (package-download-transaction): Fully load required packages
12140 inside the loop, so that `require' calls work (Bug#10593).
12141 (package-install): No need to call package-initialize now.
12142
12143 2012-01-28 Chong Yidong <cyd@gnu.org>
12144
12145 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12146
12147 * tooltip.el (tooltip-mode): Doc fix.
12148 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12149
12150 * frame.el (set-cursor-color): Doc fix (Bug#352).
12151
12152 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12153 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12154
12155 * cus-edit.el (custom-buffer-create-internal): Fix search button
12156 action (Bug#10542).
12157 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12158
12159 2012-01-27 Eduard Wiebe <usenet@pusto.de>
12160
12161 * dired.el (dired-mark-files-regexp):
12162 Include any subdirectory components. (Bug#10445)
12163
12164 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12165
12166 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12167 Handle [host]:port syntax. (Bug#10533)
12168
12169 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
12170
12171 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12172
12173 2012-01-26 Glenn Morris <rgm@gnu.org>
12174
12175 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12176 * term.el (term-raw-escape-map): Use Control-X-prefix.
12177 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12178
12179 2012-01-25 Martin Rudalics <rudalics@gmx.at>
12180
12181 * window.el (window-state-get, window--state-get-1): Don't deal
12182 with fixed-sizeness of windows. Simplify code.
12183
12184 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12185
12186 * window.el (window--state-get-1, window--state-put-2):
12187 Don't save and restore the mark.
12188
12189 2012-01-25 Chong Yidong <cyd@gnu.org>
12190
12191 * custom.el (custom-variable-p): Doc fix.
12192
12193 2012-01-25 Glenn Morris <rgm@gnu.org>
12194
12195 * dired.el (dired-goto-file): Handle some of the more common
12196 characters that `ls -b' escapes. (Bug#10596)
12197
12198 * progmodes/compile.el (compilation-next-error-function):
12199 Respect compilation-first-column in the "*compilation*" buffer.
12200 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12201
12202 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12203
12204 2012-01-24 Glenn Morris <rgm@gnu.org>
12205
12206 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12207
12208 2012-01-24 Julien Danjou <julien@danjou.info>
12209
12210 * color.el (color-rgb-to-hsl): Fix value computing.
12211 (color-hue-to-rgb): New function.
12212 (color-hsl-to-rgb): New function.
12213 (color-clamp, color-saturate-hsl, color-saturate-name)
12214 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12215 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12216
12217 2012-01-24 Glenn Morris <rgm@gnu.org>
12218
12219 * vc/vc-rcs.el (vc-rcs-create-tag):
12220 * vc/vc-sccs.el (vc-sccs-create-tag):
12221 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12222
12223 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12224
12225 * eshell/esh-util.el (eshell-read-hosts-file):
12226 Skip comment lines. (Bug#10549)
12227
12228 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12229
12230 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
12231
12232 * subr.el (display-delayed-warnings): Doc fix.
12233 (collapse-delayed-warnings): New function to collapse identical
12234 adjacent warnings.
12235 (delayed-warnings-hook): Add it.
12236
12237 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
12238
12239 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12240
12241 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12242 (tramp-default-user-alist): Don't add "pscp".
12243 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12244 property "login-as", if set. (Bug#10530)
12245
12246 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
12247
12248 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12249 "plink1" and "psftp". (Bug#10530)
12250
12251 2012-01-21 Kenichi Handa <handa@m17n.org>
12252
12253 * international/mule-cmds.el (prefer-coding-system): Show a
12254 warning message if the default value of file-name-coding-system
12255 was not changed.
12256
12257 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12258
12259 * windmove.el (windmove-reference-loc):
12260 Fix windmove-reference-loc miscalculation.
12261
12262 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12263
12264 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12265 default unit.
12266
12267 2012-01-21 Glenn Morris <rgm@gnu.org>
12268
12269 * international/mule.el (auto-coding-alist): Add .tbz.
12270
12271 * files.el (local-enable-local-variables): Doc fix.
12272 (inhibit-local-variables-regexps): Rename from
12273 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12274 Doc fix. Add some extensions from auto-coding-alist.
12275 (inhibit-local-variables-suffixes):
12276 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12277 (inhibit-local-variables-p):
12278 New function, extracted from set-auto-mode-1.
12279 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12280 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12281 (hack-local-variables): Doc fix. Make the mode-only case
12282 respect enable-local-variables and friends.
12283 Respect inhibit-local-variables-regexps for file-locals, but
12284 not for directory-locals.
12285 (set-visited-file-name):
12286 Take account of inhibit-local-variables-regexps.
12287 Whether it applies may change as the file name is changed.
12288 * jka-cmpr-hook.el (jka-compr-install):
12289 * jka-compr.el (jka-compr-uninstall):
12290 Update for inhibit-first-line-modes-suffixes name change.
12291
12292 2012-01-20 Martin Rudalics <rudalics@gmx.at>
12293
12294 * help-macro.el (make-help-screen): Temporarily restore original
12295 binding for minor-mode-map-alist (Bug#10454).
12296
12297 2012-01-19 Julien Danjou <julien@danjou.info>
12298
12299 * color.el (color-name-to-rgb): Use the white color to find the max
12300 color component value and return correctly computed values.
12301 (color-name-to-rgb): Add missing float conversion for max value.
12302
12303 2012-01-19 Martin Rudalics <rudalics@gmx.at>
12304
12305 * window.el (window--state-get-1, window-state-get): Do not use
12306 special state value for window-persistent-parameters.
12307 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
12308 (window--state-put-2): Reset all window parameters to nil before
12309 assigning values of persistent parameters.
12310
12311 2012-01-18 Alan Mackenzie <acm@muc.de>
12312
12313 Eliminate sluggishness and hangs in fontification of "semicolon
12314 deserts".
12315
12316 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12317 Change value 10000 -> 3000.
12318 (c-state-safe-place): Reformulate so it doesn't stack up an
12319 infinite number of wrong entries in c-state-nonlit-pos-cache.
12320 (c-determine-limit-get-base, c-determine-limit): New functions to
12321 determine backward search limits disregarding literals.
12322 (c-find-decl-spots): Amend commenting.
12323 (c-cheap-inside-bracelist-p): New function which detects "={".
12324
12325 * progmodes/cc-fonts.el
12326 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12327 backward search.
12328 (c-font-lock-declarations): Fix an occurrence of point being
12329 undefined. Check additionally for point being in a bracelist or
12330 near a macro invocation without a semicolon so as to avoid a
12331 fruitless time consuming search for a declarator. Give a more
12332 precise search limit for declarators using the new
12333 c-determine-limit.
12334
12335 2012-01-18 Glenn Morris <rgm@gnu.org>
12336
12337 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12338 (set-auto-mode): Doc fixes.
12339
12340 2012-01-17 Glenn Morris <rgm@gnu.org>
12341
12342 * isearch.el (search-nonincremental-instead): Fix doc typo.
12343
12344 * dired.el (dired-insert-directory): Handle newlines in directory name.
12345 (dired-build-subdir-alist): Unescape newlines in directory name.
12346
12347 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
12348
12349 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12350 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12351 (tramp-action-terminal): Use it. (Bug#10530)
12352
12353 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12354
12355 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12356
12357 2012-01-16 Martin Rudalics <rudalics@gmx.at>
12358
12359 * window.el (window-state-ignored-parameters): Remove variable.
12360 (window--state-get-1): Rename argument MARKERS to IGNORE.
12361 Handle persistent window parameters. Make copy of clone-of
12362 parameter only if requested. (Bug#10348)
12363 (window--state-put-2): Install a window parameter only if it has
12364 a non-nil value or an existing parameter shall be overwritten.
12365
12366 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
12367
12368 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12369
12370 2012-01-14 Eli Zaretskii <eliz@gnu.org>
12371
12372 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12373 don't pass the (nil) value of `upnode' to string-match.
12374
12375 2012-01-14 Chong Yidong <cyd@gnu.org>
12376
12377 * startup.el (command-line): Fix X resource class for cursorColor.
12378 Fix values recognized by the cursorBlink resource.
12379
12380 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12381
12382 * epg.el (epg--make-temp-file): Avoid permission race condition
12383 when running on old Emacs versions (bug#10403).
12384
12385 2012-01-14 Glenn Morris <rgm@gnu.org>
12386
12387 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12388
12389 2012-01-13 Alan Mackenzie <acm@muc.de>
12390
12391 Fix filling for when filladapt mode is enabled.
12392
12393 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12394 c-mask-paragraph, pass in `fill-paragraph' rather than
12395 `fill-region-as-paragraph'. (This is a reversion of a previous
12396 change.)
12397 * progmodes/cc-mode.el (c-basic-common-init):
12398 Make fill-paragraph-handle-comment buffer local and set it to nil.
12399
12400 2012-01-13 Glenn Morris <rgm@gnu.org>
12401
12402 * dired.el (dired-switches-escape-p): New function.
12403 (dired-insert-directory): Use dired-switches-escape-p.
12404 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12405
12406 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12407
12408 2012-01-12 Glenn Morris <rgm@gnu.org>
12409
12410 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12411 changes in adaptive-fill-regexp. (Bug#10276)
12412
12413 2012-01-11 Alan Mackenzie <acm@muc.de>
12414
12415 Fix Emacs bug #10463 - put `widen's around the critical spots.
12416
12417 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12418 widen around each invocation of c-state-pp-to-literal. Remove an
12419 unused let variable.
12420
12421 2012-01-11 Glenn Morris <rgm@gnu.org>
12422
12423 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
12424 Doc fix.
12425
12426 2012-01-10 Chong Yidong <cyd@gnu.org>
12427
12428 * net/network-stream.el (network-stream-open-starttls):
12429 Avoid emitting a confusing error message when the server gives a bad
12430 response to the capability command.
12431
12432 2012-01-10 Glenn Morris <rgm@gnu.org>
12433
12434 * mail/unrmail.el (unrmail): Tweak previous change.
12435
12436 2012-01-09 Chong Yidong <cyd@gnu.org>
12437
12438 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12439
12440 2012-01-08 Alan Mackenzie <acm@muc.de>
12441
12442 Optimise font locking in long enum definitions.
12443
12444 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12445 arm to a cond form to handle enums.
12446 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12447 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12448
12449 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
12450
12451 * files.el (move-file-to-trash): Preserve default file modes on error.
12452 (Bug#10401)
12453
12454 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12455
12456 * faces.el (set-face-attribute): Clarify the meaning of the nil
12457 frame (bug#10294).
12458
12459 * subr.el (with-selected-frame): Mention that the selected frame
12460 is restored (bug#9980).
12461
12462 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12463 (bug#9759).
12464
12465 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12466 (password-read): Don't autoload unused function.
12467
12468 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
12469
12470 * progmodes/which-func.el (which-func-mode): Turn into a
12471 non-interactive function and mark as obsolete (bug#10428).
12472
12473 2012-01-06 Chong Yidong <cyd@gnu.org>
12474
12475 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12476 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12477 functions, along with 1 and -1.
12478
12479 2012-01-06 Eli Zaretskii <eliz@gnu.org>
12480
12481 * time.el (display-time-load-average)
12482 (display-time-default-load-average): Doc fixes. See the thread
12483 starting at
12484 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12485 for the details.
12486
12487 2012-01-06 Glenn Morris <rgm@gnu.org>
12488
12489 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12490 has no messages. (Bug#10377)
12491
12492 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12493 than Info-edit. (Bug#10385)
12494
12495 * time.el (display-time-load-average, display-time-next-load-average):
12496 Doc fixes.
12497
12498 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12499 local setting of buffer-read-only to the input buffer. (Bug#10419)
12500
12501 * calendar/calendar.el (calendar-mode):
12502 Locally set scroll-margin to 0. (Bug#10379)
12503
12504 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
12505
12506 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12507
12508 2012-01-05 Glenn Morris <rgm@gnu.org>
12509
12510 * eshell/em-unix.el (diff-no-select): Autoload it.
12511 (eshell/diff): Use diff-no-select. (Bug#10420)
12512
12513 2012-01-05 Chong Yidong <cyd@gnu.org>
12514
12515 * shell.el (shell-dynamic-complete-functions): Revert last change.
12516 (shell-command-completion-function): New function.
12517 (shell-completion-vars): Use it to implement
12518 shell-completion-execonly (Bug#10417).
12519
12520 * custom.el (enable-theme): Don't set custom-safe-themes.
12521
12522 * cus-theme.el (custom-theme-merge-theme):
12523 Ignore custom-enabled-themes and custom-safe-themes.
12524
12525 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12526
12527 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12528 first prompt in `sql-interacive-mode'.
12529 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12530 keywords.
12531 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12532 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12533 context of original buffer. Invoke `sql-login-hook'.
12534
12535 2012-01-04 Eli Zaretskii <eliz@gnu.org>
12536
12537 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12538 letters in cite-prefix.
12539
12540 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12541
12542 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12543
12544 2012-01-03 Chong Yidong <cyd@gnu.org>
12545
12546 * shell.el (shell-dynamic-complete-functions):
12547 Put pcomplete-completions-at-point, so as to try
12548 comint-filename-completion first (Bug#10417).
12549
12550 2012-01-02 Richard Stallman <rms@gnu.org>
12551
12552 * battery.el (battery-status-function):
12553 Detect when to use battery-yeeloong-sysfs.
12554 (battery-echo-area-format): Add string for Yeeloong.
12555 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12556 (battery-yeeloong-sysfs): New function.
12557
12558 2012-01-02 Chong Yidong <cyd@gnu.org>
12559
12560 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12561 (dirtrack): Merge code for handling relative filenames in prompt
12562 from shell-dir-cookie-watcher.
12563 (dirtrack-debug-message): New arg to avoid excess format calls.
12564
12565 * shell.el (shell-dir-cookie-re): Variable deleted.
12566 (shell-dir-cookie-watcher): Function deleted.
12567 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12568 with dirtrack-mode.
12569
12570 2012-01-01 Eli Zaretskii <eliz@gnu.org>
12571
12572 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12573 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12574 libgnutls-26.dll.
12575
12576 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12577
12578 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12579
12580 2011-12-31 Eli Zaretskii <eliz@gnu.org>
12581
12582 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12583 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12584
12585 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
12586
12587 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12588 also for alternative shells.
12589 (tramp-open-connection-setup-interactive-shell): Check, whether
12590 the shell is a busybox.
12591 (tramp-send-command): Don't suppress multiple prompts for
12592 busyboxes, it hurts.
12593
12594 2011-12-28 Chong Yidong <cyd@gnu.org>
12595
12596 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12597 (gdb-get-source-file): Move mode line update to
12598 gdb-get-source-file (Bug#10087).
12599
12600 2011-12-25 Chong Yidong <cyd@gnu.org>
12601
12602 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12603 gud-gdb-marker-filter without taking it as an argument.
12604 (gud-gdb-run-command-fetch-lines): Caller changed.
12605 (gud-gdb-completion-function): New variable.
12606 (gud-gdb-completion-at-point): Use it.
12607 (gud-gdb-completions-1): Split from gud-gdb-completions.
12608
12609 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12610 function as separate arguments.
12611 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12612 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12613 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12614 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12615 (gdb-stopped, def-gdb-auto-update-trigger)
12616 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12617 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12618 Callers changed.
12619 (gud-gdbmi-completions): New function.
12620 (gdb): Use it for generating the completion table.
12621
12622 2011-12-24 Alan Mackenzie <acm@muc.de>
12623
12624 Introduce a mechanism to widen the region used in context font
12625 locking. Use this to protect declarations from losing their contexts.
12626
12627 * progmodes/cc-langs.el (c-before-font-lock-functions):
12628 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12629 (c-before-context-fontification-functions): New defvar, a list of
12630 functions to be run just before context (etc.) font locking.
12631
12632 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12633 New, functionality extracted from
12634 c-neutralize-syntax-in-and-mark-CPP.
12635 (c-in-after-change-fontification): New variable.
12636 (c-after-change): Set c-in-after-change-fontification.
12637 (c-set-fl-decl-start): Rejig its interface, so it can be called
12638 from both after-change and context fontifying.
12639 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12640 New functions.
12641 (c-standard-font-lock-fontify-region-function): New variable.
12642 (c-font-lock-fontify-region): New function.
12643
12644 2011-12-24 Juri Linkov <juri@jurta.org>
12645
12646 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12647 (Bug#10348)
12648
12649 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
12650
12651 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12652 existence of source file. (Bug#10325)
12653
12654 2011-12-23 Alan Mackenzie <acm@muc.de>
12655
12656 Fix unstable fontification inside templates.
12657
12658 * progmodes/cc-langs.el (c-before-font-lock-functions):
12659 Newly created from the singular version. The (c c++ objc) entry now
12660 additionally has c-set-fl-decl-start. The other languages (apart
12661 from AWK) have that as a single entry.
12662
12663 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12664 The functionality for "local" declarations has been extracted to
12665 c-set-fl-decl-start.
12666
12667 * progmodes/cc-mode.el (c-common-init, c-after-change):
12668 Changes due to pluralisation of c-before-font-lock-functions.
12669 (c-set-fl-decl-start): New function, extracted from
12670 c-font-lock-enclosing-decls and enhanced.
12671
12672 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
12673
12674 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12675
12676 2011-12-22 Juri Linkov <juri@jurta.org>
12677
12678 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12679
12680 2011-12-22 Chong Yidong <cyd@gnu.org>
12681
12682 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12683
12684 2011-12-21 Drew Adams <drew.adams@oracle.com>
12685
12686 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12687
12688 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12689
12690 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12691
12692 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12693
12694 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12695 highlighting and support. Fix up comments for capitalization.
12696 (cfengine-mode-debug): New var.
12697 (cfengine3-mode): Change the modeline indicator to "CFE3".
12698 (cfengine3-font-lock-keywords): Improve defun highlighting.
12699 (cfengine2-actions): Rename from `cfengine-actions'.
12700 (cfengine2-font-lock-keywords): Rename from
12701 `cfengine-font-lock-keywords'.
12702 (cfengine2-imenu-expression): Rename from
12703 `cfengine-imenu-expression'.
12704 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12705 (cfengine2-beginning-of-defun): Rename from
12706 `cfengine-beginning-of-defun'.
12707 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12708 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12709 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12710 modeline indicator to "CFE2".
12711 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12712 (cfengine-mode-abbrevs): Mark obsolete.
12713
12714 2011-12-21 Chong Yidong <cyd@gnu.org>
12715
12716 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12717 filename argument.
12718
12719 2011-12-20 Martin Rudalics <rudalics@gmx.at>
12720
12721 * window.el (window-normalize-buffer-to-display): Remove.
12722 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12723
12724 2011-12-19 Chong Yidong <cyd@gnu.org>
12725
12726 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12727 Don't signal an error in a predicate function; return non-nil.
12728 (vc-dir-mark-file): Move the error here.
12729 (vc-dir-mark-unmark): If acting on the region, keep going if one
12730 of the entries cannot be marked/unmarked.
12731 (vc-dir-mark-all-files): If current entry is a directory, mark
12732 only child files, as documented.
12733
12734 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12735
12736 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12737 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12738 addition.
12739
12740 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12741
12742 * term/ns-win.el (ns-get-selection-internal)
12743 (ns-store-selection-internal): Declare.
12744 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12745 Declare as obsolete.
12746 (ns-get-pasteboard, ns-paste-secondary):
12747 Use ns-get-selection-internal.
12748 (ns-set-pasteboard, ns-copy-including-secondary):
12749 Use ns-store-selection-internal.
12750
12751 2011-12-17 Chong Yidong <cyd@gnu.org>
12752
12753 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12754 (vc-deduce-fileset): Doc fix.
12755
12756 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12757
12758 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12759
12760 2011-12-13 Sam Steingold <sds@gnu.org>
12761
12762 * man.el (Man-getpage-in-background): When running under a
12763 window-system, ignore $MANWIDTH and $COLUMNS.
12764
12765 2011-12-15 Kenichi Handa <handa@m17n.org>
12766
12767 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12768 (setup-ethiopic-environment-internal): Comment out key-binding for
12769 ethio-toggle-punctuation.
12770
12771 2011-12-13 Alan Mackenzie <acm@muc.de>
12772
12773 Add the switch statement to AWK Mode.
12774
12775 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12776 "default" to the keywords regexp.
12777
12778 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12779 expression as the rest.
12780 (c-nonlabel-token-key): Allow string literals for AWK.
12781 Refactor for the other modes.
12782
12783 Large brace-block initialisation makes CC Mode slow: Fix.
12784 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12785 routines. Limit backward searching in c-font-lock-enclosing.decl.
12786
12787 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12788 pp-state and literal type in addition to the limits.
12789 (c-state-safe-place): New defun, extracted from c-state-literal-at.
12790 (c-state-literal-at): Use the above new defun.
12791 (c-slow-in-literal, c-fast-in-literal): Remove.
12792 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12793
12794 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12795 being in a literal. Add a limit for backward searching.
12796
12797 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12798 c-slow-in-literal.
12799
12800 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12801
12802 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12803
12804 2011-12-13 Martin Rudalics <rudalics@gmx.at>
12805
12806 * window.el (delete-other-windows): Use correct frame in call to
12807 window-with-parameter.
12808
12809 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12810
12811 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12812 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12813 (makefile-gmake-statements, makefile-makepp-statements):
12814 Use it and add new makepp keywords.
12815 (makefile-makepp-font-lock-keywords): Add new patterns.
12816 (makefile-match-function-end): Match new [...] and [[...]].
12817
12818 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
12819
12820 * ses.el (ses-call-printer-return, ses-cell-property-get)
12821 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12822 (ses-create-cell-variable, ses-reset-header-string)
12823 (ses-cell-set-formula, ses-repair-cell-reference-all)
12824 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12825 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12826 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12827 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12828 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12829 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12830 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12831 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12832 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12833 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12834 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12835 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12836
12837 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12838
12839 * ses.el: The overall change is to add cell renaming, that is
12840 setting fancy names for cell symbols other than name matching
12841 "\\`[A-Z]+[0-9]+\\'" regexp .
12842 (ses-create-cell-variable): New defun.
12843 (ses-relocate-formula): Relocate formulas only for cells the
12844 symbols of which are not renamed, i.e. symbols whose names do not
12845 match regexp "\\`[A-Z]+[0-9]+\\'".
12846 (ses-relocate-all): Relocate values only for cells the symbols of
12847 which are not renamed.
12848 (ses-load): Create cells variables as the (ses-cell ...) are read,
12849 in order to check row col consistency with cell symbol name only
12850 for cells that are not renamed.
12851 (ses-replace-name-in-formula): New defun.
12852 (ses-rename-cell): New defun.
12853
12854 2011-12-11 Chong Yidong <cyd@gnu.org>
12855
12856 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12857 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12858
12859 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12860
12861 * window.el (other-window): Fix docstring.
12862
12863 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12864
12865 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12866 `from' or `to' address before taking its substring.
12867 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12868 encoded name is chopped in the middle of the encoded string, and
12869 thus displayed encoded.
12870
12871 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
12872
12873 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12874
12875 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12876
12877 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12878 to use texinfo-update-node and commands that call it if the
12879 Texinfo file uses @node lines without next/prev/up pointers.
12880 Correct outdated description about texinfo-master-menu.
12881 (texinfo-all-menus-update, texinfo-master-menu)
12882 (texinfo-update-node, texinfo-every-node-update)
12883 (texinfo-multiple-files-update): Doc fix. Warn against updating
12884 all the @node lines.
12885 (texinfo-master-menu): Only call texinfo-update-node if the prefix
12886 argument is numeric. Explain better in the doc string what the
12887 function really does.
12888 (texinfo-insert-master-menu-list): Improve the error message
12889 displayed if there's no menu in the Top node.
12890 (Bug#2975) See also this thread:
12891 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12892
12893 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12894
12895 * speedbar.el (speedbar-supported-extension-expressions):
12896 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12897
12898 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
12899
12900 * printing.el (pr-mode-alist):
12901 * simple.el (filter-buffer-substring-functions)
12902 (completion-list-insert-choice-function):
12903 * window.el (window-with-parameter, window-atom-root)
12904 (window-sides-slots, window-size-fixed, window-min-delta)
12905 (window-max-delta, window--resize-mini-window)
12906 (window--resize-child-windows-normal, window-tree)
12907 (delete-other-windows, quit-window, split-window)
12908 (display-buffer-record-window, special-display-buffer-names)
12909 (special-display-regexps, special-display-popup-frame)
12910 (same-window-p, split-window-sensibly)
12911 (display-buffer-overriding-action, display-buffer-alist)
12912 (display-buffer-base-action, display-buffer, switch-to-buffer)
12913 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12914 (fit-window-to-buffer, recenter-positions)
12915 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12916 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12917 and remove unneeded backslashes in docstrings.
12918
12919 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12920
12921 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12922
12923 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12924 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12925 end in ".mk".
12926 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12927 when reading the makefile (bug#10116).
12928
12929 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12930
12931 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12932 (bug#10116).
12933
12934 2011-12-06 Glenn Morris <rgm@gnu.org>
12935
12936 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12937
12938 2011-12-06 Chong Yidong <cyd@gnu.org>
12939
12940 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12941
12942 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12943
12944 * textmodes/table.el (table-shorten-cell): Fix typo.
12945
12946 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12947
12948 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12949
12950 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12951
12952 * descr-text.el (describe-char): Fix display of strong
12953 right-to-left characters and directional embeddings and overrides.
12954
12955 * simple.el (what-cursor-position): Fix display of codepoints of
12956 strong right-to-left characters.
12957
12958 2011-12-05 Chong Yidong <cyd@gnu.org>
12959
12960 * faces.el (read-color): Doc fix.
12961
12962 2011-12-05 Glenn Morris <rgm@gnu.org>
12963
12964 * align.el (align--set-marker): Add doc-string.
12965 Don't try to move something that is not a marker. (Bug#10216)
12966
12967 2011-12-04 Glenn Morris <rgm@gnu.org>
12968
12969 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12970 overly zealous deletion of trailing whitespace.
12971
12972 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12973
12974 * server.el (server-delete-client): On Windows, do not try to delete
12975 the only terminal.
12976 (server-process-filter): On Windows, treat requests for a tty frame as
12977 if they were for a GUI frame if the running server is in GUI mode.
12978
12979 2011-12-03 Glenn Morris <rgm@gnu.org>
12980
12981 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12982
12983 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12984
12985 * electric.el: Streamline electric-indent's hook.
12986 (electric-indent-chars): Revert to simple list.
12987 (electric-indent-functions): New var.
12988 (electric-indent-post-self-insert-function): Use it.
12989
12990 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12991 there's no inferior buffer (bug#10196).
12992 (prolog-consult-compile): Don't use toggle-read-only.
12993
12994 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12995
12996 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12997 interrupt. (Bug#10187)
12998
12999 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13000
13001 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13002 (bug#9160).
13003
13004 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13005 (bug#10191).
13006
13007 2011-12-02 Juri Linkov <juri@jurta.org>
13008
13009 * info.el (Info-search): Display "end of manual" when Isearch
13010 reaches the end of single-file Info manual. (Bug#9918)
13011
13012 2011-12-02 Eli Zaretskii <eliz@gnu.org>
13013
13014 * isearch.el (isearch-message-prefix): Run the input method part
13015 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13016
13017 2011-12-02 Juri Linkov <juri@jurta.org>
13018
13019 * isearch.el (isearch-occur): Use `word-search-regexp' for
13020 `isearch-word'.
13021 (isearch-search-and-update): Add condition for `isearch-word' and
13022 call `word-search-regexp'. (Bug#10145)
13023
13024 2011-12-01 Glenn Morris <rgm@gnu.org>
13025
13026 * eshell/em-hist.el (eshell-hist-initialize):
13027 Handle eshell-history-size nil and HISTSIZE set or unset.
13028 (eshell-history-file-name, eshell-history-size): Fix custom type.
13029
13030 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13031
13032 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13033
13034 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
13035
13036 * progmodes/verilog-mode.el (verilog-pretty-expr):
13037 Rework verilog-pretty-expr to handle new assignment operators in system
13038 verilog, such as += *= and the like.
13039 (verilog-assignment-operator-re): Regular expression to find the
13040 assigment operator in a verilog assignment.
13041 (verilog-assignment-operation-re): Regular expression to find an
13042 assignment statement for pretty-expr.
13043 (verilog-in-attribute-p): Query returns true if point is in an
13044 attribute context; used to skip these for expression line up from
13045 pretty-expr.
13046 (verilog-in-parameter-p): Query returns true if point is in an
13047 parameter definition context; used to skip these for expression
13048 line up from pretty-expr.
13049 (verilog-in-parenthesis-p): Query returns true if point is in a
13050 parenthetical expression, specifically ( ) but not [ ] or { };
13051 used by pretty-expr.
13052 (verilog-just-one-space): If there is no space, don't add one.
13053 (verilog-get-lineup-indent-2): Specifically skip just attribute
13054 contexts for expression lineup, rather than skipping all
13055 parenthetical expressions.
13056 (verilog-calculate-indent): Fix comment, and fix indent.
13057 (verilog-do-indent): Indent declarations in lists (suggested by
13058 Joachim Lechner).
13059 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13060 skeleton items.
13061 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13062 by Alain Mellan).
13063
13064 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
13065
13066 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13067 parameters with embedded comments. Reported by Ray Stevens.
13068 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13069 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13070 Reported by Tim Holt.
13071 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13072 instantiated by upper module causing wrong expansion until AUTOed a
13073 second time. Reported by K C Buckenmaier.
13074 (verilog-diff-auto): Fix showing .* as a difference when
13075 `verilog-auto-star-save' off. Reported by Dan Dever.
13076 (verilog-auto-reset, verilog-read-always-signals)
13077 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13078 temporary signals in reset list if
13079 verilog-auto-reset-blocking-in-non is nil, and match assignment
13080 style to each signal's assignment type, bug381.
13081 Reported by Thomas Esposito.
13082 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13083 (verilog-uvm-statement-re): Support UVM indentation and
13084 highlighting, with old OVM keywords only.
13085 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
13086 Support AUTOTIEOFF creating non-wire data types.
13087 Suggested by Jonathan Greenlaw.
13088 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13089 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13090 (verilog-inject-sense, verilog-read-inst-pins)
13091 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13092 Fix mismatching parenthesis inside commented out code when deleting
13093 AUTOINST, bug383. Reported by Jonathan Greenlaw.
13094 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13095 non-numeric vector width. Reported by Alex Reed.
13096 (verilog-auto-ascii-enum): Add "onehot" option to work around not
13097 detecting signals with parameter widths. Reported by Alex Reed.
13098 (verilog-auto-delete-trailing-whitespace):
13099 With `verilog-auto-delete-trailing-whitespace' remove trailing
13100 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13101 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13102 Fix verilog-scan-cache corruption when running user AUTO expansion
13103 hooks that call indentation routines.
13104 (verilog-simplify-range-expression): Fix typo ignoring lower case
13105 identifiers.
13106 (verilog-delete-auto): Fix delete-autos to also remove user created
13107 automatics, as long as they start with AUTO.
13108 (verilog-batch-diff-auto, verilog-diff-auto)
13109 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13110 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13111 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13112 (verilog-in-paren-quick, verilog-re-search-backward-quick)
13113 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13114 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
13115 is disabled and its cache will get corrupt, causing AUTOS not to
13116 expand. Instead use only -quick functions.
13117 (verilog-scan-region): Fix scanning over escaped quotes.
13118 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13119 (verilog-re-search-backward-quick)
13120 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13121 related functions now ignore strings, to fix misparsing of strings
13122 with magic comments embedded in them.
13123 (verilog-read-auto-template):
13124 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13125 Reported by Brad Dobbie.
13126 (verilog-read-auto-template):
13127 Fix 'verilog-auto-inst-template-numbers' with comments.
13128 Reported by Brad Dobbie.
13129 (verilog-auto-inst, verilog-auto-inst-param)
13130 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13131 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13132 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13133 debugging templates without merge conflicts, bug357.
13134 Reported by Brad Dobbie.
13135 (verilog-read-auto-template):
13136 Fix verilog-auto-inst-template-numbers with multiple templates.
13137 Reported by Brad Dobbie.
13138 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13139 abbrevs so user won't be asked to save.
13140 (verilog-read-auto-lisp-present): Fix to start at beginning of
13141 buffer in case called outside of verilog-auto.
13142 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13143 to "X-2". Reported by Matthew Myers.
13144 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13145 all inputs from module templates. Reported by Leith Johnson.
13146 (verilog-module-inside-filename-p): Fix locating programs as with
13147 modules.
13148 (verilog-auto-inst-port): Fix vl-width expressions when using
13149 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13150 (verilog-decls-get-regs, verilog-decls-get-signals,
13151 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13152 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13153 verilog-read-decls): Combine reg and wire structures into one var
13154 structure to represent SystemVerilog concepts.
13155 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13156 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13157 (verilog-auto-wire-type, verilog-insert-definition):
13158 Add verilog-auto-wire-type and AUTOLOGIC to support using
13159 SystemVerilog "logic" keyword instead of "wire"/"reg".
13160 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13161 to declares outputs that also have assignments (presumably in an
13162 ifdef or generate if so there's not a driver conflict).
13163 Reported by Matthew Myers.
13164 (verilog-auto-declare-nettype, verilog-insert-definition):
13165 Add verilog-auto-declare-nettype to fix declarations using
13166 `default_nettype none. Reported by Julian Gorfajn.
13167 (verilog-read-always-signals-recurse, verilog-read-decls)
13168 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13169 malformed end statement, bug325. Reported by Joshua Wise and
13170 Andrew Drake.
13171 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13172 (verilog-inst-comment-re): Fix not deleting Interfaced comment
13173 when expanding .* in interfaces, bug320.
13174 Reported by Pierre-David Pfister.
13175 (verilog-read-module-name): Fix import statements between module
13176 name and open parenthesis, bug317.
13177 Reported by Pierre-David Pfister.
13178 (verilog-simplify-range-expression): Fix simplification of
13179 multiplications inside AUTOWIRE connections, bug303.
13180 (verilog-auto-inst-port): Support parameter expansion in
13181 multidimensional arrays.
13182 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13183 after "assert property". Reported by Julian Gorfajn.
13184 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13185 with multiplication, bug303.
13186 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13187 Reported by Jan Frode Lonnum.
13188
13189 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
13190
13191 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13192 (hfy-shell-file-name, hfy-shell):
13193 * international/fontset.el (x-decompose-font-name): Fix typos.
13194
13195 2011-11-29 Ken Brown <kbrown@cornell.edu>
13196
13197 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13198 (gdb-version): Remove defvar.
13199 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13200 (gdb-gud-context-command, gdb-non-stop-handler)
13201 (gdb-current-context-command, gdb-stopped): Use it.
13202 (gdb-init-1): Enable pretty printing here.
13203 (gdb-non-stop-handler): Don't enable pretty-printing here.
13204 Check to see if the target supports non-stop mode; if not, turn off
13205 non-stop mode. Use the following.
13206 (gdb-check-target-async): New defun.
13207 (gud-watch, gdb-stopped): Fix whitespace.
13208 (gdb-get-source-file): Don't try to display the source file if
13209 `gdb-main-file' is nil.
13210
13211 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13212
13213 * align.el: Try to generate fewer markers (bug#10047).
13214 (align--set-marker): New macro.
13215 (align-region): Use it.
13216
13217 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13218
13219 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13220
13221 2011-11-29 Chong Yidong <cyd@gnu.org>
13222
13223 * indent.el (indent-for-tab-command, indent-according-to-mode):
13224 Doc fix.
13225 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13226
13227 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
13228
13229 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13230 aware of remote file names. (Bug#10124)
13231
13232 2011-11-29 Chong Yidong <cyd@gnu.org>
13233
13234 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13235
13236 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13237
13238 * files.el (find-file): Don't use force-same-window (bug#10144).
13239 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13240 use pop-to-buffer if the selected window can't be used.
13241 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13242
13243 2011-11-28 Eli Zaretskii <eliz@gnu.org>
13244
13245 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13246 special-mode-map.
13247
13248 2011-11-28 Chong Yidong <cyd@gnu.org>
13249
13250 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13251
13252 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
13253
13254 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13255 gdb-get-source-file-list on gdb-create-source-file-list.
13256
13257 2011-11-26 Eli Zaretskii <eliz@gnu.org>
13258
13259 * whitespace.el (whitespace-newline): Use a different foreground
13260 color for 16-color light-background displays.
13261
13262 2011-11-24 Chong Yidong <cyd@gnu.org>
13263
13264 * window.el (display-buffer--special-action): Doc fix.
13265
13266 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
13267
13268 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13269 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13270 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13271 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13272 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13273 (avl-tree-stack-first):
13274 * emacs-lisp/cconv.el (cconv--analyse-use):
13275 * net/gnutls.el (gnutls-negotiate): Fix typos.
13276
13277 2011-11-24 Glenn Morris <rgm@gnu.org>
13278
13279 * lpr.el (lpr-windows-system, lpr-lp-system):
13280 * mail/binhex.el (binhex-begin-line):
13281 * progmodes/grep.el (grep-history, grep-find-history):
13282 * textmodes/flyspell.el:
13283 * vc/pcvs-defs.el (cvs-global-menu):
13284 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13285 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13286 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13287
13288 * net/tls.el: Fix case of "GnuTLS".
13289
13290 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13291
13292 * version.el (emacs-build-system): Give it a doc-string.
13293
13294 2011-11-24 Juri Linkov <juri@jurta.org>
13295
13296 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13297
13298 2011-11-24 Glenn Morris <rgm@gnu.org>
13299
13300 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13301 if called on a non-mime message just toggle the headers. (Bug#8006)
13302
13303 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
13304
13305 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13306 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13307 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13308 (allout-rebullet-heading, allout-open-sibtopic)
13309 (allout-toggle-current-subtree-encryption)
13310 (allout-toggle-subtree-encryption, allout-encrypt-string)
13311 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13312 (allout-distinctive-bullets-string, allout-auto-activation):
13313 * window.el (window-normalize-buffer-to-display):
13314 * progmodes/verilog-mode.el (verilog-batch-indent):
13315 * textmodes/bibtex.el (bibtex-field-braces-opt)
13316 (bibtex-field-strings-opt):
13317 * vc/cvs-status.el (cvs-tree-merge):
13318 Fix typos.
13319
13320 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
13321
13322 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13323 `non-essential' to t, in order to avoid remote connections.
13324
13325 2011-11-23 Eli Zaretskii <eliz@gnu.org>
13326
13327 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13328 On MS-DOS and MS-Windows, compare with loaddefs.el
13329 case-insensitively.
13330
13331 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13332
13333 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13334
13335 2011-11-23 Glenn Morris <rgm@gnu.org>
13336
13337 * paths.el (rmail-file-name): Reformat the doc-string so that it
13338 is picked up.
13339
13340 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13341 (rmail-auto-file): Ignore case in the "special" field names,
13342 as mail-fetch-field does for all others.
13343
13344 * mail/rmail.el (rmail-forward):
13345 * mail/rmailkwd.el (rmail-set-label):
13346 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13347 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13348
13349 * mail/rmail.el (rmail-current-message): Doc fix.
13350
13351 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13352
13353 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13354
13355 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13356
13357 2011-11-22 Glenn Morris <rgm@gnu.org>
13358
13359 * mail/rmailmm.el (test-rmail-mime-handler)
13360 (test-rmail-mime-bulk-handler)
13361 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13362
13363 2011-11-21 Juri Linkov <juri@jurta.org>
13364
13365 * calc/calc.el (calc-read-key-sequence):
13366 Let-bind `input-method-function' to nil. (Bug#10018)
13367
13368 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13369
13370 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13371 Tell the caller that the next line needs recomputation, even
13372 though it doesn't start a sexp (bug#10094).
13373
13374 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13375
13376 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13377
13378 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13379
13380 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13381 Use force-same-window.
13382
13383 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13384
13385 * descr-text.el (describe-char-unicode-data):
13386 * json.el (json-string-escape):
13387 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13388 (Footnote-unicode, Footnote-style-p):
13389 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13390
13391 2011-11-20 Chong Yidong <cyd@gnu.org>
13392
13393 * window.el (replace-buffer-in-windows): Restore interactive spec.
13394
13395 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13396
13397 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13398
13399 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13400 (byte-compile-global-not-obsolete-vars): New var.
13401 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13402 Use it.
13403 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13404
13405 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13406
13407 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13408 * progmodes/pascal.el (electric-pascal-equal):
13409 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13410 * xml.el (xml-substitute-special): Fix typos.
13411
13412 2011-11-20 Glenn Morris <rgm@gnu.org>
13413
13414 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13415 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13416 Doc fixes.
13417 (rmail-decode-mime-charset): Mark as obsolete.
13418
13419 * mail/rmailsum.el (rmail-message-regexp-p-1):
13420 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13421 Before using mime functions, check they are set. (Bug#10077)
13422
13423 2011-11-19 Juri Linkov <juri@jurta.org>
13424
13425 * info.el (Info-finder-find-node): Use `package--builtins' instead
13426 of `package-alist'. Use node names formed by the pattern "Keyword "
13427 and the keyword name.
13428
13429 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13430
13431 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13432
13433 2011-11-19 Juri Linkov <juri@jurta.org>
13434
13435 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13436 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13437 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13438 `old-history', `old-history-forward'. Add let-binding
13439 `window-selected'. Remove calls to `kill-buffer',
13440 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13441 before calling `Info-find-node', so `Info-find-node-2' will reread
13442 the Info file. Restore window positions only when `window-selected'
13443 is non-nil.
13444
13445 2011-11-19 Juri Linkov <juri@jurta.org>
13446
13447 * isearch.el (isearch-lazy-highlight-new-loop):
13448 Remove condition `(not isearch-error)'. (Bug#9918)
13449
13450 * misearch.el (multi-isearch-search-fun): Add condition
13451 `(not bound)' to ignore lazy-highlighting search.
13452 Add the search-failed message "end of multi" when the end of
13453 multi-sequence is reached. Uncapitalize the search-failed
13454 message "Repeat for next buffer".
13455
13456 * info.el (Info-search): Add the search-failed message
13457 "end of the manual" when the end of the manual is reached
13458 in Isearch mode.
13459
13460 2011-11-19 Juri Linkov <juri@jurta.org>
13461
13462 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13463 Use non-destructive `remove' instead of `delete' because
13464 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13465 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13466
13467 2011-11-19 Juri Linkov <juri@jurta.org>
13468
13469 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13470 to nil instead of binding `search-ring' and `regexp-search-ring'.
13471 (Bug#9185)
13472
13473 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13474
13475 * simple.el (line-move): Force movement by logical lines for any
13476 hscrolled window, not only when auto-hscroll-mode is on.
13477 (line-move-visual): Update doc string to that effect. (Bug#10076)
13478
13479 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13480
13481 * language/european.el (macintosh): Define as alias for mac-roman.
13482
13483 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13484
13485 * mail/rmailmm.el (rmail-mime-display-header)
13486 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13487 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13488 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13489 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13490 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13491 of a raw aref.
13492 (rmail-mime-entity-segment): To get past the tagline, move forward
13493 2 more lines, to account for the 2 empty lines that precede and
13494 follow the line with the buttons.
13495 (rmail-mime-update-tagline): Move one more line, to get past the
13496 empty line that follows the buttons in the tagline. (Bug#9520)
13497
13498 2011-11-19 Martin Rudalics <rudalics@gmx.at>
13499
13500 * window.el (window-max-delta-1, window-min-delta-1)
13501 (window-min-size-1, window-state-get-1, window-state-put-1)
13502 (window-state-put-2): Use "window--" prefix.
13503
13504 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13505
13506 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13507 (smie-warning-count): New var.
13508 (smie-set-prec2tab): Use it.
13509 (smie-bnf->prec2): Improve warnings. Add docstring.
13510 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13511 (smie-bnf--set-class): New function.
13512 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13513 corner case.
13514
13515 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13516 (compilation-error-properties, compilation-move-to-column):
13517 Handle compilation-first-column while in the target buffer.
13518
13519 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13520 Don't hardcode point-min==1.
13521
13522 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13523 (eshell-rewrite-for-command): Remove workaround.
13524 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13525 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13526 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13527
13528 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13529
13530 2011-11-17 Glenn Morris <rgm@gnu.org>
13531
13532 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13533 Ignore buffer-local generated-autoload-file if it is the same
13534 as the global value. (Bug#10049)
13535
13536 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
13537
13538 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13539 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13540 (reftex-toc-previous-heading, reftex-toc-max-level)
13541 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13542 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13543 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13544 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13545 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13546 (reftex-toc-rename-label, reftex-toc-visit-location)
13547 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13548 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13549 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13550 leaving "*toc*" only for references to the buffer.
13551
13552 2011-11-17 Martin Rudalics <rudalics@gmx.at>
13553
13554 * window.el (window-resize, delete-window, split-window):
13555 Replace window-splits by window-combination-resize.
13556 * cus-start.el (window-splits): Replace by window-combination-resize.
13557
13558 2011-11-17 Glenn Morris <rgm@gnu.org>
13559
13560 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13561 Make bash entry derive from sh entry, not shell entry.
13562
13563 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
13564
13565 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13566 local file name.
13567
13568 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13569
13570 * menu-bar.el (menu-bar-file-menu):
13571 * printing.el (pr-ps-utility):
13572 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13573 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13574 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13575 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13576 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13577 (icalendar--convert-cyclic-to-ical)
13578 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13579 (icalendar--convert-ical-to-diary)
13580 (icalendar--convert-recurring-to-diary)
13581 (icalendar--convert-non-recurring-all-day-to-diary)
13582 (icalendar-import-format-sample):
13583 * progmodes/idlw-shell.el (idlwave-shell-mode):
13584 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13585 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13586 (vhdl-ps-print-init): Fix typos.
13587
13588 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13589
13590 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13591 FSF and collapse date sequence, obscure author/maintainer email address
13592 better, remove extra version line, track relocation of author's webpage.
13593
13594 * progmodes/python.el (python-pdbtrack-input-prompt)
13595 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13596 regular python pdb prompts. Adjustments shamelessly taken exactly as
13597 suggested in EmacsWiki page (tiny change):
13598 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13599
13600 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13601
13602 * expand.el (expand-pos, expand-index, expand-point):
13603 Remove redundant info from docstring.
13604 (expand-add-abbrevs): Doc fix.
13605 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13606 (expand-sample-perl-mode-expand-list): Fix typos.
13607
13608 * net/dbus.el (dbus-event-member-name):
13609 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13610 * term/pc-win.el (msdos-create-frame-with-faces):
13611 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13612
13613 2011-11-16 Martin Rudalics <rudalics@gmx.at>
13614
13615 * window.el (split-window, window-state-get-1)
13616 (window-state-put-1, window-state-put-2): Rename occurrences of
13617 window-nest to window-combination-limit.
13618 * cus-start.el (window-nest): Rename to window-combination-limit.
13619
13620 2011-11-16 Chong Yidong <cyd@gnu.org>
13621
13622 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13623 regexp (Bug#10033).
13624
13625 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13626
13627 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13628 `completing-read' will remove *Completions* and will preserve
13629 current-buffer for us.
13630 (tmm-add-prompt): Users of *Completions* will always (re)set its
13631 major mode.
13632 (tmm-old-comp-map): Remove.
13633
13634 2011-11-16 Glenn Morris <rgm@gnu.org>
13635
13636 * mail/rmailedit.el: Require rmailmm when compiling.
13637 (rmail-old-mime-state): New declaration.
13638 (rmail-edit-current-message): If editing a mime message,
13639 edit the "raw" message from the mbox buffer.
13640 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13641
13642 2011-11-15 Glenn Morris <rgm@gnu.org>
13643
13644 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13645 which wasn't being used. Add optional arg to force given state.
13646 (rmail-mime): Add optional arg to force given state.
13647
13648 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13649
13650 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13651 * frame.el (display-mm-dimensions-alist):
13652 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13653 (outline-move-subtree-down):
13654 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13655 (newsticker--treeview-do-get-node):
13656 * net/quickurl.el (quickurl-list-buffer-name):
13657 * progmodes/dcl-mode.el (dcl-mode):
13658 * progmodes/gdb-mi.el (gdb-mapcar*):
13659 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13660
13661 2011-11-15 Glenn Morris <rgm@gnu.org>
13662
13663 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13664 in a boolean sense, so just make it a boolean, and fix the doc.
13665 (rmail-show-mime-function, rmail-mime-feature)
13666 (rmail-require-mime-maybe): Doc fixes.
13667 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13668
13669 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13670
13671 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13672
13673 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13674 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13675 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13676 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13677
13678 2011-11-15 Glenn Morris <rgm@gnu.org>
13679
13680 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13681 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13682 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13683 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13684 (rmail-mime, rmail-show-mime): Doc fixes.
13685
13686 * term/ns-win.el (mode-line-frame-identification):
13687 Leave it alone. (Bug#10051)
13688
13689 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13690
13691 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13692 Handle empty buffers. (Bug#9978)
13693
13694 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
13695
13696 * international/mule.el (define-charset):
13697 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13698 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13699 * progmodes/verilog-mode.el (verilog-backward-token):
13700 * textmodes/ispell.el (lookup-words):
13701 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13702
13703 2011-11-14 Glenn Morris <rgm@gnu.org>
13704
13705 * progmodes/executable.el
13706 (executable-make-buffer-file-executable-if-script-p):
13707 Handle file-modes returning nil.
13708
13709 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13710 message - not necessary, and causes problems. (Bug#9831)
13711
13712 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13713
13714 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13715
13716 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13717 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13718 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13719
13720 2011-11-12 Martin Rudalics <rudalics@gmx.at>
13721
13722 * window.el (window-resize, delete-window): Use window-splits
13723 variable instead of function.
13724 (window-state-get-1, window-state-put-2, window-state-put):
13725 Don't deal with windows' splits status.
13726
13727 2011-11-12 Glenn Morris <rgm@gnu.org>
13728
13729 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13730 (apropos-documentation): Doc fixes.
13731
13732 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
13733
13734 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13735 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13736
13737 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13738
13739 * electric.el (electric-indent-post-self-insert-function): Make it
13740 possible for a char to only indent in some circumstances.
13741 (electric-indent-mode): Simplify.
13742
13743 2011-11-11 Martin Rudalics <rudalics@gmx.at>
13744
13745 * window.el (windows-with-parameter): Remove unused function.
13746 (windows-at-side): Rename to window-at-side-list.
13747 (window-check, window-atom-check, window-atom-check-1)
13748 (window-side-check, window-size-ignore, window-size-fixed-1)
13749 (window-in-direction-2): Prefix with "window--".
13750 (window-tree-1): Rename to window--subtree, fix doc-string.
13751
13752 2011-11-11 Glenn Morris <rgm@gnu.org>
13753
13754 * subr.el (eval-after-load): If FILE is already loaded,
13755 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13756
13757 2011-11-10 Glenn Morris <rgm@gnu.org>
13758
13759 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13760 Call svn via vc-svn-command rather than vc-do-command.
13761 (vc-svn-command): Add --non-interactive. (Bug#9993)
13762 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13763
13764 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13765 Add toggle-read-only. (Bug#7292)
13766 * files.el (toggle-read-only): Mention that it should only
13767 be used interactively. (Bug#10006)
13768
13769 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13770
13771 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13772 Adjust regexp for OCaml warnings.
13773
13774 * electric.el (electric-pair-post-self-insert-function): Let user
13775 turn it off buffer-locally (bug#9932).
13776
13777 * progmodes/python.el (python-beginning-of-statement):
13778 Rewrite (bug#2703).
13779
13780 * progmodes/compile.el: Better handle TABs (bug#9749).
13781 (compilation-internal-error-properties)
13782 (compilation-next-error-function): Obey the target buffer's
13783 compilation-error-screen-columns.
13784
13785 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
13786
13787 * progmodes/meta-mode.el: Remove obsolete comments.
13788 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13789 Fix typos in docstrings.
13790
13791 2011-11-09 Martin Rudalics <rudalics@gmx.at>
13792
13793 * window.el (window-size-fixed-p): Rewrite doc-string.
13794 (window-resizable-p): Rename to window--resizable-p. Update callers.
13795 (window--resizable): New function. Make all callers of
13796 window-resizable call window--resizable instead.
13797 (window-resizable): Rewrite in terms of window--resizable.
13798
13799 2011-11-08 Glenn Morris <rgm@gnu.org>
13800
13801 * progmodes/delphi.el (delphi-mode-syntax-table):
13802 Let define-derived-mode define a proper syntax table. (Bug#9994)
13803
13804 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13805
13806 * window.el: Stay away from defsubst.
13807 (window-list-no-nils): Remove.
13808 (window-state-get-1, window-state-get): Use backquote instead.
13809
13810 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13811
13812 * emacs-lisp/find-func.el (find-function-read):
13813 Fix incorrect use of default argument in `completing-read'.
13814
13815 2011-11-08 Martin Rudalics <rudalics@gmx.at>
13816
13817 * window.el (display-buffer-function, special-display-function):
13818 Mention display-buffer-record-window but do not mention
13819 help-setup parameter in doc-strings.
13820 (window-min-delta): Fix doc-string typo.
13821
13822 2011-11-08 Chong Yidong <cyd@gnu.org>
13823
13824 * window.el (window-total-height, window-total-width): Doc fix.
13825 (window-body-size): Move from C.
13826 (window-body-height, window-body-width): Move to C.
13827
13828 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13829
13830 * window.el: Make special-display like display-buffer-alist (bug#9532).
13831 (display-buffer--special-action): New function, morphed
13832 from display-buffer--special.
13833 (display-buffer): Use it to handle special-display-buffers at higher
13834 priority (just after display-buffer-alist).
13835 (display-buffer-fallback-action, display-buffer--other-frame-action)
13836 (pop-to-buffer-same-window): Remove display-buffer--special.
13837
13838 2011-11-07 Glenn Morris <rgm@gnu.org>
13839
13840 * calendar/cal-menu.el (cal-menu-set-date-title):
13841 Do nothing if not in a calendar. (Bug#9976)
13842
13843 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13844
13845 * files.el (find-file): Always use selected-window.
13846
13847 2011-11-07 Martin Rudalics <rudalics@gmx.at>
13848
13849 * window.el (window-combinations): Make WINDOW argument
13850 mandatory. Rewrite doc-string.
13851 (walk-window-subtree, window-atom-check, window-min-delta)
13852 (window-max-delta, window--resize-this-window)
13853 (window--resize-root-window-vertically, window-tree)
13854 (balance-windows, window-state-put): Rewrite doc-strings as to
13855 not mention the term "subwindow".
13856 (window--resize-subwindows-skip-p): Rename to
13857 window--resize-child-windows-skip-p.
13858 (window--resize-subwindows-normal): Rename to
13859 window--resize-child-windows-normal.
13860 (window--resize-subwindows): Rename to
13861 window--resize-child-windows.
13862 (window-or-subwindow-p): Rename to window--in-subtree-p.
13863
13864 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13865
13866 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13867 Ensure that mbox format messages end in two newlines (Bug#9974).
13868
13869 2011-11-06 Chong Yidong <cyd@gnu.org>
13870
13871 * window.el (window-combination-p): Function deleted; its
13872 side-effect is not used in any existing code.
13873 (window-combinations, window-combined-p): Call window-*-child
13874 directly.
13875
13876 2011-11-05 Chong Yidong <cyd@gnu.org>
13877
13878 * window.el (window-valid-p): Rename from window-any-p.
13879 (window-size-ignore, window-state-get): Callers changed.
13880 (window-normalize-window): Rename from window-normalize-any-window.
13881 New arg LIVE-ONLY, replacing window-normalize-live-window.
13882 (window-normalize-live-window): Delete.
13883 (window-combination-p, window-combined-p, window-combinations)
13884 (walk-window-subtree, window-atom-root, window-min-size)
13885 (window-sizable, window-sizable-p, window-size-fixed-p)
13886 (window-min-delta, window-max-delta, window-resizable)
13887 (window-resizable-p, window-full-height-p, window-full-width-p)
13888 (window-current-scroll-bars, window-point-1, set-window-point-1)
13889 (window-at-side-p, window-in-direction, window-resize)
13890 (adjust-window-trailing-edge, maximize-window, minimize-window)
13891 (window-deletable-p, delete-window, delete-other-windows)
13892 (record-window-buffer, unrecord-window-buffer)
13893 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13894 (quit-window, split-window, window-state-put)
13895 (set-window-text-height, fit-window-to-buffer)
13896 (shrink-window-if-larger-than-buffer): Callers changed.
13897
13898 2011-11-04 Eli Zaretskii <eliz@gnu.org>
13899
13900 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13901 rfc2047-decode-string.
13902 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13903 warnings.
13904
13905 * window.el (window-body-height, window-body-width): Mention in
13906 the doc string that the return values are in frame's canonical
13907 units. (Bug#9949)
13908
13909 2011-11-03 Alan Mackenzie <acm@muc.de>
13910
13911 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13912 change in cc-engine.el.
13913
13914 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13915
13916 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13917
13918 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13919
13920 * window.el (quit-window): Call unrecord-window-buffer after
13921 showing another buffer in the window. (Bug#9937)
13922 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13923
13924 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13925
13926 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13927 Accept status with more than 9 shelves. (Bug#9935)
13928 Reported by Colin D Bennett <colin@gibibit.com>.
13929
13930 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13931
13932 * help.el (with-help-window): Don't reference
13933 temp-buffer-show-specifiers in doc-string.
13934
13935 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13936
13937 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13938 menu-item.
13939
13940 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13941
13942 * whitespace.el: New version 13.2.2.
13943 (whitespace-newline-mode): Disable properly. Reported by Sarah
13944 <EmacsWiki>.
13945
13946 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13947
13948 * net/newst-treeview.el: Remove "Time-stamp".
13949 (newsticker--group-manage-orphan-feeds): Do not call
13950 newsticker--treeview-tree-update.
13951 (newsticker-treeview-update, newsticker-treeview):
13952 Call newsticker--treeview-tree-update if necessary.
13953
13954 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13955
13956 * window.el (window-iso-combination-p, window-iso-combined-p)
13957 (window-iso-combinations): Remove "iso-" infix.
13958 Suggested by Chong Yidong.
13959 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13960 (window-max-delta-1, window-resize, window--resize-siblings)
13961 (window--resize-this-window, adjust-window-trailing-edge)
13962 (split-window, balance-windows-1)
13963 (shrink-window-if-larger-than-buffer):
13964 * calendar/calendar.el (calendar-generate-window):
13965 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13966
13967 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13968
13969 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13970 in place (bug#9907).
13971 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13972 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13973 (eshell-structure-basic-command, eshell-rewrite-while-command)
13974 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13975 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13976 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13977 (eshell-do-pipelines-synchronously, eshell-eval-command):
13978 Use backquotes and prefer setq to set.
13979 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13980 (eshell-macrop): Use functionp.
13981 (eshell-do-eval): Handle multiple expressions in `while' body.
13982
13983 2011-10-30 Chong Yidong <cyd@gnu.org>
13984
13985 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13986 instead of set-mark (Bug#9810).
13987
13988 2011-10-30 Chong Yidong <cyd@gnu.org>
13989
13990 * window.el (split-window-below, split-window-right): Rename from
13991 split-window-above-each-other and split-window-side-by-side
13992 respectively. All callers changed.
13993 (split-window-sensibly, split-window-sensibly): Use them.
13994 (split-window-keep-point): Doc fix.
13995
13996 * isearch.el: Add isearch-scroll property to split-window-below
13997 and split-window-right.
13998
13999 * follow.el (follow-mode):
14000 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14001 * progmodes/ada-xref.el (ada-gdb-application):
14002 * emulation/vip.el (vip-buffer-in-two-windows):
14003 * image-dired.el (image-dired-dired-with-window-configuration):
14004 * dired-x.el (dired-do-find-marked-files):
14005 * dired.el (dired-pop-to-buffer):
14006 * bs.el (bs--show-with-configuration):
14007 * vc/emerge.el (emerge-setup-windows):
14008 * textmodes/two-column.el (2C-two-columns):
14009 * textmodes/reftex-toc.el (reftex-toc):
14010 * progmodes/gdb-mi.el (gdb-setup-windows):
14011 * progmodes/fortran.el (fortran-window-create):
14012 * net/newst-treeview.el (newsticker--treeview-window-init):
14013 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14014 * emulation/tpu-edt.el (tpu-gold-map):
14015 * emulation/crisp.el (crisp-mode-map):
14016 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14017
14018 2011-10-29 Chong Yidong <cyd@gnu.org>
14019
14020 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14021
14022 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14023
14024 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14025 forged Ispell output (Bug#7904).
14026
14027 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14028
14029 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14030
14031 * doc-view.el: Avoid ugly errors about not finding nil.
14032 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14033 (doc-view-dvipdf-program, doc-view-unoconv-program)
14034 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14035 Avoid nil or absolute file name as default value.
14036 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14037
14038 2011-10-28 Alan Mackenzie <acm@muc.de>
14039
14040 * progmodes/cc-defs.el (c-version): -> 5.32.2.
14041
14042 2011-10-28 Alan Mackenzie <acm@muc.de>
14043
14044 Amend the handling of c-beginning/end-of-defun in nested declaration
14045 scopes.
14046
14047 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14048 cc-langs.el. Change it to a defcustom.
14049
14050 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14051 cc-vars.el.
14052
14053 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14054 Prevent "class foo : bar" being spuriously recognized as a label.
14055
14056 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
14057 Add parameter `inclusive' (to include enclosing braces in the region).
14058 (c-widen-to-enclosing-decl-scope): New function.
14059 (c-while-widening-to-decl-block): New macro.
14060 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14061 outward for defun boundaries, and correspondingly change symbol
14062 `respect-enclosure' to `go-outward'.
14063 (c-declaration-limits): Change algorithm to report only the "innermost"
14064 defun's boundaries.
14065
14066 2011-10-28 Deniz Dogan <deniz@dogan.se>
14067
14068 * net/rcirc.el (rcirc-mode): Use hard newlines.
14069
14070 2011-10-28 Alan Mackenzie <acm@muc.de>
14071
14072 Amend to indent and fontify macros "which include their own semicolon"
14073 correctly, using the "virtual semicolon" mechanism.
14074
14075 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
14076
14077 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14078 Recode to scan one line at a time rather than having \n and \r
14079 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
14080 (c-forward-label): Amend for virtual semicolons.
14081 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
14082
14083 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14084 of the new C macros.
14085
14086 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
14087 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14088 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
14089 (c-opt-cpp-macro-define): Make into a full language variable.
14090 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14091 AWK Mode (including \n, \r) removed, no longer needed.
14092
14093 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14094 Invoke c-make-macro-with-semi-re.
14095
14096 * progmodes/cc-vars.el (c-macro-with-semi-re):
14097 (c-macro-names-with-semicolon): New variables.
14098 (c-make-macro-with-semi-re): New function.
14099
14100 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14101
14102 * vc/log-edit.el: Fill empty field rather than adding new one.
14103 (log-edit-add-field): New function.
14104 (log-edit-insert-changelog): Use it.
14105
14106 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14107
14108 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14109
14110 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14111
14112 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14113 (gdb--check-interpreter): New function.
14114 (gdb): Use it.
14115
14116 2011-10-27 Glenn Morris <rgm@gnu.org>
14117
14118 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14119 (least-positive-float, least-negative-float)
14120 (least-positive-normalized-float, least-negative-normalized-float)
14121 (float-epsilon, float-negative-epsilon):
14122 Remove unnecessary declarations.
14123
14124 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14125 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14126 (least-positive-float, least-negative-float)
14127 (least-positive-normalized-float, least-negative-normalized-float)
14128 (float-epsilon, float-negative-epsilon): Add doc-strings,
14129 based on those in cl.texi.
14130
14131 * files.el (set-visited-file-name): If the major-mode changed,
14132 reload the local variables. (Bug#9796)
14133
14134 2011-10-27 Chong Yidong <cyd@gnu.org>
14135
14136 * subr.el (change-major-mode-after-body-hook): New hook.
14137 (run-mode-hooks): Run it.
14138
14139 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14140 Use change-major-mode-before-body-hook.
14141
14142 * simple.el (fundamental-mode):
14143 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14144 change introducing fundamental-mode-hook.
14145
14146 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
14147
14148 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14149
14150 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
14151
14152 * ido.el (ido-file-name-all-completions-1): Do not require
14153 tramp.el explicitly. (Bug#7583)
14154
14155 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14156
14157 * progmodes/octave-mod.el:
14158 * progmodes/octave-inf.el: Update maintainer.
14159
14160 2011-10-26 Chong Yidong <cyd@gnu.org>
14161
14162 * subr.el (with-wrapper-hook): Rewrite doc.
14163
14164 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
14165
14166 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14167 filenames "/method:foo:". (Bug#9793)
14168
14169 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14170
14171 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14172 (bug#9865).
14173
14174 2011-10-24 Glenn Morris <rgm@gnu.org>
14175
14176 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14177
14178 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
14179
14180 * notifications.el: Add the requirement of a running D-Bus session
14181 bus to the Commentary.
14182
14183 2011-10-24 Juri Linkov <juri@jurta.org>
14184
14185 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14186 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14187 (Bug#9364)
14188
14189 2011-10-24 Juri Linkov <juri@jurta.org>
14190
14191 * info.el (Info-following-node-name-re): Add newline to the list
14192 of allowed characters for leading space. (Bug#9824)
14193
14194 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14195
14196 * progmodes/octave-inf.el (inferior-octave-mode-map):
14197 Fix C-c C-h binding.
14198 * progmodes/octave-mod.el (octave-help): Remove.
14199
14200 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
14201
14202 Sync with Tramp 2.2.3.
14203
14204 * net/tramp-cache.el (top): Pacify byte-compiler using
14205 `init-file-user' and `site-run-file'.
14206
14207 * net/trampver.el: Update release number.
14208
14209 2011-10-23 Chong Yidong <cyd@gnu.org>
14210
14211 * files.el (toggle-read-only): Remove obsolete comment about
14212 version control.
14213
14214 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14215 for toggle-read-only. Note that this hasn't called vc-next-action
14216 since 2008-05-02, though it wasn't documented at the time.
14217
14218 * vc/ediff-init.el (ediff-toggle-read-only-function):
14219 Use toggle-read-only.
14220
14221 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14222
14223 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14224 of c-parse-state.
14225
14226 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14227 correct faulty logical expression.
14228 (c-parse-state-state, c-record-parse-state-state):
14229 (c-replay-parse-state-state): New defvar/defuns.
14230 (c-debug-parse-state): Use new functions.
14231
14232 2011-10-22 Martin Rudalics <rudalics@gmx.at>
14233
14234 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14235 last fix. Use window-in-direction correctly.
14236
14237 2011-10-21 Chong Yidong <cyd@gnu.org>
14238
14239 * progmodes/idlwave.el (idlwave-mode):
14240 * progmodes/vera-mode.el (vera-mode): No need to set
14241 require-final-newline; that's done in prog-mode.
14242 Suggested by Stefan Monnier.
14243
14244 2011-10-21 Martin Rudalics <rudalics@gmx.at>
14245
14246 * mouse.el (mouse-drag-window-above)
14247 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14248 (mouse-drag-mode-line-1, mouse-drag-header-line)
14249 (mouse-drag-vertical-line-rightward-window): Remove.
14250 (mouse-drag-line): New function.
14251 (mouse-drag-mode-line, mouse-drag-header-line)
14252 (mouse-drag-vertical-line): Call mouse-drag-line.
14253 * window.el (window-at-side-p, windows-at-side): New functions.
14254
14255 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
14256
14257 * tar-mode.el (tar-grind-file-mode):
14258 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14259
14260 2011-10-21 Chong Yidong <cyd@gnu.org>
14261
14262 * progmodes/idlwave.el (idlwave-mode):
14263 * progmodes/vera-mode.el (vera-mode):
14264 Use mode-require-final-newline.
14265
14266 2011-10-20 Glenn Morris <rgm@gnu.org>
14267
14268 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
14269
14270 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14271
14272 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14273
14274 2011-10-20 Chong Yidong <cyd@gnu.org>
14275
14276 * emulation/cua-base.el (cua-mode):
14277 * mail/footnote.el (footnote-mode):
14278 * mail/mailabbrev.el (mail-abbrevs-mode):
14279 * net/xesam.el (xesam-minor-mode):
14280 * progmodes/bug-reference.el (bug-reference-mode):
14281 * progmodes/cap-words.el (capitalized-words-mode):
14282 * progmodes/compile.el (compilation-minor-mode)
14283 (compilation-shell-minor-mode):
14284 * progmodes/gud.el (gud-tooltip-mode):
14285 * progmodes/hideif.el (hide-ifdef-mode):
14286 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14287 * progmodes/subword.el (subword-mode):
14288 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14289 * progmodes/which-func.el (which-function-mode):
14290 * term/tvi970.el (tvi970-set-keypad-mode):
14291 * term/vt100.el (vt100-wide-mode):
14292 * textmodes/flyspell.el (flyspell-mode):
14293 * textmodes/ispell.el (ispell-minor-mode):
14294 * textmodes/nroff-mode.el (nroff-electric-mode):
14295 * textmodes/paragraphs.el (use-hard-newlines):
14296 * textmodes/refill.el (refill-mode):
14297 * textmodes/reftex.el (reftex-mode):
14298 * textmodes/rst.el (rst-minor-mode):
14299 * textmodes/sgml-mode.el (html-autoview-mode)
14300 (sgml-electric-tag-pair-mode):
14301 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14302 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14303 * emulation/crisp.el (crisp-mode):
14304 * emacs-lisp/eldoc.el (eldoc-mode):
14305 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14306 minor mode behavior.
14307
14308 2011-10-19 Juri Linkov <juri@jurta.org>
14309
14310 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14311 the list of hard-coded chars with escape-glyph face.
14312
14313 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14314
14315 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14316
14317 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
14318
14319 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14320 running process.
14321
14322 2011-10-19 Glenn Morris <rgm@gnu.org>
14323
14324 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14325 Ignore ignored files. (Bug#9726)
14326
14327 2011-10-19 Chong Yidong <cyd@gnu.org>
14328
14329 Doc fix for minor modes, stating that an omitted argument enables
14330 the mode unconditionally when called from Lisp.
14331
14332 * abbrev.el (abbrev-mode):
14333 * allout.el (allout-mode):
14334 * autoinsert.el (auto-insert-mode):
14335 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14336 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14337 (global-auto-revert-mode):
14338 * battery.el (display-battery-mode):
14339 * composite.el (global-auto-composition-mode)
14340 (auto-composition-mode):
14341 * delsel.el (delete-selection-mode):
14342 * desktop.el (desktop-save-mode):
14343 * dired-x.el (dired-omit-mode):
14344 * dirtrack.el (dirtrack-mode):
14345 * doc-view.el (doc-view-minor-mode):
14346 * double.el (double-mode):
14347 * electric.el (electric-indent-mode, electric-pair-mode):
14348 * emacs-lock.el (emacs-lock-mode):
14349 * epa-hook.el (auto-encryption-mode):
14350 * follow.el (follow-mode):
14351 * font-core.el (font-lock-mode):
14352 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14353 * help.el (temp-buffer-resize-mode):
14354 * hilit-chg.el (highlight-changes-mode)
14355 (highlight-changes-visible-mode):
14356 * hi-lock.el (hi-lock-mode):
14357 * hl-line.el (hl-line-mode, global-hl-line-mode):
14358 * icomplete.el (icomplete-mode):
14359 * ido.el (ido-everywhere):
14360 * image-file.el (auto-image-file-mode):
14361 * image-mode.el (image-minor-mode):
14362 * iswitchb.el (iswitchb-mode):
14363 * jka-cmpr-hook.el (auto-compression-mode):
14364 * linum.el (linum-mode):
14365 * longlines.el (longlines-mode):
14366 * master.el (master-mode):
14367 * mb-depth.el (minibuffer-depth-indicate-mode):
14368 * menu-bar.el (menu-bar-mode):
14369 * minibuf-eldef.el (minibuffer-electric-default-mode):
14370 * mouse-sel.el (mouse-sel-mode):
14371 * msb.el (msb-mode):
14372 * mwheel.el (mouse-wheel-mode):
14373 * outline.el (outline-minor-mode):
14374 * paren.el (show-paren-mode):
14375 * recentf.el (recentf-mode):
14376 * reveal.el (reveal-mode, global-reveal-mode):
14377 * rfn-eshadow.el (file-name-shadow-mode):
14378 * ruler-mode.el (ruler-mode):
14379 * savehist.el (savehist-mode):
14380 * scroll-all.el (scroll-all-mode):
14381 * scroll-bar.el (scroll-bar-mode):
14382 * server.el (server-mode):
14383 * shell.el (shell-dirtrack-mode):
14384 * simple.el (auto-fill-mode, transient-mark-mode)
14385 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14386 (line-number-mode, column-number-mode, size-indication-mode)
14387 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14388 * strokes.el (strokes-mode):
14389 * time.el (display-time-mode):
14390 * t-mouse.el (gpm-mouse-mode):
14391 * tool-bar.el (tool-bar-mode):
14392 * tooltip.el (tooltip-mode):
14393 * type-break.el (type-break-mode-line-message-mode)
14394 (type-break-query-mode):
14395 * view.el (view-mode):
14396 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14397 (global-whitespace-mode, global-whitespace-newline-mode):
14398 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14399
14400 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14401 Fix autogenerated docstring.
14402
14403 2011-10-19 Juri Linkov <juri@jurta.org>
14404
14405 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14406 by checking environment variables "DESKTOP_SESSION" and
14407 "XDG_CURRENT_DESKTOP". (Bug#9779)
14408
14409 2011-10-19 Juri Linkov <juri@jurta.org>
14410
14411 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14412 (browse-url-chromium-program, browse-url-chromium-arguments):
14413 New defcustoms.
14414 (browse-url-default-browser): Check for `browse-url-chromium' and
14415 call `browse-url-chromium-program'.
14416 (browse-url-chromium): New command. (Bug#9779)
14417
14418 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
14419
14420 * facemenu.el (list-colors-duplicates): On Windows, detect more
14421 duplicates by assuming that only colors matching "^System" are
14422 special "system colors". (Bug#9722)
14423
14424 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14425
14426 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14427 to distinguish the author from the committer.
14428
14429 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
14430
14431 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14432
14433 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14434
14435 * international/mule.el (sgml-html-meta-auto-coding-function):
14436 Add support for detecting encoding in HTML5 specified only as
14437 <meta charset="UTF-8">. Implementation just makes http-equiv and
14438 content-type parts from HTML4 encoding string optional. (Bug#9716)
14439
14440 2011-10-18 Glenn Morris <rgm@gnu.org>
14441
14442 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14443
14444 2011-10-18 Chong Yidong <cyd@gnu.org>
14445
14446 * faces.el (cursor): Doc fix.
14447
14448 2011-10-17 Chong Yidong <cyd@gnu.org>
14449
14450 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14451
14452 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
14453
14454 * dirtrack.el (dirtrack): Support shell buffers with path
14455 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14456
14457 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14458
14459 * json.el: Bump version to 1.3 and note change in History.
14460 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14461
14462 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14463
14464 * comint.el (comint-insert-input, comint-send-input)
14465 (comint-get-old-input-default, comint-backward-matching-input)
14466 (comint-next-prompt): Use nil instead of `input' for field property of
14467 past user input (bug#114).
14468
14469 * minibuffer.el (completion--replace): Inherit surrounding properties
14470 (bug#114).
14471 (minibuffer-complete-and-exit): Use it.
14472
14473 * comint.el (comint--table-subvert): Quote the all-completions output
14474 (bug#9160).
14475
14476 2011-10-17 Martin Rudalics <rudalics@gmx.at>
14477
14478 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14479
14480 * menu-bar.el (menu-bar-file-menu): Add entry for making new
14481 window on right of selected. (Bug#9350) Reword other window
14482 entries and separate them from frame entries.
14483
14484 2011-10-15 Glenn Morris <rgm@gnu.org>
14485
14486 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14487 Doc fixes.
14488
14489 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
14490
14491 * net/network-stream.el (network-stream-open-starttls):
14492 Improve detection of failure due to lack of TLS support.
14493
14494 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14495 putting the input text in front and in bold.
14496
14497 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14498
14499 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14500
14501 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14502 empty buffer.
14503
14504 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14505 unread-command-events rather than pushing yet-another event.
14506
14507 2011-10-14 Eli Zaretskii <eliz@gnu.org>
14508
14509 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14510 the explanation of the possible choices. Make the options passed
14511 to completing-read shorter.
14512
14513 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14514
14515 * textmodes/flyspell.el (flyspell-large-region): Make sure
14516 extended character mode is used if defined (Bug#1339).
14517
14518 2011-10-13 Eli Zaretskii <eliz@gnu.org>
14519
14520 * simple.el (what-cursor-position): Fix the display of the
14521 character info for LRE, LRO, RLE, and RLO characters by appending
14522 an invisible PDF.
14523
14524 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14525
14526 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14527 even in case of error; add debug spec; simplify data flow.
14528 (with-timeout-handler): Remove.
14529
14530 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
14531
14532 Fix Bug#6019, Bug#9315.
14533
14534 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14535 complete `buffer-file-name', the local file name part could look
14536 remotely (for example on VMS).
14537
14538 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14539 `tramp-run-real-handler'.
14540 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14541 already quoted by '"'.
14542
14543 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14544 Let `file-name-handler-alist' be nil, the local file name part
14545 could look remotely (for example on VMS).
14546
14547 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14548
14549 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14550 from here...
14551 (flyspell-post-command-hook): ...to here.
14552
14553 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14554
14555 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14556 if not needed.
14557 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14558 using completion. Protect against "slow" callers.
14559 Remove the "message hack".
14560
14561 2011-10-11 Juri Linkov <juri@jurta.org>
14562
14563 * isearch.el (isearch-lazy-highlight-word): New variable.
14564 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14565 Use it. (Bug#9727)
14566
14567 2011-10-11 Glenn Morris <rgm@gnu.org>
14568
14569 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14570 like f90-previous-statement does.
14571
14572 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14573
14574 * eshell/eshell.el (eshell-command): History should be saved
14575 only in interactive use, to avoid error.
14576
14577 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14578
14579 * minibuffer.el (completion-file-name-table): Fix last change,
14580 i.e. ignore normal errors but not the other ones.
14581
14582 2011-10-10 Martin Rudalics <rudalics@gmx.at>
14583
14584 * window.el (special-display-buffer-names)
14585 (special-display-regexps): Remove some remnants of earlier
14586 changes from doc-strings.
14587 (quit-windows-on): New function.
14588
14589 * vc/vc.el (vc-revert, vc-rollback):
14590 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14591 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
14592 (Bug#6183) (Bug#7074) (Bug#7447)
14593
14594 2011-10-09 Martin Rudalics <rudalics@gmx.at>
14595
14596 * window.el (frame-auto-hide-function): Add version tag.
14597 (Bug#9699)
14598
14599 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
14600
14601 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14602 condition.
14603
14604 2011-10-09 Leo Liu <sdl.web@gmail.com>
14605
14606 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14607 (Bug#9701)
14608
14609 2011-10-08 Glenn Morris <rgm@gnu.org>
14610
14611 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14612 before the first code statement zero indent. (Bug#9690)
14613
14614 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
14615
14616 * simple.el (count-words-region): Always count in the region.
14617 Report the number of lines and characters too.
14618 (count-words): New command, which counts in the buffer if the
14619 region is inactive, as count-words-region used to.
14620 (count-words--message): New function. Handle plurals.
14621 (count-lines-region): Make it an alias for count-words-region.
14622
14623 * bindings.el (esc-map): Replace count-lines-region with
14624 count-words-region.
14625
14626 2011-10-08 Martin Rudalics <rudalics@gmx.at>
14627
14628 * window.el (window--delete): Delete dedicated frame
14629 unconditionally when argument KILL is non-nil. (Bug#9699)
14630 (switch-to-buffer): Fix doc-string typo.
14631
14632 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14633
14634 * eshell/eshell.el (eshell-command): Avoid using hooks.
14635
14636 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
14637
14638 * bindings.el ([M-left],[M-right]): Bind to left-word and
14639 right-word respectively.
14640
14641 2011-10-07 Glenn Morris <rgm@gnu.org>
14642
14643 * cus-start.el (debug-on-quit): Fix custom type.
14644
14645 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14646
14647 * subr.el (define-key-after): Clarify that the function is not
14648 useful for non-menu keymaps.
14649
14650 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14651
14652 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14653
14654 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14655 in current minibuffer (Fix bug with recursive minibuffers).
14656
14657 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
14658
14659 * progmodes/gdb-mi.el (gdb): Doc fix.
14660
14661 2011-10-05 Martin Rudalics <rudalics@gmx.at>
14662
14663 * window.el (frame-auto-hide-function): New option replacing
14664 frame-auto-delete. Suggested by Stefan Monnier.
14665 (window--delete): Call frame-auto-hide-function instead of
14666 investigating frame-auto-delete.
14667 (window-point-1, set-window-point-1): New functions.
14668 (window-in-direction, record-window-buffer, window-state-get-1)
14669 (display-buffer-record-window): Use window-point-1 instead of
14670 window-point.
14671 (set-window-buffer-start-and-point): Use set-window-point-1.
14672
14673 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14674
14675 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14676
14677 2011-10-05 Glenn Morris <rgm@gnu.org>
14678
14679 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14680 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14681
14682 2011-10-05 Leo Liu <sdl.web@gmail.com>
14683
14684 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14685 works with buffer object.
14686
14687 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14688
14689 * mpc.el (mpc-tool-bar-map): Add labels.
14690
14691 2011-10-04 Glenn Morris <rgm@gnu.org>
14692
14693 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14694
14695 2011-10-04 Martin Rudalics <rudalics@gmx.at>
14696
14697 * window.el (window--delete): New function.
14698 (frame-auto-delete): Resuscitate option.
14699 (bury-buffer, replace-buffer-in-windows)
14700 (quit-window): Rewrite using window--delete.
14701 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14702 Pass display-buffer-mark-dedicated to window--display-buffer-2
14703 (Bug#9639).
14704
14705 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14706
14707 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14708 returns a list (bug#9554). Add remote file name completion.
14709 * comint.el (comint--table-subvert): Curry and get quote&unquote
14710 functions as arguments.
14711 (comint--complete-file-name-data): Adjust call accordingly.
14712 * pcomplete.el (pcomplete--table-subvert): Remove.
14713 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14714
14715 * minibuffer.el (completion-table-case-fold): Use currying.
14716 (completion--styles-type, completion--cycling-threshold-type):
14717 New constants.
14718 (completion-styles, completion-category-overrides)
14719 (completion-cycle-threshold): Use them.
14720 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14721 completion-table-case-fold.
14722
14723 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
14724
14725 * minibuffer.el (completion-category-overrides): Fix type of styles
14726 and add more user friendly tags (bug#9660).
14727
14728 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14729
14730 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14731 (mule-input-method-string): New widget.
14732 (default-input-method, language-info-custom-alist): Use it.
14733
14734 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14735
14736 * pcomplete.el: Require comint.
14737 (pcomplete--common-suffix): Remove.
14738 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14739 (pcomplete--table-subvert): Sync with comint--table-subvert.
14740 (pcomplete--entries): Use comint-completion-file-name-table.
14741 * comint.el (comint-unquote-filename): Simplify.
14742 (comint-completion-file-name-table): New function (bug#9616).
14743 (comint--complete-file-name-data): Use it.
14744
14745 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14746 (pcmpl-gnu-tar-buffer): Remove.
14747 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14748 around. Make sure pcomplete-suffix-list is only changed temporarily.
14749 Don't look inside the tar's file if it's too large.
14750
14751 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
14752
14753 * cus-edit.el (custom-mode-map):
14754 * epa.el (epa-key-list-mode-map):
14755 * man.el (Man-mode-map):
14756 * startup.el (splash-screen-keymap):
14757 * simple.el (special-mode-map): Use scroll-up-command and
14758 scroll-down-command.
14759
14760 * progmodes/idlw-help.el (idlwave-help-mode-map):
14761 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14762 * net/newst-plainview.el (newsticker-mode-map):
14763 * emulation/ws-mode.el (wordstar-mode-map):
14764 * emulation/vi.el (vi-com-map):
14765 * calc/calc-graph.el (calc-graph-show-dumb):
14766 * term/sun.el (terminal-init-sun):
14767 * term/ns-win.el (global-map):
14768 * progmodes/grep.el (grep-mode-map):
14769 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14770 * mail/rmail.el (rmail-mode-map):
14771 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14772
14773 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14774 custom-safe-themes as special.
14775
14776 2011-10-01 Julien Danjou <julien@danjou.info>
14777
14778 * notifications.el (notifications-notify): Fix docstring.
14779
14780 2011-10-01 Per Starbäck <per@starback.se>
14781
14782 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14783
14784 2011-09-30 Martin Rudalics <rudalics@gmx.at>
14785
14786 * startup.el (command-line-1): Fix last fix by inserting
14787 initial-scratch-message into *scratch* before displaying it.
14788 (Bug#9605) and (Bug#9636)
14789
14790 2011-09-29 Eli Zaretskii <eliz@gnu.org>
14791
14792 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14793 window is hscrolled, move by logical lines. (Bug#9607)
14794 (line-move-visual): Update the doc string to the above effect.
14795
14796 2011-09-29 Martin Rudalics <rudalics@gmx.at>
14797
14798 * window.el (display-buffer-record-window): When WINDOW is the
14799 selected window use `point' instead of `window-point'. (Bug#9626)
14800
14801 * startup.el (command-line-1): Use insert-before-markers when
14802 inserting initial-scratch-message. (Bug#9605)
14803
14804 * help.el (help-window): Remove variable.
14805
14806 2011-09-29 Glenn Morris <rgm@gnu.org>
14807
14808 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14809
14810 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
14811
14812 * descr-text.el (describe-char-categories): Accept category
14813 descriptions more than one line long.
14814
14815 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14816
14817 * simple.el (delete-trailing-whitespace): Fix last change.
14818
14819 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14820 Don't confuse "y => 3" as the beginning of a `y' operation.
14821
14822 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14823 object has more than 4 slots (bug#9613).
14824
14825 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
14826
14827 * subr.el (with-output-to-temp-buffer):
14828 * net/quickurl.el (quickurl, quickurl-browse-url):
14829 Fix typos in docstrings.
14830
14831 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14832
14833 * minibuffer.el (completion-styles)
14834 (completion-category-overrides): Cross reference each other in doc
14835 strings.
14836
14837 2011-09-27 Glenn Morris <rgm@gnu.org>
14838
14839 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14840 to split-string. (Bug#9606)
14841
14842 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14843
14844 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14845 (bug#9615).
14846
14847 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
14848
14849 * emacs-lisp/package.el (list-packages): Fix echo area message.
14850
14851 2011-09-27 Leo Liu <sdl.web@gmail.com>
14852
14853 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14854
14855 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
14856
14857 * net/dbus.el (dbus-unregister-object): Don't release services for
14858 registered signals. (Bug#9581)
14859
14860 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14861
14862 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14863 function that picks between cfengine 2 and 3 support
14864 automatically. Update docs accordingly.
14865
14866 2011-09-22 Kenichi Handa <handa@m17n.org>
14867
14868 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14869 ZERO.
14870 (indian-itrans-v5-table-for-tamil): New variable.
14871 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14872
14873 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14874
14875 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14876 that's true if the current command involved collapsing of text.
14877 It's reset to false at the beginning of the next command.
14878 (allout-post-command-business): Move the cursor to the beginning
14879 of entry if the cursor is hidden and collapsing activity just
14880 happened.
14881
14882 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
14883
14884 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14885 tracking (Bug#9541).
14886
14887 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
14888
14889 * net/newst-reader.el (newsticker-html-renderer)
14890 (newsticker-show-news): Automatically load html rendering package
14891 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14892 because w3m-fill-column is let-bound" and the error "Symbol's value
14893 as variable is void: w3m-fill-column".
14894
14895 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
14896
14897 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14898 Release services only if they are defined. (Bug#9581)
14899
14900 2011-09-23 Richard Stallman <rms@gnu.org>
14901
14902 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14903 distinguish start of paragraph from start of its text.
14904
14905 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14906
14907 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14908 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14909 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14910
14911 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14912
14913 * international/mule-diag.el (mule-diag): Insert a newline after
14914 each fontset description.
14915
14916 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14917
14918 * simple.el (delete-trailing-whitespace):
14919 Document last change; simplify.
14920
14921 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14922
14923 * simple.el (delete-trailing-whitespace): Also delete
14924 extra newlines at the end of the buffer.
14925
14926 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14927 (picture-newline): Use forward-line so as to ignore fields.
14928
14929 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14930
14931 * subr.el (with-wrapper-hook): Fix edebug spec.
14932
14933 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14934
14935 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14936 (bug#4538).
14937
14938 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14939
14940 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14941 Fix nasty bug using wrong cached values.
14942
14943 2011-09-23 Alan Mackenzie <acm@muc.de>
14944
14945 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14946
14947 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14948
14949 * window.el (pop-to-buffer): Ensure right window is selected if we
14950 chose another frame.
14951
14952 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14953
14954 * simple.el (what-cursor-position): Use get-char-property-change
14955 and next-single-char-property-change, to be able to show display
14956 properties that come from overlays as well as text properties.
14957
14958 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14959
14960 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14961
14962 * cmuscheme.el (run-scheme, switch-to-scheme):
14963 * cus-edit.el (customize-group, custom-buffer-create)
14964 (customize-browse):
14965 * info.el (info):
14966 * shell.el (shell):
14967 * mail/sendmail.el (mail):
14968 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14969
14970 2011-09-22 Richard Stallman <rms@gnu.org>
14971
14972 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14973 move back only to line beg, don't move back over blank lines.
14974
14975 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14976
14977 * files.el (copy-directory): Set directory attributes only in case
14978 they could be retrieved from the source directory. (Bug#9565)
14979
14980 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14981
14982 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14983 (hs-find-block-beginning, hs-hide-level-recursive):
14984 Ignore strings as well as comments. (Bug#9502)
14985
14986 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14987
14988 * progmodes/sql.el (sql-comint-postgres):
14989 Convert port number to a string. (Bug#9566)
14990
14991 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14992
14993 * window.el (quit-window): Undedicate window when switching to
14994 previous buffer. Reported by Thierry Volpiatto
14995 <thierry.volpiatto@gmail.com>.
14996 (special-display-popup-frame): When popping up a new frame reset
14997 its previous buffers to nil. Simplify code.
14998
14999 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
15000
15001 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15002 and process filter, as done also in `shell-command'.
15003
15004 2011-09-21 Martin Rudalics <rudalics@gmx.at>
15005
15006 * window.el (set-window-buffer-start-and-point):
15007 Call set-window-start with NOFORCE argument t.
15008 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15009 (quit-window): Reword doc-string. Handle new format of
15010 quit-restore parameter. Don't delete window if it has a
15011 previous buffer we can show instead of the present one.
15012 (display-buffer-record-window): Rewrite using a new format for
15013 the quit-restore window parameter
15014 (special-display-popup-frame, display-buffer-same-window)
15015 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15016 (display-buffer-pop-up-window, display-buffer-use-some-window):
15017 Adapt symbol passed to display-buffer-record-window.
15018 * help.el (help-window-setup): Handle new format of quit-restore
15019 parameter.
15020
15021 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15022
15023 * faces.el (face-list): Fix docstring (bug#9564).
15024
15025 * window.el (display-buffer--action-function-custom-type):
15026 Don't include internal functions in the Custom interface.
15027
15028 2011-09-20 Juri Linkov <juri@jurta.org>
15029
15030 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15031 (Info-forward-node, Info-backward-node, Info-next-preorder)
15032 (Info-last-preorder): Use it. (Bug#9528)
15033
15034 2011-09-20 Juri Linkov <juri@jurta.org>
15035
15036 * info.el (Info-last-preorder): Visit last menu item only when
15037 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15038
15039 2011-09-20 Julien Danjou <julien@danjou.info>
15040
15041 * password-cache.el (password-cache-remove): Remove entries even if the
15042 value is nil, so that password with a nil value (negative caching) is
15043 possible to invalidate.
15044
15045 2011-09-20 Lawrence Mitchell <wence@gmx.li>
15046
15047 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15048 all whitespace around breakpoint. (Bug#9553)
15049 (f90-find-breakpoint): Only break at whitespace inside a comment.
15050
15051 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15052
15053 * minibuffer.el (completion-file-name-table): Keep track of errors.
15054 (completion-table-with-predicate): Handle the case where pred1 is nil.
15055 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15056
15057 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15058
15059 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15060 (debugger-return-value): Signal an error if the debugging context does
15061 not await any return value.
15062
15063 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15064 * image-mode.el (image-toggle-display-text)
15065 (image-toggle-display-image): Stay away from evil `intangible'.
15066
15067 2011-09-19 Leo Liu <sdl.web@gmail.com>
15068
15069 * replace.el (occur-revert-arguments): Make it permanent-local.
15070 (occur-mode): Don't call font-lock-defontify.
15071
15072 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
15073
15074 * net/ldap.el (ldap-search-internal): Don't push empty search
15075 result (Bug#9508).
15076
15077 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15078
15079 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15080
15081 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
15082
15083 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15084 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15085
15086 2011-09-18 Juri Linkov <juri@jurta.org>
15087
15088 * buff-menu.el (Buffer-menu-mode-map):
15089 * dired.el (dired-mode-map):
15090 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15091 (lisp-interaction-mode-map):
15092 * emacs-lisp/package.el (package-menu-mode-map):
15093 * epa.el (epa-key-list-mode-map):
15094 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15095 (menu-bar-options-menu):
15096 * outline.el (outline-mode-menu-bar-map):
15097 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15098 * vc/vc-dir.el (vc-dir-menu-map):
15099 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15100 Capitalize non-function content words in menu item strings.
15101
15102 * dired.el (dired-mode-map): Add menu item for
15103 `image-dired-dired-toggle-marked-thumbs'.
15104
15105 2011-09-18 Juri Linkov <juri@jurta.org>
15106
15107 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15108 to `isearch-case-fold-search' and restore its original value
15109 after the `isearch-mode' call.
15110
15111 2011-09-18 Juri Linkov <juri@jurta.org>
15112
15113 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15114 because `zgrep' returns 1 for successful matches (bug#9226).
15115
15116 2011-09-18 Juri Linkov <juri@jurta.org>
15117
15118 * info.el (Info-extract-menu-node-name): Check the second match
15119 for empty string (second test-case of bug#9528).
15120 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15121 intermediate nodes to the history (first test-case of bug#9528).
15122
15123 2011-09-18 Juri Linkov <juri@jurta.org>
15124
15125 * info.el (Info-mode-syntax-table): New variable.
15126 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15127
15128 2011-09-18 Juri Linkov <juri@jurta.org>
15129
15130 * info.el (Info-file-supports-index-cookies):
15131 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15132 outputs one more line for long file names (bug#4142).
15133
15134 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15135
15136 * newcomment.el (comment-normalize-vars): If prompting for
15137 comment-start, set comment-start-skip too (Bug#8424).
15138
15139 2011-09-18 Johan Bockgård <bojohan@gnu.org>
15140
15141 * icomplete.el: Fix previous fix of Bug#5849.
15142 (icomplete-mode): Don't set completion-show-inline-help.
15143 (icomplete-minibuffer-setup): Set completion-show-inline-help
15144 locally during icompletion.
15145
15146 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15147
15148 * woman.el (woman2-process-escapes): Don't delete unrecognized
15149 escapes (Bug#7843).
15150
15151 * files.el (inhibit-first-line-modes-regexps): Add image files.
15152 (hack-local-variables-prop-line): Return nil for malformed
15153 prop-lines (Bug#9044).
15154
15155 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
15156
15157 * net/tramp.el (top): Don't require 'shell.
15158 (tramp-methods): Fix docstring.
15159 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15160 Return complete remote file name. Handle "smb" case.
15161 Use `tramp-tmpdir', if defined for the respective method.
15162 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15163
15164 * net/tramp-compat.el (top): Require 'shell.
15165
15166 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15167 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15168 `tramp-current-host'.
15169 (tramp-get-remote-tmpdir): Remove.
15170
15171 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15172 `tramp-tmpdir' entries.
15173 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15174 (tramp-smb-handle-file-attributes): Ignore errors.
15175 (tramp-smb-wait-for-output): Check also for process end.
15176
15177 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15178
15179 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15180 when sending QUIT (bug#9312).
15181
15182 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
15183
15184 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15185 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15186 occur-mode-display-occurrence.
15187 (occur-edit-mode): Add usage message.
15188 (occur-cease-edit): New command.
15189 (occur-after-change-function): Use text properties to find the
15190 position of the prefix text.
15191 (occur-engine): Set stickiness of prefix text properties.
15192
15193 2011-09-17 Glenn Morris <rgm@gnu.org>
15194
15195 * progmodes/etags.el (complete-tag):
15196 Fix call to completion-in-region. (Bug#9526)
15197
15198 2011-09-17 Juri Linkov <juri@jurta.org>
15199
15200 * textmodes/ispell.el (ispell-word): Add to the error message
15201 the word, ispell program name and current dictionary (bug#9121).
15202 (ispell-tex-arg-end): Capitalize "error" in the error message.
15203
15204 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15205
15206 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15207 check. (Bug#4251)
15208
15209 2011-09-17 Juri Linkov <juri@jurta.org>
15210
15211 * window.el (window-safe-min-height, window-safe-min-width):
15212 Fix typos (followup to bug#9522).
15213
15214 2011-09-17 Sven Joachim <svenjoac@gmx.de>
15215
15216 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15217
15218 2011-09-16 Eli Zaretskii <eliz@gnu.org>
15219
15220 * simple.el (line-move): If goal-column is set, move by logical
15221 lines, not by display lines. (Bug#971)
15222 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15223 to reflect the above change.
15224
15225 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15226
15227 * image.el (imagemagick-register-types): Use regexp-opt.
15228
15229 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15230
15231 * window.el (display-buffer-base-action): Rename from
15232 display-buffer-default-action. Make default value empty.
15233 (display-buffer-overriding-action): Convert to defvar.
15234 (display-buffer-fallback-action): New var.
15235
15236 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15237
15238 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15239 declaration.
15240 (package--add-to-archive-contents): If there is a duplicate entry
15241 with an older version, remove it.
15242 (package-menu-mark-delete, package-menu-mark-install)
15243 (package-menu-mark-unmark): Make unused args optional.
15244 (package-menu-mark-obsolete-for-deletion):
15245 Use package-menu-get-status instead of a regexp search.
15246 (package-menu-get-status): Use tabulated-list-entry.
15247 (package-menu-mark-upgrades): New command.
15248 (package-menu-mode-map): Bind it to U. Add it to menu bar.
15249 (package-menu-execute): Do installation before deletion.
15250 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15251 instead of checking major-mode.
15252 (package-menu--find-upgrades): New function.
15253
15254 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15255
15256 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15257 passwords in the log buffer.
15258 (smtpmail-process-filter): Update the process marker so that the
15259 "broken by peer" status message is inserted in the right place.
15260
15261 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15262
15263 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15264 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15265 bibtex-completion-at-point-function.
15266 (bibtex-completion-at-point-function): Use them.
15267
15268 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15269
15270 * mpc.el (mpc-constraints-tag-lookup): New function.
15271 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15272 also to browser "album|playlist".
15273
15274 2011-09-14 Juri Linkov <juri@jurta.org>
15275
15276 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15277 (isearch-edit-string): Use length of `isearch-string' when
15278 `isearch-fail-pos' returns nil.
15279 (isearch-message): Remove duplicate code and call
15280 `isearch-fail-pos' with arg `t'.
15281
15282 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
15283
15284 * replace.el (occur-mode-goto-occurrence): Don't force using other
15285 window (Bug#9499).
15286
15287 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15288
15289 2011-09-14 Martin Rudalics <rudalics@gmx.at>
15290
15291 * window.el (display-buffer-window): Remove.
15292 (display-buffer-record-window): Use help-setup window parameter
15293 instead of variable display-buffer-window.
15294 (display-buffer-function, special-display-buffer-names)
15295 (special-display-function): Mention help-setup parameter instead
15296 of display-buffer-window in doc-string.
15297 * help.el (help-window-setup): New argument help-window.
15298 Use help-window-setup parameter instead of display-buffer-window.
15299 Reword some messages.
15300 (with-help-window): Pass window used for displaying the buffer
15301 to help-window-setup. Don't set display-buffer-window.
15302
15303 2011-09-13 Glenn Morris <rgm@gnu.org>
15304
15305 * emacs-lisp/debug.el (debugger-make-xrefs):
15306 Preserve point. (Bug#9462)
15307
15308 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15309
15310 * window.el (window-deletable-p): Use next-frame.
15311
15312 2011-09-13 Martin Rudalics <rudalics@gmx.at>
15313
15314 * window.el (window-auto-delete): Remove.
15315 (window-deletable-p): Remove argument FORCE. Don't deal with
15316 dedication and previous buffers.
15317 (switch-to-prev-buffer): Don't delete window.
15318 (delete-windows-on): Delete a window's frame if and only if the
15319 window is dedicated.
15320 (replace-buffer-in-windows): Delete buffer's window or frame if
15321 and only if window is dedicated.
15322 (quit-window): Handle quit-restore as before last change.
15323 (bury-buffer): Delete window only if window-deletable-p returns t.
15324
15325 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15326
15327 * window.el (window-deletable-p): Never delete the last frame on a
15328 given terminal.
15329
15330 2011-09-13 Glenn Morris <rgm@gnu.org>
15331
15332 * help.el (describe-key-briefly): Copy previous standard-output change.
15333
15334 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
15335
15336 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15337
15338 2011-09-13 Glenn Morris <rgm@gnu.org>
15339
15340 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15341 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15342
15343 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
15344
15345 * dired-aux.el (dired-mark-read-string): Don't return default
15346 value on empty input (Bug#9361).
15347 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15348 Omit initial minibuffer contents.
15349 (dired-do-chmod): Signal an error on empty input.
15350 (dired-mark-read-string): Don't return default on empty input.
15351
15352 * files.el (file-modes-symbolic-to-number): Doc fix.
15353
15354 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15355
15356 * international/mule-cmds.el (ucs-completions): Remove.
15357 (read-char-by-name): Use complete-with-action instead; add metadata.
15358
15359 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15360
15361 * window.el (display-buffer--action-function-custom-type)
15362 (display-buffer--action-custom-type): New vars.
15363 (display-buffer-alist, display-buffer-default-action)
15364 (display-buffer-overriding-action): Add defcustom types.
15365
15366 * frame.el (delete-other-frames): Doc fix (Bug#276).
15367
15368 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15369
15370 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15371
15372 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15373
15374 Change modes that used same-window-* vars to use switch-to-buffer.
15375
15376 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15377 Use switch-to-buffer.
15378
15379 * cus-edit.el (customize-group, custom-buffer-create)
15380 (customize-browse, custom-buffer-create-other-window):
15381 Use switch-to-buffer or switch-to-buffer-other-window.
15382
15383 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15384 (Info-prev, Info-up, Info-speedbar-goto-node)
15385 (info-display-manual): Use switch-to-buffer.
15386 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15387
15388 * mail/sendmail.el (mail): Use switch-to-buffer.
15389 (mail-recover): Use switch-to-buffer-other-window.
15390
15391 * cmuscheme.el (run-scheme, switch-to-scheme):
15392 * ielm.el (ielm):
15393 * shell.el (shell):
15394 * net/rlogin.el (rlogin):
15395 * net/telnet.el (telnet, rsh):
15396 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15397
15398 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15399
15400 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15401
15402 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15403
15404 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15405 so don't mention it (bug#9301).
15406 (dired-sort-toggle-or-edit): Clarify string further.
15407
15408 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15409 match `x', `w32' and `ns', like the manual says (bug#9029).
15410
15411 * subr.el (eval-after-load): Doc string clarification (bug#9125).
15412 (process-kill-buffer-query-function): Mention the buffer name in
15413 the query.
15414
15415 * image-mode.el (image-next-line): The line parameter is mandatory
15416 (bug#9258).
15417
15418 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15419 which can be useful (bug#9301).
15420
15421 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15422
15423 * subr.el (match-string): Mention that the current buffer should
15424 be the same as the search was done in (bug#9282).
15425
15426 * facemenu.el: Disable the remove-* commands if the mark isn't
15427 active (bug#9162).
15428
15429 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15430
15431 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15432 of display-buffer.
15433 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15434
15435 * replace.el (occur-mode-goto-occurrence)
15436 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15437 and display-buffer.
15438
15439 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15440 display-buffer.
15441
15442 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15443 special-display and same-window variables.
15444 (mail-other-window): Use switch-to-buffer-other-window.
15445 (mail-other-frame): USe switch-to-buffer-other-frame.
15446
15447 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15448 Use display-buffer-other-frame.
15449 (gdb-display-gdb-buffer): Use pop-to-buffer.
15450
15451 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15452
15453 * progmodes/python.el: Don't set same-window-buffer-names.
15454
15455 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15456
15457 * window.el (display-buffer-alist): Add *Python*.
15458
15459 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15460
15461 * window.el (display-buffer-alist): Add entry for buffers
15462 previously handled same-window-*.
15463 (display-buffer-alist, display-buffer-default-action)
15464 (display-buffer-overriding-action): Mark as risky.
15465 (display-buffer-alist): Document action function changes.
15466 (display-buffer--same-window-action)
15467 (display-buffer--other-frame-action): New variables.
15468 (switch-to-buffer, display-buffer-other-frame): Use them.
15469 (display-buffer): Rename reuse-frame entry to reusable-frames.
15470 (display-buffer-reuse-selected-window): Function deleted.
15471 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15472 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15473 (display-buffer-special): New function.
15474 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15475 display-buffer-reuse-or-pop-window. Split off special-display
15476 part into display-buffer-special.
15477 (display-buffer-use-some-window): Don't perform any special
15478 pop-up-frames handling.
15479 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15480 (display-buffer--maybe-same-window): Rename from
15481 display-buffer-maybe-same-window.
15482
15483 * info.el: Don't set same-window-regexps.
15484 (info-setup): New function.
15485 (info-other-window, info): Call it.
15486
15487 * cus-edit.el: Don't set same-window-regexps.
15488 (customize-group): New argument.
15489 (customize-group-other-window): Use it.
15490 (customize-face, customize-face-other-window): Likewise.
15491 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15492
15493 * net/rlogin.el:
15494 * net/telnet.el:
15495 * progmodes/gud.el: Don't set same-window-regexps.
15496
15497 * cmuscheme.el:
15498 * ielm.el:
15499 * shell.el:
15500 * mail/sendmail.el:
15501 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15502
15503 2011-09-10 Juri Linkov <juri@jurta.org>
15504
15505 * isearch.el (isearch-edit-string): Remove obsolete mention of
15506 `C-w' (`isearch-yank-word-or-char') from docstring.
15507 (isearch-query-replace): Fix typo in docstring (bug#9466).
15508
15509 2011-09-10 Juri Linkov <juri@jurta.org>
15510
15511 * paren.el (show-paren-function): Don't show escaped parens.
15512 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15513
15514 2011-09-10 Eli Zaretskii <eliz@gnu.org>
15515
15516 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15517 (mm-default-file-encoding): Remove autoload forms, they are
15518 replaced with autoload cookies in mml.el and mm-encode.el.
15519 (mail-add-attachment): New command.
15520 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15521 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15522 the doc string.
15523 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15524
15525 2011-09-10 Reuben Thomas <rrt@sc3d.org>
15526
15527 * simple.el (count-words-region): Use buffer if there's no region
15528 (bug#9429).
15529
15530 2011-09-09 Juri Linkov <juri@jurta.org>
15531
15532 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15533 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15534 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15535
15536 2011-09-09 Alan Mackenzie <acm@muc.de>
15537
15538 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15539 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15540
15541 2011-09-09 Eli Zaretskii <eliz@gnu.org>
15542
15543 Fix for Savannah bug#9392.
15544 * simple.el (mail-encode-mml): New defvar.
15545
15546 * mail/rmail.el (mail-encode-mml): Add a defvar.
15547 (rmail-enable-mime-composing): Default to t.
15548 (rmail-forward): Use MIME method of forwarding only if both
15549 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15550 Set mail-encode-mml non-nil if the MIME method was used.
15551
15552 * mail/sendmail.el (mml-to-mime): Add autoload form.
15553 (mail-encode-mml): Add a defvar.
15554 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15555 to nil.
15556 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15557 message through mml-to-mime, and reset mail-encode-mml to nil.
15558
15559 2011-09-09 Glenn Morris <rgm@gnu.org>
15560
15561 * woman.el (woman-if-body): When processing an .el block,
15562 do not delete the next .el block as well. (Bug#9447)
15563 (woman-special-characters): Add oq, cq, and hy characters.
15564
15565 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15566
15567 * window.el (window-deletable-p): Make sure window is live before
15568 invoking window-prev-buffers.
15569
15570 2011-09-08 Leo Liu <sdl.web@gmail.com>
15571
15572 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15573
15574 2011-09-08 Juri Linkov <juri@jurta.org>
15575
15576 * progmodes/compile.el (compilation-environment): Make it
15577 a defcustom (bug#8340).
15578
15579 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15580
15581 * window.el (frame-auto-delete): Rename to window-auto-delete.
15582 Make it control auto-deletion of windows and/or frames.
15583 (window-deletable-p): New argument FORCE. Rewrite conditions
15584 for deleting window/frame. (Bug#9419)
15585 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15586 Rewrite handling of case when window/frame can be deleted.
15587 (delete-windows-on): Call window-deletable-p with new FORCE
15588 argument t. (Bug#9456)
15589
15590 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
15591
15592 * help-mode.el (help-mode): Restore autoload.
15593
15594 2011-09-07 Juri Linkov <juri@jurta.org>
15595
15596 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15597 `compilation-environment'. Set buffer-local
15598 `compilation-environment' to `thisenv' later after (funcall mode).
15599 (Bug#8340)
15600
15601 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15602 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15603 instead of replacing its value. (Bug#8340)
15604
15605 2011-09-07 Juri Linkov <juri@jurta.org>
15606
15607 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15608 based on text properties put by `grep-filter' instead of matching
15609 escape sequences.
15610 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15611 to the value of `grep-error-screen-columns' (bug#9438).
15612
15613 2011-09-07 Juri Linkov <juri@jurta.org>
15614
15615 * simple.el (next-error-highlight, next-error-highlight-no-select):
15616 Doc fix (bug#9432).
15617
15618 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15619
15620 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15621 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15622
15623 2011-09-07 Leo Liu <sdl.web@gmail.com>
15624
15625 * net/rcirc.el (rcirc-mode): Conditionally initialize
15626 rcirc-input-ring.
15627
15628 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15629
15630 * emacs-lisp/find-func.el (find-function-C-source): Only set
15631 find-function-C-source-directory after checking that we found a source
15632 file there (bug#9440).
15633
15634 2011-09-06 Alan Mackenzie <acm@muc.de>
15635
15636 * isearch.el (isearch-other-meta-char): Wherever a key list is
15637 unread, "unread" the prefix arg, too. This fixes bug #8901.
15638
15639 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15640
15641 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15642
15643 2011-09-05 Juri Linkov <juri@jurta.org>
15644
15645 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15646
15647 2011-09-05 Juri Linkov <juri@jurta.org>
15648
15649 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15650 keeping point where processing of grep matches begins, and
15651 continue to delete remaining escape sequences from the same point.
15652 (grep-filter): Make leading zero optional in "0?1;31m" because
15653 git-grep emits "\033[1;31m" escape sequences unlike expected
15654 "\033[01;31m" as GNU Grep does (bug#9408).
15655 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15656
15657 2011-09-05 Juri Linkov <juri@jurta.org>
15658
15659 * subr.el (y-or-n-p): Capitalize "yes".
15660
15661 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
15662
15663 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15664 `tramp-cache-unload-hook' where appropriate.
15665 (tramp-methods): Rename `tramp-remote-sh' to
15666 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15667 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15668
15669 * net/tramp-sh.el (top): Don't require 'shell.
15670 (tramp-methods): Add `tramp-remote-shell' and
15671 `tramp-remote-shell-args' entries.
15672 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15673 (tramp-sh-handle-shell-command): Remove.
15674 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15675 Use `tramp-remote-shell'.
15676
15677 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
15678
15679 * mail/sendmail.el (sendmail-query-once-function): Delete.
15680 (sendmail-query-once): Save directly to send-mail-function.
15681 Update message-send-mail-function too.
15682
15683 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15684
15685 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15686
15687 * progmodes/python.el (python-mode-map): Use correct function to
15688 start python interpreter from menu-bar (as reported by Geert
15689 Kloosterman).
15690 (inferior-python-mode-map): Fix typo.
15691 (python-shell-map): Remove.
15692
15693 2011-09-03 Deniz Dogan <deniz@dogan.se>
15694
15695 * net/rcirc.el (rcirc-print): Simplify code for
15696 rcirc-scroll-show-maximum-output. There is no need to walk
15697 through all windows to find the right one.
15698
15699 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15700
15701 * help.el (help-return-method): Doc fix.
15702
15703 2011-09-03 Martin Rudalics <rudalics@gmx.at>
15704
15705 * window.el (window-deletable-p): Don't return a non-nil value
15706 when there's a buffer that was shown in the window before.
15707 (Bug#9419)
15708 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15709 Set window's previous buffers to nil.
15710
15711 2011-09-03 Eli Zaretskii <eliz@gnu.org>
15712
15713 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15714 newline before and after the tag line, so it doesn't interfere
15715 with determining the paragraph direction of bidirectional text.
15716
15717 2011-09-03 Leo Liu <sdl.web@gmail.com>
15718
15719 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15720
15721 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15722
15723 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15724 (pop-to-buffer): Change interactive spec. Pass second argument
15725 directly to display-buffer.
15726 (display-buffer): Fix interactive spec. Use functionp to
15727 distinguish between a function and a list of functions.
15728
15729 * abbrev.el (edit-abbrevs):
15730 * arc-mode.el (archive-extract):
15731 * autoinsert.el (auto-insert):
15732 * bookmark.el (bookmark-bmenu-list):
15733 * files.el (find-file):
15734 * view.el (view-buffer):
15735 * progmodes/compile.el (compilation-goto-locus):
15736 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15737
15738 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15739
15740 * window.el (display-buffer-alist): Doc fix.
15741 (display-buffer): Add docstring. Don't treat
15742 display-buffer-default specially.
15743 (display-buffer-reuse-selected-window)
15744 (display-buffer-same-window, display-buffer-maybe-same-window)
15745 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15746 (display-buffer-pop-up-window)
15747 (display-buffer-reuse-or-pop-window)
15748 (display-buffer-use-some-window): New functions.
15749 (display-buffer-default-action): Use them.
15750 (display-buffer-default): Delete.
15751 (pop-to-buffer-1): Fix choice of actions.
15752
15753 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15754
15755 * minibuffer.el (completion--insert-strings): Don't get confused by
15756 completion entries that end with an LF char.
15757
15758 2011-09-01 Eli Zaretskii <eliz@gnu.org>
15759
15760 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15761
15762 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
15763
15764 * window.el (display-buffer): Restore interactive spec.
15765 (display-buffer-same-window, display-buffer-other-window):
15766 New functions.
15767 (pop-to-buffer-1): New function. Use the above.
15768 (pop-to-buffer, pop-to-buffer-same-window): Use it.
15769 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15770
15771 * view.el (view-buffer-other-window, view-buffer-other-frame):
15772 Just use pop-to-buffer.
15773
15774 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15775
15776 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15777
15778 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15779
15780 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15781
15782 2011-08-31 Richard Stallman <rms@gnu.org>
15783
15784 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15785 of the separation of rmail-view-buffer from rmail-buffer.
15786 If you say no to "replace original", the decrypt is in the
15787 view buffer. If you say yes, the decrypt goes into the
15788 rmail buffer also.
15789
15790 2011-08-31 Martin Rudalics <rudalics@gmx.at>
15791
15792 * window.el (display-buffer-window): Rewrite doc-string.
15793 (display-buffer-record-window): New function.
15794 (display-buffer-macro-specifiers)
15795 (display-buffer-even-window-sizes, display-buffer-set-height)
15796 (display-buffer-set-width, display-buffer-in-window)
15797 (display-buffer-reuse-window, display-buffer-split-specifiers)
15798 (display-buffer-side-specifiers, display-buffer-split-window-1)
15799 (display-buffer-split-window, display-buffer-split-atom-window)
15800 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15801 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15802 (display-buffer-other-window-means-other-frame)
15803 (display-buffer-normalize-special)
15804 (display-buffer-normalize-default)
15805 (display-buffer-normalize-argument)
15806 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15807 (display-buffer-normalize-specifiers, display-buffer-frame)
15808 (display-buffer-same-window, display-buffer-same-frame)
15809 (display-buffer-other-window)
15810 (display-buffer-same-frame-other-window)
15811 (display-buffer-other-frame, pop-to-buffer-same-window)
15812 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15813 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15814 (switch-to-buffer-same-frame)
15815 (switch-to-buffer-other-window-same-frame)
15816 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15817 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15818 (display-buffer-alist-set): Remove.
15819 (display-buffer-function, special-display-buffer-names)
15820 (special-display-regexps, special-display-function):
15821 In doc-string refer to display-buffer-window and quit-restore
15822 parameter.
15823 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15824 (special-display-frame-alist, special-display-popup-frame)
15825 (same-window-buffer-names, same-window-regexps, same-window-p)
15826 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15827 (split-window-preferred-function, split-height-threshold)
15828 (split-width-threshold, window-splittable-p)
15829 (split-window-sensibly, window--try-to-split-window)
15830 (window--frame-usable-p, even-window-heights)
15831 (window--even-window-heights, window--display-buffer-1)
15832 (window--display-buffer-2, display-buffer-other-frame):
15833 Restore old Emacs 23 code, order and doc-strings where applicable.
15834 (display-buffer-default, display-buffer-assq-regexp): New functions.
15835 (display-buffer-alist): Rewrite doc-string.
15836 (display-buffer-default-action)
15837 (display-buffer-overriding-action): New variables.
15838 (display-buffer, switch-to-buffer): Rewrite.
15839 (pop-to-buffer): Restore Emacs 23 behavior but use
15840 window-normalize-buffer-to-display.
15841 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15842 Restore Emacs 23 behavior but use
15843 window-normalize-buffer-to-switch-to.
15844 (pop-to-buffer-same-window): Rewrite.
15845 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15846 Rewrite using Emacs 23 options.
15847
15848 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
15849
15850 * net/tramp.el (tramp-root-regexp): Remove.
15851 (tramp-completion-file-name-regexp-unified)
15852 (tramp-completion-file-name-regexp-separate)
15853 (tramp-completion-file-name-regexp-url): Don't use leading volume
15854 letter on w32 systems. (Bug#5303, Bug#9311)
15855 (tramp-drop-volume-letter): Simplify definition.
15856 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15857
15858 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15859
15860 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15861 (bug#9356).
15862
15863 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15864
15865 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15866
15867 2011-08-29 Juri Linkov <juri@jurta.org>
15868
15869 * isearch.el (isearch-done): Don't display message "Mark saved"
15870 when arg `edit' is non-nil to prevent its flicker in the echo area.
15871
15872 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15873
15874 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15875 obsolete packages for deletion.
15876
15877 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15878
15879 * help-mode.el (help-mode-map): Add special-mode-map to parent.
15880 (help-mode): Derive help-mode from special-mode. Don't invoke
15881 view-mode from help-mode.
15882 (help-xref-override-view-map): Remove.
15883 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15884 view-mode is not used anymore.
15885
15886 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15887
15888 * server.el (server-port): Doc fix.
15889
15890 * cus-theme.el (custom-theme-choose-mode): Inherit from
15891 special-mode (Bug#9124).
15892 (custom-theme-choose-mode-map): Add special-mode to parent.
15893
15894 2011-08-28 Alan Mackenzie <acm@muc.de>
15895
15896 * progmodes/cc-fonts.el
15897 (c-make-font-lock-BO-decl-search-function): New function.
15898 (c-basic-matchers-after - "Fontify the clauses after various
15899 keywords"): Extract the three keyword lists for the 3 erroneous
15900 constructs from the list of four, and use the new function above
15901 in place of an old one.
15902
15903 2011-08-28 Deniz Dogan <deniz@dogan.se>
15904
15905 * net/rcirc.el (rcirc-insert-prev-input)
15906 (rcirc-insert-next-input): Remove unused argument.
15907
15908 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15909
15910 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15911
15912 2011-08-27 Alan Mackenzie <acm@muc.de>
15913
15914 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15915 handle function pointer parameters properly.
15916
15917 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15918
15919 * window.el (display-buffer-reuse-window): Fix case where
15920 selected window was reused with non-nil OTHER-WINDOW argument.
15921 (Bug#9381)
15922
15923 2011-08-27 Deniz Dogan <deniz@dogan.se>
15924
15925 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15926 oftc's NickServ messages.
15927
15928 2011-08-27 Glenn Morris <rgm@gnu.org>
15929
15930 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15931
15932 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15933
15934 * emacs-lisp/package.el (package-install): Call package-initialize
15935 if called interactively.
15936
15937 2011-08-26 Leo Liu <sdl.web@gmail.com>
15938
15939 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15940
15941 2011-08-25 Juri Linkov <juri@jurta.org>
15942
15943 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15944 `search-whitespace-regexp' (bug#9364).
15945
15946 2011-08-25 Juri Linkov <juri@jurta.org>
15947
15948 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15949 `regexp-search-ring' to their global values to protect from
15950 updating by `read-from-minibuffer' (bug#9185).
15951
15952 2011-08-25 Juri Linkov <juri@jurta.org>
15953
15954 * textmodes/ispell.el (ispell-command-loop): Add newline
15955 at the end of the "Use option `i'..." line.
15956
15957 2011-08-25 Juri Linkov <juri@jurta.org>
15958
15959 * battery.el (display-battery-mode): If `battery-status-function'
15960 or `battery-mode-line-format' is nil, display the message and set
15961 `display-battery-mode' to nil (bug#9363).
15962
15963 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15964
15965 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15966 bidi-string-mark-left-to-right; they are unnecessary now.
15967
15968 2011-08-25 Deniz Dogan <deniz@dogan.se>
15969
15970 * net/quickurl.el: Documentation typo fixes.
15971
15972 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15973
15974 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15975
15976 2011-08-25 Glenn Morris <rgm@gnu.org>
15977
15978 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15979
15980 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15981 (smtpmail-via-smtp): Handle nil response from smtp.
15982
15983 2011-08-24 Juri Linkov <juri@jurta.org>
15984
15985 * proced.el (proced-marked): Inherit from `error' instead of
15986 `font-lock-warning-face'.
15987
15988 * ibuffer.el (ibuffer-marked-face): Change default face from
15989 `font-lock-warning-face' to `warning'.
15990 (ibuffer-deletion-face): Change default face from
15991 `font-lock-type-face' to `error'.
15992
15993 * battery.el (battery-update): Use the face `error' instead of
15994 `font-lock-warning-face' (bug#6117).
15995
15996 2011-08-24 Juri Linkov <juri@jurta.org>
15997
15998 * faces.el (success): Change face color from "Green3" to
15999 "ForestGreen" on light background (bug#9353).
16000
16001 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
16002
16003 * window.el (quit-window): Rename from quit-restore-window.
16004 Use same arglist as old quit-window.
16005 (frame-auto-delete): Doc fix.
16006
16007 * view.el (view-mode-exit): Use quit-window.
16008
16009 2011-08-24 Juri Linkov <juri@jurta.org>
16010
16011 * isearch.el (isearch-ring-adjust1): Start visiting previous
16012 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16013 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16014 for empty search string (when the last search string is reused
16015 automatically) to adjust the isearch ring to the last element and
16016 prepare the correct index for further M-p commands (bug#9185).
16017
16018 2011-08-24 Kenichi Handa <handa@m17n.org>
16019
16020 * international/ucs-normalize.el: If decomposition property of
16021 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16022 nil.
16023 (nfd, nfkd): Likewise.
16024
16025 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16026
16027 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16028 from process filters aren't reliably transmitted to the surrounding
16029 accept-process-output.
16030 (mpc-proc-check): New function.
16031 (mpc-proc-sync): Use it (bug#8293)
16032
16033 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16034
16035 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16036 Add compatibility functions (bug#9313).
16037
16038 2011-08-23 Eli Zaretskii <eliz@gnu.org>
16039
16040 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16041
16042 * international/uni-bidi.el: Regenerate.
16043
16044 2011-08-23 Kenichi Handa <handa@m17n.org>
16045
16046 * international/charprop.el:
16047 * international/uni-bidi.el:
16048 * international/uni-category.el:
16049 * international/uni-combining.el:
16050 * international/uni-comment.el:
16051 * international/uni-decimal.el:
16052 * international/uni-decomposition.el:
16053 * international/uni-digit.el:
16054 * international/uni-lowercase.el:
16055 * international/uni-mirrored.el:
16056 * international/uni-name.el:
16057 * international/uni-numeric.el:
16058 * international/uni-old-name.el:
16059 * international/uni-titlecase.el:
16060 * international/uni-uppercase.el: Regenerate.
16061
16062 2011-08-23 Martin Rudalics <rudalics@gmx.at>
16063
16064 * help.el (help-window-setup): Fix message displayed when other
16065 window is reused. (Bug#9341)
16066
16067 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16068
16069 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16070 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16071
16072 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16073 Mark obsolete.
16074 * shell.el (shell-parse-pcomplete-arguments): New function.
16075 (shell-completion-vars): Use it instead (bug#9160).
16076
16077 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16078
16079 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16080 strings and comments (bug#9333).
16081
16082 * emacs-lisp/debug.el (debug-arglist): New function.
16083 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16084 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16085
16086 2011-08-22 Juri Linkov <juri@jurta.org>
16087
16088 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16089 Revert regexp that highlights output switches to its old
16090 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16091
16092 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16093 to check for empty output (bug#9226).
16094
16095 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
16096
16097 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16098 symbol-constituent as the default, as that stops font-lock from
16099 working properly (Bug#8843).
16100
16101 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16102
16103 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16104 `coding-system-for-*' around the process open call to avoid
16105 auth-source side effects.
16106 (smtpmail-try-auth-methods): Expand the secret password.
16107 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16108 probe hangs.
16109
16110 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16111
16112 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16113
16114 * emacs-lisp/find-func.el (find-function-noselect): New arg
16115 lisp-only.
16116
16117 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16118 signal an error for built-in functions (Bug#6664).
16119
16120 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16121
16122 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16123 (smtpmail-try-auth-methods): Use it.
16124
16125 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16126
16127 * font-lock.el (font-lock-fontify-region)
16128 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16129 (font-lock-default-unfontify-buffer)
16130 (font-lock-default-fontify-region)
16131 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16132
16133 * progmodes/compile.el (compilation-error-properties):
16134 Fix confusion between file struct and message struct (Bug#9319).
16135 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16136 `ant' regexp.
16137
16138 * net/browse-url.el (browse-url-firefox): Don't call
16139 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16140
16141 2011-08-20 Glenn Morris <rgm@gnu.org>
16142
16143 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16144
16145 * tutorial.el (tutorial--default-keys): Update some default bindings.
16146
16147 * files.el (hack-local-variables): Fully ignore case for "mode:".
16148
16149 2011-08-20 Alan Mackenzie <acm@muc.de>
16150
16151 Resolve invalid use of a regexp in regexp-opt.
16152
16153 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16154 detection for a java annotation.
16155
16156 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16157 detection for a java annotation.
16158
16159 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16160 handling for java.
16161 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16162
16163 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
16164
16165 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16166 (Bug#9274).
16167
16168 2011-08-20 Alan Mackenzie <acm@muc.de>
16169
16170 Fontify CPP expressions correctly when starting in the middle of
16171 such a construct. Mainly for when jit-lock etc. starts a chunk
16172 here.
16173
16174 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16175 variable.
16176 (c-make-font-lock-search-form): New function, extracted from
16177 c-make-font-lock-search-function.
16178 (c-make-font-lock-search-function): Use the above function.
16179 (c-make-font-lock-context-search-function): New function.
16180 (c-cpp-matchers): Enhance the preprocessor expression case with
16181 the above function
16182 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16183 which takes an expression.
16184
16185 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16186
16187 2011-08-20 Martin Rudalics <rudalics@gmx.at>
16188
16189 * window.el (display-buffer-reuse-window)
16190 (display-buffer-pop-up-window): Don't reuse or split a side
16191 window.
16192
16193 2011-08-19 Glenn Morris <rgm@gnu.org>
16194
16195 * files.el (hack-local-variables-prop-line, hack-local-variables):
16196 Downcase "Mode:". (Bug#9331)
16197
16198 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
16199
16200 * international/characters.el: Add L and R categories.
16201
16202 * subr.el (bidi-string-mark-left-to-right): Rename from
16203 string-mark-left-to-right. Use category search.
16204
16205 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16206
16207 2011-08-18 Juri Linkov <juri@jurta.org>
16208
16209 * faces.el (error, warning, success): New faces with definitions
16210 copied from old default values of `font-lock-warning-face',
16211 `compilation-warning', `compilation-info' (bug#6117).
16212
16213 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16214
16215 * progmodes/compile.el (compilation-error): Inherit from `error'.
16216 (compilation-warning): Inherit from `warning'.
16217 (compilation-info): Inherit from `success'.
16218
16219 * dired.el (dired-marked): Inherit from `warning'.
16220 (dired-flagged): Inherit from `error'.
16221
16222 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16223
16224 * mail/smtpmail.el (auth-source): Require to avoid problems with
16225 binding variables (bug#9298). Also clean up some unused
16226 autoloads.
16227
16228 * net/network-stream.el (network-stream-open-starttls):
16229 Support using starttls.el without using gnutls-cli.
16230
16231 2011-08-17 Juri Linkov <juri@jurta.org>
16232
16233 * progmodes/grep.el (rgrep): Handle the case when
16234 `grep-find-command' is a cons cell (bug#9278).
16235
16236 2011-08-17 Martin Rudalics <rudalics@gmx.at>
16237
16238 * window.el (display-buffer-pop-up-frame): Run frame creation
16239 function with BUFFER current (as special-display-popup-frame
16240 does). Reported by Drew Adams.
16241
16242 2011-08-17 Daiki Ueno <ueno@unixuser.org>
16243
16244 * epa-mail.el: Simplify GnuPG group expansion using
16245 epg-expand-group.
16246 (epa-mail-group-alist, epa-mail-group-modtime)
16247 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16248 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16249 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16250 Remove.
16251
16252 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
16253
16254 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16255
16256 2011-08-16 Alan Mackenzie <acm@muc.de>
16257
16258 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16259 Correct, to avoid the inside of macros.
16260
16261 2011-08-16 Richard Stallman <rms@gnu.org>
16262
16263 * epa-mail.el: Handle GnuPG group definitions.
16264 (epa-mail-group-alist, epa-mail-group-modtime)
16265 (epa-mail-gnupg-conf-file): New variables.
16266 (epa-mail-parse-groups, epa-mail-sync-groups)
16267 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16268 (epa-mail-expand-recipients): New functions.
16269 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16270
16271 * mail/rmail.el (rmail-epa-decrypt): New command.
16272
16273 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16274 Don't bind buffer-read-only, just inhibit-read-only.
16275 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16276 (epa-decrypt-armor-in-region): Make error message clearer.
16277
16278 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16279
16280 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16281 and "a2b" to "ab" for `prefix'.
16282
16283 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
16284
16285 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16286 filter groups.
16287 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16288 Fourquet (Bug#8804).
16289
16290 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
16291
16292 * startup.el (argi): Declare as global variable (bug#9275).
16293
16294 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
16295
16296 * subr.el (string-mark-left-to-right): Search the entire string
16297 for RTL script, not just the terminating character. Doc fix.
16298
16299 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16300
16301 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16302 New function.
16303 (js--regexp-literal, js-syntax-propertize-function): Remove.
16304 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16305 (js-mode-map): Don't rebind electric keys.
16306 (js-insert-and-indent): Remove.
16307 (js-mode): Setup electric-layout and electric-indent instead.
16308
16309 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16310
16311 2011-08-12 Daiki Ueno <ueno@unixuser.org>
16312
16313 * epa.el (epa-progress-callback-function): Fix the logic of
16314 displaying progress.
16315 * epa-file.el (epa-file-insert-file-contents): Make progress
16316 display more user-friendly.
16317 (epa-file-write-region): Ditto.
16318
16319 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
16320
16321 * subr.el (string-mark-left-to-right): New function.
16322
16323 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16324 Use string-mark-left-to-right.
16325 (list-buffers-noselect): Caller changed.
16326
16327 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16328 Use string-mark-left-to-right.
16329 (tabulated-list-print): Recenter after moving point.
16330
16331 2011-08-10 Juri Linkov <juri@jurta.org>
16332
16333 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16334 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16335 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16336
16337 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
16338
16339 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16340 (Bug#7554).
16341
16342 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
16343
16344 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16345 character. (Bug#6594)
16346
16347 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
16348
16349 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16350 (image-dired--with-db-file): New macro.
16351 (image-dired-write-tags, image-dired-remove-tag)
16352 (image-dired-create-gallery-lists, image-dired-write-comments)
16353 (image-dired-get-comment, image-dired-mark-tagged-files)
16354 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16355 (image-dired-gallery-generate): Use insert-file-contents.
16356
16357 * time.el (display-time-world-list, display-time-world-display):
16358 * time-stamp.el (time-stamp-string):
16359 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16360 set-time-zone-rule (Bug#7337).
16361
16362 2011-08-08 Daiki Ueno <ueno@unixuser.org>
16363
16364 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16365 (epg-error-to-string, epg-errors-to-string): New function.
16366 (epg-wait-for-completion): Reverse errors list.
16367 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16368 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16369 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16370 (epg-sign-keys, epg-generate-key-from-file)
16371 (epg-generate-key-from-string): Format errors by using
16372 epg-errors-to-string (bug#9255).
16373 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16374
16375 2011-08-07 Juri Linkov <juri@jurta.org>
16376
16377 * faces.el (list-faces-display): Remove extra angle bracket
16378 from `help-mode-map'.
16379
16380 * info.el (Info-history-toc-nodes): Doc fix.
16381
16382 * longlines.el (longlines-mode): Doc fix.
16383
16384 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16385
16386 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16387 of statements and in a few more cases (bug#9183).
16388
16389 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16390 New functions.
16391 (cl-transform-lambda): Use them (bug#9239).
16392
16393 2011-08-05 Martin Rudalics <rudalics@gmx.at>
16394
16395 * window.el (display-buffer-same-window)
16396 (display-buffer-same-frame, display-buffer-other-window)
16397 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16398 (pop-to-buffer-other-window)
16399 (pop-to-buffer-same-frame-other-window)
16400 (pop-to-buffer-other-frame): Make them defuns.
16401 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16402
16403 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16404
16405 * subr.el (make-composed-keymap): Move from C. Change calling
16406 convention, and improve docstring to bring attention to a subtle point.
16407 * minibuffer.el (completing-read-default): Adjust accordingly.
16408
16409 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
16410
16411 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16412 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16413
16414 * net/trampver.el: Update release number.
16415
16416 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16417
16418 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16419 "in" (bug#9190).
16420
16421 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16422
16423 * mail/sendmail.el (sendmail-query-once): Restore the current
16424 buffer after querying (bug#9074).
16425
16426 * dired.el (dired-flagged): Use different faces for marked and
16427 flagged files (bug#6117).
16428
16429 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16430 (bug#4433).
16431
16432 * ido.el (ido-mode): Switch off the message if called
16433 non-interactively.
16434
16435 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16436 before 587, since it appears that that's more likely to work for
16437 more people.
16438
16439 * cus-edit.el (custom-file): When running under emacs -q, always
16440 refuse to save the customizations, even if the .emacs file doesn't
16441 exist.
16442
16443 * info.el: Remove the `Info-beginning-of-buffer' function
16444 (bug#8325).
16445
16446 * net/network-stream.el (network-stream-open-starttls):
16447 Use `starttls-available-p' to see whether starttls.el can be used.
16448
16449 2011-08-01 Martin Rudalics <rudalics@gmx.at>
16450
16451 * window.el (display-buffer-in-window): Don't set dedicated status
16452 of window here (Bug#9215).
16453 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16454 (display-buffer-pop-up-side-window)
16455 (display-buffer-in-side-window): Set dedicated status of window here.
16456
16457 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16458
16459 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16460 before binding generated-autoload-file.
16461
16462 2011-08-01 Deniz Dogan <deniz@dogan.se>
16463
16464 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16465
16466 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
16467
16468 Sync with Tramp 2.2.2.
16469
16470 * net/trampver.el: Update release number.
16471
16472 2011-07-30 Juri Linkov <juri@jurta.org>
16473
16474 * dired-aux.el (dired-touch-initial): Remove function.
16475 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16476 current time, and `default' to the last modification time of the
16477 current marked file (bug#6887).
16478
16479 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16480
16481 * simple.el (goto-line): Use string-to-number to provide a
16482 numeric argument to read-number (bug#9163).
16483
16484 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
16485
16486 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16487 connection process, it could be nil.
16488
16489 2011-07-27 Leo Liu <sdl.web@gmail.com>
16490
16491 Simplify url handling in rcirc-mode.
16492
16493 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16494 (rcirc-browse-url-at-mouse): Remove.
16495 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16496
16497 2011-07-26 Alan Mackenzie <acm@muc.de>
16498
16499 Fontify bitfield declarations properly.
16500
16501 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16502 (c-symbol-chars): Now exported as a lang variable.
16503 (c-not-primitive-type-keywords): New lang variable.
16504
16505 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16506 QT keyword "more" to prevent "more slots: ...." being spuriously
16507 parsed as a bitfield declaration.
16508
16509 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16510 Refactor and enhance to handle bitfield declarations.
16511 (c-punctuation-in): New function.
16512 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16513 declarations properly.
16514
16515 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
16516
16517 * calendar/icalendar.el (icalendar--all-events): Take care of
16518 multiple vcalendars in a single file.
16519 (icalendar--convert-float-to-ical): Checkdoc fixes.
16520
16521 2011-07-25 Deniz Dogan <deniz@dogan.se>
16522
16523 * image.el (insert-image): Clarifying docstring.
16524
16525 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
16526
16527 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16528 `tramp-send-command-and-check' if there is no error.
16529 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16530
16531 2011-07-22 Alan Mackenzie <acm@muc.de>
16532
16533 Prevent cc-langs.elc being loaded at run time.
16534
16535 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16536 cc-langs.
16537
16538 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16539 "(require 'cc-langs)". Quote a form so it will evaluate at
16540 (cc-mode's) compilation time.
16541
16542 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
16543
16544 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16545 loading. (Bug#9114)
16546
16547 2011-07-21 Martin Rudalics <rudalics@gmx.at>
16548
16549 * window.el (display-buffer-pop-up-window)
16550 (display-buffer-pop-up-side-window)
16551 (display-buffer-in-side-window): Call display-buffer-set-height
16552 and display-buffer-set-width after setting the new window's
16553 buffer so `fit-window-to-buffer' and friends work on the right buffer.
16554
16555 2011-07-20 Sam Steingold <sds@gnu.org>
16556
16557 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16558 (etags-tags-included-tables): Call `convert-standard-filename' on
16559 the file names contained in TAGS so that windows Emacs can handle
16560 TAGS files created by cygwin ctags.
16561
16562 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16563
16564 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16565 which apparently didn't work.
16566
16567 2011-07-19 Roland Winkler <winkler@gnu.org>
16568
16569 * proced.el (proced-send-signal): For *Marked Processes* buffer
16570 put point at beginning of buffer.
16571
16572 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
16573
16574 * proced.el (proced-format): Make header lines align with the text
16575 (bug#1779).
16576
16577 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16578
16579 * view.el (view-buffer): Allow running in `special' modes if we're
16580 visiting a file (bug#8615).
16581
16582 2011-07-19 Martin Rudalics <rudalics@gmx.at>
16583
16584 * window.el (display-buffer-alist-of-strings-p)
16585 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16586 New functions.
16587 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16588 more accurately.
16589
16590 2011-07-18 Alan Mackenzie <acm@muc.de>
16591
16592 Fontify declarators properly when, e.g., a jit-lock chunk begins
16593 inside a declaration.
16594
16595 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16596
16597 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16598 New function.
16599 (c-complex-decl-matchers): Insert reference to
16600 c-font-lock-enclosing-decls.
16601
16602 * progmodes/cc-engine.el (c-backward-single-comment):
16603 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16604 to nil around calls to (forward-comment -1).
16605
16606 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16607
16608 * image.el (put-image): Doc typo fix.
16609
16610 * progmodes/etags.el (tags-search): Doc typo fix.
16611
16612 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16613 password if we get errors 550 to 554.
16614
16615 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16616
16617 * net/gnutls.el (gnutls-log-level): Remove.
16618
16619 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16620 indentation character (bug#6380).
16621
16622 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16623
16624 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16625 to clarify what the problem is (bug#4291).
16626
16627 * simple.el (current-kill): Clarify what
16628 `interprogram-paste-function' does (bug#7500).
16629 (auto-fill-mode): Document `auto-fill-function' in relation to
16630 `auto-fill-mode' (bug#2470).
16631
16632 2011-07-16 Lawrence Mitchell <wence@gmx.li>
16633
16634 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16635 method if slot is read-only (bug#9035).
16636
16637 2011-07-16 Martin Rudalics <rudalics@gmx.at>
16638
16639 * frame.el (select-frame-set-input-focus): New argument NORECORD.
16640 * window.el (pop-to-buffer): Select window used even if it was
16641 selected before, see discussion of (Bug#8615), (Bug#6954).
16642 Pass argument NORECORD on to select-frame-set-input-focus.
16643
16644 2011-07-15 Glenn Morris <rgm@gnu.org>
16645
16646 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
16647 Respect help-form.
16648
16649 2011-07-09 Lawrence Mitchell <wence@gmx.li>
16650
16651 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16652 (gnutls-negotiate): Use it.
16653
16654 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16655
16656 * net/gnutls.el (gnutls-negotiate):
16657 Upcase `gnutls-algorithm-priority'.
16658
16659 2011-07-15 Glenn Morris <rgm@gnu.org>
16660
16661 * jka-compr.el (jka-compr-verbose): Move from here...
16662 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16663 Add missing :version tag.
16664 * info.el: No need to require jka-compr when compiling.
16665
16666 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16667
16668 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16669 (gnutls-negotiate): Use it.
16670
16671 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16672
16673 * info.el (Info-beginning-of-buffer): New command.
16674 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16675 announcing `b' as the key (bug#8325).
16676 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16677
16678 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16679
16680 * international/mule-cmds.el
16681 (describe-specified-language-support): Make the error message
16682 clearer (bug#8905).
16683
16684 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16685
16686 * isearch.el (isearch-barrier): Add a doc string, since it's
16687 mentioned in a function doc string (bug#8678).
16688
16689 2011-07-15 Martin Rudalics <rudalics@gmx.at>
16690
16691 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16692 buffer argument (Bug#9083) and self-identifying label argument.
16693
16694 2011-07-15 Glenn Morris <rgm@gnu.org>
16695
16696 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16697
16698 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16699
16700 * man.el (Man-fontify-manpage): Fix message when formatting the
16701 man page (bug#7929).
16702
16703 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16704
16705 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16706 argument LRM; if non-nil, append an invisible LRM character to the
16707 buffer name.
16708 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16709 last argument non-nil, when formatting buffer names.
16710 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16711 paragraph direction.
16712
16713 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16714
16715 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16716 the man page name (bug#7929).
16717
16718 * image.el (put-image): Mention the `put-image' overlay property
16719 (bug#7834).
16720
16721 * scroll-bar.el (set-scroll-bar-mode): Mention that
16722 `scroll-bar-mode' lists the values (bug#7772).
16723
16724 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16725 command (bug#7729).
16726
16727 * rect.el (apply-on-rectangle): Return the point after the last
16728 operation.
16729 (string-rectangle): Go to the point after the last operation
16730 (bug#7522).
16731
16732 * printing.el (pr-toggle-region): Clarify the documentation
16733 slightly (bug#7493).
16734
16735 * time.el (display-time-update):
16736 Allow `display-time-mail-function' to return nil (bug#7158).
16737 Fix suggested by Detlev Zundel.
16738
16739 * vc/diff.el (diff): Clarify the order the file names are read
16740 (bug#7111).
16741
16742 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16743 the doc string (bug#7015).
16744
16745 * font-lock.el (font-lock-maximum-decoration): Mention what
16746 numeric levels mean (bug#6935).
16747
16748 * startup.el (initial-buffer-choice): Don't mention the `none'
16749 selection, which is against policy.
16750
16751 2011-07-14 Martin Rudalics <rudalics@gmx.at>
16752
16753 * window.el (display-buffer-normalize-special):
16754 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16755
16756 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16757
16758 * subr.el (version<, version<=, version=): Mention "-CVS" and
16759 "-12345" alpha version numbers.
16760
16761 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16762
16763 * bindings.el: Add advertised binding for set-mark-command
16764 (Bug#5772).
16765
16766 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16767
16768 * bindings.el (mode-line-other-buffer):
16769 * bookmark.el (bookmark-bmenu-2-window):
16770 * bs.el (bs-cycle-next, bs-cycle-previous):
16771 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16772 switch-to-buffer.
16773
16774 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16775 Delete.
16776
16777 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
16778
16779 * follow.el (follow-debug-message, follow-redisplay):
16780 * jka-cmpr-hook.el (with-auto-compression-mode):
16781 Fix typos in docstrings.
16782
16783 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16784
16785 * subr.el (with-silent-modifications): Clarify somewhat what the
16786 macro inhibits (bug#6525).
16787
16788 * simple.el (eval-expression): Note what it does if called
16789 interactively (bug#6495).
16790
16791 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16792
16793 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16794 Use pop-to-buffer buffer-or-name if it is nil.
16795
16796 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16797 Remove switch-to-buffer.
16798
16799 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16800
16801 * files.el (make-directory): Clarify that an error will be raised
16802 if there's an error (bug#6397).
16803
16804 * startup.el (initial-buffer-choice): Add `none' as a choice
16805 (bug#6234).
16806
16807 * subr.el (add-hook): Clarify section about buffer-local hooks
16808 (bug#6218).
16809
16810 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16811
16812 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16813
16814 * tabify.el (untabify): Preserve the current column so that point
16815 doesn't move (bug#6032).
16816
16817 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16818
16819 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16820 Rewrite to avoid awkward possessive "s" (bug#5986).
16821
16822 2011-07-13 Glenn Morris <rgm@gnu.org>
16823
16824 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16825 (dired-insert-directory): Give a message the first time
16826 if ls is found not to support --dired.
16827
16828 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16829
16830 * simple.el (toggle-truncate-lines): Clarify what is toggled
16831 (bug#5580). Text by Drew Adams.
16832
16833 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16834
16835 * simple.el (blink-matching-open): Make the error message from the
16836 last change less verbose.
16837
16838 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16839
16840 * font-lock.el (font-lock-comment-face): Use the high contrast
16841 "yellow" color for font-lock-comment-face on low color terminals
16842 using a dark background color (bug#4221).
16843
16844 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16845
16846 * dired.el (dired-insert-set-properties): Make the doc string
16847 reflect what it does now (bug#5325).
16848
16849 * simple.el (blink-matching-open): Say that we were unable to find
16850 the match within the limit, if we're limited (bug#5122).
16851
16852 * international/mule-cmds.el (prefer-coding-system): Add an
16853 example (bug#4869).
16854
16855 * progmodes/etags.el (tags-search): Document `file-list-form'
16856 (bug#4731).
16857
16858 2011-07-13 Lawrence Mitchell <wence@gmx.li>
16859
16860 * net/browse-url.el (browse-url-default-browser)
16861 (browse-url-browser-function): Make the default browser choice a
16862 bit more logical (bug#4300). Also clean up the doc string.
16863
16864 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16865
16866 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16867 binary endings (bug#4440).
16868
16869 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16870
16871 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16872 which can be pretty annoying (bug#8971).
16873
16874 * jka-compr.el (jka-compr-verbose): New variable, and use
16875 throughout (bug#8971).
16876
16877 * info.el (Info-find-file): Fall back on the installation
16878 directory if we can't find the info node anywhere else.
16879
16880 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16881
16882 * vc/vc.el (vc-revert-file):
16883 Don't set file time-stamp in the past. (Bug#5181)
16884
16885 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16886
16887 * files.el (after-find-file): Give a better error message when
16888 trying to find a symlink that points to a file that doesn't exist
16889 (bug#4398).
16890
16891 * progmodes/cc-vars.el: Remove (probably) misleading comment
16892 (bug#4396).
16893
16894 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16895
16896 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16897
16898 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16899
16900 * mouse-sel.el: Hack restoring functionality, while keeping
16901 compatibility with 2010-07-03 changes to mouse selection.
16902 (mouse-sel-primary-overlay): New var.
16903 (mouse-sel-selection-alist): Use it.
16904 (mouse-sel-mode): Doc fix; remove points that are default features
16905 of mouse.el.
16906
16907 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16908
16909 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16910 Fix previous fix (bug#2490).
16911
16912 2011-07-12 Roland Winkler <winkler@gnu.org>
16913
16914 * textmodes/bibtex.el (bibtex-initialize):
16915 Use pop-to-buffer-same-window.
16916 (bibtex-search-entries): Fix interactive call.
16917
16918 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16919
16920 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16921 Fontise bytecomp Error lines more correctly (bug#2490).
16922 Fix suggested by Johan Bockgård.
16923
16924 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16925
16926 * dired-x.el (dired-guess-default): Use `delete-dups'.
16927
16928 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16929
16930 * dired.el (dired-mark-prompt):
16931 * dired-aux.el (dired-read-shell-command): Doc fix.
16932
16933 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16934
16935 * mail/sendmail.el (sendmail-query-once):
16936 Use `customize-save-variable' unconditionally, now that it works under
16937 emacs -Q.
16938
16939 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16940
16941 * cus-edit.el (custom-file): Take an optional no-error variable.
16942 (customize-save-variable): Set the variable, and give a warning if
16943 running under "emacs -q".
16944
16945 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16946
16947 * loadhist.el (unload-feature-special-hooks):
16948 Add `auto-coding-functions', `fill-nobreak-predicate' and
16949 `find-directory-functions' (bug#5327).
16950
16951 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16952
16953 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16954
16955 * cus-edit.el (custom-guess-name-alist): -alist variables should
16956 use the `alist' type (bug#3120). Suggested by Drew Adams.
16957
16958 * printing.el: Add documentation to all the `pr-toggle-' commands.
16959
16960 2011-07-11 Leo Liu <sdl.web@gmail.com>
16961
16962 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16963 backends where it makes sense (bug#2623).
16964
16965 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16966
16967 * dired-x.el (dired-guess-default): Remove duplicate shell command
16968 entries (bug#2028).
16969 (dired-guess-default): Fix grammar in doc string (bug#2028).
16970 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16971
16972 * subr.el (remove-duplicates): New conveniency function.
16973
16974 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16975
16976 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16977 (bug#1526).
16978
16979 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16980
16981 * window.el (display-buffer-normalize-default): Don't invert
16982 meaning of even-window-heights. Reported by Eli Zaretskii
16983 <eliz@gnu.org>.
16984
16985 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16986
16987 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16988
16989 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16990
16991 * window.el (display-buffer): Fix arguments to
16992 display-buffer-reuse-window in last change.
16993
16994 * faces.el (link): Use a less saturated blue on light backgrounds.
16995
16996 * startup.el (fancy-startup-text, fancy-about-text)
16997 (fancy-startup-tail): Use font-lock faces, for background safety.
16998
16999 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17000
17001 * emulation/viper-cmd.el (viper-change-state-to-vi):
17002 Limit triggering of abbrev expansion (Bug#9038).
17003
17004 2011-07-09 Martin Rudalics <rudalics@gmx.at>
17005
17006 * window.el (display-buffer-default-specifiers): Remove.
17007 (display-buffer-macro-specifiers): Remove default specifiers.
17008 (display-buffer-alist): Default to nil.
17009 (display-buffer-reuse-window): New optional argument other-window.
17010 (display-buffer-pop-up-window): Allow splitting internal
17011 windows. Check whether a live window was created.
17012 (display-buffer-other-window-means-other-frame)
17013 (display-buffer-normalize-arguments): Rename to
17014 display-buffer-normalize-argument and rewrite. Set the
17015 other-window specifier.
17016 (display-buffer-normalize-special): New function.
17017 (display-buffer-normalize-options): Rename to
17018 display-buffer-normalize-default and rewrite.
17019 (display-buffer-normalize-options-inhibit): Remove.
17020 (display-buffer-normalize-specifiers): Rewrite.
17021 (display-buffer): Process other-window specifier and call
17022 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17023 more faithfully.
17024 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
17025 (display-buffer-alist-set): Don't handle 'unset default values.
17026 (display-buffer-in-window, display-buffer-alist-set):
17027 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
17028 <tassilo@member.fsf.org>.
17029
17030 2011-07-09 Leo Liu <sdl.web@gmail.com>
17031
17032 * register.el (insert-register): Restore accidental change on
17033 2011-06-26. (Bug#9028)
17034
17035 2011-07-09 Glenn Morris <rgm@gnu.org>
17036
17037 * subr.el (remq): Handle the empty list. (Bug#9024)
17038
17039 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17040
17041 * mail/sendmail.el (send-mail-function): No longer delay custom
17042 initialization.
17043 * custom.el (custom-initialize-delay): Doc fix.
17044
17045 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17046
17047 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17048
17049 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
17050
17051 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17052 human-friendly prompt.
17053
17054 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17055
17056 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17057 provided by a particular plugin.
17058
17059 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17060
17061 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17062 save customizations (with "emacs -Q"), just set the variable
17063 instead of erroring out.
17064
17065 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17066
17067 2011-07-08 Juri Linkov <juri@jurta.org>
17068
17069 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17070 (archive-zip-update-case): Use 7z if found by `executable-find'.
17071 The order of searching the available programs is the same as in
17072 `archive-zip-extract' (bug#8968).
17073
17074 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17075
17076 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17077 (menu-bar-options-menu): Tweak descriptions.
17078
17079 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17080
17081 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17082 menu items into verb phrases (bug#1421). Also refill to fit under
17083 80 columns.
17084
17085 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17086
17087 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17088 (Info-read-node-name): Doc fix (Bug#1084).
17089
17090 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17091 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17092 (end-of-sexp, beginning-of-sexp)
17093 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17094 (forward-symbol, forward-same-syntax, word-at-point)
17095 (sentence-at-point): Doc fix (Bug#1144).
17096
17097 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17098
17099 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17100 should cover it (bug#1281).
17101
17102 * cus-edit.el (custom-show): Mark as obsolete.
17103
17104 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
17105 negotiation fails, then possibly try again with a non-encrypted
17106 connection (bug#9017).
17107
17108 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17109 be used.
17110
17111 2011-07-07 Richard Stallman <rms@gnu.org>
17112
17113 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17114 property, and handle its changed format.
17115 Look for the correct line number.
17116 Use file's line contents (but not past first =) to find
17117 correct line in message.
17118
17119 2011-07-07 Kenichi Handa <handa@m17n.org>
17120
17121 * international/characters.el (build-unicode-category-table):
17122 Delete it.
17123 (unicode-category-table): Set it by unicode-property-table-internal.
17124
17125 * international/mule-cmds.el (char-code-property-alist): Move to
17126 to src/chartab.c.
17127 (get-char-code-property): Call unicode-property-table-internal to
17128 load a file. Call get-unicode-property-internal where necessary.
17129 (put-char-code-property): Call unicode-property-table-internal to
17130 load a file. Call put-unicode-property-internal where necessary.
17131 put-unicode-property-internal where necessary.
17132 (char-code-property-description):
17133 Call unicode-property-table-internal to load a file.
17134
17135 * international/charprop.el:
17136 * international/uni-bidi.el:
17137 * international/uni-category.el:
17138 * international/uni-combining.el:
17139 * international/uni-comment.el:
17140 * international/uni-decimal.el:
17141 * international/uni-decomposition.el:
17142 * international/uni-digit.el:
17143 * international/uni-lowercase.el:
17144 * international/uni-mirrored.el:
17145 * international/uni-name.el:
17146 * international/uni-numeric.el:
17147 * international/uni-old-name.el:
17148 * international/uni-titlecase.el:
17149 * international/uni-uppercase.el: Regenerate.
17150
17151 * loadup.el: Load international/charprop.el before
17152 international/characters.
17153
17154 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17155
17156 * window.el (next-buffer, previous-buffer): Signal an error if
17157 called from a minibuffer window.
17158
17159 * bindings.el: Revert 2011-07-04 change.
17160
17161 2011-07-06 Richard Stallman <rms@gnu.org>
17162
17163 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17164 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17165 Treat markers like ints.
17166 (rmail-mime-entity): Doc fix.
17167
17168 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17169
17170 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17171 defcustom again for backwards compatibility.
17172
17173 * simple.el (shell-command-on-region): Fill.
17174
17175 * dired-aux.el (dired-kill-line): Add a doc string.
17176
17177 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17178 to "\\sw\\|\\s_" (bug#358).
17179
17180 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17181 (dired-unmark-backward): Ditto.
17182 (dired-flag-backup-files): Ditto.
17183
17184 * dired-x.el (dired-mark-sexp): Ditto.
17185
17186 2011-07-06 Richard Stallman <rms@gnu.org>
17187
17188 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17189 (rmail-mime-entity): New arg TRUNCATED.
17190 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17191 New functions.
17192 (rmail-mime-save): Warn if entity is truncated.
17193 (rmail-mime-toggle-hidden): Likewise, for showing.
17194 (rmail-mime-process-multipart): Record when an entity is truncated.
17195
17196 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17197 if ENTITY is a string.
17198
17199 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17200
17201 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17202 of faces when `M-C-x'-ing their definitions (bug#8378).
17203 Also clean up the code slightly.
17204
17205 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17206 because that makes the colors go away.
17207
17208 * mail/sendmail.el (send-mail-function): Change the default to
17209 `sendmail-query-once'.
17210 (sendmail-query-once): Add an autoload cookie.
17211
17212 * net/network-stream.el (network-stream-open-starttls): Try using
17213 a plain connection even if the server offered STARTTLS, and we
17214 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17215 capability. This should make smtpmail.el work in slightly more
17216 configurations.
17217
17218 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
17219
17220 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17221 New defun.
17222 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17223
17224 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17225
17226 * progmodes/sql.el: Version 3.0
17227 (sql-product-alist): Add product :completion-object,
17228 :completion-column, and :statement attributes.
17229 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17230 (sql-mode-syntax-table): Mark all punctuation.
17231 (sql-font-lock-keywords-builder): Temporarily remove fallback on
17232 ansi keywords.
17233 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17234 (sql-mode-oracle-font-lock-keywords): Improve.
17235 (sql-oracle-show-reserved-words): New function for development.
17236 (sql-product-font-lock): Simplify for source code buffers.
17237 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17238 New functions.
17239 (sql-highlight-product): Set product specific syntax table.
17240 (sql-mode-map): Add statement movement functions.
17241 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17242 New variable.
17243 (sql-statement-regexp, sql-beginning-of-statement)
17244 (sql-end-of-statement, sql-signum): New functions.
17245 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17246 (sql-show-sqli-buffer): Bug fix.
17247 (sql-interactive-mode): Store connection data as buffer local.
17248 (sql-connect): Add NEW-NAME parameter. Redesign interaction
17249 with sql-interactive-mode.
17250 (sql-save-connection): Save buffer local settings.
17251 (sql-connection-menu-filter): Change menu entry name.
17252 (sql-product-interactive): Bug fix.
17253 (sql-preoutput-hold): New variable.
17254 (sql-interactive-remove-continuation-prompt): Bug fixes.
17255 (sql-debug-redirect): New variable.
17256 (sql-str-literal): New function.
17257 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17258 Redesign.
17259 (sql-oracle-save-settings, sql-oracle-restore-settings)
17260 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17261 (sql-completion-object, sql-completion-column)
17262 (sql-completion-sqlbuf): New variables.
17263 (sql-build-completions-1, sql-build-completions)
17264 (sql-try-completion): New functions.
17265 (sql-read-table-name): Use them.
17266 (sql-contains-names): New buffer local variable.
17267 (sql-list-all, sql-list-table): Use it.
17268 (sql-oracle-completion-types): New variable.
17269 (sql-oracle-completion-object, sql-sqlite-completion-object)
17270 (sql-postgres-completion-object): New functions.
17271
17272 2011-07-06 Glenn Morris <rgm@gnu.org>
17273
17274 * window.el (pop-to-buffer): Doc fix.
17275
17276 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
17277
17278 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17279
17280 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
17281
17282 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17283
17284 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17285
17286 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
17287
17288 * button.el (button): Inherit from link face. Suggested by Dan
17289 Nicolaescu.
17290
17291 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17292
17293 * progmodes/gdb-mi.el: Fit in 80 columns.
17294 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17295 switch-to-buffer.
17296
17297 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17298 if imenu is simply not configured (bug#8941).
17299
17300 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17301
17302 * allout.el (allout-post-undo-hook): New allout outline-change
17303 event hook to signal undo activity.
17304 (allout-post-command-business): Run allout-post-undo-hook if an
17305 undo just occurred.
17306 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17307 * allout-widgets.el (allout-widgets-after-undo-function):
17308 Ensure the integrity of the current item's decoration after it has been
17309 in the vicinity of an undo.
17310 (allout-widgets-mode): Include allout-widgets-after-undo-function
17311 on the new allout-post-undo-hook.
17312
17313 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17314
17315 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17316 Let define-derived-mode define it.
17317 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17318 cycles of abbrev-table inheritance (bug#8998).
17319
17320 2011-07-05 Roland Winkler <winkler@gnu.org>
17321
17322 * textmodes/bibtex.el: Add support for biblatex.
17323 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17324 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17325 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17326 (bibtex-entry-alist, bibtex-field-alist): New variables.
17327 (bibtex-entry-field-alist): Obsolete alias for
17328 bibtex-BibTeX-entry-alist.
17329 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17330 (bibtex-set-dialect): New command.
17331 (bibtex-entry-type, bibtex-entry-head)
17332 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17333 Bind via bibtex-set-dialect.
17334 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17335 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17336 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17337 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17338 Define via bibtex-set-dialect.
17339 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17340 Obey bibtex-no-opt-remove-re.
17341 (bibtex-vec-push, bibtex-vec-incr): New functions.
17342 (bibtex-format-entry, bibtex-field-list)
17343 (bibtex-print-help-message, bibtex-validate)
17344 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17345
17346 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17347
17348 * progmodes/compile.el (compilation-goto-locus):
17349 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17350 * bs.el (bs-cycle-next, bs-cycle-previous):
17351 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17352 * bindings.el (mode-line-other-buffer):
17353 * autoinsert.el (auto-insert):
17354 * arc-mode.el (archive-extract):
17355 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17356
17357 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17358
17359 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17360 Fix check of `emacs-lock-unlockable-modes'.
17361 Coerce true values of `emacs-lock--try-unlocking' to t.
17362
17363 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17364
17365 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17366 * emacs-lock.el: New file.
17367
17368 2011-07-05 Julien Danjou <julien@danjou.info>
17369
17370 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17371 than `boundp' to check if face is set.
17372
17373 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17374
17375 * register.el (registerv-make):
17376 * window.el (window-min-height): Fix typos in docstrings.
17377
17378 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17379
17380 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17381 Update doc string.
17382
17383 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17384
17385 * server.el (server-execute): Catch quit and call
17386 `server-return-error' to pass the error back to emacsclient and
17387 close the connection (bug#8942).
17388
17389 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17390
17391 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17392 insecure exception for current topic. Also note that auto-saves
17393 are handled differently.
17394
17395 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17396 State variables for tracking auto-save inhibition situation.
17397
17398 (allout-write-contents-hook-handler): Rename from
17399 'allout-write-file-hook-handler', and describe how it depends on
17400 write-contents-functions sensitivity to non-nil value to prevent
17401 file write.
17402
17403 (allout-auto-save-hook-handler): Remove. auto-save does not check
17404 this in individual buffers, only in the starting buffer, so this
17405 is not the right way for us to inhibit auto-save in a buffer
17406 according to its condition.
17407
17408 (allout-mode): Use new allout-write-contents-hook-handler, and
17409 only with write-contents-functions. Remove auto-save provisions -
17410 they're implemented elsewhere.
17411
17412 (allout-before-change-handler): If undo is in progress, note that
17413 for attention of allout-post-command-business.
17414
17415 (allout-post-command-business): If the command we're following was
17416 an undo, check for change in the status of encrypted items and
17417 adjust auto-save inhibitions accordingly.
17418
17419 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17420 according to whether there are or aren't any plain-text topics
17421 pending encryption.
17422
17423 (allout-inhibit-auto-save-info-for-decryption):
17424 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17425 if there are plain-text topics pending encryption.
17426
17427 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17428 buffer-saved-size and some allout state to not inhibit auto-saves
17429 if there are no longer any plain-text topics pending encryption.
17430
17431 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17432 No longer provide for exemption of the current topic.
17433
17434 2011-07-04 Juri Linkov <juri@jurta.org>
17435
17436 Add 7z operations to delete and save changed members (bug#8968).
17437 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17438 New defcustoms.
17439 (archive-7z-write-file-member): New function.
17440 (archive-7z-summarize): Fix the number of dashes in the
17441 listing output.
17442
17443 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17444
17445 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17446 (bug#8958).
17447
17448 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
17449
17450 * bindings.el: Ignore next-buffer and previous-buffer in
17451 minibuffer-local-map.
17452
17453 * font-lock.el (font-lock-builtin-face): Change light background
17454 color to dark slate blue (Bug#6693).
17455
17456 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17457
17458 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17459
17460 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17461
17462 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17463 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17464 Add switch-to-buffer.
17465
17466 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17467
17468 * isearch.el (isearch-search-fun-function): Clarify further the
17469 meaning of the function returned.
17470
17471 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
17472
17473 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17474
17475 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17476 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17477 Use it.
17478 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17479 `tramp-default-remote-path' does not exist.
17480 (tramp-send-command-and-read): New optional argument NOERROR.
17481 (tramp-open-connection-setup-interactive-shell)
17482 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17483 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17484 (tramp-process-sentinel): Flush also process' connection property.
17485 (tramp-sh-handle-start-file-process): Do not set process
17486 sentinel. It is done now ...
17487 (tramp-maybe-open-connection): ... here. (Bug#8929)
17488
17489 2011-07-04 MON KEY <monkey@sandpframing.com>
17490
17491 * play/animate.el (animate-string): Doc fixes and allow changing
17492 the buffer name (bug#5417).
17493
17494 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17495
17496 * play/animate.el (animation-buffer-name): Rename from *animate*.
17497
17498 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17499
17500 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17501 This is simpler and helps future-proof the code.
17502 (timer-until): Use time-subtract and float-time.
17503 (timer--time-less-p): Use time-less-p.
17504
17505 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17506
17507 * type-break.el (timep): Use the value of `float-time' to avoid a
17508 byte-compiler warning.
17509
17510 * server.el (server-eval-and-print): Return any result, even nil.
17511
17512 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17513
17514 * type-break.el: Accept time formats that the builtins accept.
17515 (timep, type-break-time-difference): Accept any format that
17516 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17517 This is simpler and helps future-proof the code.
17518 (type-break-time-difference): Round rather than ignoring
17519 subseconds components.
17520
17521 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17522
17523 * info.el (Info-apropos-matches): Make non-interactive, since it
17524 doesn't seem to do anything useful as a command (bug#8829).
17525
17526 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
17527
17528 * frame.el (frame-background-mode, frame-set-background-mode):
17529 Move from faces.el.
17530 (frame-default-terminal-background): New function.
17531
17532 * custom.el (custom-push-theme): Don't record faces in `changed'
17533 theme; this doesn't work correctly for per-frame face settings.
17534 (disable-theme): Use face-set-after-frame-default to reset faces.
17535 (custom--frame-color-default): New function.
17536
17537 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17538
17539 * dired.el (dired-flagging-regexp): Remove unused variable
17540 (bug#8769).
17541
17542 2011-03-29 Kevin Ryde <user42@zip.com.au>
17543
17544 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17545 `perl-Test2' extend to match possible "fail #N" rep count
17546 (bug#8377).
17547
17548 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17549
17550 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17551 `smtpmail-via-smtp' now returns the error instead of nil.
17552
17553 * isearch.el (isearch-search-fun-function): Clarify the doc string
17554 (bug#8101).
17555
17556 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
17557
17558 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17559 unnecessary spaces (bug#8987).
17560
17561 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17562
17563 * net/network-stream.el (open-network-stream): Use the
17564 :end-of-capability command thoughout.
17565
17566 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17567
17568 * net/network-stream.el (open-network-stream): Add the
17569 :end-of-capability command parameter, used by pop3.el.
17570
17571 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17572
17573 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17574
17575 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17576 for list)" (bug#6475).
17577
17578 * files.el (file-expand-wildcards): Ignore non-readable
17579 sub-directories while trying to find matches instead of signaling
17580 an error (bug#6297).
17581
17582 * man.el (Man-reference-regexp): Allow matching possible
17583 word-wrapped references (bug#6289).
17584
17585 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17586 for consistency with the other vc buffers (bug#6197).
17587 (vc-checkin): Ditto.
17588
17589 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17590
17591 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17592
17593 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17594
17595 * custom.el (defcustom): Clarify that :set is only used in the
17596 Customize user interface (bug#6089).
17597
17598 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17599 associated with a file, refuse to run instead of erroring out
17600 (bug#6084).
17601
17602 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17603 the doc string, since it appears that using `fill-column' always
17604 controls the width (bug#7845).
17605
17606 * simple.el (shell-command-on-region): Say where the error output
17607 went if `shell-command-default-error-buffer' is set (bug#6857).
17608
17609 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17610
17611 * allout.el (allout-yank-processing): Adjust cursor position for
17612 backwards-deleted space.
17613
17614 (allout-rebullet-heading): Register changes with
17615 allout-exposure-changed-hook, so the modified topic is properly
17616 decorated.
17617
17618 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17619
17620 * minibuffer.el (completion-in-region): Document PREDICATE
17621 (bug#7136).
17622
17623 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17624 of keyword/argument pairs (bug#6904).
17625
17626 * replace.el (multi-occur):
17627 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17628
17629 2011-07-02 Drew Adams <drew.adams@oracle.com>
17630
17631 * dired.el (dired-mark-if): Make the message about whether it's
17632 marking or unmarking clearer (bug#8523).
17633
17634 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17635
17636 * disp-table.el (display-table-print-array): New function.
17637 (describe-display-table): Use it to print the vectors more pretty
17638 (Bug#8859).
17639
17640 2011-07-02 Martin Rudalics <rudalics@gmx.at>
17641
17642 * window.el (window-state-get-1): Don't assign clone numbers.
17643 Add clone-of item to list of window parameters.
17644 (window-state-put-2): Don't process clone numbers.
17645 (display-buffer-alist): Fix doc-string.
17646
17647 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17648
17649 * subr.el (remq): Don't allocate if it's not needed.
17650 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17651 (keymap--merge-bindings): New functions.
17652 (keymap-canonicalize): Use them to refine the canonicalization.
17653 * minibuffer.el (minibuffer-local-completion-map)
17654 (minibuffer-local-must-match-map): Move initialization from C.
17655 (minibuffer-local-filename-completion-map): Move initialization from C;
17656 don't inherit from anything here.
17657 (minibuffer-local-filename-must-match-map): Make obsolete.
17658 (completing-read-default): Use make-composed-keymap to combine
17659 minibuffer-local-filename-completion-map with either
17660 minibuffer-local-must-match-map or
17661 minibuffer-local-filename-completion-map.
17662
17663 2011-07-01 Glenn Morris <rgm@gnu.org>
17664
17665 * type-break.el (type-break-time-sum): Use dolist.
17666
17667 * textmodes/flyspell.el (flyspell-word-search-backward):
17668 Replace CL function.
17669
17670 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17671
17672 * mouse.el (mouse--strip-first-event): New function.
17673 (function-key-map): Use it to map fringe clicks to normal clicks
17674 by default.
17675
17676 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17677 (vc-bzr-revision-completion-table): Add support for annotate and date.
17678
17679 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17680 inherit from parent.
17681
17682 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17683
17684 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17685 (dired-show-file-type): Doc fixup (bug#8818).
17686
17687 * dired.el (dired-mode): Fix up the doc string as suggested by
17688 Drew Adams (bug#8817).
17689
17690 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17691 cookie, since the manual says that it should be possible to add
17692 this function to `find-file-hook' (bug#8709).
17693
17694 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17695
17696 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17697 here. Noted Ted Zlatanov as the maintainer.
17698 (cfengine-common-settings, cfengine-common-syntax): New functions
17699 to set up common things between `cfengine-mode' and
17700 `cfengine3-mode'.
17701 (cfengine3-mode): New mode.
17702 (cfengine3-defuns cfengine3-defuns-regex
17703 (cfengine3-class-selector-regex cfengine3-category-regex)
17704 (cfengine3-vartypes cfengine3-font-lock-keywords)
17705 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17706 (cfengine3-indent-line): Add from cfengine3.el.
17707
17708 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
17709
17710 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17711
17712 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17713
17714 2011-07-01 Martin Rudalics <rudalics@gmx.at>
17715
17716 * window.el (same-window-buffer-names, same-window-regexps)
17717 (same-window-p, special-display-frame-alist)
17718 (special-display-popup-frame, special-display-function)
17719 (special-display-buffer-names, special-display-regexps)
17720 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17721 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17722 (split-window-preferred-function, split-height-threshold)
17723 (split-width-threshold, even-window-heights)
17724 (display-buffer-mark-dedicated, window-splittable-p)
17725 (split-window-sensibly, window-safely-shrinkable-p):
17726 Un-obsolete.
17727 (display-buffer): Don't spread args with function specifier
17728 because special-display-popup-frame won't like it.
17729
17730 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17731
17732 Time-stamp simplifications and fixes.
17733 These improve accuracy slightly, and future-proof the code
17734 against some potential changes to current-time format.
17735
17736 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17737 by using time-since and float-time.
17738
17739 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17740 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17741 + NNN microseconds".
17742
17743 * type-break.el (type-break-time-sum): Rewrite using time-add.
17744
17745 * play/hanoi.el (hanoi-current-time-float): Remove.
17746 All uses replaced by float-time.
17747
17748 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17749 This yields a more-accurate answer.
17750 (rng-time-to-float): Remove; no longer needed.
17751
17752 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17753
17754 * calendar/timeclock.el (timeclock-seconds-to-time):
17755 Defalias to seconds-to-time, since they're the same thing.
17756
17757 * emacs-lisp/elp.el (elp-elapsed-time):
17758 * emacs-lisp/benchmark.el (benchmark-elapse):
17759 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17760
17761 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17762
17763 * window.el (bury-buffer): Don't iconify the only frame.
17764 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17765 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17766
17767 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
17768
17769 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17770 Add mouse-yank-primary.
17771
17772 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17773
17774 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17775
17776 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17777
17778 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17779 (find-library-name): Use it to find relative load names when provided
17780 absolute file name (bug#8803).
17781
17782 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17783
17784 * textmodes/flyspell.el (flyspell-word): Consider words that
17785 differ only in case as potential doublons (bug#5687).
17786
17787 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17788 Remove two rather uninteresting debugging-like messages to make
17789 debbugs.el more silent.
17790
17791 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17792 a password-like phrase.
17793
17794 2011-06-30 Masatake YAMATO <yamato@redhat.com>
17795
17796 * progmodes/cc-guess.el: New file.
17797
17798 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17799
17800 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17801 derived from `c-basic-common-init'.
17802
17803 * progmodes/cc-mode.el (top-level): Require cc-guess.
17804 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17805
17806 2011-06-30 Lawrence Mitchell <wence@gmx.li>
17807
17808 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17809
17810 2011-06-30 Alan Mackenzie <acm@muc.de>
17811
17812 * progmodes/cc-engine.el (c-guess-continued-construct):
17813 Correct the handling of template-args-cont, particularly for when font
17814 lock is disabled. Name this case as "CASE G".
17815
17816 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17817
17818 * allout.el (allout-yank-processing): Fix injection of extra space
17819 between bullet and non-whitespace character in first topic when
17820 pasting, ensuring that the actual spacing in the pasted topic
17821 following the bullet char is preserved. This extra space was
17822 causing pasted encrypted topics to get a decrypted status even
17823 when the content was actually still encrypted. Now the decryption
17824 status from before the paste is preserved.
17825
17826 (allout-flag-region): Set all allout overlays so they evaporate
17827 when reduced to zero length (evanescent), to prevent overlay
17828 leakage.
17829
17830 2011-06-30 Glenn Morris <rgm@gnu.org>
17831
17832 * w32-fns.el (w32-charset-info-alist): Declare.
17833
17834 * find-dired.el (find-grep-options): Simplify.
17835
17836 * term/ns-win.el (ns-set-resource): Declare.
17837
17838 * ses.el (row, col): Declare dynamic variables honestly.
17839
17840 * textmodes/reftex-parse.el (index-tags): Declare.
17841
17842 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
17843
17844 * cus-edit.el (customize-push-and-save): New function.
17845
17846 * files.el (hack-local-variables-confirm): Use it.
17847
17848 * custom.el (load-theme): New arg NO-CONFIRM.
17849 Use customize-push-and-save (Bug#8720).
17850 (custom-enabled-themes): Doc fix.
17851
17852 * cus-theme.el (customize-create-theme)
17853 (custom-theme-merge-theme): Callers to load-theme changed.
17854
17855 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17856
17857 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17858 short URLs have at least one dot in them (bug #7614).
17859
17860 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17861 nil, because using a pty is apparently too slow (bug #895).
17862
17863 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17864
17865 * mail/sendmail.el (sendmail-query-once): New function.
17866 (sendmail-query-once-function): New variable.
17867
17868 2011-06-29 Glenn Morris <rgm@gnu.org>
17869
17870 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17871
17872 * ses.el (top-level): Require cl when compiling.
17873 (ses-set-localvars): Fix error statement.
17874 Call it at compile time to silence a storm of warnings.
17875
17876 2011-06-29 Martin Rudalics <rudalics@gmx.at>
17877
17878 * window.el (normalize-live-buffer): Rename to
17879 window-normalize-buffer.
17880 (normalize-live-frame): Rename to window-normalize-frame.
17881 (normalize-any-window): Rename to window-normalize-any-window.
17882 (normalize-live-window): Rename to window-normalize-live-window.
17883 (make-window-atom): Rename to window-make-atom.
17884 (window-resize-reset): Rename to window--resize-reset.
17885 (window-resize-reset-1): Rename to window--resize-reset-1.
17886 (resize-mini-window): Rename to window--resize-mini-window.
17887 (resize-subwindows-skip-p): Rename to
17888 window--resize-subwindows-skip-p.
17889 (resize-subwindows-normal): Rename to
17890 window--resize-subwindows-normal.
17891 (resize-subwindows): Rename to window--resize-subwindows.
17892 (resize-other-windows): Rename to window--resize-siblings.
17893 (resize-this-window): Rename to window--resize-this-window.
17894 (resize-root-window): Rename to window--resize-root-window.
17895 (resize-root-window-vertically): Rename to
17896 window--resize-root-window-vertically.
17897 (normalize-buffer-to-display): Rename to
17898 window-normalize-buffer-to-display.
17899 (normalize-buffer-to-switch-to): Rename to
17900 window-normalize-buffer-to-switch-to.
17901 Correspondingly update all callers of the functions listed
17902 above.
17903 (display-buffer-alist, display-buffer-normalize-arguments)
17904 (display-buffer-normalize-options, display-buffer)
17905 (display-buffer-alist-set): Use "function" instead of
17906 "fun-with-args".
17907
17908 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17909
17910 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17911 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17912 debbugs.gnu.org. Mention acknowledgment email.
17913
17914 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17915
17916 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17917 buffer multibyteness, since it shouldn't matter.
17918
17919 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17920
17921 * window.el (display-buffer-in-side-window): Handle dedicated
17922 windows as in display-buffer-reuse-window.
17923 (display-buffer-normalize-alist): Use value of override
17924 specifier.
17925 (display-buffer-normalize-specifiers): Use value of
17926 other-window-means-other-frame specifier.
17927 (display-buffer-alist): Rewrite some texts in widgets.
17928 (display-buffer): Spread arguments when calling function
17929 specified by fun-with-args.
17930
17931 2011-06-28 Deniz Dogan <deniz@dogan.se>
17932
17933 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17934 Unnest `let'.
17935
17936 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17937 selectors (Bug#5732).
17938 (css-proprietary-nmstart-re): Use `regexp-opt'.
17939
17940 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17941
17942 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17943 (eshell-ls-date-format): New defcustom.
17944 (eshell-ls-file): Use it.
17945
17946 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17947
17948 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17949
17950 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17951
17952 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17953 (ange-ftp-make-tmp-name): New arg.
17954 (ange-ftp-file-local-copy): Use it.
17955
17956 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17957
17958 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17959 no-conversion (Bug#8870).
17960
17961 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17962
17963 * window.el (window-right, window-left, window-child)
17964 (window-child-count, window-last-child)
17965 (window-iso-combination-p, walk-window-tree-1)
17966 (window-atom-check-1, window-tree-1, delete-window)
17967 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17968 new naming conventions - window-vchild, window-hchild,
17969 window-next and window-prev are now called window-top-child,
17970 window-left-child, window-next-sibling and window-prev-sibling
17971 respectively.
17972 (resize-window-reset): Rename to window-resize-reset.
17973 (resize-window-reset-1): Rename to window-resize-reset-1.
17974 (resize-window): Rename to window-resize.
17975 (window-min-height, window-min-width)
17976 (resize-mini-window, resize-this-window, resize-root-window)
17977 (resize-root-window-vertically, adjust-window-trailing-edge)
17978 (enlarge-window, shrink-window, maximize-window)
17979 (minimize-window, delete-window, quit-restore-window)
17980 (split-window, balance-windows, balance-windows-area-adjust)
17981 (balance-windows-area, window-state-put-2)
17982 (display-buffer-even-window-sizes, display-buffer-set-height)
17983 (display-buffer-set-width, set-window-text-height)
17984 (fit-window-to-buffer): Rename all "resize-window" prefixed
17985 calls to use the "window-resize" prefix convention.
17986 (display-buffer-alist): Fix symbol for label specifier.
17987 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17988 corresponding specifier.
17989 Reported by Juanma Barranquero <lekktu@gmail.com>.
17990
17991 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17992
17993 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17994 convention.
17995 (ses-call-printer): Does not pass an empty string to formatter when the
17996 cell is empty to keep from barking printer Calc math-format-value.
17997
17998 2011-06-27 Richard Stallman <rms@gnu.org>
17999
18000 * battery.el (battery-mode-line-limit): New variable.
18001 (battery-update): Handle it.
18002
18003 * mail/rmailmm.el (rmail-mime-process-multipart):
18004 Handle truncated messages.
18005
18006 2011-06-27 Glenn Morris <rgm@gnu.org>
18007
18008 * progmodes/flymake.el (flymake-err-line-patterns):
18009 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18010
18011 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18012
18013 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
18014 (ses--clean-!, ses--clean-_): New functions.
18015 (ses-range): Add configurability of readout order, and conversion
18016 to Calc vector.
18017
18018 * ses.el (ses-repair-cell-reference-all): New function.
18019 (ses-cell-symbol): Set macro as safe, so that it can be used in
18020 formulas.
18021
18022 * ses.el: Update cycle detection algorithm.
18023 (ses-localvars): Add ses--Dijkstra-attempt-nb and
18024 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
18025 (ses-set-localvars): New function.
18026 (ses-make-cell): Add property-list as a cell element.
18027 (ses-cell-property-get-fun, ses-cell-property-get)
18028 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
18029 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18030 New functions.
18031 (ses-cell-property-set, ses-cell-property-pop)
18032 (ses-cell-property-get-handle): New macro.
18033 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18034 New aliases, used for code readability.
18035 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18036 cycle detection.
18037 (ses-self-reference-early-detection): New defcustom.
18038 (ses-formula-references): Robustify against self-referring cells.
18039 (ses-mode): Use ses-set-localvars.
18040 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18041 before lauching the update processing.
18042 (ses-initialize-Dijkstra-attempt): New function.
18043 (ses-recalculate-cell): Update for cycle detection based on
18044 Dijkstra algorithm.
18045
18046 * ses.el: Fix commenting and indenting convention.
18047
18048 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18049
18050 * bs.el (bs-cycle-next): Complete last change.
18051
18052 2011-06-27 Drew Adams <drew.adams@oracle.com>
18053
18054 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18055
18056 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18057
18058 * net/network-stream.el (network-stream-open-starttls):
18059 Don't re-get capabilities unless we've reestablished connection.
18060 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18061
18062 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18063 to binary to possibly avoid line encoding issues on Windows (among
18064 other things).
18065
18066 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18067
18068 * net/network-stream.el (open-network-stream): Return an :error
18069 saying what the problem was, if possible.
18070
18071 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18072 server.
18073
18074 * net/network-stream.el (network-stream-open-starttls): If we
18075 wanted to use STARTTLS, and the server offered it, but we weren't
18076 able to because we had no STARTTLS support, then close the connection.
18077 (open-network-stream): Return an :error element, if present.
18078
18079 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18080
18081 * hl-line.el (hl-line-sticky-flag): Doc fix.
18082 (global-hl-line-sticky-flag): New option (Bug#8323).
18083 (global-hl-line-highlight): Obey it.
18084
18085 * vc/vc.el (vc-revert-show-diff): Default to t.
18086
18087 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18088
18089 * allout-widgets.el (allout-widgets-post-command-business):
18090 Stop decorating intermediate isearch matches. They're not being
18091 undecorated when an isearch is continued past, and isearch
18092 automatically collapses them. This leads to "widget leaks", where
18093 decorated items accumulate in collapsed areas. Lines with lots of
18094 hidden widgets can slow down cursor travel, substantially.
18095 Too much complicated machinery would be needed to ensure undecoration,
18096 so we're doing without this nicety.
18097
18098 (allout-widgets-tally-string): Don't try to do a hash-table-count
18099 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18100 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18101 *Messages* when allout-widgets-maintain-tally is t.
18102
18103 2011-06-26 Martin Rudalics <rudalics@gmx.at>
18104
18105 * window.el (display-buffer-normalize-argument): Rename to
18106 display-buffer-normalize-arguments. Handle special meaning of
18107 LABEL argument. Respect special-display-function when popping up
18108 a new frame. Fix code searching for a window showing the buffer
18109 on another frame.
18110 (display-buffer-normalize-specifiers):
18111 Call display-buffer-normalize-arguments.
18112 (display-buffer-in-window): Don't undedicate the window if its
18113 buffer remains the same.
18114 Reported by Drew Adams <drew.adams@oracle.com>.
18115 (display-buffer-alist): Add choice for same-window macro
18116 specfier.
18117 (display-buffer): Mention special meaning of LABEL argument in
18118 doc-string. Fix quoting. Don't pop up a new frame even as
18119 fallback.
18120
18121 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
18122
18123 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18124 avoid deleting the current window in some cases (bug#8911).
18125
18126 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18127
18128 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18129 (Bug#8934)
18130
18131 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18132
18133 * net/network-stream.el (network-stream-open-starttls):
18134 Use built-in TLS support if `gnutls-available-p' is true.
18135 (network-stream-open-tls): Ditto.
18136
18137 2011-06-26 Leo Liu <sdl.web@gmail.com>
18138
18139 * register.el (registerv): New struct.
18140 (registerv-make): New function.
18141 (jump-to-register, describe-register-1, insert-register):
18142 Support the jump-func, print-func and insert-func slot of a registerv
18143 struct. (Bug#8415)
18144
18145 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18146
18147 * vc/vc.el (vc-revert-show-diff): New defcustom.
18148 (vc-diff-internal): New arg specifying diff buffer.
18149 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18150 reuse an existing *vc-diff* buffer (Bug#8927).
18151
18152 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18153
18154 2011-06-26 Glenn Morris <rgm@gnu.org>
18155
18156 * progmodes/f90.el (f90-critical-indent): New option.
18157 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18158 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18159 (f90-mode): Doc fix.
18160 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18161 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18162 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18163 (f90-match-end): Handle block, critical.
18164
18165 2011-06-25 Glenn Morris <rgm@gnu.org>
18166
18167 * calendar/diary-lib.el (diary-included-files): Doc fix.
18168 (diary-include-files): New function, extracted from
18169 diary-include-other-diary-files and diary-mark-included-diary-files.
18170 (diary-include-other-diary-files, diary-mark-included-diary-files):
18171 Just call diary-include-files.
18172 (diary-mark-entries): Reset diary-included-files on first call.
18173
18174 * calendar/diary-lib.el (diary-mark-entries)
18175 (diary-mark-included-diary-files):
18176 Visit included diary-files in temp buffers.
18177
18178 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18179 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18180 (f90-start-block-re, f90-imenu-generic-expression)
18181 (f90-looking-at-program-block-start, f90-no-block-limit):
18182 Add support for submodules.
18183
18184 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18185 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18186
18187 2011-06-25 Eli Zaretskii <eliz@gnu.org>
18188
18189 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18190 buffer-file-type before setting its value, to avoid disastrous
18191 global effects on decoding files for DOS/Windows systems. (Bug#8780)
18192
18193 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18194
18195 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18196
18197 * ses.el (ses-unload-function):
18198 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18199
18200 * proced.el (proced-unload-function):
18201 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18202
18203 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18204
18205 * server.el (server-create-window-system-frame): Add parameters arg.
18206 (server-process-filter): Doc fix. Handle frame-parameters.
18207
18208 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18209
18210 Fix bug#8730, bug#8781.
18211
18212 * loadhist.el (unload--set-major-mode): New function.
18213 (unload-feature): Use it.
18214
18215 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18216 (python-unload-function): New function.
18217
18218 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18219
18220 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18221
18222 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18223
18224 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18225 the candidates list.
18226
18227 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
18228
18229 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18230
18231 2011-06-23 Richard Stallman <rms@gnu.org>
18232
18233 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18234 (rmail-variables): Set next-error-move-function.
18235 (rmail-what-message): Take argument POS.
18236 (rmail-next-error-move): New function.
18237
18238 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18239
18240 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18241 messages for adjacent non-terminals.
18242
18243 2011-06-23 Richard Stallman <rms@gnu.org>
18244
18245 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18246 (rmail-show-message-1): Preserve buffer modified flag.
18247 (rmail-start-mail): Don't specify use of rmail-mail-return;
18248 that's done by mail-bury now.
18249 (rmail-mail-return): Handle arg NEWBUF.
18250
18251 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
18252
18253 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18254 SIZE is a number.
18255
18256 2011-06-23 Martin Rudalics <rudalics@gmx.at>
18257
18258 * window.el (get-lru-window, get-mru-window)
18259 (get-largest-window): Never return a minibuffer window.
18260 (display-buffer-pop-up-window): Fix a bug that could lead to
18261 reusing the minibuffer window.
18262 (display-buffer): Pass original specifier argument to
18263 display-buffer-function instead of the normalized one.
18264 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18265
18266 2011-06-22 Leo Liu <sdl.web@gmail.com>
18267
18268 * minibuffer.el (completing-read-function)
18269 (completing-read-default): Move from minibuf.c.
18270
18271 2011-06-22 Richard Stallman <rms@gnu.org>
18272
18273 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18274 to Rmail even if not started by a special Rmail command.
18275
18276 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18277 Copy the buffer currently showing just one message.
18278
18279 2011-06-22 Roland Winkler <winkler@gnu.org>
18280
18281 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18282 (bibtex-clean-entry): First delete the old key so that a
18283 customized algorithm for generating the new key does not get
18284 confused by the old key.
18285 (bibtex-url): Obey regexp of first step.
18286 (bibtex-search-entries): Do not use add-to-list with local
18287 list-var.
18288
18289 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18290
18291 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18292 stored a user name, then query for the password first, instead of
18293 waiting for SMTP to give an error message and the trying again.
18294
18295 2011-06-22 Lawrence Mitchell <wence@gmx.li>
18296
18297 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18298 BUFFER in call-process.
18299
18300 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18301
18302 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18303 QUIT twice.
18304 (smtpmail-try-auth-methods): Require user name and password from
18305 auth-source.
18306
18307 2011-06-22 Martin Rudalics <rudalics@gmx.at>
18308
18309 * window.el (display-buffer-default-specifiers)
18310 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18311 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18312 (split-window): Normalize SIDE argument (Bug#8916).
18313
18314 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18315 (special-display-frame-alist, special-display-popup-frame):
18316 Remove duplicate declarations. These are now in window.el.
18317
18318 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18319
18320 * mail/smtpmail.el (smtpmail-via-smtp):
18321 Set :use-starttls-if-possible so that we always use STARTTLS if the
18322 server supports it. SMTP servers that support STARTTLS commonly
18323 require it.
18324
18325 * net/network-stream.el (network-stream-open-starttls): Support
18326 upgrading to STARTTLS always, even if we don't have built-in support.
18327 (open-network-stream): Add the :always-query-capabilities keyword.
18328
18329 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18330 upgrades with `open-network-stream', and rely solely on
18331 auth-source for all credentials. Big changes throughout the file,
18332 but in particular:
18333 (smtpmail-auth-credentials): Remove.
18334 (smtpmail-starttls-credentials): Remove.
18335 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18336 MAIL FROM, too.
18337
18338 * net/network-stream.el (network-stream-open-starttls):
18339 Provide support for client certificates both for external and built-in
18340 STARTTLS.
18341 (auth-source): Require.
18342 (open-network-stream): Document the :client-certificate keyword.
18343 (network-stream-certificate): Change cert-cert to cert and
18344 cert-key to key.
18345
18346 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
18347
18348 * net/tramp-cache.el (top): Don't load the persistency file when
18349 "emacs -Q" has been called.
18350
18351 2011-06-21 Tim Harper <timcharper@gmail.com>
18352
18353 * term/ns-win.el (ns-initialize-window-system):
18354 Set application-specific `ApplePressAndHoldEnabled' system
18355 resource to NO as it is not yet supported by the NS port.
18356
18357 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
18358
18359 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18360 (list-dynamic-libraries): ...not here.
18361
18362 2011-06-21 Leo Liu <sdl.web@gmail.com>
18363
18364 * subr.el (sha1): Implement sha1 using secure-hash.
18365
18366 2011-06-21 Martin Rudalics <rudalics@gmx.at>
18367
18368 * window.el (display-buffer-alist): In default value do not
18369 enforce searching a window on any but the selected frame.
18370 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18371 (display-buffer-select-window): Remove function.
18372 (display-buffer-in-window): When a window on another frame gets
18373 reused, do not select it any more but just raise its frame if
18374 necessary (Bug#8851) and (Bug#8856).
18375 (display-buffer-normalize-options): Handle pop-up-frames related
18376 options more faithfully.
18377 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18378 window if it is on another frame.
18379 (display-buffer-alist, display-buffer-default-specifiers):
18380 Don't make new frame unsplittable by default.
18381 (display-buffer-normalize-argument): Fix doc-string typo and use
18382 'same-frame-other-window instead of 'other-window when associating
18383 with display-buffer-macro-specifiers.
18384
18385 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18386
18387 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18388 New functions.
18389 (5x5-mode-map, 5x5-mode-menu): Bind them.
18390 (5x5-draw-grid): Tweak the solver's rendering.
18391
18392 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18393
18394 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18395 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18396
18397 2011-06-21 Drew Adams <drew.adams@oracle.com>
18398
18399 * menu-bar.el: Use function variable instead of switch-to-buffer.
18400 (menu-bar-select-buffer-function): New variable.
18401 (menu-bar-update-buffers): Use it (bug#8876).
18402
18403 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18404
18405 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18406 variable's status.
18407
18408 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18409
18410 * x-dnd.el (x-dnd-version-from-flags)
18411 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18412 and long as number (Bug#8899).
18413 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18414
18415 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18416
18417 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18418 (completion-try-completion, completion-all-completions): Compute the
18419 metadata argument if it's missing; make it optional (bug#8795).
18420
18421 * wid-edit.el: Use lex-bind and move towards completion-at-point.
18422 (widget-complete): Use new :completion-function property.
18423 (widget-completions-at-point): New function.
18424 (default): Use :completion-function instead of :complete.
18425 (widget-default-completions): Rename from widget-default-complete;
18426 Rewrite.
18427 (widget-string-complete, widget-file-complete, widget-color-complete):
18428 Remove functions.
18429 (file, symbol, function, variable, coding-system, color):
18430 * international/mule-cmds.el (default-input-method, charset)
18431 (language-info-custom-alist):
18432 * cus-edit.el (face): Use new property :completions.
18433
18434 * progmodes/pascal.el (pascal-completions-at-point): New function.
18435 (pascal-mode): Use it.
18436 (pascal-mode-map): Use completion-at-point.
18437 (pascal-toggle-completions): Make obsolete.
18438 (pascal-complete-word, pascal-show-completions):
18439 * progmodes/octave-mod.el (octave-complete-symbol):
18440 Redefine as obsolete alias.
18441 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18442 Signal absence of completion info for old Octave,
18443 (inferior-octave-complete): Redefine as obsolete alias.
18444 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18445 (meta-completions-at-point): Rename from meta-complete-symbol and
18446 adapt it for use on completion-at-point-functions.
18447 (meta-common-mode): Use it.
18448 (meta-looking-at-backward, meta-match-buffer): Remove.
18449 (meta-complete-symbol): Redefine as obsolete alias.
18450 (meta-common-mode-map): Use completion-at-point.
18451 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18452 (makefile-mode-map): Use completion-at-point.
18453 (makefile-completions-at-point): Rename from makefile-complete and
18454 adapt it for use on completion-at-point-functions.
18455 (makefile-mode): Use it.
18456 (makefile-complete): Redefine as obsolete alias.
18457
18458 2011-06-20 Deniz Dogan <deniz@dogan.se>
18459
18460 * net/rcirc.el: Delete trailing whitespaces once and for all.
18461
18462 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18463
18464 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18465
18466 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
18467
18468 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18469
18470 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18471
18472 2011-06-19 Martin Rudalics <rudalics@gmx.at>
18473
18474 * window.el (display-buffer-other-window-means-other-frame):
18475 Call display-buffer-normalize-alist.
18476 (display-buffer-normalize-specifiers-1): Rename to
18477 display-buffer-normalize-argument. New argument other-frame.
18478 Rewrite.
18479 (display-buffer-normalize-specifiers-2): Rename to
18480 display-buffer-normalize-options.
18481 (display-buffer-normalize-alist-1): New function.
18482 (display-buffer-normalize-specifiers-3): Rename to
18483 display-buffer-normalize-alist.
18484 Call display-buffer-normalize-alist-1.
18485 (display-buffer-normalize-options-inhibit): New variable.
18486 (display-buffer-normalize-specifiers): Rewrite calling
18487 display-buffer-normalize-alist,
18488 display-buffer-normalize-argument, and
18489 display-buffer-normalize-options. Don't call the latter if
18490 display-buffer-normalize-options-inhibit is non-nil.
18491 (frame-auto-delete): New option.
18492 (window-deletable-p): Use frame-auto-delete.
18493 (window-list-no-nils, window-state-ignored-parameters)
18494 (window-state-get-1, window-state-get, window-state-put-list)
18495 (window-state-put-1, window-state-put-2, window-state-put):
18496 New functions.
18497 (display-buffer-normalize-options): Move special-display-p group
18498 after pop-up-frame group (Bug#8851) and (Bug#8856).
18499
18500 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
18501
18502 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18503 groups (Bug#8776).
18504 (rx-submatch-n): New function.
18505 (rx): Document it.
18506
18507 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18508 (Bug#8768).
18509
18510 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18511
18512 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18513
18514 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18515 anytime existing face settings are present (Bug#8889).
18516
18517 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18518 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18519 Remove unused argument.
18520
18521 2011-06-18 Martin Rudalics <rudalics@gmx.at>
18522
18523 * window.el (display-buffer-default-specifiers):
18524 Remove pop-up-frame. Add pop-up-window-min-height,
18525 pop-up-window-min-width, and another reuse-window specifier
18526 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
18527 (display-buffer-normalize-specifiers-2):
18528 Handle split-height-threshold and split-width-threshold also when
18529 pop-up-windows is unset. Add a reuse-window specifier for the
18530 case popping up a new window fails.
18531 (special-display-popup-frame): Remove double quoting.
18532 (display-buffer-normalize-specifiers-1): Fix thinko.
18533
18534 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18535
18536 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18537 according to comint-completion-addsuffix.
18538
18539 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18540 (pcomplete-suffix-list): Mark as obsolete.
18541 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18542 pcomplete-seen in the closure.
18543 (pcomplete-comint-setup): Setup completion-at-point as well.
18544 (pcomplete--entries): New function.
18545 (pcomplete--env-regexp): New var.
18546 (pcomplete-entries): Rewrite to work with partial-completion and
18547 without relying on pcomplete-suffix-list.
18548 (pcomplete-pare-list): Remove, unused.
18549
18550 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18551
18552 * window.el (display-buffer-alist): Set pop-up-window-min-height
18553 and pop-up-window-min-width in default value. Reported by
18554 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18555 other-window-means-other-frame.
18556 (display-buffer-macro-specifiers): Comment out entry for
18557 other-window specifier.
18558 (display-buffer-other-window-means-other-frame): New function.
18559 (display-buffer-normalize-specifiers-1): New arguments
18560 buffer-name and label. Treat other-window case specially.
18561 (display-buffer-normalize-specifiers-2): Treat other-window case
18562 specially.
18563 (display-buffer-normalize-specifiers-3): New function.
18564 (display-buffer-normalize-specifiers):
18565 Call display-buffer-normalize-specifiers-3.
18566
18567 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18568
18569 * window.el (same-window-p): Fix two typos introduced when
18570 adding with-no-warnings.
18571 (display-buffer-normalize-specifiers-1): Don't check
18572 pop-up-frames for 'unset initialization.
18573 (display-buffer-normalize-specifiers-2): Major rewrite using
18574 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18575 (pop-up-frames, display-buffer-reuse-frames)
18576 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18577 Suggested by David Engster <deng@randomsample.de>.
18578 (even-window-heights): Initialize to 'unset.
18579 (display-buffer-alist-set): Handle new 'unset initializations.
18580 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18581 other window case.
18582
18583 2011-06-16 Martin Rudalics <rudalics@gmx.at>
18584
18585 * window.el (display-buffer-normalize-specifiers-1):
18586 Respect current value of pop-up-frames for most reasonable values of
18587 second argument of display-buffer (Bug#8865).
18588 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18589 (switch-to-buffer-other-window-same-frame)
18590 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18591 Adams (Bug#8875).
18592 (display-buffer): Don't check noninteractive when calling
18593 display-buffer-pop-up-frame.
18594 (display-buffer-pop-up-frame): Never pop up a frame in
18595 noninteractive mode (Bug#8857).
18596 (enlarge-window, shrink-window): Don't report an error when the
18597 window can't be resized as requested (Bug#8862).
18598
18599 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18600
18601 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18602
18603 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18604
18605 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18606
18607 2011-06-15 Alan Mackenzie <acm@muc.de>
18608
18609 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18610 for declarators, disable knr checking to speed up for normal files.
18611 2: Refactor, replacing a sequence of nested if forms by a cond form.
18612
18613 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18614
18615 * net/network-stream.el (open-network-stream): Add the keyword
18616 :always-query-capabilities for the case where you want to force a
18617 `plain' network connection, but the protocol still requires the
18618 capabilitiy command (i.e., SMTP and EHLO).
18619
18620 * subr.el (process-live-p): Rename from `process-alive-p' for
18621 consistency with other `-live-p' functions.
18622
18623 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18624
18625 * window.el (same-window-buffer-names, same-window-regexps)
18626 (special-display-frame-alist, special-display-popup-frame)
18627 (special-display-function, special-display-buffer-names)
18628 (special-display-regexps, pop-up-frame-alist)
18629 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18630 (pop-up-windows, split-window-preferred-function)
18631 (split-height-threshold, split-width-threshold, even-window-heights)
18632 (display-buffer-mark-dedicated): Don't encourage the use of
18633 display-buffer-alist from Elisp code.
18634
18635 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18636
18637 * progmodes/python.el (python-mode): Derive from prog-mode.
18638 * progmodes/ps-mode.el (ps-mode):
18639 * progmodes/mixal-mode.el (mixal-mode):
18640 * progmodes/cfengine.el (cfengine-mode):
18641 * progmodes/ld-script.el (ld-script-mode): Likewise.
18642
18643 2011-06-15 Martin Rudalics <rudalics@gmx.at>
18644
18645 * window.el (display-buffer-alist): Trim default value to avoid
18646 popping up a new frame (Bug#8857) or reusing an arbitrary window
18647 on another frame.
18648 (display-buffer): Do not fall back on popping up a new frame in
18649 batch mode (Bug#8857).
18650
18651 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
18652
18653 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18654 (custom-theme-summary): New function.
18655 (customize-themes): Use it.
18656
18657 2011-06-13 Glenn Morris <rgm@gnu.org>
18658
18659 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18660
18661 2011-06-13 Martin Rudalics <rudalics@gmx.at>
18662
18663 * help.el (help-window): Remove variable.
18664 (help-window-point-marker, temp-buffer-max-height)
18665 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18666 (help-print-return-message): Don't set help-window.
18667 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18668 (help-window-setup-finish): Remove.
18669 (help-window-display-message, help-window-setup)
18670 (with-help-window): Major rewrite based on new
18671 display-buffer-window variable.
18672
18673 * help-mode.el (help-mode-finish): Remove help-window related
18674 code.
18675
18676 * view.el (view-exits-all-viewing-windows): Remove reference to
18677 view-return-to-alist in doc-string.
18678 (view-return-to-alist): Make obsolete.
18679 (view-buffer): Call pop-to-buffer-same-window and remove
18680 undo-window code.
18681 (view-buffer-other-window): Call pop-to-buffer-other-window and
18682 simplify code. Ignore second argument.
18683 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18684 simplify code. Ignore second argument.
18685 (view-return-to-alist-update): Make obsolete.
18686 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18687 Rewrite using quit-restore window parameters.
18688 (view-mode-exit): Rename second argument to EXIT-ONLY.
18689 Rewrite using quit-restore-window.
18690 (View-exit, View-exit-and-edit, View-leave, View-quit)
18691 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18692 appropriate arguments.
18693 (view-end-message): Use quit-restore window parameter.
18694
18695 * window.el (display-buffer-function): Rewrite doc-string.
18696 (display-buffer-window, display-buffer-alist): New variables.
18697 (display-buffer-split-specifiers)
18698 (display-buffer-side-specifiers)
18699 (display-buffer-macro-specifiers): New constants.
18700 (display-buffer-even-window-sizes, display-buffer-set-height)
18701 (display-buffer-set-width, display-buffer-select-window)
18702 (display-buffer-in-window, display-buffer-reuse-window)
18703 (display-buffer-split-window-1, display-buffer-split-window)
18704 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18705 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18706 (display-buffer-in-side-window, normalize-buffer-to-display)
18707 (display-buffer-normalize-specifiers-1)
18708 (display-buffer-normalize-specifiers-2)
18709 (display-buffer-normalize-specifiers, display-buffer-frame):
18710 New functions.
18711 (display-buffer): Major rewrite.
18712 (display-buffer-other-window, display-buffer-other-frame)
18713 (pop-to-buffer, switch-to-buffer-other-window)
18714 (switch-to-buffer-other-frame): Rewrite.
18715 (display-buffer-same-window, display-buffer-same-frame)
18716 (display-buffer-same-frame-other-window)
18717 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18718 (pop-to-buffer-other-window)
18719 (pop-to-buffer-same-frame-other-window)
18720 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18721 (switch-to-buffer-other-window-same-frame): New functions.
18722 (same-window-p, special-display-p): Rewrite disabling warnings.
18723 Make obsolete.
18724 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18725 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18726 Make obsolete
18727 (same-window-buffer-names, same-window-regexps)
18728 (special-display-frame-alist, special-display-popup-frame)
18729 (special-display-function, special-display-buffer-names)
18730 (special-display-regexps, pop-up-frame-alist)
18731 (pop-up-frame-function, split-window-preferred-function)
18732 (split-height-threshold, split-width-threshold)
18733 (even-window-heights): Make obsolete.
18734
18735 2011-06-12 Glenn Morris <rgm@gnu.org>
18736
18737 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
18738 Misc simplifications.
18739
18740 2011-06-12 Martin Rudalics <rudalics@gmx.at>
18741
18742 * window.el (window-safely-shrinkable-p): Restore function which
18743 was inadvertently removed in change from 2011-06-11. Declare as
18744 obsolete.
18745
18746 * calendar/calendar.el (calendar-generate-window):
18747 Use window-iso-combined-p instead of combination of one-window-p and
18748 window-safely-shrinkable-p.
18749
18750 2011-06-12 Glenn Morris <rgm@gnu.org>
18751
18752 * progmodes/fortran.el (fortran-mode-syntax-table):
18753 * progmodes/f90.el (f90-mode-syntax-table):
18754 Set % to punctuation. (Bug#8820)
18755 (f90-find-tag-default): Remove, no longer needed.
18756
18757 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18758
18759 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18760
18761 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
18762
18763 * image.el (image-animated-p): Return animation delay in seconds.
18764 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18765 (image-animate-timeout): Remove DELAY argument. Don't assume
18766 every subimage has the same delay; get it from image-animated-p.
18767 (image-animate): Caller changed.
18768
18769 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
18770
18771 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18772 to ignored backtrace functions.
18773
18774 2011-06-11 Glenn Morris <rgm@gnu.org>
18775
18776 * calendar/appt.el (appt-disp-window-function): Doc fix.
18777 (appt-check): Handle overlapping appointments. (Bug#8337)
18778
18779 2011-06-11 Martin Rudalics <rudalics@gmx.at>
18780
18781 * window.el (window-tree-1, window-tree): New functions, moving
18782 the latter to window.el.
18783 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18784 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18785 (bw-refresh-edges): Remove.
18786 (balance-windows-1, balance-windows-2): New functions.
18787 (balance-windows): Rewrite in terms of window tree functions,
18788 balance-windows-1 and balance-windows-2.
18789 (bw-adjust-window): Remove.
18790 (balance-windows-area-adjust): New function with functionality of
18791 bw-adjust-window but using resize-window.
18792 (set-window-text-height): Rewrite doc-string.
18793 Use normalize-live-window and resize-window.
18794 (enlarge-window-horizontally, shrink-window-horizontally):
18795 Rename argument to DELTA.
18796 (window-buffer-height): New function.
18797 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18798 Rewrite using new window resize routines.
18799 (kill-buffer-and-window, mouse-autoselect-window-select):
18800 Use ignore-errors instead of condition-case.
18801 (quit-window): Call delete-frame instead of delete-windows-on
18802 for the only buffer on frame.
18803
18804 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18805
18806 * loadup.el (top-level): Load window before files for the sake
18807 of replace-buffer-in-windows.
18808
18809 * files.el (read-buffer-to-switch)
18810 (switch-to-buffer-other-window)
18811 (switch-to-buffer-other-frame, display-buffer-other-frame):
18812 Move to window.el.
18813
18814 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18815 (previous-buffer): Move to window.el.
18816
18817 * bindings.el (unbury-buffer): Move to window.el.
18818
18819 * window.el (delete-other-windows-vertically): Move after
18820 definition of delete-other-windows.
18821 (other-window, delete-windows-on, replace-buffer-in-windows):
18822 Move here from window.c.
18823 (record-window-buffer, unrecord-window-buffer)
18824 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18825 (switch-to-next-buffer): New functions.
18826 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18827 from simple.el. Call switch-to-next-buffer.
18828 (previous-buffer): Move here from simple.el.
18829 Call switch-to-prev-buffer.
18830 (bury-buffer): Move here from buffer.c. Switch to previous
18831 buffer when window cannot be deleted.
18832 (unbury-buffer): Move here from bindings.el.
18833 (ctl-x-map): Move binding for other-window from window.c to
18834 here.
18835 (read-buffer-to-switch, switch-to-buffer-other-window)
18836 (switch-to-buffer-other-frame): Move here from files.el.
18837 (normalize-buffer-to-switch-to): New functions.
18838 (switch-to-buffer): Move here from buffer.c.
18839 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18840
18841 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18842
18843 * window.el (window-min-height, window-min-width): Move here
18844 from window.c. Add defcustoms and rewrite doc-strings.
18845 (resize-mini-window, resize-window): New functions.
18846 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18847 Move here from window.c.
18848 (maximize-window, minimize-window): New functions.
18849 (delete-window, delete-other-windows, split-window): Move here
18850 from window.c.
18851 (window-split-min-size): New function.
18852 (split-window-keep-point): Mention split-window-above-each-other
18853 instead of split-window-vertically.
18854 (split-window-above-each-other, split-window-vertically):
18855 Rename split-window-vertically to split-window-above-each-other
18856 and provide defalias for old definition.
18857 (split-window-side-by-side, split-window-horizontally):
18858 Rename split-window-horizontally to split-window-side-by-side
18859 and provide defalias for the old definition.
18860 (ctl-x-map): Move bindings for delete-window,
18861 delete-other-windows and enlarge-window here from window.c.
18862 Replace bindings for split-window-vertically and
18863 split-window-horizontally by bindings for
18864 split-window-above-each-other and split-window-side-by-side.
18865
18866 * cus-start.el (all): Remove entries for window-min-height and
18867 window-min-width. Add entries for window-splits and
18868 window-nest.
18869
18870 2011-06-09 Glenn Morris <rgm@gnu.org>
18871
18872 * calendar/appt.el (appt-mode-line): New function.
18873 (appt-check, appt-disp-window): Use it.
18874
18875 * files.el (hack-one-local-variable-eval-safep):
18876 Allow minor-modes with explicit +/-1 arguments.
18877
18878 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18879
18880 * term/xterm.el (xterm): Add defgroup.
18881 (xterm-extra-capabilities): Add defcustom to supply known xterm
18882 capabilities, skip querying them, or query them (default).
18883 (terminal-init-xterm): Use it.
18884 (terminal-init-xterm-modify-other-keys): New function to set up
18885 modifyOtherKeys support to simplify `terminal-init-xterm'.
18886
18887 2011-06-09 Martin Rudalics <rudalics@gmx.at>
18888
18889 * window.el (resize-window-reset, resize-window-reset-1)
18890 (resize-subwindows-skip-p, resize-subwindows-normal)
18891 (resize-subwindows, resize-other-windows, resize-this-window)
18892 (resize-root-window, resize-root-window-vertically)
18893 (window-deletable-p, window-or-subwindow-p)
18894 (frame-root-window-p): New functions.
18895
18896 2011-06-09 Glenn Morris <rgm@gnu.org>
18897
18898 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18899 (ange-ftp-get-files): Use it.
18900
18901 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18902
18903 * mail/sendmail.el (mail-recover-1, mail-recover):
18904 * files.el (recover-file, recover-session):
18905 Handle dired-listing-switches not being just a single short option.
18906
18907 2011-06-09 Glenn Morris <rgm@gnu.org>
18908
18909 * calendar/appt.el (appt-display-message, appt-disp-window):
18910 Handle lists of appointments.
18911
18912 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18913
18914 * window.el (one-window-p): Move down in code.
18915 Rewrite doc-string.
18916 (window-current-scroll-bars): Rewrite doc-string.
18917 Normalize live window argument.
18918 (walk-windows, get-window-with-predicate, count-windows):
18919 Rewrite doc-string. Use window-list-1.
18920 (window-in-direction-2, window-in-direction, get-mru-window):
18921 New functions.
18922
18923 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18924
18925 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18926 Doc fix (Bug#8713).
18927
18928 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18929
18930 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18931
18932 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18933
18934 * loadhist.el (unload-feature-special-hooks):
18935 Add `comint-output-filter-functions'.
18936
18937 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18938
18939 * calendar/appt.el (appt-check): Move some initializations into the let.
18940
18941 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18942
18943 * window.el (window-height): Defalias to window-total-height.
18944 (window-width): Defalias to window-body-width.
18945
18946 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18947
18948 * image-mode.el (image-toggle-animation): New command.
18949 (image-mode-map): Bind it to RET.
18950 (image-mode): Update message.
18951 (image-toggle-display-image): Avoid a spurious cache flush.
18952 (image-transform-rotation): Doc fix.
18953 (image-transform-properties): Return quickly in the normal case.
18954 (image-animate-loop): Rename from image-animate-max-time.
18955
18956 * image.el (image-animate-max-time): Move to image-mode.el.
18957 (create-animated-image): Remove unnecessary function.
18958 (image-animate): Rename from image-animate-start. New arg.
18959 (image-animate-stop): Remove; just use image-animate-timer.
18960 (image-animate-timer): Use car-safe.
18961 (image-animate-timeout): Rename argument.
18962
18963 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18964
18965 * window.el (get-lru-window, get-largest-window): Move here from
18966 window.c. Rename first argument to ALL-FRAMES.
18967 Rephrase doc-strings.
18968 (get-buffer-window-list): Rewrite using window-list-1.
18969 Rephrase doc-string.
18970 (window-safe-min-height, window-safe-min-width): New constants.
18971 (window-size-ignore, window-min-size, window-min-size-1)
18972 (window-sizable, window-sizable-p, window-size-fixed-1)
18973 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18974 (window-max-delta-1, window-max-delta, window-resizable)
18975 (window-resizable-p, window-total-height, window-total-width)
18976 (window-body-width): New functions.
18977 (window-full-height-p, window-full-width-p): Rewrite using
18978 window-total-size.
18979 (window-body-height): Rewrite using window-body-size.
18980
18981 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18982
18983 * window.el (window-right, window-left, window-child)
18984 (window-child-count, window-last-child, window-any-p)
18985 (normalize-live-buffer, normalize-live-frame)
18986 (normalize-any-window, normalize-live-window)
18987 (window-iso-combination-p, window-iso-combined-p)
18988 (window-iso-combinations)
18989 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18990 (windows-with-parameter, window-with-parameter)
18991 (window-atom-root, make-window-atom, window-atom-check-1)
18992 (window-atom-check, window-side-check, window-check):
18993 New functions.
18994 (ignore-window-parameters, window-sides, window-sides-vertical)
18995 (window-sides-slots): New variables.
18996 (window-size-fixed): Move down in code. Minor doc-string fix.
18997
18998 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18999
19000 * comint.el (comint-dynamic-complete-as-filename)
19001 (comint-dynamic-complete-filename): Correctly call
19002 completion-in-region.
19003
19004 2011-06-05 Deniz Dogan <deniz@dogan.se>
19005
19006 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19007 in last change.
19008
19009 2011-06-05 Deniz Dogan <deniz@dogan.se>
19010
19011 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19012 (rcirc): Use it to prompt for encryption.
19013
19014 2011-06-05 Roland Winkler <winkler@gnu.org>
19015
19016 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19017 (bibtex-search-entries): New command bound to C-c C-a.
19018 (bibtex-display-entries): New function.
19019
19020 2011-06-05 Roland Winkler <winkler@gnu.org>
19021
19022 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19023 (bibtex-insert-kill): After yanking insert newline if necessary.
19024 (bibtex-initialize): Call bibtex-string-files-init only once.
19025 (bibtex-mode): Do not call easy-menu-add.
19026 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19027 (bibtex-yank): Set arg properly if nil.
19028
19029 2011-06-05 Roland Winkler <winkler@gnu.org>
19030
19031 * textmodes/bibtex.el (bibtex-search-entry-globally):
19032 New variable.
19033 (bibtex-search-entry): Use it.
19034
19035 2011-06-05 Roland Winkler <winkler@gnu.org>
19036
19037 * textmodes/bibtex.el (bibtex-entry-format): New option
19038 sort-fields.
19039 (bibtex-format-entry, bibtex-reformat): Honor this option.
19040 (bibtex-parse-entry): Return fields in proper order.
19041
19042 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
19043
19044 * doc-view.el (doc-view-remove-if): Move computation of result out
19045 of `dolist' to silence misleading lexical-binding warning.
19046
19047 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
19048
19049 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19050 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19051
19052 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19053
19054 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19055 "SunOS 5.10".
19056
19057 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19058
19059 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19060 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19061 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19062 (tramp-parse-putty):
19063 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19064 (tramp-completion-function-alist-ssh)
19065 (tramp-completion-function-alist-telnet)
19066 (tramp-completion-function-alist-su)
19067 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19068 cookie.
19069
19070 * net/tramp-ftp.el:
19071 * net/tramp-sh.el:
19072 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19073 load "tramp.el" `tramp-set-completion-function'.
19074
19075 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19076
19077 * shell.el: Require and use pcomplete.
19078 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19079 (shell-completion-vars): Set pcomplete-default-completion-function.
19080
19081 2011-06-04 Deniz Dogan <deniz@dogan.se>
19082
19083 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19084 `memq' (Bug#8799).
19085
19086 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19087
19088 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19089
19090 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
19091
19092 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19093 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19094 * vc/log-view.el (log-view-beginning-of-defun):
19095 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19096 (smerge-refine-forward, smerge-refine-chopup-region):
19097 Silence warning for unused `dotimes' counter variables.
19098
19099 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19100
19101 * net/tramp.el (tramp-with-progress-reporter): Rename from
19102 with-progress-reporter. Use `declare'.
19103 * net/tramp-smb.el:
19104 * net/tramp-sh.el:
19105 * net/tramp-gvfs.el: Update all uses.
19106
19107 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19108
19109 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19110 buffer isn't killed before making it current.
19111
19112 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19113
19114 Silence various byte-compiler warnings.
19115 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19116 `access-type' and new obsolescence format.
19117 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19118 new format.
19119 (byte-compile-check-variable): New `access-type' argument.
19120 Only warn if the access-type is obsolete.
19121 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19122 (byte-compile-variable-set): Adjust callers.
19123 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19124 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19125 setting it as obsolete.
19126 * simple.el (minibuffer-completing-symbol):
19127 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19128 access as obsolete.
19129 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19130 obsolete yet.
19131 * international/quail.el (quail-mouse-choose-completion): Remove unused
19132 code referring to obsolete var.
19133 (quail-choose-completion-string): Remove.
19134 * server.el (server-clients-with, server-kill-buffer-query-function)
19135 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19136 * proced.el (proced-send-signal):
19137 * emacs-lisp/lisp.el (lisp-complete-symbol):
19138 Replace completion-annotate-function with completion-extra-properties.
19139
19140 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19141
19142 * simple.el (goto-line): Use read-number.
19143 (overriding-map-is-bound): Remove.
19144 (saved-overriding-map): Change default.
19145 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19146 Take the map as argument.
19147 (universal-argument, negative-argument, digit-argument): Use it.
19148 (restore-overriding-map): Adjust.
19149 (do-auto-fill): Use fill-forward-paragraph.
19150 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19151
19152 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19153 (minibuffer-inactive-mode): New major mode.
19154 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19155 the *Messages* buffer" hack.
19156 (mouse-popup-menubar): Don't burp if the event is a normal key.
19157
19158 Miscellaneous tweaks.
19159 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19160 lexical scoping as in subr.el's dolist and dotimes.
19161 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19162 Silence compiler warning.
19163 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19164 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19165 * international/ccl.el (ccl-compile): Trivial simplification.
19166 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19167 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19168 `printflag' argument.
19169 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19170 Purecopy the whole obsolescence data.
19171
19172 2011-06-01 Leo Liu <sdl.web@gmail.com>
19173
19174 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19175 improve doc-string as suggested by Marco Pessotto
19176 <melmothx@gmail.com>.
19177 (rcirc-print): Fix last change.
19178
19179 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19180
19181 * minibuffer.el (complete-with-action): Return nil for the metadata and
19182 boundaries of non-functional tables.
19183 (completion-table-dynamic): Return nil for the metadata.
19184 (completion-table-with-terminator): Add default case, using
19185 complete-with-action.
19186 (completion--metadata): New function.
19187 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19188 to try and avoid pathological performance problems.
19189 (completion--embedded-envvar-table): Return `category' metadata.
19190
19191 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19192
19193 * subr.el (process-alive-p): New tiny convenience function.
19194
19195 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19196
19197 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19198 content but also its previous major mode.
19199
19200 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
19201
19202 * emacs-lisp/debug.el (debug): Restore the previous content of the
19203 *Backtrace* buffer when we exit with C-M-c.
19204
19205 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19206
19207 * minibuffer.el: Add metadata method to completion tables.
19208 (completion-category-overrides): New defcustom.
19209 (completion-metadata, completion--field-metadata)
19210 (completion-metadata-get, completion--styles)
19211 (completion--cycle-threshold): New functions.
19212 (completion-try-completion, completion-all-completions):
19213 Add `metadata' argument to choose completion-styles.
19214 (completion--do-completion): Use metadata to choose cycling.
19215 (completion-all-sorted-completions): Use metadata for sorting.
19216 Remove :completion-cycle-penalty which is not needed any more.
19217 (completion--try-word-completion): Add `metadata' argument.
19218 (minibuffer-completion-help): Check metadata for annotation function
19219 and sorting.
19220 (completion-file-name-table): Return `category' metadata.
19221 (minibuffer-completing-file-name): Make obsolete.
19222 * simple.el (minibuffer-completing-symbol): Make obsolete.
19223 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19224 completion-try-completion.
19225
19226 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19227
19228 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19229
19230 2011-05-30 Leo Liu <sdl.web@gmail.com>
19231
19232 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19233 (rcirc-print): Decode all incoming messages (bug#8744).
19234 (rcirc-decode-coding-system): Allow value nil for automatic coding
19235 system detection.
19236
19237 2011-06-01 Glenn Morris <rgm@gnu.org>
19238
19239 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19240
19241 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19242
19243 * image.el (image-animate-max-time): Allow nil and t values.
19244 Default to nil.
19245 (create-animated-image): Doc fix.
19246 (image-animate-start): Remove second arg; just use
19247 image-animate-max-time.
19248 (image-animate-timeout): Doc fix. Args changed.
19249
19250 * image-mode.el (image-toggle-display-image): Ensure that the
19251 image spec passed to the animate timer is the same object as in
19252 the buffer's display property (Bug#6981).
19253 (image-transform-properties): Doc fix.
19254
19255 * image.el (image-animate-max-time): Default to nil.
19256
19257 2011-05-29 Martin Rudalics <rudalics@gmx.at>
19258
19259 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19260 entire buffer list (Bug#8184).
19261
19262 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19263
19264 * image.el (imagemagick-types-inhibit)
19265 (imagemagick-register-types): Doc fix.
19266
19267 2011-05-29 Deniz Dogan <deniz@dogan.se>
19268
19269 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19270 default.
19271
19272 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19273
19274 * select.el: Don't perform clipboard-manager saving in hooks;
19275 leave the hooks empty.
19276
19277 2011-05-28 Leo Liu <sdl.web@gmail.com>
19278
19279 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19280 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19281 (occur-edit-mode): New major mode (Bug#8463).
19282 (occur-after-change-function): New function.
19283 (occur-engine): Give Occur tags a read-only property.
19284
19285 2011-05-28 Kevin Ryde <user42@zip.com.au>
19286
19287 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19288
19289 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19290
19291 * bindings.el (help-echo): Make the initial non-indicator dash
19292 empty on graphical terminals (Bug#7295).
19293
19294 * files.el (auto-mode-alist): Move config rule after the
19295 in-stripping one (Bug#8547).
19296
19297 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19298
19299 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19300 setting (Bug#8740).
19301
19302 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19303
19304 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19305 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19306 (Bug#8539).
19307
19308 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19309
19310 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19311
19312 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19313
19314 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19315 (hs-hide-block-at-point, hs-find-block-beginning)
19316 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19317 (Bug#8279).
19318
19319 2011-05-28 Glenn Morris <rgm@gnu.org>
19320
19321 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19322
19323 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19324
19325 * help-fns.el (describe-function-1): If the function is a derived
19326 major mode, print the parent mode.
19327
19328 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19329 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19330
19331 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19332
19333 * minibuffer.el (completion--capf-wrapper): Check applicability before
19334 returning non-nil for non-exclusive completion data.
19335 * progmodes/etags.el (tags-completion-at-point-function):
19336 * info-look.el (info-lookup-completions-at-point): Mark as
19337 non-exclusive.
19338 (info-complete): Adjust accordingly.
19339
19340 * info-look.el: Convert to lexical-binding and completion-at-point.
19341 (info-lookup-completions-at-point): New function.
19342 (info-complete): Use it and completion-in-region.
19343
19344 2011-05-28 Drew Adams <drew.adams@oracle.com>
19345
19346 * isearch.el: Let M-e start with point at the first mismatched char.
19347 (isearch-fail-pos): New function.
19348 (isearch-edit-string): Use it.
19349
19350 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19351
19352 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19353
19354 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
19355
19356 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19357 traversal functions for avl-trees.
19358 (avl-tree--stack): New struct.
19359 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19360 (avl-tree-enter): Add optional `updatefun' arg.
19361 (avl-tree--do-enter): Add optional `updatefun' arg.
19362 Change return value.
19363 (avl-tree-delete): Add optional `test' and `nilflag' args.
19364 (avl-tree--do-delete): Add `test' and `nilflag' args.
19365 Change return value.
19366 (avl-tree-member): Add optional `nilflag'
19367 (avl-tree-member-p): New function.
19368 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19369 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19370 (avl-tree-stack-empty-p): New functions.
19371
19372 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19373 avl-tree--del-balance1 and make it work both ways.
19374 (avl-tree--del-balance2): Remove.
19375 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19376 make it work both ways.
19377 (avl-tree--enter-balance2): Remove.
19378 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19379 New macros.
19380 (avl-tree--mapc, avl-tree-map): Add direction argument.
19381
19382 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
19383
19384 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19385
19386 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
19387
19388 * select.el: Support clipboard managers with built-in function
19389 x-clipboard-manager-save, via delete-frame-functions and
19390 kill-emacs-hook.
19391 (xselect-convert-to-targets): Add MULTIPLE target to list.
19392 (xselect-convert-to-save-targets): New function.
19393
19394 2011-05-27 Kenichi Handa <handa@m17n.org>
19395
19396 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19397 let-binding rfc2047-encode-encoded-words to nil.
19398
19399 2011-05-27 Glenn Morris <rgm@gnu.org>
19400
19401 * mail/emacsbug.el: Don't require url-util.
19402
19403 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19404
19405 * files.el (set-auto-mode):
19406 Also respect mode: entries at the end of the file. (Bug#8586)
19407
19408 2011-05-26 Glenn Morris <rgm@gnu.org>
19409
19410 * files.el (hack-local-variables-prop-line, hack-local-variables):
19411 Downcase mode names, as seems to be traditional.
19412 (hack-local-variables, hack-local-variables-apply): Doc fixes.
19413
19414 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19415 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19416
19417 2011-05-25 Julien Danjou <julien@danjou.info>
19418
19419 * textmodes/rst.el (rst-define-level-faces): Do not define face
19420 symbol if it is already defined.
19421
19422 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19423
19424 * play/5x5.el (5x5-new-game, 5x5-randomize):
19425 Reset 5x5-solver-output to nil when a new grid is cast.
19426 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19427 these debugging traces, as defmacro breaks the compiled code.
19428
19429 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19430
19431 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19432
19433 2011-05-24 Leo Liu <sdl.web@gmail.com>
19434
19435 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19436 (vc-bzr-sha1): Adapt.
19437
19438 * sha1.el: Remove. Function `sha1' is now builtin.
19439
19440 * bindings.el: Provide sha1 feature.
19441
19442 2011-05-24 Kenichi Handa <handa@m17n.org>
19443
19444 * mail/sendmail.el: Require `rfc2047'.
19445 (mail-insert-from-field): Do not perform RFC2047 encoding.
19446 (mail-encode-header): New function.
19447 (sendmail-send-it): Set buffer-file-coding-system of the work
19448 buffer to the return value of select-message-coding-system.
19449 Call mail-encode-header.
19450
19451 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19452
19453 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
19454
19455 * mail/supercite.el (sc-default-cite-frame):
19456 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19457
19458 2011-05-24 Glenn Morris <rgm@gnu.org>
19459
19460 * progmodes/python.el (brm-menu): Declare.
19461
19462 * emulation/viper.el (viper-set-hooks): Declare.
19463
19464 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19465 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19466 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19467 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19468 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19469 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19470
19471 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19472
19473 Add an :exit-function for completion-at-point.
19474
19475 * minibuffer.el (completion--done): New fun.
19476 (completion--do-completion): Use it. New arg `expect-exact'.
19477 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19478 since completion--do-completion does it for us now.
19479 (minibuffer-force-complete): Use completion--done and
19480 completion--replace. Handle sole-completion case with more care.
19481 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19482 (completion-extra-properties): New var.
19483 (completion-annotate-function): Make obsolete.
19484 (minibuffer-completion-help): Adjust accordingly.
19485 Use completion-list-insert-choice-function.
19486 (completion-at-point, completion-help-at-point):
19487 Bind completion-extra-properties.
19488 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19489 * simple.el (completion-list-insert-choice-function): New var.
19490 (completion-setup-function): Preserve it.
19491 (choose-completion): Pay attention to it, shuffle the code a bit.
19492 (choose-completion-string): New arg `insert-function'.
19493
19494 * textmodes/bibtex.el: Convert to lexical binding.
19495 (bibtex-mode-map): Use completion-at-point.
19496 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19497 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19498 (bibtex-complete): Define as obsolete alias.
19499 (bibtex-complete-internal): Remove.
19500 (bibtex-format-entry): Remove unused sub-group in regexp.
19501 * shell.el (shell--command-completion-data)
19502 (shell-environment-variable-completion):
19503 * pcomplete.el (pcomplete-completions-at-point):
19504 * comint.el (comint--complete-file-name-data): Use :exit-function
19505 instead of completion-table-with-terminator so it also works for
19506 choose-completion.
19507
19508 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19509
19510 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19511
19512 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19513 (bug#8710).
19514
19515 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19516
19517 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19518
19519 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19520 customization variable and implement: If non-nil, auto-fill will
19521 be inhibited while on topic's header line.
19522
19523 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19524
19525 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19526 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
19527 always have a solution in grid size = 5 cases.
19528 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19529 (5x5-solver-output, 5x5-log-buffer): New vars.
19530 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19531 Make these variables buffer local to achieve 5x5 multi-session-ness.
19532 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19533 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19534 (5x5-solve-suggest): New funs.
19535 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19536 randomize a grid so that we ensure that there is always a solution.
19537 (5x5-make-random-grid): Allow other movement than flipping.
19538
19539 2011-05-23 Kevin Ryde <user42@zip.com.au>
19540
19541 * emacs-lisp/advice.el (ad-read-advised-function):
19542 Use `function-called-at-point' as the default, if it has
19543 advice and passes PREDICATE.
19544
19545 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19546
19547 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19548 byte-compile-lambda if it's actually a lambda.
19549
19550 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19551 Fix function quoting. Use backquote better.
19552
19553 2011-05-22 Yuanle Song <sylecn@gmail.com>
19554
19555 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19556 matching (Bug#8516).
19557
19558 2011-01-22 Jari Aalto <jari.aalto@cante.net>
19559
19560 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19561 different face (Bug#8178).
19562
19563 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
19564
19565 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19566 defface (Bug#8144).
19567
19568 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19569
19570 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19571 funcall as well (bug#8712). Warn when performing those conversions.
19572 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19573
19574 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19575
19576 2011-05-22 Glenn Morris <rgm@gnu.org>
19577
19578 * files.el (hack-local-variables-prop-line): Small simplifications.
19579 (hack-local-variables, hack-local-variables-prop-line):
19580 If MODE-ONLY, return the mode, rather than just `t'.
19581
19582 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19583
19584 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19585
19586 2011-05-21 Glenn Morris <rgm@gnu.org>
19587
19588 * files.el (hack-local-variables-prop-line, hack-local-variables):
19589 If only interested in the mode, don't bother doing the other stuff.
19590
19591 * image-mode.el (image-after-revert-hook):
19592 Redraw all frames on which the image is visible. (Bug#8567)
19593
19594 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19595
19596 * wid-edit.el (widget-checklist-match-inline):
19597 Fix 2011-04-19 change. (Bug#8649)
19598
19599 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19600
19601 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19602 Also allow singlespace after single-letter capitals followed by a dot.
19603
19604 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19605 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19606
19607 2011-05-20 Nix <nix@esperi.org.uk>
19608
19609 * files.el (basic-save-buffer-2):
19610 Fix handling of break-hardlink-on-save with non-existent files.
19611
19612 2011-05-19 Deniz Dogan <deniz@dogan.se>
19613
19614 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19615 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19616
19617 2011-05-19 Glenn Morris <rgm@gnu.org>
19618
19619 * progmodes/f90.el (f90-type-def-re):
19620 Handle "type, bind(c)". (Bug#8691)
19621
19622 * emacs-lisp/autoload.el (batch-update-autoloads):
19623 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19624
19625 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
19626
19627 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19628 property for the correct connection in case of multihops.
19629
19630 2011-05-18 Glenn Morris <rgm@gnu.org>
19631
19632 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19633 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19634
19635 Rationalize calendar handling of day and month abbrev-arrays.
19636 * calendar/calendar.el (calendar-customized-p): New function.
19637 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19638 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19639 Add :set function.
19640 (calendar-abbrev-length, calendar-day-abbrev-array)
19641 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19642 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19643 Elements may no longer be nil.
19644 (calendar-day-name, calendar-month-name):
19645 Update for changed nature of abbrev arrays.
19646 * calendar/diary-lib.el (diary-name-pattern):
19647 Update for changed nature of abbrev arrays.
19648 (diary-mark-entries-1): Update calendar-make-alist calls.
19649 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19650 * calendar/cal-html.el (cal-html-day-abbrev-array):
19651 Simply inherit from calendar-day-abbrev-array.
19652
19653 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19654
19655 * progmodes/grep.el (grep-mode): Disable default
19656 compilation-directory-matcher setting (bug#8684).
19657
19658 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
19659
19660 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19661 instead of "head" and "tail". There were problems with SunOS 5.9,
19662 and it performs better.
19663
19664 2011-05-17 Glenn Morris <rgm@gnu.org>
19665
19666 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19667
19668 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19669 Replace obsolete function.
19670
19671 * shell.el (pcomplete-parse-arguments-function): Declare.
19672
19673 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19674 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19675 (appt-check): Doc fixes.
19676 (appt-disp-window-function, appt-delete-window-function):
19677 Remove needless special case in custom :type.
19678 (appt-display-count): Default to 0, not nil.
19679 (appt-check): Reset appt-display-count to 0, not nil.
19680
19681 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
19682
19683 * progmodes/python.el (python-font-lock-keywords):
19684 Add the Python 3.X keyword "nonlocal" (bug#8639).
19685
19686 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19687
19688 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19689
19690 2011-05-16 Kevin Ryde <user42@zip.com.au>
19691
19692 * info-look.el (makefile-automake-mode): New setups, looking in
19693 automake manual, then makefile-mode.
19694 (makefile-mode): Remove automake manual, have it just in
19695 makefile-automake-mode since there's various things different or
19696 not relevant to plain make.
19697 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19698 believe a hypothetical automake-mode would go to makefile-mode,
19699 not the other way around.
19700
19701 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
19702
19703 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19704 hunk-end tags (Bug#8672).
19705
19706 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19707 vc-annotate-show-diff-revision-at-line (Bug#8671).
19708
19709 2011-05-14 Glenn Morris <rgm@gnu.org>
19710
19711 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19712 in the middle of an existing one with multiple authors. (Bug#8645)
19713 (change-log-font-lock-keywords): Also handle multiple author lines
19714 with leading tabs. (Bug#8644)
19715
19716 * calendar/appt.el (appt-check): Rename some local variables.
19717 Some simplification/reordering.
19718
19719 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19720 (feedmail-sendmail-f-doesnt-sell-me-out)
19721 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19722 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19723 (feedmail-queue-runner-message-sender): Set :version.
19724 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19725 (bbdb-dwim-net-address, vm-mail): Declare.
19726 (feedmail-binmail-gnulinuxish-template):
19727 Rename from feedmail-binmail-linuxish-template.
19728 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19729 Use insert-buffer-substring.
19730
19731 2011-05-14 Bill Carpenter <bill@carpenter.org>
19732
19733 * mail/feedmail.el (feedmail-patch-level): Increase.
19734 (feedmail-debug): New custom group.
19735 (feedmail-confirm-outgoing-timeout)
19736 (feedmail-sendmail-f-doesnt-sell-me-out)
19737 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19738 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19739 (feedmail-sender-line, feedmail-from-line)
19740 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19741 (feedmail-spray-this-address)
19742 (feedmail-spray-address-fiddle-plex-list)
19743 (feedmail-queue-use-send-time-for-date)
19744 (feedmail-queue-use-send-time-for-message-id)
19745 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19746 (feedmail-buffer-eating-function):
19747 Doc fixes.
19748 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19749 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19750 (feedmail-message-action-scroll-down): New functions.
19751 (feedmail-queue-directory, feedmail-queue-draft-directory):
19752 Use expand-file-name.
19753 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19754 Remove C-v help entry.
19755 (feedmail-queue-buffer-file-name): New variable.
19756 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19757 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19758 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19759 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19760 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19761 (feedmail-message-action-toggle-spray)
19762 (feedmail-run-the-queue-no-prompts)
19763 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19764 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19765 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19766 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19767 (feedmail-envelope-deducer, feedmail-fiddle-from)
19768 (feedmail-fiddle-sender, feedmail-default-date-generator)
19769 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19770 (feedmail-fiddle-spray-address)
19771 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19772 (feedmail-fiddle-list-of-fiddle-plexes)
19773 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19774 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19775 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19776 Change default. Doc fix.
19777 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19778 (feedmail-binmail-linuxish-template): New constant.
19779 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19780 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19781 (feedmail-send-it): Add debug call.
19782 Use feedmail-queue-buffer-file-name, and
19783 feedmail-send-it-immediately-wrapper.
19784 (feedmail-message-action-send): Add debug call.
19785 Use feedmail-send-it-immediately-wrapper.
19786 (feedmail-queue-express-to-queue): Add debug call.
19787 Run feedmail-queue-express-hook.
19788 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19789 (feedmail-message-action-help-blat):
19790 Rename from feedmail-queue-send-edit-prompt-help-first.
19791 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19792 Check line-endings. Handle errors better.
19793 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19794 Doc fix. Add debug call.
19795 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19796 Use feedmail-queue-send-edit-prompt-inner.
19797 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19798 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19799 from feedmail-queue-send-edit-prompt.
19800 (feedmail-queue-send-edit-prompt-help)
19801 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19802 (feedmail-tidy-up-slug): Add debug call.
19803 Respect feedmail-queue-slug-suspect-regexp.
19804 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19805 (feedmail-dump-message-to-queue): Add debug call.
19806 Expand queue-directory.
19807 (feedmail-dump-message-to-queue): Change message slightly.
19808 Use feedmail-say-chatter.
19809 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19810 (feedmail-send-it-immediately-wrapper): New function.
19811 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19812 Insert empty string rather than newline. Handle full-frame case.
19813 Use catch/throw. Use feedmail-say-chatter.
19814 (feedmail-fiddle-from): Try mail-host-address.
19815 (feedmail-default-message-id-generator): Doc fix.
19816 Bind system-time-locale. Handle missing end.
19817 (feedmail-fiddle-x-mailer): Add debug call.
19818 Handle feedmail-x-mailer-line being nil.
19819 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19820 Add debug call. Use buffer-substring-no-properties.
19821 (feedmail-say-debug, feedmail-say-chatter): New functions.
19822 (feedmail-find-eoh): Give an explicit error.
19823
19824 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
19825
19826 * net/newst-treeview.el (newsticker-treeview-face): Change default
19827 family from helvetica to sans.
19828 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19829 etc/images/newsticker.
19830
19831 * net/newst-reader.el (newsticker-feed-face): Change default
19832 family from helvetica to sans.
19833
19834 * net/newst-plainview.el (newsticker-new-item-face)
19835 (newsticker-old-item-face, newsticker-immortal-item-face)
19836 (newsticker-obsolete-item-face, newsticker-date-face)
19837 (newsticker-statistics-face): Change default family from
19838 helvetica to sans.
19839 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19840 etc/images/newsticker.
19841
19842 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19843 (newsticker--process-auto-mark-filter-match): Tell user about
19844 auto-marking.
19845
19846 2011-05-13 Didier Verna <didier@xemacs.org>
19847
19848 Common Lisp indentation improvements on defmethod and lambda-lists.
19849 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19850 TODO entries.
19851 (lisp-lambda-list-keyword-parameter-indentation)
19852 (lisp-lambda-list-keyword-parameter-alignment)
19853 (lisp-lambda-list-keyword-alignment): New customizable user options.
19854 (lisp-indent-defun-method): Improve docstring.
19855 (extended-loop-p): Fix comment.
19856 (lisp-indent-lambda-list-keywords-regexp): New variable.
19857 (lisp-indent-lambda-list): New function.
19858 (lisp-indent-259): Use it.
19859 (lisp-indent-defmethod): Support for more than one
19860 method qualifier and properly indent methods lambda-lists.
19861 (defgeneric): Provide a missing common-lisp-indent-function property.
19862
19863 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19864
19865 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19866 bounds for the empty string (bug#8667).
19867
19868 2011-05-13 Glenn Morris <rgm@gnu.org>
19869
19870 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19871
19872 * mail/sendmail.el (sendmail-program): Try executable-find first.
19873 (sendmail-send-it): `sendmail-program' cannot be unbound.
19874
19875 * calendar/appt.el (appt-make-list): Simplify.
19876 (appt-time-msg-list): Doc fix.
19877 (appt-check): Change mode-line message at the time of the appointment.
19878
19879 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19880
19881 * progmodes/ld-script.el (ld-script-keywords)
19882 (ld-script-builtins): Update keywords list.
19883
19884 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19885
19886 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19887
19888 * shell.el (shell-completion-vars): New function.
19889 (shell-mode):
19890 * simple.el (read-shell-command): Use it.
19891 (blink-matching-open): No need for " [...]" in minibuffer-message.
19892
19893 2011-05-12 Glenn Morris <rgm@gnu.org>
19894
19895 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19896 (appt-check): Simplify.
19897
19898 2011-05-12 Eli Zaretskii <eliz@gnu.org>
19899
19900 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19901 literal "/dev/null".
19902
19903 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19904
19905 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19906 Fix typo.
19907
19908 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19909
19910 * progmodes/which-func.el (which-function):
19911 Use add-log-current-defun instead of add-log-current-defun-function,
19912 which might not be defined (Bug#8260).
19913
19914 2011-05-12 Glenn Morris <rgm@gnu.org>
19915
19916 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19917 Let byte-compile-initial-macro-environment always take precedence.
19918
19919 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19920
19921 * net/rcirc.el: Add support for SSL/TLS connections.
19922 (rcirc-server-alist): New field `encryption'.
19923 (rcirc): Check `encryption' settings.
19924 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19925 Merge make-local-variable into `set'.
19926 (rcirc--connection-open-p): New function.
19927 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19928 the process is not a network process (e.g. running gnutls-cli).
19929 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19930 Make rcirc-(en|de)code-coding-system local here.
19931 (rcirc-mode): Merge make-local-variable into `set'.
19932 (rcirc-parent-buffer): Make permanent buffer-local.
19933 (rcirc-multiline-minor-mode): Don't do it here.
19934 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19935 there's no server buffer.
19936
19937 2011-05-11 Glenn Morris <rgm@gnu.org>
19938
19939 * newcomment.el (comment-kill): Prefix "unused" local.
19940
19941 * term/w32console.el (get-screen-color): Declare.
19942
19943 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19944 Handle symbol elements of byte-compile-initial-macro-environment.
19945
19946 2011-05-10 Leo Liu <sdl.web@gmail.com>
19947
19948 * bookmark.el (bookmark-bmenu-mode-map):
19949 Bind bookmark-bmenu-search to `/'.
19950
19951 * mail/footnote.el: Convert to utf-8 encoding.
19952 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19953 (Footnote-unicode): New function.
19954 (footnote-style-alist): Add unicode style to the list.
19955 (footnote-style): Doc fix.
19956
19957 2011-05-10 Jim Meyering <meyering@redhat.com>
19958
19959 Fix doubled-word typos.
19960 * international/quail.el (quail-insert-kbd-layout): and and -> and
19961 * kermit.el: and and -> and
19962 * net/ldap.el (ldap-search-internal): to to -> to
19963 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19964 * progmodes/js.el (js-mode): and and -> and
19965 * textmodes/artist.el (artist-move-to-xy): at at -> at
19966 (artist-draw-region-trim-line-endings): if if -> if
19967 And Safetyc -> Safety.
19968 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19969
19970 2011-05-10 Glenn Morris <rgm@gnu.org>
19971 Stefan Monnier <monnier@iro.umontreal.ca>
19972
19973 * files.el (hack-one-local-variable-eval-safep):
19974 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19975
19976 2011-05-10 Glenn Morris <rgm@gnu.org>
19977
19978 * calendar/diary-lib.el (diary-list-entries-hook)
19979 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19980 (diary-nongregorian-marking-hook, diary-list-entries)
19981 (diary-include-other-diary-files, diary-mark-entries)
19982 (diary-mark-included-diary-files): Doc fixes.
19983
19984 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19985
19986 * misc.el: Require tabulated-list.el during compilation.
19987
19988 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19989
19990 * progmodes/compile.el (compilation-start):
19991 Run compilation-filter-hook for the async case too.
19992 (compilation-filter-hook): Doc fix.
19993
19994 2011-05-09 Deniz Dogan <deniz@dogan.se>
19995
19996 * wdired.el: Remove outdated installation comment. Fix usage
19997 comment.
19998
19999 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20000
20001 * misc.el: Implement new command `list-dynamic-libraries'.
20002 (list-dynamic-libraries--loaded-only-p): New variable.
20003 (list-dynamic-libraries--refresh): New function.
20004 (list-dynamic-libraries): New command.
20005
20006 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20007
20008 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20009 Fix the ant regexp to handle end-line and end-column info from jikes.
20010 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20011 higher priority to avoid clobbering by gnu.
20012
20013 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20014
20015 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20016 if the face has existing theme settings (Bug#8454).
20017
20018 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20019
20020 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20021 Only match variables declared via `my' or `our' (Bug#8261).
20022
20023 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20024 special file names `.' and `..' (Bug#8259).
20025
20026 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20027
20028 * progmodes/grep.el (grep-mode-font-lock-keywords):
20029 Remove buffer-changing entries.
20030 (grep-filter): New function.
20031 (grep-mode): Add it to compilation-filter-hook.
20032
20033 * progmodes/compile.el (compilation-filter-hook)
20034 (compilation-filter-start): New defvars.
20035 (compilation-filter): Call compilation-filter-hook prior to
20036 updating the process mark.
20037
20038 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20039
20040 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20041
20042 2011-05-07 Eli Zaretskii <eliz@gnu.org>
20043
20044 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20045 mailclient-send-it even if window-system is nil. (Bug#8595)
20046
20047 * term/w32console.el (terminal-init-w32console):
20048 Call get-screen-color and use its output to set the frame
20049 background-mode. (Bug#8597)
20050
20051 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20052
20053 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20054 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20055 New functions.
20056 (defgeneric, eieio--defmethod): Use them.
20057 (eieio-defgeneric): Remove.
20058 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20059
20060 2011-05-07 Glenn Morris <rgm@gnu.org>
20061
20062 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20063 Use let rather than let*.
20064 (timeclock-find-discrep): Remove unused local.
20065
20066 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20067
20068 * calendar/appt.el (appt-time-msg-list): Doc fix.
20069
20070 2011-05-06 Noah Friedman <friedman@splode.com>
20071
20072 * apropos.el (apropos-print-doc): Only use
20073 emacs-lisp-docstring-fill-column when it is bound to an integer,
20074 per that variable's documentation.
20075
20076 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20077
20078 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
20079 and warnings are not silently discarded (e.g. use -d instead of -P).
20080
20081 2011-05-06 Glenn Morris <rgm@gnu.org>
20082
20083 * calendar/appt.el (appt-message-warning-time): Doc fix.
20084 (appt-warning-time-regexp): New option.
20085 (appt-make-list): Respect appt-message-warning-time.
20086
20087 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20088 New options.
20089 (diary-add-to-list): Strip comments from the displayed string.
20090 (diary-mode): Set comment-start and comment-end.
20091
20092 * vc/diff-mode.el (smerge-refine-subst): Declare.
20093 (diff-refine-hunk): Don't require smerge-mode when compiling.
20094
20095 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
20096
20097 * simple.el (list-processes): Return nil as the docstring says.
20098
20099 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20100
20101 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20102 to "".
20103 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20104 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20105 determining of binary transfer. (Bug#7383)
20106
20107 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20108
20109 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20110 Fix port computation bug. (Bug#8618)
20111
20112 2011-05-05 Glenn Morris <rgm@gnu.org>
20113
20114 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20115
20116 * simple.el (shell-dynamic-complete-functions)
20117 (comint-dynamic-complete-functions): Declare.
20118
20119 * net/network-stream.el (gnutls-negotiate):
20120 * simple.el (tabulated-list-print): Fix declarations.
20121
20122 * progmodes/gud.el (syntax-symbol, syntax-point):
20123 Remove unnecessary and incorrect declarations.
20124
20125 * emacs-lisp/check-declare.el (check-declare-scan):
20126 Handle byte-compile-initial-macro-environment in bytecomp.el.
20127
20128 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20129
20130 Fix earlier half-done eieio-defmethod change (bug#8338).
20131 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20132 Streamline and change calling convention.
20133 (defmethod): Adjust accordingly and simplify.
20134 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20135 new eieio--defmethod.
20136 (slot-boundp): Minor CSE simplification.
20137
20138 2011-05-05 Milan Zamazal <pdm@zamazal.org>
20139
20140 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20141 (glasses-make-readable): Use glasses-separate-capital-groups.
20142
20143 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
20144
20145 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20146 (warning-series): Doc fix.
20147 (display-warning): Don't try to create the buffer if we just found it.
20148
20149 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
20150
20151 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20152 (autoload-find-generated-file): New function.
20153 (generate-file-autoloads): Bind generated-autoload-file to
20154 buffer-file-name.
20155 (update-file-autoloads, update-directory-autoloads):
20156 Use autoload-find-generated-file. If called interactively, prompt for
20157 output file (Bug#7989).
20158 (batch-update-autoloads): Doc fix.
20159
20160 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
20161
20162 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20163
20164 2011-05-04 Glenn Morris <rgm@gnu.org>
20165
20166 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20167 function, so it follows changes in calendar-date-style.
20168 (diary-fancy-date-matcher): New function.
20169 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20170 (diary-fancy-font-lock-fontify-region-function):
20171 Use diary-fancy-date-pattern as a function.
20172
20173 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20174 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20175
20176 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20177
20178 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20179 instead of positional arguments. Allow :keylist and :crlfiles
20180 arguments.
20181 (open-gnutls-stream): Call it.
20182
20183 * net/network-stream.el (network-stream-open-starttls): Adjust to
20184 call `gnutls-negotiate' with :process and :hostname arguments.
20185
20186 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20187
20188 * minibuffer.el (completion--message): New function.
20189 (completion--do-completion, minibuffer-complete)
20190 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20191 (completion--do-completion): Don't ignore completion-auto-help when in
20192 icomplete-mode.
20193
20194 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20195 internal encoding (e.g. tibetan zero is not whitespace).
20196 (global-whitespace-mode): Prefer save-current-buffer.
20197 (whitespace-trailing-regexp): Remove useless save-match-data.
20198 (whitespace-empty-at-bob-regexp): Minor simplification.
20199
20200 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
20201
20202 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20203
20204 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20205
20206 * textmodes/ispell.el (ispell-add-per-file-word-list):
20207 Use `concat' to create string for insertion.
20208
20209 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20210
20211 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20212 Avoid open-line which runs post-self-insert-hook.
20213 (bibtex-fill-entry): Remove unused `end' var.
20214
20215 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20216
20217 * textmodes/ispell.el (ispell-add-per-file-word-list):
20218 Protect against `nil' value of `comment-start' (Bug#8579).
20219
20220 2011-05-03 Leo Liu <sdl.web@gmail.com>
20221
20222 * isearch.el (isearch-yank-pop): New command.
20223 (isearch-mode-map): Bind it to `M-y'.
20224 (isearch-forward): Mention it.
20225
20226 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20227
20228 * simple.el (minibuffer-complete-shell-command): Remove.
20229 (minibuffer-local-shell-command-map): Use completion-at-point.
20230 (read-shell-command): Setup completion vars here instead.
20231 (read-expression-map): Bind TAB to symbol completion.
20232
20233 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20234 error directly rather via storing it into `results'.
20235
20236 2011-05-02 Leo Liu <sdl.web@gmail.com>
20237
20238 * vc/diff.el: Fix description.
20239
20240 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20241
20242 * server.el (server-eval-at): New function.
20243
20244 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20245
20246 * net/network-stream.el (open-network-stream): Take a :nowait
20247 parameter and pass it on to `make-network-process'.
20248 (network-stream-open-plain): Ditto.
20249
20250 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20251
20252 * faces.el (face-spec-set-match-display): Don't match toolkit
20253 options on terminal frames.
20254
20255 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20256
20257 * progmodes/pascal.el: Use lexical binding.
20258 (pascal-mode-map): Remove author preferences.
20259
20260 * pcomplete.el (pcomplete-std-complete): Don't abuse
20261 completion-at-point.
20262
20263 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20264
20265 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20266 removing code that has been dead since 1991 or so.
20267
20268 * startup.el (command-line): When warning about "_emacs", use a
20269 delayed warning to allow the user to filter it out.
20270
20271 2011-04-28 Deniz Dogan <deniz@dogan.se>
20272
20273 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20274 user has not joined.
20275
20276 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20277
20278 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20279 aren't any completions at point.
20280
20281 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20282
20283 * subr.el (display-delayed-warnings): New function.
20284 (delayed-warnings-hook): New variable.
20285
20286 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20287
20288 * minibuffer.el (completion-at-point, completion-help-at-point):
20289 Don't presume that a given completion-at-point-function will always
20290 use the same calling convention.
20291
20292 * pcomplete.el (pcomplete-completions-at-point):
20293 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20294 pcomplete-seen is non-nil.
20295 (pcomplete-comint-setup): Also recognize the new comint/shell
20296 completion functions.
20297 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20298 pcomplete-seen is non-nil.
20299
20300 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
20301
20302 * calendar/icalendar.el (diary-lib): Add require statement.
20303 (icalendar--create-uid): Read out a uid from a text-property on
20304 the first character in the entry. This allows for code to add its
20305 own uid to the entry.
20306 (icalendar--convert-float-to-ical): Add export of
20307 `diary-float'-entries save for those with the optional DAY
20308 argument.
20309
20310 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20311
20312 * subr.el (shell-quote-argument): Use alternate escaping strategy
20313 when we spot a variable reference in a string.
20314
20315 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20316
20317 * cus-start.el (all): Define customization for debug-on-event.
20318
20319 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20320
20321 * subr.el (shell-quote-argument): Escape correctly under Windows.
20322
20323 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20324
20325 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20326
20327 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
20328
20329 * net/tramp.el (tramp-process-actions): Add POS argument.
20330 Delete region between POS and (pos).
20331
20332 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20333 Use `nil' position in `tramp-process-actions' call.
20334 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20335
20336 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20337 position in `tramp-process-actions' call.
20338
20339 * net/trampver.el: Update release number.
20340
20341 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20342
20343 * custom.el (defcustom): Obey lexical-binding.
20344
20345 Fix octave-inf completion problems reported by Alexander Klimov.
20346 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20347 Inherit from octave-mode-syntax-table.
20348 (inferior-octave-mode): Set info-lookup-mode.
20349 (inferior-octave-completion-at-point): New function.
20350 (inferior-octave-complete): Use it and completion-in-region.
20351 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20352 comint-filename-completion.
20353 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20354 symbol elements which shouldn't be word elements.
20355 (octave-font-lock-keywords, octave-beginning-of-defun)
20356 (octave-function-header-regexp): Adjust regexps accordingly.
20357 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20358
20359 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
20360
20361 * net/gnutls.el (gnutls-errorp): Declare before first use.
20362
20363 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20364
20365 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20366 verify-error, and verify-hostname-error parameters. Check whether
20367 default trustfile exists before going to use it. Add missing
20368 argument to gnutls-message-maybe call. Return value.
20369 Reported by Claudio Bley <claudio.bley@gmail.com>.
20370 (open-gnutls-stream): Add usage example.
20371
20372 * net/network-stream.el (network-stream-open-starttls): Give host
20373 parameter to `gnutls-negotiate'.
20374 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20375 * subr.el (shell-quote-argument): Escape correctly under Windows.
20376
20377 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
20378
20379 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20380 Use correct match group (bug#8438).
20381
20382 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20383
20384 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20385 (package-menu--generate): New arg specifying packages to show.
20386 (package-menu-refresh, package-menu-execute, list-packages):
20387 Callers changed.
20388 (package-show-package-list): New function, replacing deleted
20389 package--list-packages (renamed because it is non-internal).
20390
20391 * finder.el (finder-list-matches): Use package-show-package-list
20392 instead of deleted package--list-packages.
20393
20394 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20395 Based on a previous implementation by Juanma Barranquero (Bug#8366).
20396 (vc-annotate-mode-map): Bind it to RET.
20397
20398 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20399
20400 * progmodes/etags.el (next-file): Don't use set-buffer to change
20401 buffers (Bug#8478).
20402
20403 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20404
20405 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20406
20407 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20408 (apropos-accumulator): Doc fix.
20409 (apropos-function, apropos-macro, apropos-command)
20410 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20411 (apropos-plist): Add face property.
20412 (apropos-symbols-internal): Fix indentation.
20413 (apropos-print): Simplify help, and recognize apropos-multi-type.
20414 (apropos-print-doc): Use button-type-get to extract the button's
20415 face property. Fill docstring (Bug#8352).
20416
20417 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
20418
20419 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20420
20421 * play/mpuz.el (mpuz-silent): Doc fix.
20422 (mpuz-mode-map): Use mapc.
20423 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20424 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20425 Fix typos in docstrings.
20426
20427 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20428 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20429
20430 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20431
20432 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
20433
20434 * minibuffer.el (completion--do-completion): Avoid the "Next char
20435 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20436
20437 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20438 mouse-2 into unread-command-events, it is interpreted correctly.
20439
20440 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20441 (image-toggle-display): Doc fix.
20442
20443 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
20444
20445 * textmodes/page.el (what-page): Use line-number-at-pos to
20446 calculate line number (Bug#6825).
20447
20448 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20449
20450 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20451 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20452 Pass argument NO-DEFAULT to `find-tag-interactive'.
20453
20454 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20455
20456 Lexical-binding cleanup.
20457
20458 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20459 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20460 * progmodes/ada-prj.el (ada-prj-initialize-values)
20461 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20462 (ada-prj-show-value):
20463 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20464 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20465 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20466 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20467 * progmodes/bug-reference.el (bug-reference-push-button):
20468 * progmodes/fortran.el (fortran-line-length):
20469 * progmodes/glasses.el (glasses-change):
20470 * progmodes/octave-mod.el (octave-fill-paragraph):
20471 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20472 (python-pdbtrack-grub-for-buffer, python-sentinel):
20473 * progmodes/sql.el (sql-save-connection):
20474 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20475 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20476 Mark unused parameters.
20477
20478 * progmodes/compile.el (compilation--flush-directory-cache)
20479 (compilation--flush-parse, compile-internal): Mark unused parameters.
20480 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20481 (compilation-next-error-function): Remove unused variable `timestamp'.
20482
20483 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20484 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20485
20486 * progmodes/dcl-mode.el (dcl-end-of-command):
20487 Remove unused variable `start'.
20488 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20489 (dcl-option-value-basic, dcl-option-value-offset)
20490 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20491 Mark unused parameters.
20492 (dcl-save-local-variable): Remove unused variable `val'.
20493 (mode): Declare.
20494
20495 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20496 Mark unused parameters.
20497 (delphi-ignore-changes): Move before first use.
20498 (delphi-charset-token-at): Remove unused variable `start'.
20499 (delphi-else-start): Remove unused variable `if-count'.
20500 (delphi-comment-block-start, delphi-comment-block-end):
20501 Remove unused variable `kind'.
20502 (delphi-indent-line): Remove unused variable `new-point'.
20503
20504 * progmodes/ebrowse.el (ebrowse-files-list)
20505 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20506 Mark unused parameters. Don't quote `lambda'.
20507 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20508 Don't quote `lambda'.
20509 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20510 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20511 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20512 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20513 Use `ignore-errors'.
20514 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20515 (ebrowse-view/find-file-and-search-pattern)
20516 (ebrowse-view/find-member-declaration/definition):
20517 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20518 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20519 Rename parameter PREFIX-ARG to PREFIX.
20520 (ebrowse-tags-read-name): Remove unused variables `start' and
20521 `member-info'.
20522 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20523 to `tags-file'.
20524
20525 * progmodes/etags.el (local-find-tag-hook): Declare.
20526 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20527 Mark unused parameters.
20528
20529 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20530 (executable-interpret): Mark unused parameter.
20531
20532 * progmodes/flymake.el (flymake-process-sentinel)
20533 (flymake-after-change-function)
20534 (flymake-create-temp-with-folder-structure)
20535 (flymake-get-include-dirs-dot): Mark unused parameters.
20536 (flymake-safe-delete-directory): Remove unused variable `err'.
20537
20538 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20539 (speedbar-timer-fn, speedbar-line-text)
20540 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20541 (speedbar-center-buffer-smartly): Declare functions.
20542 (gdb-find-watch-expression): Remove unused variable `array'.
20543 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20544 (gdb-starting): Mark unused parameters.
20545 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20546 (gdb-table-string): Remove unused variable `res'.
20547 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20548 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20549 (gdb-display-buffer): Remove unused variable `cur-size'.
20550
20551 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20552 allow lexical-binding compilation.
20553 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20554 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20555 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20556 Mark unused parameters.
20557 (gud-gdb-marker-filter): Remove unused variable `match'.
20558 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20559 lambda expressions and funcall them, instead of using `fset'.
20560
20561 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20562 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20563
20564 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20565 variable `header-beg'; use `let'.
20566
20567 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20568 `restart', `last-sexp' and `at-do'.
20569
20570 * progmodes/js.el (js--debug): Mark unused parameter.
20571 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20572 (js--splice-into-items): Remove unused variable `item'.
20573 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20574
20575 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20576 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20577 (makefile-complete): Remove unused variable `try'.
20578 (makefile-fill-paragraph, makefile-match-function-end):
20579 Mark unused parameters.
20580
20581 * progmodes/octave-inf.el (inferior-octave-complete):
20582 Remove unused variable `proc'.
20583 (inferior-octave-output-digest): Mark unused parameter.
20584
20585 * progmodes/perl-mode.el (perl-calculate-indent):
20586 Remove unused variable `err'.
20587
20588 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20589 (prolog-indent-line): Mark unused parameters.
20590 (prolog-indent-line): Remove unused variable `beg'.
20591
20592 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20593 (reporter-dont-compact-list): Declare.
20594
20595 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20596 Remove unused variable `char'.
20597 (sh-debug): Mark unused parameter.
20598 (sh-get-indent-info): Remove unused variable `start'.
20599 (sh-calculate-indent): Remove unused variable `var'.
20600
20601 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20602 (simula-electric-keyword): Remove unused variable `null'.
20603 (simula-search-backward, simula-search-forward): Remove unused
20604 variables `begin' and `end'.
20605
20606 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20607 Remove unused variable `pos'.
20608 (vera-electric-tab, vera-comment-uncomment-region):
20609 Mark unused parameters.
20610 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20611
20612 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
20613
20614 * emacs-lisp/package.el (package--builtins, package-alist)
20615 (package-load-descriptor, package-built-in-p, package-activate)
20616 (define-package, package-installed-p)
20617 (package-compute-transaction, package-buffer-info)
20618 (package--push): Doc fix. Distinguish more clearly between
20619 version strings and version lists.
20620
20621 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
20622
20623 Lexical-binding cleanup.
20624
20625 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20626 (5x5-make-mutate-best):
20627 * play/fortune.el (fortune-in-buffer):
20628 * play/gomoku.el (gomoku-init-display):
20629 * play/solitaire.el (solitaire, solitaire-do-check):
20630 * play/tetris.el (tetris-default-update-speed-function):
20631 Mark unused parameters.
20632
20633 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20634 (bubbles--shift): Remove unused variable `char-org'.
20635 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20636 (bubbles--show-images): Remove unused variable `char'.
20637
20638 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20639 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20640 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20641 (decipher-analyze-buffer): Use ?\s.
20642 (decipher-make-checkpoint): Remove unused variable `mapping'.
20643
20644 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20645
20646 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20647 Remove unused variable `result'; use `let'.
20648
20649 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20650 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20651 (gametree-children-shown-p, gametree-compute-reduced-score):
20652 Use `ignore-errors'.
20653
20654 * play/handwrite.el (ps-lpr-switches): Declare.
20655 (handwrite): Remove unused variables `pmin' and `lastp'.
20656
20657 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20658
20659 * play/landmark.el (landmark-init-display)
20660 (landmark-update-naught-weights): Mark unused parameters.
20661 (landmark-y): Remove unused variable `noise'. Simplify.
20662 (landmark-human-plays): Remove unused variable `score'.
20663
20664 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20665 (mpuz-try-proposal): Remove unused variable `game'.
20666
20667 * play/zone.el (life-patterns): Declare.
20668
20669 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
20670
20671 * vc/vc.el (ediff-vc-internal): Declare function.
20672
20673 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20674
20675 * shell.el: Use lexical-binding and std completion UI.
20676 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20677 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20678 comint-preoutput-filter-functions rather than on
20679 comint-output-filter-functions.
20680 (shell-command-completion, shell--command-completion-data)
20681 (shell-filename-completion, shell-environment-variable-completion)
20682 (shell-c-a-p-replace-by-expanded-directory): New functions.
20683 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20684 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20685 (shell-dynamic-complete-environment-variable): Use them.
20686 (shell-dynamic-complete-as-environment-variable)
20687 (shell-dynamic-complete-as-command): Remove.
20688 (shell-match-partial-variable): Match past point.
20689 * comint.el: Clean up use of completion-at-point-functions.
20690 (comint-completion-at-point): New function.
20691 (comint-mode): Use it completion-at-point-functions.
20692 (comint-dynamic-complete): Make it obsolete.
20693 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20694 (comint-c-a-p-replace-by-expanded-history): New function.
20695 (comint-dynamic-complete-functions)
20696 (comint-replace-by-expanded-history): Use it.
20697 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20698 termination strings. Try harder to avoid second try-completion.
20699 (completion-in-region-mode-map): Disable bindings that don't work yet.
20700
20701 * comint.el: Use lexical-binding. Require CL.
20702 (comint-dynamic-complete-functions): Use comint-filename-completion.
20703 (comint-completion-addsuffix): Tweak custom type.
20704 (comint-filename-completion, comint--common-suffix)
20705 (comint--common-quoted-suffix, comint--table-subvert)
20706 (comint--complete-file-name-data): New functions.
20707 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20708 (comint-dynamic-list-filename-completions): Use them.
20709 (comint-dynamic-simple-complete): Make obsolete.
20710
20711 * minibuffer.el (completion-in-region-mode):
20712 Keep completion-in-region-mode--predicate global.
20713 (completion-in-region--postch):
20714 Assume completion-in-region-mode--predicate is not null.
20715
20716 * progmodes/flymake.el (flymake-start-syntax-check-process):
20717 Obey `dir'. Simplify.
20718
20719 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20720 we're in VC after all.
20721
20722 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20723
20724 * vc/vc.el (vc-diff-build-argument-list-internal)
20725 (vc-version-ediff, vc-ediff): New commands.
20726 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20727
20728 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20729
20730 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20731 add sanity check.
20732
20733 * obsolete/erc-hecomplete.el: Make obsolete.
20734 * obsolete/: Standardize obsolescence info in the header.
20735
20736 2011-04-20 Glenn Morris <rgm@gnu.org>
20737
20738 * calendar/solar.el (solar-horizontal-coordinates):
20739 Use the longitude argument rather than `calendar-longitude'.
20740 (solar-date-next-longitude): Remove unused locals.
20741
20742 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20743
20744 * whitespace.el: New version 13.2.1.
20745
20746 2011-04-20 felix <EmacsWiki> (tiny change)
20747
20748 * whitespace.el (global-whitespace-mode): Keep highlight when
20749 switching between major modes on a file.
20750
20751 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20752
20753 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20754 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20755 multi-line comments as well.
20756
20757 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
20758
20759 Lexical-binding cleanup.
20760
20761 * arc-mode.el (archive-mode-revert):
20762 * cmuscheme.el (scheme-interactively-start-process):
20763 * custom.el (custom-initialize-delay):
20764 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20765 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20766 * emacs-lock.el (emacs-lock-clear-sentinel):
20767 * ezimage.el (defezimage):
20768 * follow.el (follow-avoid-tail-recenter):
20769 * fringe.el (set-fringe-mode-1):
20770 * generic-x.el (bat-generic-mode-compile):
20771 * help-mode.el (help-info-variable, help-do-xref)
20772 (help-mode-revert-buffer):
20773 * help.el (view-emacs-todo):
20774 * iswitchb.el (iswitchb-completion-help):
20775 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20776 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20777 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20778 * locate.el (locate-update):
20779 * longlines.el (longlines-encode-region)
20780 (longlines-after-change-function):
20781 * outline.el (outline-isearch-open-invisible):
20782 * ps-def.el (declare-function, charset-dimension, char-width)
20783 (encode-char):
20784 * ps-mule.el (ps-mule-plot-string):
20785 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20786 (recentf-edit-list-select, recentf-edit-list-validate)
20787 (recentf-open-files-action):
20788 * rect.el (delete-whitespace-rectangle-line)
20789 (rectangle-number-line-callback):
20790 * register.el (window-configuration-to-register)
20791 (frame-configuration-to-register):
20792 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20793 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20794 (xselect-convert-to-targets, xselect-convert-to-delete)
20795 (xselect-convert-to-filename, xselect-convert-to-charpos)
20796 (xselect-convert-to-lineno, xselect-convert-to-colno)
20797 (xselect-convert-to-os, xselect-convert-to-host)
20798 (xselect-convert-to-user, xselect-convert-to-class)
20799 (xselect-convert-to-name, xselect-convert-to-integer)
20800 (xselect-convert-to-atom, xselect-convert-to-identity):
20801 * subr.el (declare, ignore, process-kill-without-query)
20802 (text-clone-maintain):
20803 * terminal.el (te-get-char, te-tic-sentinel):
20804 * tool-bar.el (tool-bar-make-keymap):
20805 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20806 * type-break.el (type-break-mode, type-break-noninteractive-query):
20807 * view.el (View-back-to-mark):
20808 * wid-browse.el (widget-browse-action, widget-browse-widget)
20809 (widget-browse-widgets, widget-browse-sexp):
20810 * widget.el (define-widget-keywords):
20811 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20812 Mark unused parameters.
20813
20814 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20815 (align-areas): Remove unused variable `look'.
20816 (align-region): Remove unused variables `real-end' and `pos-list'.
20817
20818 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20819
20820 * bindings.el (mode-line-modified, mode-line-remote):
20821 Mark unused parameters.
20822 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20823
20824 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20825 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20826
20827 * comint.el (comint-history-isearch-pop-state)
20828 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20829 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20830 (comint-substitute-in-file-name): Doc fix.
20831
20832 * completion.el (cmpl-statistics-block): Mark unused parameter.
20833 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20834 (save-completions-to-file, load-completions-from-file):
20835 Remove unused local variable `e'.
20836
20837 * composite.el (compose-chars): Remove unused variable `len'.
20838 (lgstring-insert-glyph): Remove unused variable `g'.
20839 (compose-glyph-string): Remove unused variables `ascent',
20840 `descent', `lbearing' and `rbearing'.
20841 (compose-glyph-string-relative): Remove unused variables
20842 `lbearing', `rbearing' and `wadjust'.
20843 (compose-gstring-for-graphic): Remove unused variables `header',
20844 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20845 (compose-gstring-for-terminal): Remove unused variables `header'
20846 and `nchars'. Use `let', not `let*'.
20847
20848 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20849 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20850 (Custom-buffer-done, custom-buffer-create-internal)
20851 (custom-browse-visibility-action, custom-browse-group-tag-action)
20852 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20853 (widget-magic-mouse-down-action, custom-toggle-parent)
20854 (custom-add-parent-links, custom-toggle-hide-variable)
20855 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20856 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20857 (custom-face-menu-create, custom-variable-menu-create, get)
20858 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20859 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20860 (customize-apropos): Remove unused variable `tests'.
20861 (custom-group-value-create): Remove unused variable `hidden-p'.
20862 (sort-fold-case): Declare.
20863
20864 * cus-theme.el (custom-reset-standard-faces-list)
20865 (custom-reset-standard-variables-list): Declare.
20866 (customize-create-theme, custom-theme-revert, custom-theme-write)
20867 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20868 Mark unused parameters.
20869
20870 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20871
20872 * delim-col.el (delimit-columns-max): Move defvar before first use.
20873
20874 * descr-text.el (describe-char-categories): Don't quote `lambda'.
20875 (describe-char): Don't quote `lambda'. Mark unused parameter.
20876
20877 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20878 (auto-insert): Declare.
20879 (desktop-restore-file-buffer): Rename desktop-* parameters;
20880 mark unused ones.
20881 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20882 (desktop-buffer): Rename desktop-* parameters.
20883
20884 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20885 (dframe-reposition-frame-xemacs, dframe-help-echo)
20886 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20887 Mark unused parameters.
20888
20889 * dired-aux.el (backup-extract-version-start, overwrite-query)
20890 (overwrite-backup-query, rename-regexp-query)
20891 (rename-non-directory-query): Declare.
20892 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20893 (dired-add-entry): Remove unused variable `orig-file-name'.
20894 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20895 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20896 `dired-copy-preserve-time' directly.
20897 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20898 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20899
20900 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20901 (dired-virtual-revert, dired-make-relative-symlink):
20902 Mark unused parameters.
20903 (manual-program): Declare.
20904 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20905 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20906 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20907
20908 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20909
20910 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20911
20912 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20913 Declare.
20914
20915 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20916
20917 * electric.el (Electric-command-loop): Rename parameter
20918 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20919
20920 * expand.el (expand-in-literal): Remove unused variable `here'.
20921
20922 * facemenu.el (facemenu-add-new-color):
20923 Remove unused variable `docstring'.
20924
20925 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20926 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20927 (face-attr-construct): Mark unused parameter. Doc fix.
20928 (read-color): Remove unused variable `hex-string'.
20929
20930 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20931 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20932 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20933 (display-buffer-other-frame): Remove unused variable `old-window'.
20934 (kill-buffer-hook): Declare.
20935 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20936 Mark unused parameters.
20937 (after-find-file): Pass 1 to `auto-save-mode', not t.
20938
20939 * files-x.el (auto-insert): Declare.
20940 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20941
20942 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20943 variable `buf'. Mark unused parameter.
20944 (find-lisp-insert-directory): Mark unused parameter.
20945
20946 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20947 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20948 (format-common-tail): Remove, unused.
20949 (format-deannotate-region): Remove unused variable `loc'.
20950 (format-annotate-region): Remove unused variable `p'.
20951 (format-annotate-single-property-change): Remove unused variables
20952 `default' and `tail'.
20953
20954 * forms.el (read-file-filter): Declare.
20955 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20956
20957 * frame.el (frame-creation-function-alist): Mark unused parameter.
20958 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20959
20960 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20961 Remove unused parameters.
20962 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20963 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20964
20965 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20966 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20967 (hfy-prepare-tag-map): Mark unused parameters.
20968 (htmlfontify-buffer): Use `called-interactively-p'.
20969
20970 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20971 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20972 (ibuffer-do-occur): Mark unused parameters.
20973 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20974 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20975
20976 * ibuffer.el: Don't quote `lambda'.
20977 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20978 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20979 Mark unused parameters.
20980
20981 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20982 (ido-completing-read): Mark unused parameters.
20983 (ido-copy-current-word): Mark unused parameters;
20984 remove unused variable `name'.
20985 (ido-sort-merged-list): Remove unused parameter `dirs'.
20986
20987 * ielm.el (ielm-input-sender): Mark unused parameter.
20988 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20989 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20990 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20991 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20992 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20993
20994 * image-dired.el (image-dired-display-thumbs): Remove unused
20995 variables `curr-file' and `count'.
20996 (image-dired-remove-tag): Remove unused variable `start'.
20997 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20998 variable `curr-file'
20999 (image-dired-rotate-original): Remove unused variable `temp-file'.
21000 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21001 Remove unused variable `file'.
21002 (image-dired-gallery-generate): Remove unused variable `curr'.
21003 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21004
21005 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21006
21007 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21008
21009 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21010
21011 * isearch.el (minibuffer-history-symbol): Declare.
21012 (isearch-edit-string): Remove unused variable `err'.
21013 (isearch-message-prefix, isearch-message-suffix):
21014 Mark unused parameters.
21015
21016 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21017
21018 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21019
21020 * makesum.el (double-column): Remove unused variable `cnt'.
21021
21022 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21023 (ido-ignore-item-temp-list): Declare.
21024
21025 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21026 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21027 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21028 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21029 `mouse-col-delta'.
21030
21031 * mouse-sel.el (mouse-extend-internal):
21032 Remove unused variable `orig-window-frame'.
21033
21034 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21035 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21036 Move declarations before first use.
21037 (pcomplete-opt): Mark unused parameters; doc fix.
21038
21039 * proced.el (proced-revert): Mark unused parameter.
21040 (proced-send-signal): Remove unused variable `err'.
21041
21042 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21043 Rename parameter PREFIX-ARG to ARG.
21044 (ps-basic-plot-string, ps-basic-plot-whitespace):
21045 Mark unused parameters.
21046
21047 * replace.el (replace-count): Define.
21048 (occur-revert-function): Mark unused parameters.
21049 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21050 (isearch-case-fold-search, isearch-string): Declare.
21051 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21052 bind `case-fold-search'. Remove unused variables `beg' and `end',
21053 and simplify.
21054 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21055 COUNT and bind `replace-count'.
21056 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21057 to COUNT.
21058
21059 * savehist.el (print-readably, print-string-length): Declare.
21060
21061 * shadowfile.el (shadow-expand-cluster-in-file-name):
21062 Remove unused variable `cluster'.
21063 (shadow-copy-file): Remove unused variable `i'.
21064 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21065 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21066 (shadow-define-literal-group, shadow-define-regexp-group)
21067 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21068
21069 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21070 (shell): Use `called-interactively-p'.
21071 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21072
21073 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21074 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21075 (delete-backward-char): Remove unused variable `ocol'.
21076 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21077 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21078 (event-apply-hyper-modifier, event-apply-shift-modifier)
21079 (event-apply-control-modifier, event-apply-meta-modifier):
21080 Mark unused parameters.
21081 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21082 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21083
21084 * speedbar.el (speedbar-ignored-directory-expressions)
21085 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21086 (speedbar-find-file, speedbar-dir-follow)
21087 (speedbar-directory-buttons-follow, speedbar-tag-find)
21088 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21089 (speedbar-buffers-line-directory, speedbar-buffer-click):
21090 Mark unused parameters.
21091 (speedbar-tag-file): Remove unused variable `mode'.
21092 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21093
21094 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21095
21096 * talk.el (talk): Remove unused variable `display'.
21097
21098 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21099 (tar-write-region-annotate): Mark unused parameter.
21100
21101 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21102 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21103 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21104 warning by another.
21105
21106 * time-stamp.el (time-stamp-string-preprocess):
21107 Remove unused variable `require-padding'.
21108
21109 * tree-widget.el (widget-glyph-enable): Declare.
21110 (tree-widget-action): Mark unused parameter.
21111
21112 * w32-fns.el (x-get-selection): Mark unused parameter.
21113 (autoload-make-program, generated-autoload-file): Declare.
21114
21115 * wdired.el (wdired-revert): Mark unused parameters.
21116 (wdired-xcase-word): Remove unused variable `err'.
21117
21118 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21119 (whitespace-help-scroll): Remove unused variable `data-help'.
21120
21121 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21122 (widget-image-insert, widget-after-change, default)
21123 (widget-default-format-handler, widget-default-notify)
21124 (widget-default-prompt-value, widget-info-link-action)
21125 (widget-url-link-action, widget-function-link-action)
21126 (widget-variable-link-action, widget-file-link-action)
21127 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21128 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21129 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21130 (widget-insert-button-action, widget-delete-button-action, visibility)
21131 (widget-documentation-link-action, widget-documentation-string-action)
21132 (widget-const-prompt-value, widget-regexp-match, symbol)
21133 (widget-coding-system-prompt-value)
21134 (widget-key-sequence-value-to-external, sexp)
21135 (widget-sexp-value-to-internal, character, vector, cons)
21136 (widget-choice-prompt-value, widget-boolean-prompt-value)
21137 (widget-color--choose-action): Mark unused parameters.
21138 (widget-item-match-inline, widget-choice-match-inline)
21139 (widget-checklist-match, widget-checklist-match-inline)
21140 (widget-group-match): Rename parameter VALUES to VALS.
21141 (widget-field-value-set): Remove unused variable `size'.
21142 (widget-color-action): Remove unused variables `value' and `start'.
21143
21144 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21145 variable `dir'. Doc fix.
21146 (windmove-find-other-window): Don't pass it.
21147
21148 * window.el (count-windows): Mark unused parameter.
21149 (bw-adjust-window): Remove unused variable `err'.
21150
21151 * woman.el (woman-file-name): Remove unused variable `default'.
21152 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21153 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21154 (global-font-lock-mode): Declare.
21155 (woman-decode-region): Mark unused parameter.
21156 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21157
21158 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21159 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21160 (x-dnd-handle-moz-url): Remove unused variable `title'.
21161 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21162
21163 * xml.el (xml-parse-tag, xml-parse-attlist):
21164 Remove unused variable `pos'.
21165
21166 2011-04-19 Glenn Morris <rgm@gnu.org>
21167
21168 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21169 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21170 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21171 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21172 * calendar/cal-html.el (cal-html-insert-minical):
21173 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21174 (calendar-mark-date-pattern):
21175 Prefix "unused" locals.
21176
21177 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21178 optional argument `style'.
21179
21180 * calendar/appt.el (appt-make-list):
21181 * calendar/cal-china.el (calendar-chinese-date-string):
21182 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21183 (diary-hebrew-yahrzeit):
21184 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21185 * calendar/calendar.el (calendar-generate-window):
21186 * calendar/time-date.el (time-to-days):
21187 Remove unused local variables.
21188
21189 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
21190
21191 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21192 glyphless-char-display table.
21193 (tabulated-list-glyphless-char-display): New var.
21194
21195 2011-04-18 Sam Steingold <sds@gnu.org>
21196
21197 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21198 to acknowledgments.
21199
21200 2011-04-17 Glenn Morris <rgm@gnu.org>
21201
21202 * calendar/diary-lib.el (diary-sexp-entry):
21203 * calendar/holidays.el (holiday-sexp):
21204 Set debug-on-error rather than the removed stack-trace-on-error.
21205
21206 2011-04-16 Glenn Morris <rgm@gnu.org>
21207
21208 * progmodes/f90.el: Use lexical-binding.
21209 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21210
21211 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21212
21213 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21214 (mail-mode): Setup mailalias completion here instead.
21215 * mail/mailalias.el: Use lexical-binding.
21216 (pattern, mailalias-done): Declare dynamic.
21217 (mail-completion-at-point-function): New function, from mail-complete.
21218 (mail-complete): Use it.
21219 (mail-completion-expand): New function.
21220 (mail-get-names): Use it.
21221 (mail-directory, mail-directory-process, mail-directory-stream):
21222 Don't use `pattern' for lexically bound arg.
21223
21224 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21225
21226 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21227 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21228 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21229
21230 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21231 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21232 (byte-interactive-p): Define them again, for use when inlining
21233 old code.
21234
21235 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
21236
21237 * loadup.el: Use `string-to-number', not `string-to-int'.
21238
21239 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21240
21241 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21242 gud-gdb-complete-command.
21243 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21244 (gud-gdb-completion-at-point): New function.
21245 (gud-gdb-completions): Remove.
21246
21247 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
21248
21249 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21250 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21251 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21252 whether `executable-find' is bound.
21253
21254 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21255
21256 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21257
21258 * minibuffer.el (completion-in-region-mode-predicate)
21259 (completion-in-region-mode--predicate): New vars.
21260 (completion-in-region, completion-in-region--postch)
21261 (completion-in-region-mode): Use them.
21262 (completion--capf-wrapper): Also return the hook function.
21263 (completion-at-point, completion-help-at-point):
21264 Adjust and provide a predicate.
21265
21266 Preserve arg names for advice of subr and lexical functions (bug#8457).
21267 * help-fns.el (help-function-arglist): Consolidate the subr and
21268 new-byte-code cases. Add argument `preserve-names' to extract names
21269 from the docstring when needed.
21270 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21271 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21272 (ad-arglist): Use help-function-arglist's new arg.
21273 (ad-definition-type): Use cond.
21274
21275 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
21276
21277 * autorevert.el (auto-revert-handler):
21278 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21279 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21280 Don't quote lambda.
21281
21282 * image-mode.el (image-transform-set-scale):
21283 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21284
21285 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21286
21287 * net/network-stream.el (network-stream-open-starttls): Only do
21288 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21289 Upgrades via gnutls-cli are too slow to be done opportunistically.
21290
21291 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
21292
21293 * dframe.el (dframe-current-frame): Remove spurious quote.
21294
21295 2011-04-12 Glenn Morris <rgm@gnu.org>
21296
21297 * calendar/cal-tex.el (cal-tex-end-document):
21298 Try to automatically use latin1 input if needed.
21299
21300 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21301 Don't try to cons a mark onto an empty element.
21302
21303 2011-04-11 Leo Liu <sdl.web@gmail.com>
21304
21305 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21306 buffers.
21307 (ido-kill-buffer-at-head): Support killing virtual buffers.
21308
21309 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
21310
21311 * minibuffer.el (completion-show-inline-help): New var.
21312 (completion--do-completion, minibuffer-complete)
21313 (minibuffer-force-complete, minibuffer-complete-word):
21314 Inhibit minibuffer messages if completion-show-inline-help is nil.
21315
21316 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21317 to avoid interference from inline help (Bug#5849).
21318
21319 2011-04-10 Leo Liu <sdl.web@gmail.com>
21320
21321 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21322 Fix typo.
21323
21324 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
21325
21326 * image-mode.el (image-toggle-display-image): Signal an error if
21327 not in Image mode.
21328 (image-transform-mode, image-transform-resize)
21329 (image-transform-set-rotation): Doc fix.
21330 (image-transform-set-resize): Delete.
21331 (image-transform-set-scale, image-transform-fit-to-height)
21332 (image-transform-fit-to-width): Handle image-toggle-display-image
21333 and image-transform-resize directly.
21334
21335 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
21336
21337 * doc-view.el (doc-view-fit-width-to-window)
21338 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21339 New functions for fitting the shown image to the Emacs window size.
21340 (doc-view-mode-map): Add bindings for the new functions.
21341
21342 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
21343
21344 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21345 Fix typo in docstring.
21346
21347 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21348
21349 * files.el (file-size-human-readable): Produce one digit after
21350 decimal, like "ls -lh" does.
21351
21352 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21353 the file size representation.
21354
21355 * simple.el (list-processes): If async subprocesses are not
21356 available, error out with a clear error message.
21357
21358 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
21359
21360 * help.el (help-form-show): New function, to be called from C.
21361 Put help-form output in a buffer named differently than *Help*.
21362
21363 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21364
21365 * files.el (file-size-human-readable): New function.
21366
21367 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21368 computing the representation inline. Don't require `cl'.
21369
21370 2011-04-08 Glenn Morris <rgm@gnu.org>
21371
21372 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21373
21374 * net/browse-url.el (browse-url-firefox):
21375 Test system-type, not system-configuration.
21376
21377 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21378 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21379 Use log-edit-empty-buffer-p. (Bug#7598)
21380
21381 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21382 (rlogin-mode-map): Initialize in the defvar.
21383 (rlogin): Use ignore-errors.
21384
21385 * replace.el (occur-mode-map): Some fixes for menu items.
21386
21387 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21388
21389 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21390
21391 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21392
21393 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21394 issuing unused warnings.
21395
21396 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21397 macro directly.
21398
21399 * simple.el: Lisp reimplement of list-processes. Based on an
21400 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21401 (process-menu-mode): New major mode.
21402 (list-processes--refresh, list-processes):
21403 (process-menu-visit-buffer): New functions.
21404
21405 * files.el (save-buffers-kill-emacs): Don't assume any return
21406 value of list-processes, which is undocumented anyway.
21407
21408 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21409
21410 * emacs-lisp/tabulated-list.el: New file.
21411
21412 * emacs-lisp/package.el: Use Tabulated List mode.
21413 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21414 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21415 table format using Tabulated List mode variables.
21416 (package--push): New macro, replacing package-list-maybe-add.
21417 (package-menu--generate): Use package--push. Renamed from
21418 package--generate-package-list.
21419 (package-menu-refresh, list-packages): Use it.
21420 (package-menu--print-info): Rename from package-print-package.
21421 Return insertion data instead of inserting it directly.
21422 (package-menu-describe-package, package-menu-execute):
21423 Use tabulated-list-get-id.
21424 (package-menu-mark-delete, package-menu-mark-install)
21425 (package-menu-mark-unmark, package-menu-backup-unmark)
21426 (package-menu-mark-obsolete-for-deletion):
21427 Use tabulated-list-put-tag.
21428 (package--list-packages, package-menu-revert)
21429 (package-menu-get-package, package-menu-get-version)
21430 (package-menu-sort-by-column): Functions deleted.
21431 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21432 (package-menu--status-predicate, package-menu--version-predicate)
21433 (package-menu--name-predicate)
21434 (package-menu--description-predicate): Handle arguments in the
21435 Tabulated List format.
21436 (package-list-packages-no-fetch): Call list-packages.
21437
21438 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
21439
21440 * files.el (after-find-file-from-revert-buffer): Remove variable.
21441 (after-find-file): Don't bind it.
21442 (revert-buffer-in-progress-p): New variable.
21443 (revert-buffer): Bind it.
21444 Pass nil for `after-find-file-from-revert-buffer'.
21445
21446 * saveplace.el (save-place-find-file-hook): Use new variable
21447 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21448
21449 2011-04-06 Glenn Morris <rgm@gnu.org>
21450
21451 * Makefile.in (AUTOGEN_VCS): New variable.
21452 (autoloads): Use $AUTOGEN_VCS.
21453
21454 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21455 * calendar/calendar.el (calendar-mode-map):
21456 Check for toolkit scroll bars. (Bug#8305)
21457
21458 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21459
21460 * minibuffer.el (completion-in-region--postch)
21461 (completion-in-region-mode): Remove unnecessary messages.
21462
21463 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
21464
21465 * font-lock.el (font-lock-refresh-defaults):
21466 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21467 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21468
21469 * info.el (Info-directory-list, Info-read-node-name-2)
21470 (Info-split-parameter-string): Doc fixes.
21471 (Info-virtual-nodes): Reflow docstring.
21472 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21473 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21474 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21475 Fix typos in docstrings.
21476 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21477 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21478 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21479 (Info-restore-desktop-buffer): Mark unused parameters.
21480 (Info-directory-find-file, Info-directory-find-node)
21481 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21482 (Info-virtual-index-find-node, Info-apropos-find-file)
21483 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21484 Mark unused parameters; fix typos in docstrings.
21485 (Info-virtual-index): Remove unused local variable `nodename'.
21486
21487 2011-04-05 Deniz Dogan <deniz@dogan.se>
21488
21489 * net/rcirc.el: Update my e-mail address.
21490 (rcirc-mode-map): Remove M-o binding.
21491
21492 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21493
21494 * startup.el (command-line): Save the cursor's theme-face
21495 directly, instead of using face-override-spec.
21496
21497 * custom.el (load-theme): Minor optimization in assigning faces.
21498
21499 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21500
21501 * help-fns.el (describe-variable): Complete all variables having
21502 documentation, including keywords.
21503 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21504
21505 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21506
21507 Convert to lexical-binding.
21508
21509 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21510 (bs--get-marked-string, bs--get-modified-string)
21511 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21512 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21513 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21514
21515 * ehelp.el (electric-help-execute-extended)
21516 (electric-help-ctrl-x-prefix):
21517 * hexl.el (hexl-revert-buffer-function):
21518 * linum.el (linum-after-change, linum-after-scroll):
21519 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21520
21521 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21522
21523 2011-04-04 Daiki Ueno <ueno@unixuser.org>
21524
21525 * epa-dired.el:
21526 * epa-mail.el:
21527 * epa-hook.el:
21528 * epa-file.el:
21529 * epa.el:
21530 * epg.el: Use lexical binding.
21531
21532 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
21533
21534 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21535
21536 * textmodes/flyspell.el (flyspell-word): Recognize default
21537 dictionary case for flyspell-mark-duplications-exceptions.
21538 Use regexp matching for languages.
21539 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21540 default dictionary (Bug#7926).
21541
21542 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
21543
21544 * emacs-lisp/package.el (package--with-work-buffer):
21545 Recognize https URLs.
21546
21547 * net/network-stream.el: Move from gnus/proto-stream.el.
21548 Change prefix to network-stream throughout.
21549 (open-protocol-stream): Merge into open-network-stream, leaving
21550 open-protocol-stream as an alias. Handle nil BUFFER args.
21551
21552 * subr.el (open-network-stream): Move to net/network-stream.el.
21553
21554 2011-04-02 Glenn Morris <rgm@gnu.org>
21555
21556 * find-dired.el (find-exec-terminator): New option.
21557 (find-ls-option): Test for -ls support.
21558 (find-ls-subdir-switches): Test for -b in find-ls-option.
21559 (find-dired, find-grep-dired): Doc fixes.
21560 (find-dired): Use find-exec-terminator.
21561
21562 * find-dired.el (find-ls-option, find-ls-subdir-switches)
21563 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21564 (find-name-arg): Remove purecopy.
21565
21566 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21567 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21568 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21569 accordingly. Don't add the null-device if not needed.
21570
21571 * files.el (save-some-buffers): Doc fix.
21572
21573 2011-04-02 Eli Zaretskii <eliz@gnu.org>
21574
21575 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21576
21577 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
21578
21579 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21580 Use `dolist' rather than `mapcar'.
21581
21582 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21583
21584 Add lexical binding.
21585
21586 * subr.el (apply-partially): Use new closures rather than CL.
21587 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21588 (dolist, dotimes): Use slightly different expansion for lexical code.
21589 (functionp): Move to C.
21590 (letrec): New macro.
21591 (with-wrapper-hook): Use it and apply-partially instead of CL.
21592 (eval-after-load): Preserve lexical-binding.
21593 (save-window-excursion, with-output-to-temp-buffer): Turn them
21594 into macros.
21595
21596 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21597
21598 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21599 than the arglist.
21600 (help-add-fundoc-usage): Don't add `Not documented'.
21601 (help-function-arglist): Handle closures, subroutines, and new
21602 byte-code-functions.
21603 (help-make-usage): Remove leading underscores.
21604 (describe-function-1): Handle closures.
21605 (describe-variable): Use special-variable-p for completion.
21606
21607 * files.el (lexical-binding): Declare safe.
21608
21609 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21610 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21611 (pcase): Add `let' pattern.
21612 Change memoization so it actually works.
21613 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21614 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21615 <let>: New case.
21616
21617 * emacs-lisp/macroexp.el: Use lexical binding.
21618 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21619 Don't convert ' to #' without checking that it's indeed quoting
21620 a lambda.
21621
21622 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21623 Use eval-sexp-add-defvars.
21624 (eval-sexp-add-defvars): New fun.
21625
21626 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21627
21628 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21629 Don't autoload.
21630 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21631 than the internal `byte-compile-lambda'.
21632 (defmethod): Don't hide code under quotes.
21633 (eieio-defmethod): New `code' argument.
21634
21635 * emacs-lisp/eieio-comp.el: Remove.
21636
21637 * emacs-lisp/edebug.el (edebug-eval-defun)
21638 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21639 (edebug-toggle): Avoid `eval'.
21640
21641 * emacs-lisp/disass.el (disassemble-internal): Handle new
21642 `closure' objects.
21643 (disassemble-1): Handle new byte codes.
21644
21645 * emacs-lisp/cl.el (pushnew): Silence warning.
21646
21647 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21648 (cl-byte-compile-throw): Remove.
21649 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21650
21651 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21652 closures.
21653
21654 * emacs-lisp/cconv.el: New file.
21655
21656 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21657 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21658 (byte-compile-initial-macro-environment):
21659 Handle declare-function here.
21660 (byte-compile--lexical-environment): New var.
21661 (byte-stack-ref, byte-stack-set, byte-discardN)
21662 (byte-discardN-preserve-tos): New lap codes.
21663 (byte-interactive-p): Don't use any more.
21664 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21665 New macros.
21666 (byte-compile-lapcode): Use them and handle new lap codes.
21667 (byte-compile-obsolete): Remove.
21668 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21669 (byte-compile-arglist-warn): Check late def of inlinable funs.
21670 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21671 since they should have been expanded by now.
21672 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21673 (byte-compile-from-buffer): Remove unused second arg.
21674 (byte-compile-preprocess): New function.
21675 (byte-compile-toplevel-file-form): New function to distinguish
21676 file-form calls from outside from file-form calls from hunk-handlers.
21677 (byte-compile-file-form): Simplify.
21678 (byte-compile-file-form-defsubst): Remove.
21679 (byte-compile-file-form-defmumble): Simplify now that
21680 byte-compile-lambda always returns a byte-code-function.
21681 (byte-compile): Preprocess.
21682 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21683 Remove, not used any more.
21684 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21685 (byte-compile-make-args-desc): New funs.
21686 (byte-compile-lambda): Handle lexical functions. Always return
21687 a byte-code-function.
21688 (byte-compile-reserved-constants): New var, to make up room for
21689 closed-over variables.
21690 (byte-compile-constants-vector): Obey it.
21691 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21692 (byte-compile-macroexpand-declare-function): New function.
21693 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21694 byte-code-functions.
21695 (byte-compile-form): Check obsolescence here.
21696 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21697 (byte-compile-variable-ref): Remove.
21698 (byte-compile-dynamic-variable-op): New fun.
21699 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21700 (byte-compile-variable-set): New funs.
21701 (byte-compile-discard): Add 2 args.
21702 (byte-compile-stack-ref, byte-compile-stack-set)
21703 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21704 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21705 macroexpand-all instead.
21706 (byte-compile-quote-form): Remove.
21707 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21708 (byte-compile-bind, byte-compile-unbind): New funs.
21709 (byte-compile-let): Handle let* and lexical binding.
21710 (byte-compile-let*): Remove.
21711 (byte-compile-catch, byte-compile-unwind-protect)
21712 (byte-compile-track-mouse, byte-compile-condition-case):
21713 Handle a new :fun-body form, used for lexical scoping.
21714 (byte-compile-save-window-excursion)
21715 (byte-compile-with-output-to-temp-buffer): Remove.
21716 (byte-compile-defun): Simplify.
21717 (byte-compile-stack-adjustment): New fun.
21718 (byte-compile-out): Use it.
21719 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21720
21721 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21722 handler any more.
21723
21724 * emacs-lisp/byte-opt.el: Use lexical binding.
21725 (byte-inline-lapcode): Remove (to bytecomp).
21726 (byte-compile-inline-expand): Pay attention to inlining to/from
21727 lexically bound code.
21728 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21729 any more.
21730 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21731 any more and don't call compiler-macros.
21732 (byte-compile-splice-in-already-compiled-code): Remove.
21733 (byte-code): Don't inline any more.
21734 (disassemble-offset): Receive `bytes' as argument rather than via
21735 dynamic scoping.
21736 (byte-compile-tag-number): Declare before first use.
21737 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21738 `return' even if make-spliceable.
21739 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21740 obsolete interactive-p.
21741 (byte-optimize-lapcode): Optimize new lap-codes.
21742 Don't trip up on new form of `byte-constant' lap code.
21743
21744 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21745
21746 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21747
21748 * custom.el (custom-initialize-default, custom-declare-variable):
21749 Use `defvar'.
21750
21751 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21752 New variables.
21753 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21754 (COMPILE_FIRST): Add macroexp and cconv.
21755 * makefile.w32-in: Mirror changes in Makefile.in.
21756
21757 * vc/cvs-status.el:
21758 * vc/diff-mode.el:
21759 * vc/log-edit.el:
21760 * vc/log-view.el:
21761 * vc/smerge-mode.el:
21762 * textmodes/bibtex-style.el:
21763 * textmodes/css-mode.el:
21764 * startup.el:
21765 * uniquify.el:
21766 * minibuffer.el:
21767 * newcomment.el:
21768 * reveal.el:
21769 * server.el:
21770 * mpc.el:
21771 * emacs-lisp/smie.el:
21772 * doc-view.el:
21773 * dired.el:
21774 * abbrev.el: Use lexical binding.
21775
21776 2011-04-01 Eli Zaretskii <eliz@gnu.org>
21777
21778 * info.el (info-display-manual): New function.
21779
21780 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21781
21782 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21783
21784 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21785
21786 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21787 an entry for that server in rcirc-authinfo. (Bug#8385)
21788
21789 2011-03-31 Glenn Morris <rgm@gnu.org>
21790
21791 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21792
21793 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21794
21795 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21796
21797 * progmodes/python.el (python-default-interpreter)
21798 (python-python-command-args, python-jython-command-args)
21799 (python-which-shell, python-which-args, python-which-bufname)
21800 (python-file-queue, python-comint-output-filter-function)
21801 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21802 variables and functions.
21803
21804 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21805
21806 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21807 (completion-in-region-mode): New minor mode.
21808 (completion-in-region): Use it.
21809 (completion-in-region--data, completion-in-region-mode-map): New vars.
21810 (completion-in-region--postch): New function.
21811 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21812 New vars.
21813 (completion--capf-wrapper): New function.
21814 (completion-at-point): Use it to track well-behavedness of
21815 hook functions.
21816 (completion-help-at-point): New command.
21817
21818 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21819
21820 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21821 syntax class to search for whitespace on a single line
21822 (Message-ID: <4D938140.4030905@redhat.com>).
21823
21824 2011-03-30 Leo Liu <sdl.web@gmail.com>
21825
21826 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21827 New commands.
21828 (edit-abbrevs-map): Bind them here.
21829 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21830
21831 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21832
21833 * allout.el (allout-hide-by-annotation, allout-flag-region):
21834 Reduce possibility of overlay leakage by making them volatile.
21835
21836 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21837 hash is not shared between buffers. Mode initialization is
21838 responsible for giving it a useful starting value.
21839 (allout-item-span): Reduce possibility of overlay leakage by
21840 making them volatile.
21841 (allout-widgets-count-buttons-in-region): Add diagnostic function
21842 for tracking down button overlay leaks.
21843
21844 2011-03-29 Leo Liu <sdl.web@gmail.com>
21845
21846 * ido.el (ido-read-internal): Use the default history var
21847 minibuffer-history if no HISTORY is specified.
21848
21849 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21850
21851 * net/imap.el (imap-shell-open, imap-process-connection-type):
21852 Use imap-process-connection-type for 'shell' streams as well as
21853 Kerberos, SSL, other subprocesses.
21854
21855 2011-03-28 Leo Liu <sdl.web@gmail.com>
21856
21857 * abbrev.el (abbrev-table-empty-p): New function.
21858 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21859 nonempty ones. (Bug#5937)
21860
21861 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21862
21863 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21864
21865 2011-03-27 Leo Liu <sdl.web@gmail.com>
21866
21867 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21868 for foreground and background colors.
21869 (ansi-color-make-color-map): Adapt.
21870
21871 2011-03-25 Leo Liu <sdl.web@gmail.com>
21872
21873 * midnight.el (midnight-time-float): Remove. Note it calculates
21874 the microsecond component incorrectly and seconds-to-time does the
21875 same job.
21876 Remove redundant (require 'timer).
21877
21878 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21879 (ido-completions): Remove unused arguments. (Bug#8329)
21880
21881 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21882
21883 * minibuffer.el (completion--flush-all-sorted-completions):
21884 Remove itself from hook.
21885 (completion-at-point): Let the functions perform the completion
21886 immediately and return nil or t.
21887 * comint.el (comint-dynamic-complete-functions): Now identical to
21888 completion-at-point-functions.
21889 (comint-dynamic-list-input-ring): Remove unused var `index'.
21890 (comint--match-partial-filename, comint--unquote&expand-filename):
21891 New funs, split from comint-match-partial-filename.
21892 (comint-dynamic-complete): Use completion-at-point.
21893 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21894
21895 2011-03-24 Drew Adams <drew.adams@oracle.com>
21896
21897 * thingatpt.el: Support `defun'.
21898
21899 2011-03-23 Leo Liu <sdl.web@gmail.com>
21900
21901 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21902
21903 * help-mode.el (help-mode-finish): Tweak regexp.
21904
21905 2011-03-23 Glenn Morris <rgm@gnu.org>
21906
21907 * eshell/esh-opt.el (eshell-eval-using-options):
21908 Do not bind unused local variable `eshell-option-stub'.
21909
21910 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21911
21912 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21913
21914 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21915 keymap variable in `with-no-warnings' to avoid a warning when the
21916 keymap has been already `defconst'ed.
21917
21918 2011-03-22 Leo Liu <sdl.web@gmail.com>
21919
21920 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21921 encode all chars in abbrevs; otherwise use emacs-mule or
21922 utf-8-emacs. (Bug#8308)
21923
21924 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21925
21926 * simple.el (backward-delete-char-untabify):
21927 Avoid warning about using `delete-backward-char'.
21928
21929 * image.el (image-type-file-name-regexps): Make it variable.
21930 `imagemagick-register-types' modifies it, and the user may want
21931 to add new extensions for known image types.
21932 (imagemagick-register-types): Throw error if not using ImageMagick.
21933
21934 2011-03-22 Leo Liu <sdl.web@gmail.com>
21935
21936 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21937 located before rcirc-prompt-end-marker.
21938 (rcirc-complete): Error if point is not after rcirc prompt.
21939 Handle the case when table is nil.
21940 (rcirc-user-authenticated): Define to fix compiler warning.
21941
21942 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21943
21944 * custom.el (custom--inhibit-theme-enable): Make it affect only
21945 custom-theme-set-variables and custom-theme-set-faces.
21946 (provide-theme): Ignore custom--inhibit-theme-enable.
21947 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21948 (custom-enabling-themes): Delete variable.
21949 (enable-theme): Accept only loaded themes as arguments.
21950 Ignore the special custom-enabled-themes variable.
21951 (custom-enabled-themes): Forbid themes from setting this.
21952 Eliminate use of custom-enabling-themes.
21953 (custom-push-theme): Quote "changed" custom var entry.
21954
21955 2011-03-21 Leo Liu <sdl.web@gmail.com>
21956
21957 * ido.el (ido-read-internal): Add ido-selected to history instead
21958 of user input.
21959
21960 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21961
21962 * subr.el (deferred-action-list, deferred-action-function):
21963 Mark obsolete.
21964
21965 2011-03-21 Leo Liu <sdl.web@gmail.com>
21966
21967 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21968 change on 2011-02-13 (bug#8309).
21969
21970 * minibuffer.el (read-file-name-function): Change default value.
21971 (read-file-name--defaults): Rename from read-file-name-defaults.
21972 (read-file-name-default): Rename from read-file-name.
21973 (read-file-name): Call read-file-name-function.
21974
21975 2011-03-21 Glenn Morris <rgm@gnu.org>
21976
21977 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21978 Doc fixes.
21979
21980 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21981
21982 * cus-theme.el: Add missing provide statement.
21983 (customize-create-theme): Extract theme value correctly.
21984 (custom-theme-visit-theme): Autoload.
21985 (customize-create-theme): Prompt before inserting default faces.
21986
21987 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21988
21989 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21990 units and musical notes.
21991
21992 2011-03-20 Leo Liu <sdl.web@gmail.com>
21993
21994 * ido.el (ido-read-internal): Use completing-read-default.
21995 (ido-completing-read): Fix compatibility with completing-read.
21996
21997 2011-03-20 Christian Ohler <ohler@gnu.org>
21998
21999 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22000 (ert-delete-all-tests): Use `called-interactively-p' rather than
22001 `interactive-p'.
22002 (ert--make-xrefs-region): Respect END.
22003
22004 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22005
22006 * dired-aux.el (dired-create-directory): Signal an error if the
22007 directory already exists (Bug#8246).
22008
22009 * facemenu.el (list-colors-display): Call list-faces-display
22010 inside with-help-window.
22011 (list-colors-print): Use display property to align the final
22012 column, instead of checking window-width.
22013
22014 2011-03-19 Eli Zaretskii <eliz@gnu.org>
22015
22016 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
22017 windows-nt systems.
22018 (emerge-protect-metachars): Quote correctly for ms-dos and
22019 windows-nt systems.
22020
22021 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
22022
22023 * info.el (info-initialize): Replace all uses of `:' with
22024 path-separator for compatibility with non-Unix systems.
22025 Cache quoting of path-separator. (Bug#8258)
22026
22027 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
22028
22029 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22030 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22031 (mouse-avoidance-mode): Fix typos in docstrings.
22032
22033 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22034
22035 * startup.el (package-subdirectory-regexp): Move from package.el.
22036 Omit \\` and \\', and let callers add them.
22037
22038 * emacs-lisp/package.el (package-strip-version)
22039 (package-load-all-descriptors): Add \\` and \\' to
22040 package-subdirectory-regexp before using it.
22041 (package-untar-buffer): New arg DIR; ensure that file untars only
22042 into this expected directory. Remove superfluous delete-region.
22043 (package-unpack): Caller changed.
22044 (package-tar-file-info): Use package-subdirectory-regexp.
22045
22046 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
22047
22048 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22049 diff-mode-shared-map (bug#8284).
22050 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
22051
22052 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22053
22054 * calendar/time-date.el (format-seconds): Use assoc instead of
22055 assoc-string, since assoc-string doesn't exist in XEmacs.
22056
22057 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
22058
22059 * custom.el (custom-known-themes): Reflow docstring.
22060 (custom-theme-load-path): Fix typo in docstring.
22061 (load-theme): Fix typo in error message.
22062 (custom-available-themes, custom-variable-theme-value):
22063 Use `let', not `let*'.
22064
22065 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22066
22067 * calc/README: Mention inclusion of musical notes.
22068
22069 * calc/calc-units.el (calc-lu-quant): Rename from
22070 `calc-logunits-quantity'.
22071 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22072 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22073 (calc-db): Rename from `calc-dblevel'.
22074 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22075 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22076 (calc-np): Rename from `calc-nplevel'.
22077 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22078 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22079 (calc-lu-plus): Rename from `calc-logunits-add'.
22080 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22081 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22082 (calc-lu-minus): Rename from `calc-logunits-sub'.
22083 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22084 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22085 (calc-lu-times): Rename from `calc-logunits-mul'.
22086 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22087 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22088 (calc-lu-divide): Rename from `calc-logunits-div'.
22089 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22090 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22091
22092 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22093 functions being autoloaded.
22094
22095 * calc/calc.el (calc-lu-power-reference): Rename from
22096 `calc-logunits-power-reference'.
22097 (calc-lu-field-reference): Rename from
22098 `calc-logunits-field-reference'.
22099
22100 * calc/calc-help.el (calc-l-prefix-help):
22101 Mention musical note functions.
22102
22103 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22104
22105 * minibuffer.el (completion-all-sorted-completions):
22106 Use :completion-cycle-penalty text property if present.
22107
22108 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22109
22110 * allout.el (allout-yank-processing): Adjust for new rebulleting
22111 regime so bullet being yanked is used without prompting the user
22112 for a choice.
22113
22114 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22115
22116 * startup.el (command-line): Warn the user that _emacs is deprecated.
22117
22118 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22119
22120 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22121 (delphi-verbose, delphi-comment-face, delphi-string-face)
22122 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22123 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22124 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22125 (delphi-new-comment-line, delphi-font-lock-defaults)
22126 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22127 Fix typos in docstrings.
22128
22129 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22130
22131 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22132 Invert the roles of character and string values for INSTEAD, so a
22133 string is used for the more common case of a defaulting prompt.
22134
22135 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22136
22137 * progmodes/ruby-mode.el (ruby-backward-sexp):
22138 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22139 * play/gamegrid.el (gamegrid-make-face):
22140 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22141 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22142 * notifications.el (notifications-notify):
22143 * net/xesam.el (xesam-search-engines):
22144 * net/quickurl.el (quickurl-list-insert):
22145 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22146
22147 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
22148
22149 * startup.el (command-line): Update package subdirectory regexp.
22150
22151 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22152
22153 * allout.el (allout-abbreviate-flattened-numbering)
22154 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22155
22156 * subr.el (read-char-choice): Only show the cursor after the prompt,
22157 not after the answer.
22158
22159 2011-03-15 Kevin Ryde <user42@zip.com.au>
22160
22161 * help-fns.el (variable-at-point): Skip leading quotes, if any
22162 (bug#8253).
22163
22164 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22165
22166 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22167 warning message.
22168
22169 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
22170
22171 * shell.el (shell): When called interactively, offer to change the
22172 shell file name on remote hosts.
22173
22174 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22175
22176 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22177 integration for LDAP parameters. The host, base, user or binddn,
22178 and secret tokens can be specified in a netrc file, for instance.
22179 This is optional because an `auth-source' parameter must be
22180 specified in the search attributes.
22181
22182 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
22183
22184 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22185
22186 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22187
22188 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22189 into declaration. Remove redundant and harmful binding.
22190
22191 2011-03-12 Eli Zaretskii <eliz@gnu.org>
22192
22193 * files.el (file-ownership-preserved-p): Pass `integer' as an
22194 explicit 2nd argument to `file-attributes'. If the file's owner
22195 is the Administrators group on Windows, and the current user is
22196 Administrator, consider that a match.
22197
22198 * server.el (server-ensure-safe-dir): Consider server directory
22199 safe on MS-Windows if its owner is the Administrators group while
22200 the current Emacs user is Administrator. Use `=' to compare
22201 numerical UIDs, since they could be integers or floats.
22202
22203 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
22204
22205 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22206
22207 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
22208
22209 Sync with Tramp 2.2.1.
22210
22211 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22212
22213 * net/trampver.el: Update release number.
22214
22215 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22216
22217 * progmodes/compile.el (compilation--previous-directory): Fix up
22218 various nil/dead-marker mismatches (bug#8014).
22219 (compilation-directory-properties, compilation-error-properties):
22220 Don't call it at a position past the one we're about to change.
22221
22222 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22223 Disable obsolescence warnings in the file that declares it.
22224
22225 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22226
22227 * allout-widgets.el (allout-widgets-tally):
22228 Initialize allout-widgets-tally as a hash table rather than nil to
22229 prevent mode-line redisplay warnings. Also, clarify the module
22230 description and fix a comment typo.
22231
22232 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
22233
22234 * help-fns.el (describe-variable): Don't complete keywords.
22235 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22236
22237 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
22238
22239 * emacs-lisp/package.el (package-version-join): Impose a standard
22240 string representation for pre/alpha/beta version lists.
22241 (package-unpack-single): Standardize the directory name by passing
22242 it through package-version-join.
22243 (package-strip-rcs-id): Accept any version string that does not
22244 signal an error in version-to-list.
22245
22246 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
22247
22248 * simple.el (delete-trailing-whitespace): Return nil for the
22249 benefit of `write-file-functions'.
22250
22251 2011-03-10 Glenn Morris <rgm@gnu.org>
22252
22253 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22254
22255 * vc/vc-git.el (vc-git-program): New option.
22256 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22257 (vc-git--call): Use it.
22258
22259 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22260
22261 * cus-edit.el (Custom-newline): If no button at point, look
22262 for a subgroup button at start-of-line. (Bug#2298)
22263
22264 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22265
22266 2011-03-10 Julien Danjou <julien@danjou.info>
22267
22268 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22269 `cursor-type' is nil.
22270
22271 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22272
22273 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22274
22275 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22276
22277 * allout.el: Change so yank of distinctive-bullet items
22278 preserves the existing header prefix, rebulleting it if necessary,
22279 rather than replacing it. This is necessary for proper operation
22280 of cooperative addons like allout-widgets.
22281 (allout-make-topic-prefix, allout-rebullet-heading):
22282 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22283 value as alternate bullet to be used, instead of prompting the user
22284 for a bullet character.
22285
22286 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
22287
22288 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22289 Do not use `tramp-file-name-port', because this returns also
22290 `tramp-default-port'.
22291
22292 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22293
22294 * net/rcirc.el (rcirc-handler-001): Remove useless
22295 with-rcirc-process-buffer.
22296 (rcirc-check-auth-status): Swap arguments to string-match.
22297
22298 2011-03-09 Glenn Morris <rgm@gnu.org>
22299
22300 * shell.el (shell-mode):
22301 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22302
22303 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22304 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22305
22306 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22307
22308 * emacs-lisp/package.el (package-refresh-contents)
22309 (package-menu-execute): Use condition-case-no-debug.
22310
22311 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
22312
22313 * simple.el (shell-command-to-string): Use `process-file'.
22314
22315 * emacs-lisp/package.el (package-tar-file-info): Handle also
22316 remote files.
22317
22318 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22319 Use `equal' for upload base check.
22320
22321 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22322
22323 * textmodes/texinfo.el (texinfo-environments):
22324 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22325
22326 2011-03-08 Glenn Morris <rgm@gnu.org>
22327
22328 * cus-start.el (cursor-in-non-selected-windows):
22329 Fix :set quoting oddness. (Bug#8192)
22330
22331 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22332 in some setf expressions. (Bug#2159)
22333
22334 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22335
22336 * custom.el (custom-available-themes): Return themes in
22337 alphabetical order.
22338
22339 See ChangeLog.15 for earlier changes.
22340
22341 ;; Local Variables:
22342 ;; coding: utf-8
22343 ;; End:
22344
22345 Copyright (C) 2011-2012 Free Software Foundation, Inc.
22346
22347 This file is part of GNU Emacs.
22348
22349 GNU Emacs is free software: you can redistribute it and/or modify
22350 it under the terms of the GNU General Public License as published by
22351 the Free Software Foundation, either version 3 of the License, or
22352 (at your option) any later version.
22353
22354 GNU Emacs is distributed in the hope that it will be useful,
22355 but WITHOUT ANY WARRANTY; without even the implied warranty of
22356 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22357 GNU General Public License for more details.
22358
22359 You should have received a copy of the GNU General Public License
22360 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.