* subr.el (text-clone-maintain): Fix clone overlay deletion
[bpt/emacs.git] / lisp / ChangeLog
1 2012-12-07 Chong Yidong <cyd@gnu.org>
2
3 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4 syntax is specified (Bug#13025).
5
6 * info.el (Info-set-mode-line): Remove the file extension from
7 Info-current-file if there is one (Bug#13016).
8
9 2012-12-07 Glenn Morris <rgm@gnu.org>
10
11 * mail/rmail.el (rmail-mime-decoded): New permanent local.
12 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
13 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
14 and rmail-mime-decoded. (Bug#9841)
15
16 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
17 (batch-unrmail, unrmail): Doc fixes.
18 (unrmail): Respect unrmail-mbox-format.
19 * mail/rmail.el (rmail-mbox-format): New option.
20 (rmail-show-message-1): Respect rmail-mbox-format.
21
22 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
25
26 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
29 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
30 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
31 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
32 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
33 (cl-progv): Don't rely on dynamic scoping to find the body.
34 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
35 (cl--proclaims-deferred): Rename from the "cl-" prefix.
36 (cl-declaim): Use backquotes.
37 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
38 Use "cl--" prefix for the object's tag.
39
40 * ses.el: Use advice-add/remove.
41 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
42 (copy-region-as-kill, yank): Use advice-add.
43 (ses-unload-function): Use advice-remove.
44
45 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
46
47 * button.el: Make them work in header-lines (bug#12817).
48 (button-map): Add bindings for header-line and mode-line use.
49 (button-get, button-put, button-label): `button' may now be a string.
50 (button-activate): Don't make it a defsubst.
51 (button--area-button-p, button--area-button-string): New functions.
52 (make-text-button): Fix the return value when `beg' was a string.
53 (push-button): Handle the mode-line case.
54
55 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
58 (sql-signum): Remove. Use `cl-signum' instead.
59 (sql-read-passwd): Remove; use read-passwd instread.
60 (sql-get-login-ext): Use read-string.
61 (sql-get-login): Use dolist and pcase.
62 (sql--completion-table): Rename from sql-try-completion.
63 Use complete-with-action.
64 (sql-mode): Don't change abbrev-all-caps globally.
65 (sql-connect): Don't rely on dynamic scoping for `new-name'.
66 (sql-postgres-completion-object): Initialize vars in their `let'.
67 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
68 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
69 (sql-comint-interbase): Use a single append, without setq.
70 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
71
72 * hi-lock.el: Rework the default face and the serialize regexp code.
73 (hi-lock--auto-select-face-defaults): Remove.
74 (hi-lock-string-serialize-serial): Remove.
75 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
76 make weak.
77 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
78 equal string.
79 (hi-lock-set-pattern): Adjust accordingly.
80 (hi-lock--regexps-at-point): Simplify accordingly.
81 (hi-lock--auto-select-face-defaults): Remove.
82 (hi-lock--last-face): New var to replace it.
83 (hi-lock-read-face-name): Rewrite (bug#11095).
84 (hi-lock-unface-buffer): Arrange for the face to be the next default.
85
86 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
87
88 * net/tramp.el (tramp-replace-environment-variables):
89 Hide compiler warning.
90 (tramp-file-name-for-operation): Remove `executable-find',
91 `start-process', `call-process' and `call-process-region'.
92
93 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
94
95 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
96 compatibility.
97
98 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
99
100 2012-12-06 Chong Yidong <cyd@gnu.org>
101
102 * ffap.el (ffap-replace-file-component): Fix typo.
103
104 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
105
106 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
107 fix open-paren-like token test (bug#12785).
108
109 2012-12-06 Glenn Morris <rgm@gnu.org>
110
111 * mail/rmailsum.el (rmail-new-summary): Tweak for
112 rmail-maybe-display-summary changing buffer. (Bug#13066)
113
114 2012-12-06 Juri Linkov <juri@jurta.org>
115
116 * info.el (Info-fontify-node): Don't hide the last newline.
117 (Bug#12272)
118
119 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
120
121 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
122 so as to enable message-read-from-minibuffer to expand mail aliases.
123
124 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
127 the `intangible' property.
128 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
129
130 2012-12-05 Deniz Dogan <deniz@dogan.se>
131
132 * net/rcirc.el (rcirc-urls): Update documentation.
133 (rcirc-condition-filter): New function.
134 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
135 and exclude consecutive duplicate URLs (Bug#6082).
136
137 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
138
139 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
140 Check return code of copy command.
141
142 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
143 Use group `tramp'. Add version.
144
145 2012-12-05 Chong Yidong <cyd@gnu.org>
146
147 * ffap.el (ffap-url-regexp): Don't require matching at front of
148 string (Bug#4952).
149 (ffap-url-p): If only a substring matches, return that.
150 (ffap-url-at-point): Use the return value of ffap-url-p.
151 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
152 (find-file-at-point, dired-at-point, dired-at-point-prompter)
153 (ffap-guess-file-name-at-point): Likewise.
154 (ffap-replace-file-component): Fix typo.
155
156 * info.el (info-display-manual): Add existing Info buffers, whose
157 files may not be in Info-directory-list, to the completion.
158 (info--manual-names): New helper function.
159
160 2012-12-05 Glenn Morris <rgm@gnu.org>
161
162 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
163 New functions, for detecting and resolving conflicts. (Bug#10709)
164
165 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
166
167 * hi-lock.el (hi-lock-auto-select-face): New user variable.
168 (hi-lock-auto-select-face-defaults): New buffer local variable.
169 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
170 (hi-lock-unface-buffer): Prompt user with useful defaults.
171 With prefix arg, unhighlight all hi-lock patterns in buffer.
172
173 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
176
177 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
178
179 * Makefile.in (TRAMP_SRC):
180 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
181
182 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
183
184 * net/tramp-adb.el: New package.
185
186 2012-12-04 Chong Yidong <cyd@gnu.org>
187
188 * terminal.el: Move to obsolete/.
189
190 * longlines.el: Move to obsolete/.
191
192 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
193 Remove code referring to longlines mode.
194
195 2012-12-03 Juri Linkov <juri@jurta.org>
196
197 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
198
199 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
200
201 * textmodes/ispell.el (ispell-init-process)
202 (ispell-start-process, ispell-internal-change-dictionary):
203 Make sure personal dictionary name is expanded after initial
204 `default-directory' value. Use expanded strings for
205 keep/restart checks and for value (Bug#13019).
206
207 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
208
209 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
210
211 2012-12-03 Leo Liu <sdl.web@gmail.com>
212
213 * files.el (dir-locals-read-from-file): Check file non-empty
214 before reading. (Bug#13038)
215
216 2012-12-03 Glenn Morris <rgm@gnu.org>
217
218 * jka-cmpr-hook.el (jka-compr-get-compression-info):
219 Remove any version extension before checking filename. (Bug#13006)
220 (jka-compr-compression-info-list): Belated :version bump.
221
222 2012-12-03 Chong Yidong <cyd@gnu.org>
223
224 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
225
226 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
227 (buffer-menu): Doc fix (Bug#12294).
228
229 2012-12-03 Roland Winkler <winkler@gnu.org>
230
231 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
232 of diary-show-all-entries in the diary buffer (Bug#12994).
233
234 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
235
236 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
237 "<STDIN>". This is binary safe.
238
239 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
240
241 * calc/calc-forms.el (math-absolute-from-iso-dt)
242 (math-date-to-iso-dt, math-parse-iso-date-validate)
243 (math-iso-dt-to-date): New functions.
244 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
245 (math-fd-isoweekday): New variables.
246 (calc-date-notation, math-parse-standard-date, math-format-date)
247 (math-format-date-part): Add support for more formatting codes.
248
249 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
250
251 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
252 current buffer's file name when called interactively (Bug#12488).
253
254 2012-12-02 Juri Linkov <juri@jurta.org>
255
256 * info.el (info-display-manual): Don't clobber an existing Info
257 buffer (Bug#10770). Add completion (Bug#10771).
258
259 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
260
261 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
262 before using it for comparison (Bug#5297).
263
264 2012-12-01 Jari Aalto <jari.aalto@cante.net>
265
266 * textmodes/css-mode.el (css-current-defun-name): New function.
267 (css-mode): Use it.
268
269 * textmodes/sgml-mode.el (html-current-defun-name): New function.
270 (html-mode): Use it.
271
272 2012-12-01 Chong Yidong <cyd@gnu.org>
273
274 Modularize add-log-current-defun (Bug#2224).
275 Suggested by Jari Aalto.
276
277 * vc/add-log.el (add-log-current-defun-function): Doc fix.
278 (add-log-current-defun): Move mode-specific code to other files.
279 (add-log-lisp-like-modes, add-log-c-like-modes)
280 (add-log-tex-like-modes): Variables deleted.
281
282 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
283 (lisp-mode-variables): Use it.
284
285 * progmodes/cc-mode.el (c-common-init):
286 * progmodes/cperl-mode.el (cperl-mode): Set a value for
287 add-log-current-defun-function.
288
289 * progmodes/m4-mode.el (m4-current-defun-name): New function.
290 (m4-mode): Use it.
291
292 * progmodes/perl-mode.el (perl-current-defun-name): New.
293 (perl-mode): Use it.
294
295 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
296 Use lisp-current-defun-name.
297
298 * textmodes/tex-mode.el (tex-current-defun-name): New.
299 (tex-common-initialization): Use it.
300
301 * textmodes/texinfo.el (texinfo-current-defun-name): New.
302 (texinfo-mode): Use it.
303
304 2012-12-01 Chong Yidong <cyd@gnu.org>
305
306 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
307 * progmodes/autoconf.el (autoconf-mode):
308 * progmodes/js.el (js-mode):
309 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
310 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
311 * progmodes/perl-mode.el (perl-mode):
312 * progmodes/sh-script.el (sh-mode, sh-set-shell):
313 * textmodes/css-mode.el (css-mode):
314 * textmodes/sgml-mode.el (html-mode, sgml-mode)
315 (sgml-tags-invisible, sgml-guess-indent):
316 * textmodes/tex-mode.el (tex-common-initialization)
317 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
318 (doctex-mode, plain-tex-mode, latex-mode):
319 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
320
321 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
322
323 * vc/vc-hg.el (vc-hg-next-revision):
324 Ensure use of default "tip" output format. (Bug#6968)
325
326 2012-12-01 Kim F. Storm <storm@cua.dk>
327
328 * startup.el (fancy-startup-tail): Add a clickable link
329 (Bug#2176).
330
331 2012-12-01 Chong Yidong <cyd@gnu.org>
332
333 * startup.el (fancy-startup-tail): Improve the message about
334 auto-save files (Bug#2176).
335
336 * files.el (recover-session): Improve the descriptive message, and
337 use substitute-command-keys.
338
339 2012-12-01 Glenn Morris <rgm@gnu.org>
340
341 * ido.el (ido-file-internal):
342 Handle other-window, other-frame for dired. (Bug#13036)
343
344 2012-11-30 Glenn Morris <rgm@gnu.org>
345
346 * icomplete.el (icomplete-separator): Fix :version.
347
348 2012-11-30 Chong Yidong <cyd@gnu.org>
349
350 * shell.el (shell): For C-u M-x shell, use an inactive shell
351 buffer as the default (Bug#1975).
352 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
353 (shell-mode): Use them to reapply ansi colorization if Shell mode
354 is re-enabled.
355
356 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
357
358 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
359
360 2012-11-30 Samuel Bronson <naesten@gmail.com>
361
362 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
363 flag to xargs, for compatibility with BSD xargs (Bug#11703).
364
365 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
366
367 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
368 by move-to-column (Bug#3234).
369
370 2012-11-30 Chong Yidong <cyd@gnu.org>
371
372 * longlines.el (longlines-wrap-line, longlines-encode-region):
373 Preserve text properties (Bug#1425).
374
375 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
376
377 * vc/vc.el (vc-register): Allow registering a file which is
378 already registered with a different backend (Bug#10589).
379
380 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
381 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * icomplete.el: Change separator; add ido-style commands.
384 (icomplete-show-key-bindings): Remove custom var.
385 (icomplete-get-keys): Remove function.
386 (icomplete-forward-completions, icomplete-backward-completions):
387 New commands.
388 (icomplete-minibuffer-map): New var.
389 (icomplete-minibuffer-setup): Use it.
390 (icomplete-exhibit): Don't delay if the list of completions is known.
391 (icomplete-separator): New custom.
392 (icomplete-completions): Use it.
393 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
394 (minibuffer-force-complete-and-exit): New command.
395 (minibuffer--complete-and-exit): New function extracted from
396 minibuffer-complete-and-exit.
397 (minibuffer-complete-and-exit): Use it.
398
399 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
400 error message when the file doesn't exist (bug#12974).
401
402 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
403
404 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
405
406 2012-11-29 Glenn Morris <rgm@gnu.org>
407
408 * files.el (hack-dir-local-variables): Warn if try to set
409 coding via dir-locals, since it doesn't work. (Bug#7169)
410
411 Add desktop support for restoring vc-dir buffers. (Bug#10606)
412 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
413 Set buffer-local value of desktop-save-buffer.
414 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
415 New functions.
416 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
417 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
418
419 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
420 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
421 Doc fix.
422 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
423 Doc fixes.
424
425 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
426
427 * calc/calc-forms.el (calc-date-notation): Fix regexp
428 used to find time codes. Fix symbol for seconds.
429
430 2012-11-27 Glenn Morris <rgm@gnu.org>
431
432 * emacs-lisp/derived.el (derived-mode-make-docstring):
433 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
434
435 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
436
437 * textmodes/table.el (table-insert): Don't use `symbol-name' on
438 lexically scoped variables (bug#13005).
439
440 2012-11-27 Glenn Morris <rgm@gnu.org>
441
442 * vc/vc-hooks.el (vc-mistrust-permissions):
443 Default to t, to avoid data-loss. (Bug#11490)
444
445 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
446
447 * progmodes/python.el (python-indent-guess-indent-offset):
448 If indentation is guessed make python-indent-offset buffer-local.
449
450 Fix Imenu regression.
451 * progmodes/python.el (python-nav-beginning-of-defun):
452 Fix forward movement when statement(s) separates point from defun.
453 (python-imenu-prev-index-position): New function.
454
455 2012-11-27 Eli Zaretskii <eliz@gnu.org>
456
457 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
458
459 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
460 Don't set buffer-file-type. Return nil. (Bug#12989)
461
462 2012-11-27 Glenn Morris <rgm@gnu.org>
463
464 * hippie-exp.el (hippie-expand-try-functions-list):
465 Re-autoload it. (Bug#12982)
466
467 2012-11-27 Eli Zaretskii <eliz@gnu.org>
468
469 * descr-text.el (describe-char-padded-string):
470 Call internal-char-font only on GUI frames. (Bug#11964)
471
472 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
473
474 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
475 and obsoletion message.
476
477 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
480 the constructs to keep outside of the `cl-block' (bug#12977).
481
482 2012-11-27 Chong Yidong <cyd@gnu.org>
483
484 * mouse.el (mouse-drag-line): Even if the line is not draggable,
485 keep reading until we get the up-event anyway, in order to process
486 the up-event for mouse-1-click-follows-link (Bug#12971).
487
488 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
489
490 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
491 base function is not yet defined (bug#12965).
492 (ad-activate-advised-definition): Use ad-compile-function.
493 (ad-activate): Use cond.
494
495 2012-11-25 Leo Liu <sdl.web@gmail.com>
496
497 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
498 (Bug#12979)
499
500 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
501
502 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
503 reftex-section-info-function in order to be compatible with
504 Texinfo integration.
505
506 * textmodes/reftex.el (reftex-section-pre-regexp)
507 (reftex-section-post-regexp, reftex-section-info-function):
508 New variable.
509 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
510 reftex-section-post-regexp, and reftex-section-info-function in order
511 to be compatible with Texinfo integration.
512
513 * textmodes/reftex-toc.el (reftex-toc-promote-action):
514 use reftex-section-pre-regexp variable in order to be compatible with
515 Texinfo integration.
516
517 2012-11-25 Chong Yidong <cyd@gnu.org>
518
519 * faces.el: Make face-spec-set more analogous to setq.
520 (face-spec-set): Change the third arg to specify whether this
521 function is being called via defface, customize, or a third party.
522 Set the appropriate symbol properties. Clear the override spec if
523 setting via Custom. Initialize face if necessary. (Bug#4988)
524 (face-spec-recalc): Allow theme faces to completely replace the
525 defface spec, in the same way as custom faces (Bug#8454).
526
527 * cus-face.el (custom-declare-face): Move face initialization to
528 face-spec-set.
529 (custom-theme-set-faces): Don't initialize the face name here, as
530 that is now done in face-spec-set.
531
532 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
533 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
534 Simplify by using the new arg to face-spec-set.
535
536 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
537 reset face-override-spec too, and use custom-declare-face.
538
539 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
540
541 * term/ns-win.el (ns-initialize-window-system): Move creation of
542 fontsets here (Bug#11964).
543
544 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
545
546 * ses.el (ses-rename-cell): Correct bug on mode-line update after
547 cell renaming.
548
549 2012-11-24 Chong Yidong <cyd@gnu.org>
550
551 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
552 obsolete.
553
554 * custom.el (custom-theme-set-variables): Use a topological sort
555 for ordering by custom dependencies (Bug#12952).
556 (custom--sort-vars, custom--sort-vars-1): New functions.
557
558 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
561 lexical-binding (bug#12938).
562
563 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
564
565 * image-mode.el (image-transform-check-size): Use assertions only
566 for images of type imagemagick.
567
568 Otherwise no error, image-transform-fit-to-{width,height} is
569 silently ignored, as before. Doc fix.
570
571 2012-11-24 Chong Yidong <cyd@gnu.org>
572
573 * faces.el (color-defined-p): Doc fix (Bug#12853).
574
575 2012-11-24 Juri Linkov <juri@jurta.org>
576
577 * dired.el (dired-mark): Add optional arg `interactive'.
578 Check for `use-region-p' if `interactive' is non-nil.
579 (dired-unmark, dired-flag-file-deletion): Add optional arg
580 `interactive'. Call `dired-mark' with the arg `interactive'.
581 (Bug#10624)
582
583 * wdired.el: Revert 2012-10-17 change partly and replace it with
584 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
585 (wdired-finish-edit): Add marks for new file names to
586 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
587 after `revert-buffer'.
588 (wdired-do-renames): Remove calls to `dired-remove-file',
589 `dired-add-file', `dired-add-entry'. (Bug#11795)
590
591 2012-11-24 Alan Mackenzie <acm@muc.de>
592
593 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
594
595 Fix bugs in the state cache. Enhance a debugging mechanism.
596 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
597 "brace at column zero" strategy for C++.
598 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
599 (c-parse-state-point): New variable.
600 (c-record-parse-state-state): Record old parse state with
601 `copy-tree'. Record previous value of point.
602 (c-debug-parse-state-double-cons): New debugging function.
603 (c-debug-parse-state): Call the above new function.
604 (c-toggle-parse-state-debug): Output a confirmatory message.
605
606 * progmodes/cc-mode.el (c-before-change, c-after-change):
607 Call c-invalidate-state-cache from `c-before-change' instead of
608 `c-after-change'.
609
610 2012-11-23 Chong Yidong <cyd@gnu.org>
611
612 * find-cmd.el (find-constituents): Add executable, ipath,
613 readable, samefile, writable, daystart, regextype (Bug#12856).
614
615 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
616
617 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
618
619 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
620
621 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
622 definition. This fixes a bootstrap failure.
623 (calc-gregorian-switch): In menu, put dates before regions.
624 This is easier to follow, lines up better in the menu, and lets us
625 coalesce regions that switch at the same time. Give country
626 names, not "Vatican", as that's better for non-expert users.
627 Use names that are stable between the date of switch and now, e.g.,
628 Bohemia and Moravia (which existed then and now) and not
629 Czechoslovakia (which didn't exist then and doesn't exist now).
630 What is now the U.S. mostly did not switch at the same time as
631 Britain, so omit the U.S. Correct spelling of "Britain".
632 Catholic Switzerland was too much of a mess, so omit it.
633
634 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
635
636 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
637 after the variable is changed.
638
639 2012-11-21 Daniel Colascione <dancol@dancol.org>
640
641 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
642 in SQL declarations for font-lock.
643 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
644
645 2012-11-21 Glenn Morris <rgm@gnu.org>
646
647 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
648 (face-italic-p): Add optional argument "inherit".
649
650 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
651 Remove -p suffix from names, for consistency with other set-face-*.
652 (set-face-inverse-video): Fix interactive spec.
653 * play/gamegrid.el (gamegrid-make-mono-tty-face):
654 * textmodes/table.el (table--update-cell-face):
655 Use set-face-inverse-video rather than now obsolete alias.
656
657 2012-11-21 Eli Zaretskii <eliz@gnu.org>
658
659 * simple.el (line-move): Don't call line-move-partial if
660 scroll-conservatively is in effect. (Bug#12927)
661
662 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
663
664 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
665 Fallback on completion-at-point rather than
666 pcomplete-expand-and-complete, and only if pcomplete actually failed.
667 (eshell-cmpl-initialize): Setup completion-at-point.
668
669 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
670
671 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
672
673 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
674
675 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
676 are remote, check out-of-band property for both.
677
678 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
679
680 * window.el (switch-to-buffer): Re-add the warning that was lost in the
681 code rewrite.
682
683 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
684
685 More minor time fixes.
686 * calendar/time-date.el: Commentary fix.
687 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
688 too much other code depends on (0 0) time stamps.
689 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
690 Add a couple of FIXME comments.
691
692 Minor cleanup for times as lists of four integers.
693 * files.el (dir-locals-directory-cache):
694 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
695 Doc fixes.
696 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
697 * ps-bdf.el (bdf-file-newer-than-time):
698 Process four-integers time stamps, not two. Doc fixes.
699
700 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
701
702 * uniquify.el (uniquify-managed): Use defvar-local.
703 (rename-buffer, create-file-buffer): Advise with advice-add.
704 (uniquify-unload-function): Unadvise accordingly.
705
706 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
707 (trace-buffer): Don't purecopy.
708 (trace-entry-message, trace-exit-message): Add `context' arg.
709 (trace--timer): New var.
710 (trace-make-advice): Adjust for use in nadvice.
711 Add `context' argument. Delay `display-buffer' via a timer.
712 (trace-function-internal): Use advice-add.
713 (trace--read-args): New function.
714 (trace-function-foreground, trace-function-background): Use it.
715 (trace-function): Rename to trace-function-foreground and redefine as
716 an alias to that new name.
717 (untrace-function, untrace-all): Adjust to the use of nadvice.
718
719 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
720
721 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
722
723 * subr.el (called-interactively-p-functions): New var.
724 (internal--called-interactively-p--get-frame): New macro.
725 (called-interactively-p, interactive-p): Rewrite in Lisp.
726 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
727 (called-interactively-p-functions): Use it.
728 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
729 (called-interactively-p-functions): Use it.
730 * allout.el (allout-called-interactively-p): Don't assume
731 called-interactively-p is a subr.
732
733 2012-11-20 Glenn Morris <rgm@gnu.org>
734
735 * profiler.el (profiler-report-mode-map): Add a menu.
736 No need to bind `q' because we derive from special-mode.
737 (profiler-report-find-entry): Handle calls from the menu-bar.
738
739 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * emacs-lisp/byte-run.el (defun-declarations-alist):
742 Allow a compiler-macro to be a lambda expression.
743
744 * progmodes/python.el: Use cl-lib. Move var declarations outside of
745 eval-when-compile.
746 (python-syntax-context): Add compiler-macro.
747 (python-font-lock-keywords): Simplify with De Morgan.
748
749 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
750
751 * files.el (load-file): Require match in minibuffer selection, as was
752 the case in Emacs-20 before we changed the spec to allow .elc files
753 (bug#12935).
754
755 * json.el: Don't require cl since we don't use it.
756 * color.el: Don't require cl.
757 (color-complement): `caddr' -> `nth 2'.
758
759 * calendar/time-date.el (time-to-seconds): De-obsolete.
760
761 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
762
763 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
764 year numbers.
765 (math-date-to-julian-dt): Adjust the initial approximation for the
766 year to deal with the new definition of the DATE.
767
768 2012-11-19 Daniel Colascione <dancol@dancol.org>
769
770 * term/w32-win.el (cygwin-convert-path-from-windows):
771 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
772
773 2012-11-18 Chong Yidong <cyd@gnu.org>
774
775 * filecache.el (file-cache--read-list): New function.
776 (file-cache-add-directory-list, file-cache-add-file-list)
777 (file-cache-delete-file-list, file-cache-delete-directory-list):
778 Use it to read a list of files or directories (Bug#12846).
779 (file-cache-add-file, file-cache-add-directory)
780 (file-cache-delete-file-list, file-cache-delete-file-regexp)
781 (file-cache-delete-directory): Print an message.
782
783 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
784
785 * calc/calc-forms.el (math-date-to-dt): Use integer date when
786 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
787
788 2012-11-18 Glenn Morris <rgm@gnu.org>
789
790 * image.el (insert-image, insert-sliced-image): Doc fix.
791
792 2012-11-18 Chong Yidong <cyd@gnu.org>
793
794 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
795 (Bug#12810).
796
797 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
798
799 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
800 response when the target file is in a subdirectory (Bug#12757).
801
802 2012-11-18 Chong Yidong <cyd@gnu.org>
803
804 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
805
806 2012-11-18 Glenn Morris <rgm@gnu.org>
807
808 * emacs-lisp/cl-lib.el (face-underline-p):
809 Use set-face-underline rather than the alias set-face-underline-p.
810
811 * window.el (with-temp-buffer-window): Doc fix.
812 * subr.el (with-output-to-temp-buffer):
813 Add doc xref to with-temp-buffer-window.
814
815 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
816
817 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
818 * calc/calc.el (math-format-date-cache): Declare.
819
820 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
821
822 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
823 It also uses January 1, 1 AD as its day number 1.
824 * calc/calc-forms.el (math-julian-date-beginning)
825 (math-julian-date-beginning-int): Implement this.
826
827 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
828
829 * descr-text.el (quail-find-key):
830 * dired.el (desktop-file-name):
831 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
832 * generic-x.el (comint-mode, comint-exec):
833 * image-dired.el (widget-forward):
834 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
835 (speedbar-change-expand-button-char)
836 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
837 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
838 * printing.el (easy-menu-add-item, easy-menu-remove-item)
839 (widget-field-action, widget-value-set):
840 * speedbar.el (imenu--make-index-alist):
841 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
842 (ring-length, ring-insert):
843 * vcursor.el (compare-windows-skip-whitespace):
844 * woman.el (dired-get-filename):
845 Declare functions.
846
847 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
848
849 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
850
851 * calc/calc.el (calc-gregorian-switch): New variable.
852
853 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
854 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
855 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
856 (math-leap-year-p): Add option to distinguish between Julian
857 and Gregorian calendars.
858 (math-day-number): Use `math-day-in-year' to do the computations.
859 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
860 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
861 to do the computations.
862 (math-date-to-dt): Use `math-date-to-julian-dt' and
863 `math-date-to-gregorian-dt' to do the computations.
864 (calcFunc-weekday, math-format-date-part): Use the new version of
865 the DATE to determine the weekday.
866 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
867 when necessary.
868
869 2012-11-17 Eli Zaretskii <eliz@gnu.org>
870
871 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
872 Cygwin; otherwise use 'file:'. (Bug#12914)
873 (cygwin-convert-path-from-windows): Declare, to avoid
874 byte-compiler warnings.
875
876 2012-11-17 Andreas Politz <politza@fh-trier.de>
877
878 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
879 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
880 prefix and negative numeric prefix args (Bug#12795).
881
882 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
883
884 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
885 Don't signal an error with a score that is too low to add to the
886 list of top scores. (Bug#12779)
887
888 2012-11-17 Chong Yidong <cyd@gnu.org>
889
890 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
891
892 * filecache.el (file-cache-add-file): Handle relative file name in
893 the argument (Bug#12694).
894
895 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
896
897 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
898
899 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
902
903 * emacs-lisp/cl-lib.el: Set more meaningful version number.
904
905 2012-11-16 Martin Rudalics <rudalics@gmx.at>
906
907 * window.el (enlarge-window, shrink-window): Don't mention return
908 value in doc-string (Bug#12896).
909 (window--display-buffer): Don't resize frames - it won't work
910 with all window managers and defeat pop-up-frame-alist.
911 (display-buffer-alist): In doc-string explain that CONDITION can
912 be a function and which arguments are passed to it (Bug#12854).
913 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
914 expressions (Bug#12854).
915 (display-buffer): Pass ACTION argument to
916 display-buffer-assq-regexp.
917
918 2012-11-16 Glenn Morris <rgm@gnu.org>
919
920 * window.el (fit-frame-to-buffer-bottom-margin)
921 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
922
923 * faces.el (face-underline-p): Use face-attribute-specified-or.
924
925 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
926
927 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
928
929 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
930
931 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
932
933 2012-11-16 Glenn Morris <rgm@gnu.org>
934
935 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
936 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
937
938 * faces.el (face-underline-p): Doc fix. Handle :underline being
939 things other than `t' (a string, a list).
940 (face-inverse-video-p): Doc fix.
941 (set-face-underline): Rename it back from set-face-underline-p.
942 Doc fix. Allow interactive input of values other than t.
943 (read-face-attribute): Apply formatting to :underline,
944 since like :box and :stipple it can take list values.
945
946 * term.el (ansi-term): Don't let C-x escape-char binding
947 clobber the more standard C-c binding. (Bug#12842)
948
949 * subr.el (set-temporary-overlay-map): Doc fix.
950
951 2012-11-16 Martin Rudalics <rudalics@gmx.at>
952
953 * window.el (record-window-buffer)
954 (display-buffer-record-window): When copying the markers to
955 window-point preserve window-point-insertion-type. (Bug#12588)
956
957 2012-11-16 Glenn Morris <rgm@gnu.org>
958
959 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
960 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
961 Use new names for hooks rather than obsolete aliases.
962
963 2012-11-15 Daniel Colascione <dancol@dancol.org>
964
965 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
966 prefix instead of "file:" so that when FILE-NAME begins with "//",
967 as it does when the target file is on a network share, url-handler
968 isn't confused.
969
970 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
971
972 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
973 a preactivated advice from an old advice.el; they're not compatible!
974
975 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
976
977 * emacs-lisp/nadvice.el (advice--make-interactive-form):
978 Fix string-spec case.
979
980 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
981
982 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
983
984 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
985 (advice--buffer-local-function-sample): New var.
986 (advice--set-buffer-local, advice--buffer-local): New functions.
987 (add-function, remove-function): Use them.
988
989 2012-11-15 Drew Adams <drew.adams@oracle.com>
990
991 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
992
993 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
996 potential binding of print-gensym to t, and prettify (back)quotes in
997 case they appear in args's default values (bug#12884).
998
999 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1000
1001 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1002 (advice-eval-interactive-spec): New function.
1003 (advice--make-interactive-form): Support around advice (bug#12844).
1004
1005 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1006
1007 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1008 more strict. Add docstring.
1009 (ruby-expression-expansion-re): Extract from
1010 `ruby-match-expression-expansion'.
1011 (ruby-syntax-propertize-function): After everything else, search
1012 for expansions in string literals, mark their insides as
1013 whitespace syntax and save match data for font-lock.
1014 (ruby-font-lock-keywords): Use the 2nd group from expression
1015 expansion matches.
1016 (ruby-match-expression-expansion): Use the match data saved to the
1017 text property in ruby-syntax-propertize-function.
1018
1019 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1020
1021 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1022 (bug#12879).
1023
1024 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1025
1026 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1027 start/end keyword a bit harder. Works with different values of N.
1028 Add more comments.
1029 (ruby-end-of-block): Update accordingly.
1030
1031 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1032
1033 * woman.el (woman-file-name): Don't mess with unread-command-events
1034 (bug#12861).
1035
1036 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1037 Remove out of date self-require hack.
1038 (ad-do-advised-functions): Use simple `dolist'.
1039 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1040 (ad-advice-definition): Redefine as functions.
1041 (ad-advice-classes): Move before first use.
1042 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1043 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1044 (ad--defalias-fset): Remove functions.
1045 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1046 (ad-get-orig-definition): Rewrite.
1047 (ad-make-advised-definition-docstring): Change base docstring.
1048 (ad-real-orig-definition): Rewrite.
1049 (ad-map-arglists): Change name of called function.
1050 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1051 (ad-make-advised-definition): Simplify.
1052 (ad-assemble-advised-definition): Tweak for new calling context.
1053 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1054 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1055 function and call ad-activate if needed.
1056 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1057 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1058 (ad-compile-function): Compile ad-Advice-*.
1059 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1060 (ad-start-advice, ad-stop-advice): Remove.
1061
1062 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1063
1064 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1065 period before class method names, not after. Remove handling of
1066 one impossible case. Add comments.
1067
1068 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1069
1070 * emacs-lisp/advice.el: Remove support for freezing.
1071 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1072 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1073 Remove support for `freeze'.
1074
1075 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1076 override the default.
1077 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1078 cl--dotimes/dolist.
1079 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1080 `cl' is loaded.
1081
1082 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1083 from add-advice.
1084 (advice--strip-macro): New function.
1085 (advice--defalias-fset): Use them to handle macros.
1086 (advice-add): Use them.
1087 (advice-member-p): Correctly handle macros.
1088
1089 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1090
1091 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1092 Never font-lock the beginning of singleton class as heredoc.
1093
1094 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1095
1096 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1097
1098 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
1099
1100 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1101 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1102 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1103
1104 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
1105
1106 Fix end-of-defun misbehavior.
1107 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1108 python-beginning-of-defun-function. Handle nested defuns
1109 correctly.
1110 (python-nav-end-of-defun): Rename from
1111 python-end-of-defun-function. Ensure forward movement.
1112 (python-info-current-defun): Reimplement to work as intended
1113 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1114 parent defuns as soon as possible.
1115
1116 2012-11-13 Glenn Morris <rgm@gnu.org>
1117
1118 * progmodes/flymake.el (flymake-error-bitmap)
1119 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1120 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1121
1122 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1123
1124 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1125 backward, always stop at indentation. Reverts the change from
1126 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1127
1128 2012-11-13 Glenn Morris <rgm@gnu.org>
1129
1130 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1131 Add ibuffer-filter-by-derived-mode.
1132
1133 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1134 the same name shadowing each other.
1135
1136 * window.el (with-temp-buffer-window): Doc tweak.
1137
1138 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1139
1140 * help.el (temp-buffer-max-height):
1141 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1142 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1143
1144 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1145
1146 * emacs-lisp/nadvice.el: New package.
1147 * subr.el (special-form-p): New function.
1148 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1149 (elp-all-instrumented-list): Remove var.
1150 (elp-not-profilable): Remove elp-wrapper.
1151 (elp-profilable-p): Use autoloadp and special-form-p.
1152 (elp--advice-name): New const.
1153 (elp-instrument-function): Use advice-add.
1154 (elp--instrumented-p): New predicate.
1155 (elp-restore-function): Use advice-remove.
1156 (elp-restore-all, elp-reset-all): Use mapatoms.
1157 (elp-set-master): Use elp--instrumented-p.
1158 (elp--make-wrapper): Rename from elp-wrapper, return a function
1159 suitable for advice-add. Use cl-inf.
1160 (elp-results): Use mapatoms+elp--instrumented-p.
1161 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1162 (debug-function-list): Remove var.
1163 (debug): Rename arg, and then let-bind it explicitly inside.
1164 (debugger-setup-buffer): Rename arg.
1165 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1166 (debugger-frame-number): Adjust to new debug-on-entry setup.
1167 (debug--implement-debug-on-entry): Rename from
1168 implement-debug-on-entry, add argument.
1169 (debugger-special-form-p): Remove, use special-form-p instead.
1170 (debug-on-entry): Use advice-add.
1171 (debug--function-list): New function.
1172 (cancel-debug-on-entry): Use it, along with advice-remove.
1173 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1174 (debugger-list-functions): Use debug--function-list instead of
1175 debug-function-list.
1176 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1177 (ad-special-form-p): Remove, use special-form-p instead.
1178 (ad-set-advice-info): Use add-function and remove-function.
1179 (ad--defalias-fset): Adjust accordingly.
1180
1181 2012-11-10 Glenn Morris <rgm@gnu.org>
1182
1183 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1184 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1185 (report-emacs-bug-create-existing-bugs-buffer)
1186 (report-emacs-bug-parse-query-results)
1187 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1188
1189 * term.el (term-default-fg-color, term-default-bg-color):
1190 Make obsolete, rather than just saying "deprecated" in the doc.
1191
1192 * term.el (term): Rename from `term-face'.
1193 (term-current-face, ansi-term-color-vector)
1194 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1195 Update all users.
1196
1197 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
1198
1199 * server.el (server-create-window-system-frame): Handle Nextstep
1200 specially (Bug#12780).
1201
1202 2012-11-10 Glenn Morris <rgm@gnu.org>
1203
1204 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1205 Unautoload, and make obsolete. (Bug#7449)
1206
1207 2012-11-10 Chong Yidong <cyd@gnu.org>
1208
1209 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1210 rename from diff-remove-trailing-whitespace (Bug#12831).
1211
1212 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1213
1214 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1215 miscompilation of trace.el.
1216
1217 2012-11-10 Glenn Morris <rgm@gnu.org>
1218
1219 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1220
1221 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1224 (bug#12812).
1225
1226 2012-11-10 Chong Yidong <cyd@gnu.org>
1227
1228 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1229 a defcustom with an appropriate :set function.
1230 (minibuffer-default--in-prompt-regexps): New function.
1231
1232 2012-11-10 Glenn Morris <rgm@gnu.org>
1233
1234 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1235 (define-modify-macro): Doc fixes.
1236
1237 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1238 (gv-define-simple-setter): Update doc of `fix-return'.
1239
1240 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1241
1242 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1243 twice when `fix-return' is set (bug#12813).
1244
1245 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1246 gv-define-simple-setter (bug#12812).
1247
1248 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1249 (bug#12756).
1250
1251 2012-11-10 Glenn Morris <rgm@gnu.org>
1252
1253 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1254
1255 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1256 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1257 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1258 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1259
1260 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1261
1262 2012-11-10 Leo Liu <sdl.web@gmail.com>
1263
1264 * ido.el (ido-set-matches-1): Improve flex matching performance by
1265 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1266
1267 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1268
1269 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1270 (ad--defalias-fset): New function.
1271 (ad-safe-fset): Remove.
1272 (ad-make-freeze-definition): Use cl-letf*.
1273
1274 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1275
1276 * subr.el (dolist): Don't bind VAR in RESULT.
1277
1278 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1279 (fset, documentation): Don't save real def since we don't advise.
1280 (ad-do-advised-functions): Remove problematic `result-form'.
1281 (ad-safe-fset): `ad-real-fset' => `fset'.
1282 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1283 uses CL's dolist internally.
1284 (ad-arglist): Remove unused arg `name'.
1285 (ad-docstring, ad-make-advised-docstring):
1286 `ad-real-documentation' => `documentation'.
1287 (warning-suppress-types): Declare.
1288 (ad-set-arguments): Simple CSE.
1289 (ad-recover-normality): Sanity check.
1290
1291 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1292 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1293
1294 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1295
1296 * ses.el: symbol to coordinate mapping is made by symbol property
1297 `ses-cell'. This means that the same mapping is done for all SES
1298 sheets. That is good enough for cells with standard A1 names, but
1299 not for named cell. So a hash map is added for the latter.
1300 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1301 (ses-sym-rowcol): Use hashmap for named cell.
1302 (ses-is-cell-sym-p): New defun.
1303 (ses-decode-cell-symbol): New defun.
1304 (ses-create-cell-variable): Add cell to hashmap when name is not
1305 A1-like.
1306 (ses-rename-cell): Check that cell new name is not already in
1307 spreadsheet with the use of ses-is-cell-sym-p
1308 (ses-rename-cell): Use hash map for named cells, but accept also
1309 renaming back to A1-like.
1310
1311 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1312
1313 * emacs-lisp/advice.el: Use new dynamic docstrings.
1314 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1315 Use dynamic-docstring-function instead of ad-advice-info.
1316 (ad--make-advised-docstring): New function extracted from
1317 ad-make-advised-docstring.
1318 (ad-make-advised-docstring): Use it.
1319 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1320 from sql-help.
1321 (sql-help): Use it with dynamic-docstring-function.
1322
1323 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1324
1325 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1326
1327 * files.el (hack-one-local-variable--obsolete): New function.
1328 (hack-one-local-variable): Use it for obsolete settings.
1329
1330 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1331 the new name.
1332
1333 * progmodes/js.el (js--filling-paragraph): New var.
1334 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1335 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1336 less sneaky.
1337
1338 2012-11-08 Julien Danjou <julien@danjou.info>
1339
1340 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1341 `auto-mode-alist' (Bug#12835).
1342
1343 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1344
1345 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1346 (perl--prettify-symbols-alist): New const.
1347 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1348 New functions.
1349 (perl-font-lock-keywords-2): Use them.
1350 (perl-electric-noindent-p): New function.
1351 (perl-mode): Use it to set up electric-indent-mode.
1352 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1353 (perl-mode-map): Remove bindings for them.
1354 (perl-imenu-generic-expression, perl-outline-level):
1355 Match functions&packages in column>0.
1356
1357 * env.el (env--substitute-vars-regexp): New const.
1358 (substitute-env-vars): Use it. Add `only-defined' arg.
1359 * net/tramp.el (tramp-replace-environment-variables): Use it.
1360
1361 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1362 Byte-compile *before* eval in eval-and-compile.
1363 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1364 (byte-compile-file-form-autoload): Don't hide actual definition.
1365 (byte-compile-maybe-guarded): Accept `functionp' as well.
1366
1367 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1368
1369 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
1370
1371 * notifications.el (notifications-get-server-information-method):
1372 New defconst.
1373 (notifications-get-capabilities): Fix docstring.
1374 (notifications-get-server-information): New defun.
1375
1376 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1377
1378 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1379 readability.
1380
1381 * textmodes/ispell.el: Experimental support for support debugging.
1382 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1383 buffer for ispell.
1384 (ispell-print-if-debug): New function to print stuff to
1385 `ispell-debug-buffer' if debugging is enabled.
1386 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1387 show some debugging info.
1388 (ispell-buffer-with-debug): New function that creates a debugging
1389 buffer and calls `ispell-buffer' with debugging enabled.
1390
1391 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1392 comment in autoconf mode. (Bug#12768)
1393
1394 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1395
1396 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1397 frame-first-window, frame-root-window, frame-selected-window,
1398 minibuffer-selected-window, minibuffer-window,
1399 window-absolute-pixel-edges, window-at, window-body-height,
1400 window-body-width, window-display-table, window-combination-limit,
1401 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1402 window-inside-edges, window-inside-pixel-edges, window-left-child,
1403 window-left-column, window-margins, window-next-buffers,
1404 window-next-sibling, window-new-normal, window-new-total,
1405 window-normal-size, window-parameter, window-parameters, window-parent,
1406 window-pixel-edges, window-point, window-prev-buffers,
1407 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1408 window-start, window-text-height, window-top-child, window-top-line,
1409 window-total-height, window-total-width and window-use-time to the list
1410 of functions without side-effects.
1411 (toplevel): Add window-valid-p to the list of error-free functions
1412 without side-effects.
1413
1414 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1415
1416 * textmodes/ispell.el (ispell-program-name):
1417 Update spellchecker parameters when customized.
1418
1419 2012-11-04 Glenn Morris <rgm@gnu.org>
1420
1421 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1422
1423 2012-11-04 Chong Yidong <cyd@gnu.org>
1424
1425 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1426 same-window-* variables.
1427
1428 2012-11-04 Juri Linkov <juri@jurta.org>
1429
1430 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1431 (isearch-describe-key, isearch-describe-mode): Use a display
1432 action instead of binding same-window-* variables (Bug#10040).
1433
1434 2012-11-03 Glenn Morris <rgm@gnu.org>
1435
1436 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1437 Rename handler properties back from cl-- to cl-. (Bug#12788)
1438
1439 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1440
1441 2012-11-03 Eli Zaretskii <eliz@gnu.org>
1442
1443 * term/pc-win.el: Don't load term/internal from here.
1444
1445 * loadup.el: Load term/internal from here.
1446
1447 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1448
1449 * progmodes/python.el (inferior-python-mode): Fix hang in
1450 jit-lock (Bug#12645).
1451
1452 2012-11-03 Martin Rudalics <rudalics@gmx.at>
1453
1454 * window.el (switch-to-visible-buffer)
1455 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1456
1457 2012-11-03 Glenn Morris <rgm@gnu.org>
1458
1459 * emacs-lisp/cl-lib.el (cl--random-time):
1460 Rename from cl-random-time. (Bug#12773)
1461 (cl--gensym-counter, cl--random-state): Update callers.
1462 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1463
1464 2012-11-03 Chong Yidong <cyd@gnu.org>
1465
1466 * cus-start.el: Make cursor-type customizable (Bug#11633).
1467
1468 2012-11-02 Glenn Morris <rgm@gnu.org>
1469
1470 * filecache.el: No need to load find-lisp when compiling.
1471 (find-lisp-find-files): Autoload it.
1472 (file-cache-add-directory-recursively): Don't require find-lisp.
1473
1474 * image.el (image-type-from-file-name): Trivial simplification.
1475
1476 * emacs-lisp/bytecomp.el (byte-compile-eval):
1477 Decouple "noruntime" and "cl-functions" warnings.
1478
1479 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
1480
1481 * play/gomoku.el (gomoku-display-statistics): Update mode line
1482 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1483
1484 2012-10-31 Martin Rudalics <rudalics@gmx.at>
1485
1486 * window.el (quit-restore-window): If the window has been
1487 created on an existing frame and ended up as the sole window on
1488 that frame, do not delete it (Bug#12764).
1489
1490 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1491
1492 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1493 Rename from sh--inside-arithmetic-expression, handle more cases
1494 (bug#11263).
1495
1496 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1497 (sh-font-lock-open-heredoc): Use it (bug#12770).
1498
1499 2012-10-30 Glenn Morris <rgm@gnu.org>
1500
1501 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1502
1503 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1504
1505 2012-10-29 Chong Yidong <cyd@gnu.org>
1506
1507 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1508 function key is stored in a keyboard macro (Bug#4894).
1509
1510 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1511
1512 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1513
1514 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1515 header comments".
1516 (diff-unified->context, diff-context->unified)
1517 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1518
1519 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1520
1521 * files.el (find-alternate-file): Only ask one question (bug#12487).
1522
1523 2012-10-29 Chong Yidong <cyd@gnu.org>
1524
1525 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1526 Suggested by Dan Nicolaescu (Bug#6326).
1527
1528 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1529
1530 * startup.el (fancy-about-screen): Don't message (Bug#12680).
1531
1532 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1533
1534 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1535
1536 * face-remap.el (face-remap-add-relative): Handle the case where a
1537 face-remapping-alist entry is a cons cell (Bug#12762).
1538
1539 2012-10-29 Kevin Ryde <user42@zip.com.au>
1540
1541 * woman.el (woman-parse-numeric-value): Handle picas correctly
1542 (Bug#12639).
1543
1544 2012-10-29 Glenn Morris <rgm@gnu.org>
1545
1546 * emacs-lisp/cl.el (defsetf): Doc fix.
1547
1548 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1551 syntax to the matching opener, if any (bug#12547).
1552 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1553 matching open as a "case-(".
1554 (sh-smie-rc-grammar): Add a corresponding rule for it.
1555
1556 2012-10-28 Daniel Hackney <dan@haxney.org>
1557
1558 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1559 "PKGNAME-autoloads.el" in case we created it.
1560
1561 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1564 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1565 (completion--twq-all): Disable too-strict assertions.
1566
1567 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1568
1569 2012-10-27 Eli Zaretskii <eliz@gnu.org>
1570
1571 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1572 text to match the real keybindings.
1573
1574 2012-10-27 Juri Linkov <juri@jurta.org>
1575
1576 * wdired.el (wdired-keep-marker-rename): New defcustom.
1577 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1578 (Bug#11795)
1579
1580 * dired.el (dired-keep-marker-rename): Add reference to
1581 `wdired-keep-marker-rename' in the docstring.
1582 Add default character value ?R to display initially in
1583 Customization UI instead of ?@.
1584
1585 2012-10-27 Martin Rudalics <rudalics@gmx.at>
1586
1587 * window.el (display-buffer): In doc-string describe
1588 window-height and window-width alist entries.
1589
1590 * time.el (display-time-world): Restore fit-window-to-buffer
1591 behavior.
1592
1593 2012-10-27 Chong Yidong <cyd@gnu.org>
1594
1595 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1596
1597 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
1598
1599 * minibuffer.el (completion-category-overrides): New completion
1600 category `bookmark' (bug#11131).
1601
1602 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1603
1604 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1605 Silence bogus compiler warnings for ad-do-it.
1606
1607 * bookmark.el (bookmark-completing-read): Set the completion category
1608 to `bookmark' (bug#11131).
1609
1610 2012-10-26 Bastien <bzg@altern.org>
1611 Stefan Monnier <monnier@iro.umontreal.ca>
1612
1613 * face-remap.el: Use lexical-binding.
1614 (text-scale-adjust): Improve docstring. Use itself for the temporary
1615 overlay-map bindings, so as to repeat the "Use..." message each time.
1616
1617 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1618
1619 * emacs-lisp/macroexp.el (macroexp--expand-all):
1620 Obey byte-compile-warning-enabled-p (bug#12486).
1621
1622 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1623 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1624
1625 2012-10-26 Martin Rudalics <rudalics@gmx.at>
1626
1627 * mouse.el (mouse-drag-line): Move last form into preceding when
1628 clause (Bug#12731).
1629
1630 * help.el (resize-temp-buffer-window): Fix doc-string.
1631
1632 2012-10-25 David Engster <deng@randomsample.de>
1633
1634 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1635 Remove. This feature is already integrated in imenu.
1636
1637 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1638 always loaded. Require `speedbar' unconditionally.
1639
1640 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1641
1642 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1643
1644 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1645
1646 * net/ldap.el (ldap-search-internal): The official ldif format starts
1647 with a "version: 1" header (bug#12724).
1648
1649 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1650 (bug#12721).
1651
1652 2012-10-25 Glenn Morris <rgm@gnu.org>
1653
1654 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1655
1656 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1657
1658 * minibuffer.el (minibuffer-force-complete): Use one more marker
1659 for the temporary-overlay-map command (bug#12619).
1660
1661 2012-10-24 Chong Yidong <cyd@gnu.org>
1662
1663 * time.el (display-time-world-mode): Derive from special-mode.
1664 (display-time-world): Use display-buffer (Bug#12708).
1665 (display-time-world-mode-map): Variable deleted.
1666 (display-time-world-display): Wrap the final delete-char inside
1667 inhibit-read-only.
1668
1669 2012-10-24 Chong Yidong <cyd@gnu.org>
1670
1671 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1672 Doc fix.
1673
1674 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1675
1676 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1677
1678 * minibuffer.el (completion--all-sorted-completions-location): New var.
1679 (completion--cache-all-sorted-completions)
1680 (completion--flush-all-sorted-completions): Use it.
1681 (completion-in-region, completion-in-region--postch)
1682 (completion-at-point, completion-help-at-point): Use markers in
1683 completion-in-region--data (bug#12619).
1684
1685 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * progmodes/compile.el (compilation-start): Try to handle common
1688 quoting of `cd' argument (bug#12640).
1689
1690 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1691 (bug#12671).
1692
1693 2012-10-23 Glenn Morris <rgm@gnu.org>
1694
1695 * progmodes/gud.el (gud-menu-map):
1696 Check gdb-active-process is bound. (Bug#12358)
1697
1698 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1699
1700 * repeat.el (repeat): Set real-this-command (bug#12232).
1701
1702 * htmlfontify.el (hfy-post-html-hook):
1703 * filesets.el (filesets-cache-fill-content-hook):
1704 * arc-mode.el (archive-extract-hook):
1705 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1706 * net/rcirc.el (rcirc-sentinel-functions)
1707 (rcirc-receive-message-functions, rcirc-activity-functions)
1708 (rcirc-print-functions):
1709 * net/dbus.el (dbus-event-error-functions):
1710 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1711 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1712 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1713 * term/sun.el (sun-raw-prefix-hooks):
1714 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1715
1716 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
1717
1718 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1719 Set `tramp-chunksize' to 1. This improves the performance.
1720 (tramp-smb-wait-for-output): Add timeout to
1721 `tramp-accept-process-output' calls.
1722
1723 2012-10-23 Chong Yidong <cyd@gnu.org>
1724
1725 * faces.el (font-list-limit): Define as an obsolete variable.
1726
1727 * startup.el (command-line):
1728 * cus-start.el: Don't refer to font-list-limit.
1729
1730 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1731
1732 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * subr.el (internal-temp-output-buffer-show): Rename from
1735 temp-output-buffer-show, since previously compiled files expect this name.
1736
1737 2012-10-23 Glenn Morris <rgm@gnu.org>
1738
1739 * image.el (image-type-from-file-name): If multiple types match,
1740 return the first one that is supported. (Bug#9045)
1741
1742 2012-10-22 Glenn Morris <rgm@gnu.org>
1743
1744 * image.el (imagemagick-enabled-types): Doc fix.
1745
1746 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1747
1748 * progmodes/which-func.el (which-func-current): The hash-table may have
1749 an explicit nil (bug#12338).
1750
1751 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * electric.el (electric-pair-delete-selection-self-insert-function):
1754 Rename to electric-pair-will-use-region, return a boolean.
1755 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1756
1757 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1758 (delete-selection-pre-hook): Use use-region-p.
1759 (delete-selection-self-insert-function): Remove.
1760 (self-insert-command): Obey self-insert-uses-region-functions.
1761 (self-insert-iso): Revert to previous setting, since we don't actually
1762 know what that command does.
1763 (delete-selection-self-insert-hooks): Remove.
1764
1765 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1766
1767 * delsel.el (delete-selection-helper): New function, extracted from
1768 delete-selection-pre-hook.
1769 (delete-selection-pre-hook): Use it.
1770 (delete-selection-self-insert-function): New function.
1771 (delete-selection-self-insert-hooks): New hook.
1772 (self-insert-command, self-insert-iso): Use it.
1773 * electric.el (electric-pair-syntax): New function, extracted from
1774 electric-pair-post-self-insert-function.
1775 (electric-pair-post-self-insert-function): Use it.
1776 (electric-pair-delete-selection-self-insert-function): New function.
1777 (electric-pair-mode): Require delsel and setup
1778 delete-selection-self-insert-hooks (bug#11520).
1779
1780 2012-10-20 Chong Yidong <cyd@gnu.org>
1781
1782 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1783 no changes to show (Bug#12586).
1784
1785 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1786 list explicitly (Bug#12571).
1787
1788 2012-10-20 Arne Jørgensen <arne@arnested.dk>
1789
1790 * progmodes/flymake.el (flymake-create-temp-inplace):
1791 Use file-truename.
1792
1793 2012-10-20 Eli Zaretskii <eliz@gnu.org>
1794
1795 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1796
1797 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1798
1799 * calc/calc-units.el (math-extract-units): Properly extract powers
1800 of units.
1801
1802 2012-10-20 Daniel Colascione <dancol@dancol.org>
1803
1804 * frame.el (make-frame): Set x-display-name as we used to in order
1805 to unbreak creating an X11 frame from an Emacs daemon started
1806 without a display.
1807
1808 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1809
1810 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1811 the same completion-field (bug#12221).
1812
1813 2012-10-19 Martin Rudalics <rudalics@gmx.at>
1814
1815 * emacs-lisp/debug.el (debug): Record height of debugger window
1816 also when debugger will be back (Bug#8789).
1817
1818 2012-10-18 Chong Yidong <cyd@gnu.org>
1819
1820 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1821 Convert to defcustom.
1822 (gdb-get-source-file): Don't bind pop-up-windows.
1823
1824 * progmodes/gud.el (gud-display-line): Don't specially re-use
1825 other frames for the gdb-mi case (Bug#12648).
1826
1827 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1828
1829 * emacs-lisp/advice.el: Clean up commentary a bit.
1830 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1831 (byte-code-function-p): Never redefine.
1832
1833 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1834
1835 2012-10-18 Glenn Morris <rgm@gnu.org>
1836
1837 * dired.el (dired-sort-toggle): Some ls implementations only allow
1838 a single option string. (Bug#12666)
1839
1840 * minibuffer.el (completion-cycle-threshold): Doc fix.
1841
1842 2012-10-17 Kenichi Handa <handa@gnu.org>
1843
1844 * international/mule.el (set-keyboard-coding-system):
1845 Recover input meta mode when the new coding system doesn not use 8-bit.
1846 Supply TERMINAL arg to set-input-meta-mode.
1847
1848 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1849
1850 * wdired.el (wdired-old-marks): New variable.
1851 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1852 (wdired-do-renames): Move point with renamed file and don't lose
1853 mark status (Bug#11795).
1854
1855 2012-10-16 Juri Linkov <juri@jurta.org>
1856
1857 * replace.el (query-replace-help): Mention multi-buffer replacement
1858 keys in the Help message. (Bug#12655)
1859
1860 2012-10-15 Chong Yidong <cyd@gnu.org>
1861
1862 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1863
1864 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1865
1866 * window.el (display-buffer): Doc fix.
1867
1868 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1869 Adjust the msft regexp to the output of Studio 2010, and move msft
1870 before edg-1. See the discussion on emacs-devel,
1871 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1872 for the details.
1873
1874 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1875
1876 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1877 (oset): Move uses of object-class-fast macro after its definition.
1878
1879 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1880
1881 2012-10-13 Chong Yidong <cyd@gnu.org>
1882
1883 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1884 enabled, re-enable it (Bug#11963).
1885
1886 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1887
1888 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1889 non-nil, restore window configuration (Bug#12623).
1890
1891 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * help-fns.el (describe-variable, describe-function-1):
1894 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1895
1896 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1897
1898 2012-10-12 Glenn Morris <rgm@gnu.org>
1899
1900 * mail/rmailsum.el (rmail-header-summary):
1901 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1902
1903 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1904
1905 * progmodes/python.el (python-mode-map):
1906 Replace subtitute-key-definition with proper command remapping.
1907 (python-nav--up-list): Fix behavior for blocks on the same level.
1908
1909 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1912
1913 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1914 changes to the format of load-history.
1915
1916 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1917 completion-ignore-case in case that var is buffer-local (bug#12615).
1918
1919 2012-10-11 Kenichi Handa <handa@gnu.org>
1920
1921 * international/eucjp-ms.el: Re-generated.
1922
1923 2012-10-10 Kenichi Handa <handa@gnu.org>
1924
1925 * select.el (xselect--encode-string): If a coding is specified for
1926 selection, and that is compatible with COMPOUND_TEXT, use it.
1927
1928 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1929
1930 * window.el (switch-to-buffer-preserve-window-point): New option.
1931 (switch-to-buffer):
1932 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1933
1934 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1935
1936 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1937 Don't document nil as a useful value (bug#12583).
1938
1939 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1940
1941 * net/tramp.el (tramp-debug-message):
1942 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1943 (with-tramp-progress-reporter): Rename from
1944 `tramp-with-progress-reporter'.
1945 (with-tramp-file-property, with-tramp-connection-property):
1946 Move from tramp-cache.el, rename from `with-file-property' and
1947 `with-connection-property', respectively.
1948
1949 * net/tramp-cache.el: Remove `with-file-property' and
1950 `with-connection-property'.
1951
1952 * net/tramp.el:
1953 * net/tramp-gvfs.el:
1954 * net/tramp-sh.el:
1955 * net/tramp-smb.el: Adapt callees.
1956
1957 * net/trampver.el: Update release number.
1958
1959 2012-10-09 Glenn Morris <rgm@gnu.org>
1960
1961 * w32-fns.el (set-message-beep):
1962 * term/w32-win.el (set-message-beep): Update declarations.
1963
1964 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1967 (mode-line-widen, mode-line-input-method-map)
1968 (mode-line-coding-system-map, mode-line-remote)
1969 (mode-line-unbury-buffer, mode-line-bury-buffer)
1970 (mode-line-next-buffer, mode-line-previous-buffer):
1971 Replace save-selected-window+select-window => with-selected-window.
1972
1973 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1974 * progmodes/cc-vars.el (bq-process): Remove, unused.
1975
1976 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1977
1978 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1979
1980 Implemented `backward-up-list'-like navigation.
1981 * progmodes/python.el (python-nav-up-list)
1982 (python-nav-backward-up-list): New functions.
1983 (python-mode-map): Define substitute key for backward-up-list to
1984 python-nav-backward-up-list.
1985
1986 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1987
1988 * progmodes/python.el (python-fill-paragraph): Rename from
1989 python-fill-paragraph-function. Fixed fill-paragraph for
1990 decorators (Bug#12605).
1991
1992 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1993
1994 * progmodes/python.el (python-shell-output-filter): Handle extra
1995 carriage return in OSX (Bug#12409).
1996
1997 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1998
1999 Fix shell handling of unbalanced quotes and parens in output.
2000 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
2001 (python-syntax-propertize-function): Use it.
2002 (python-shell-output-syntax-table): New var.
2003 (inferior-python-mode): Prevent unbalanced parens/quotes from
2004 previous output mess with current input context.
2005
2006 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
2007
2008 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2009 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2010
2011 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
2012
2013 * ffap.el (ffap-replace-file-component): Support Tramp file name
2014 syntax, not only ange-ftp's one.
2015
2016 2012-10-08 Glenn Morris <rgm@gnu.org>
2017
2018 * cus-start.el (message-log-max): Set :version.
2019
2020 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2021
2022 2012-10-08 Martin Rudalics <rudalics@gmx.at>
2023
2024 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2025 the minibuffer window (Bug#10851).
2026
2027 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2028
2029 Enhancements on forward-sexp movement.
2030 * progmodes/python.el (python-nav-beginning-of-statement)
2031 (python-nav-end-of-statement): Return point-marker.
2032 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2033 (python-info-current-symbol)
2034 (python-info-statement-starts-block-p): Rename from
2035 python-info-beginning-of-block-p.
2036 (python-info-statement-ends-block-p): Rename from
2037 python-info-end-of-block-p.
2038 (python-info-beginning-of-statement-p)
2039 (python-info-end-of-statement-p)
2040 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2041 New functions.
2042
2043 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2044
2045 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2046 frame-selected-windows.
2047
2048 2012-10-08 Daniel Colascione <dancol@dancol.org>
2049
2050 * battery.el (battery-status-function): Check for
2051 w32-battery-status itself, not system-time windows-nt.
2052
2053 * frame.el: Require cl-lib.
2054 (display-format-alist): New variable mapping frame types to
2055 functions that initialize them.
2056 (window-system-for-display): New function: interprets
2057 display-format-alist.
2058 (make-frame-on-display): Remove existing display-selection logic
2059 and just forward to make-frame, which will now DTRT.
2060 (make-frame): Restructure to use window-system-for-display to
2061 figure out how to create a frame on a given display.
2062 (display-mouse-p): Look for frame-type w32, not a particular
2063 system-type.
2064
2065 * loadup.el: Load w32 lisp code when we have the w32 feature.
2066
2067 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2068 system-type windows-nt.
2069
2070 * server.el (server-create-window-system-frame): Look for window
2071 type.
2072 (server-proces-filter): Only force a window system when windows-nt
2073 _and_ w32. Explain why.
2074
2075 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2076 of window systems we configure for the mode.
2077
2078 * startup.el (command-line): Mark window system is initialized
2079 after we've done it.
2080
2081 * common-win.el (x-select-text): Look for w32, not windows-nt.
2082
2083 * ns-win.el: Require cl-lib. Add ourselves to
2084 display-format-alist.
2085 (ns-initialize-window-system): Assert we're not initialized twice.
2086
2087 * w32-win.el: Enable lexical binding; require cl-lib; add
2088 ourselves to display-format-alist.
2089 (w32-handle-dropped-file): Convert incoming dropped files from
2090 Windows paths to Cygwin ones before passing them on to the rest of
2091 Emacs.
2092 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2093 (w32-initialize-window-system): Assert we're not initialized twice.
2094
2095 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2096 (x-initialize-window-system): Assert we're not initialized twice.
2097
2098 * w32-common-fns.el: New File.
2099 (w32-version, w32-using-nt, w32-get-clipboard-data)
2100 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2101 (w32-charset-info-alist, x-last-selected, text)
2102 (x-get-selection-value, x-selection-value): Move here.
2103
2104 * w32-fns.el: Require w32-common-fns.
2105 (w32-version, w32-using-nt, w32-get-clipboard-data)
2106 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2107 (w32-charset-info-alist, x-last-selected, text)
2108 (x-get-selection-value, x-selection-value): Move to
2109 w32-common-fns.
2110
2111 * w32-vars.el:
2112 (w32-allow-system-shell, w32-system-shells): Define only in
2113 non-cygwin case.
2114
2115 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2118 (read-passwd): Remove a few more potential sources of leaks.
2119
2120 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2121
2122 * progmodes/python.el (inferior-python-mode)
2123 (python-shell-make-comint): Fix initialization of local
2124 variables copied from parent buffer.
2125
2126 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2127
2128 * term/ns-win.el (ns-read-file-name): Update declaration to match
2129 nsfns.m.
2130 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2131 it is set when font is acted upon.
2132
2133 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2134
2135 Enhancements to indentation.
2136 * progmodes/python.el (python-indent-context): Give priority to
2137 inside-string context. Make comments indentation markers.
2138 (python-indent-region): Do not mess with strings, unless it's the
2139 enclosing set of quotes.
2140
2141 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * window.el (internal--before-save-selected-window)
2144 (internal--after-save-selected-window): New functions extracted from
2145 save-selected-window. Make sure we return the `alist' we construct.
2146 (save-selected-window): Use them.
2147
2148 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2149 Use with-selected-window.
2150
2151 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2152 forms that define macros (bug#12593).
2153
2154 2012-10-07 Kenichi Handa <handa@gnu.org>
2155
2156 * international/mule-conf.el (compound-text-with-extensions):
2157 Add :mime-charset property as x-ctext.
2158
2159 2012-10-07 Stefan Merten <smerten@oekonux.de>
2160
2161 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2162 (rst-indent-literal-normal, rst-indent-literal-minimized)
2163 (rst-indent-comment): Correct :version tag.
2164 (rst-official-cvs-rev): Correct version string.
2165
2166 2012-10-07 Glenn Morris <rgm@gnu.org>
2167
2168 * mail/rmailmm.el (rmail-mime-process-multipart):
2169 Do not confuse a multipart message with an epilogue
2170 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2171
2172 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2173
2174 Fix shell output retrieval and comint-prompt-regexp init.
2175 * progmodes/python.el (inferior-python-mode):
2176 (python-shell-make-comint): Fix initialization of
2177 comint-prompt-regexp from copied file local variables.
2178 (python-shell-fetched-lines): Remove var.
2179 (python-shell-output-filter-in-progress): Rename from
2180 python-shell-fetch-lines-in-progress.
2181 (python-shell-output-filter-buffer): Rename from
2182 python-shell-fetch-lines-string.
2183 (python-shell-fetch-lines-filter): Delete function.
2184 (python-shell-output-filter): New function.
2185 (python-shell-send-string-no-output): Use them.
2186
2187 2012-10-07 Glenn Morris <rgm@gnu.org>
2188
2189 * hi-lock.el (hi-lock-process-phrase):
2190 Try to make it less fragile. (Bug#7161)
2191
2192 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2193
2194 2012-10-06 Glenn Morris <rgm@gnu.org>
2195
2196 * ehelp.el (electric-help-mode): Use help-mode rather than
2197 non-existent mode `help'.
2198 (electric-help-map): Use button-buffer-map. (Bug#10917)
2199
2200 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2201 (reftex-create-bibtex-footer): Fix custom types.
2202
2203 * progmodes/sh-script.el (sh-indent-after-continuation):
2204 Add explicit :group.
2205
2206 * textmodes/rst.el (rst-preferred-decorations)
2207 (rst-shift-basic-offset): Clarify obsolescence versions.
2208
2209 * profiler.el (profiler): Add missing group :version tag.
2210 * avoid.el (mouse-avoidance-banish-position):
2211 * proced.el (proced-renice-command):
2212 * calc/calc.el (calc-ensure-consistent-units):
2213 * calendar/icalendar.el (icalendar-import-format-uid):
2214 * net/tramp.el (tramp-save-ad-hoc-proxies):
2215 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2216 * progmodes/flymake.el (flymake-error-bitmap)
2217 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2218 * progmodes/sh-script.el (sh-indent-after-continuation):
2219 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2220 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2221 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2222 (vhdl-array-index-record-field-in-sensitivity-list)
2223 (vhdl-indent-comment-like-next-code-line):
2224 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2225 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2226 (reftex-cite-key-separator, reftex-create-bibtex-header)
2227 (reftex-create-bibtex-footer):
2228 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2229 (rst-indent-literal-normal, rst-indent-literal-minimized)
2230 (rst-indent-comment): Add missing custom :version tags.
2231
2232 * calendar/timeclock.el (timeclock-modeline-display):
2233 Add missing obsolete alias for renamed user option.
2234
2235 * strokes.el (strokes-modeline-string):
2236 * emulation/crisp.el (crisp-mode-modeline-string):
2237 * eshell/esh-mode.el (eshell-status-in-modeline):
2238 Aliases to defcustoms must come before the defcustom.
2239
2240 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2241 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2242 (cal-tex-cursor-week-monday): Doc fixes.
2243 (cal-tex-cursor-week2-summary): Doc fix.
2244 Rename from cal-tex-cursor-week-at-a-glance.
2245
2246 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2247 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2248
2249 * calendar/calendar.el (calendar-mode-map):
2250 Add cal-tex-cursor-week2-summary.
2251
2252 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2253
2254 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2255
2256 * subr.el (read-passwd-map): New var.
2257 (read-passwd): Use `read-string' again.
2258 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2259
2260 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
2261
2262 * register.el (append-to-register, prepend-to-register):
2263 Deactivate mark, as does `copy-to-register' (bug#12389).
2264
2265 2012-10-06 Chong Yidong <cyd@gnu.org>
2266
2267 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2268
2269 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2270
2271 * international/characters.el: Fix simple mistake ((car chars) ->
2272 elt), delete duplicated code.
2273
2274 2012-10-06 Glenn Morris <rgm@gnu.org>
2275
2276 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2277
2278 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2279
2280 * color.el (color-hsl-to-rgb): Fix incorrect results for
2281 small and large hue values. (Bug#12559)
2282
2283 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2284
2285 Enhancements to docstring formatting when filling paragraphs.
2286 * progmodes/python.el (python-fill-docstring-style): Rename from
2287 python-fill-string-style. Added new style.
2288 (python-fill-string): Use new style. Better checks for
2289 docstrings.
2290
2291 2012-10-05 Glenn Morris <rgm@gnu.org>
2292
2293 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2294
2295 * color.el (color-name-to-rgb, color-rgb-to-hex)
2296 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2297 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2298 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2299 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2300
2301 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2302
2303 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
2304
2305 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2306 to get the correct size across symlinks.
2307
2308 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2309
2310 2012-10-04 Juri Linkov <juri@jurta.org>
2311
2312 * replace.el (query-replace-interactive): Declare obsolete.
2313 (query-replace-read-from): Add the last incremental search string
2314 to the list of default values accessible via M-n.
2315 (map-query-replace-regexp): Use `read-regexp'.
2316 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2317 (map-query-replace-regexp, replace-string, replace-regexp):
2318 Fix docstrings to replace mentions of `query-replace-interactive'
2319 with alternatives. (Bug#12526)
2320
2321 2012-10-04 Juri Linkov <juri@jurta.org>
2322
2323 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2324 (dired-pop-to-buffer): Declare obsolete.
2325 (dired-mark-pop-up): Doc fix.
2326
2327 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2328
2329 Allow user to set docstring style for fill-paragraph.
2330 * progmodes/python.el
2331 (python-fill-comment-function, python-fill-string-function)
2332 (python-fill-decorator-function, python-fill-paren-function):
2333 Remove :safe for defcustoms.
2334 (python-fill-string-style): New defcustom
2335 (python-fill-paragraph-function): Enhance context detection.
2336 (python-fill-string): Honor python-fill-string-style settings.
2337
2338 2012-10-04 Martin Rudalics <rudalics@gmx.at>
2339
2340 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2341 after setting its buffer (Bug#10805).
2342
2343 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2344
2345 Fix cornercase for string syntax.
2346 * progmodes/python.el (python-syntax-propertize-function):
2347 Simplify and enhance the regexp for unescaped quotes. Now it also
2348 matches quotes in weird situations like the single quote in
2349 "something\"'".
2350 (python-syntax-stringify): Simplify num-quotes detecting code.
2351
2352 2012-10-03 Glenn Morris <rgm@gnu.org>
2353
2354 * help-macro.el (three-step-help):
2355 Revert 2012-09-29 change. (Bug#12567)
2356
2357 2012-10-03 Martin Rudalics <rudalics@gmx.at>
2358
2359 * menu-bar.el (kill-this-buffer): Don't do anything when
2360 `menu-frame' is not alive or visible (Bug#8184).
2361
2362 * emacs-lisp/debug.el (debug): When quitting the debugger window
2363 restore current buffer (Bug#12502).
2364
2365 2012-10-02 Chong Yidong <cyd@gnu.org>
2366
2367 * progmodes/hideif.el (hif-lookup, hif-defined):
2368 Handle semantic-c-takeover-hideif.
2369
2370 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2371
2372 Change sampling interval units from ms to ns.
2373 * profiler.el (profiler-sampling-interval): Change units
2374 from ms to ns, multiplying the default by 1000000 so that
2375 it remains 1 ms.
2376 (profiler-report-cpu-line-format): Give enough room for
2377 the maximum counters on 64-bit hosts.
2378 (profiler-report-render-calltree-1): Call them "CPU samples",
2379 not "Time (ms)", since they are not milliseconds now (and
2380 never really were).
2381
2382 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2383
2384 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2385 Fix querying BBDB for entries without a last name (Bug#11580).
2386
2387 2012-10-02 Chong Yidong <cyd@gnu.org>
2388
2389 * emacs-lisp/eieio.el: Restore Version header.
2390
2391 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2392
2393 * vc/diff-mode.el (diff--auto-refine-data): New var.
2394 (diff-hunk): Use it to delay refinement.
2395 (diff-mode): Remove overlays when we turn off font-lock.
2396
2397 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2398 (table-initialize-table-fixed-width-mode)
2399 (table-set-table-fixed-width-mode): Remove functions.
2400 (table-command-list): Move initialization into declaration.
2401 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2402 (table-with-cache-buffer): Use `declare'.
2403 (table-span-cell): Simplify via CSE.
2404 (table-fixed-width-mode): Use define-minor-mode.
2405 (table-call-interactively, table-funcall, table-apply): Remove.
2406 (table-function): New function, to replace them.
2407
2408 * bookmark.el (bookmark-search-pattern): Remove var.
2409 (bookmark-read-search-input): Remove function.
2410 (bookmark-bmenu-search): Reimplement using a minibuffer.
2411
2412 * faces.el (modeline): Remove obsolete face name.
2413
2414 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2415 and give a non-nil default value.
2416 (add-change-log-entry): Simplify accordingly.
2417
2418 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2419
2420 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2421 (vc-git-log-edit-toggle-amend): New function.
2422 (vc-git-log-edit-toggle-signoff): New function.
2423 (vc-git-log-edit-mode): New major mode.
2424 (vc-git-log-edit-mode-map): Keymap for it.
2425 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2426
2427 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2428 header names.
2429 (log-edit-toggle-header): New function.
2430 (log-edit-extract-headers): Accept function values in HEADERS alist.
2431
2432 2012-10-01 David Engster <deng@randomsample.de>
2433
2434 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2435 from symbol property and change message to be more consistent with
2436 Emacs proper.
2437 (eieio-describe-generic): Add filename for each implementation.
2438 Fix indices for generic and normal methods.
2439 (eieio-method-def, eieio-class-def): New buttons.
2440 (eieio-help-find-method-definition)
2441 (eieio-help-find-class-definition): New functions.
2442 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2443 class, constructor and method definitions.
2444
2445 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2446 information in symbol property.
2447 (scoped-class): Remove.
2448 (eieio-slot-name-index, call-next-method): Check if it is bound.
2449
2450 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
2451
2452 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2453 (eieio-custom-mode): New major mode.
2454 (eieio-customize-object): Use it.
2455
2456 2012-10-01 Eric Ludlam <zappo@gnu.org>
2457
2458 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2459 specifying the expected class, and whether subclassing is allowed.
2460 (eieio-persistent-convert-list-to-object):
2461 (eieio-persistent-validate/fix-slot-value)
2462 (eieio-persistent-slot-type-is-class-p): New functions.
2463 (eieio-named::slot-missing): Doc fix.
2464
2465 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2466 Stop using unused publd variable.
2467
2468 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2469 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2470 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2471 (eieio-speedbar-handle-click): Do not specify a class for the
2472 method. Fixes method invocation order problems with EDE.
2473
2474 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2475
2476 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2477 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2478
2479 2012-10-01 Karl Fogel <kfogel@red-bean.com>
2480
2481 * bookmark.el (bookmark-version-control): Give tags in the
2482 :type choices (Bug#12309), and improve doc string.
2483 (bookmark-write-file): Bind `print-circle' to `t' to allow
2484 circular custom bookmark types. (Bug#12503)
2485
2486 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2487
2488 Revert the FOLLOW-SYMLINKS change for file-attributes.
2489 * files.el (remote-file-name-inhibit-cache, after-find-file):
2490 * time.el (display-time-file-nonempty-p): Undo last change.
2491
2492 * profiler.el (profiler-sampling-interval): Change default back to 1.
2493 See Stefan Monnier in
2494 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2495
2496 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2497
2498 Shell output catching a la gud-gdb.
2499 * progmodes/python.el (python-shell-fetch-lines-in-progress)
2500 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2501 New Vars.
2502 (python-shell-fetch-lines-filter): New function.
2503 (python-shell-send-string-no-output): Use them.
2504
2505 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2506
2507 * profiler.el (profiler-sampling-interval): Rename from
2508 profiler-sample-interval.
2509 (profiler-sampling-interval): Default to 10.
2510 (profiler-find-profile): New command (was profiler-find-log).
2511 (profiler-find-profile-other-window): New command.
2512 (profiler-find-profile-other-frame): New command.
2513 (profiler-profile): Introduce API-level data structure.
2514
2515 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2516
2517 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2518 * files.el (remote-file-name-inhibit-cache):
2519 * time.el (display-time-file-nonempty-p): Use it.
2520 * files.el (after-find-file): Don't chase links before calling
2521 file-exists-p, as file-exists-p already does the right thing.
2522
2523 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
2524
2525 Merge from standalone RefTeX repository.
2526
2527 The following ChangeLog entries are shortened versions of the
2528 original ones with file paths adapted. A not so strongly edited
2529 version of the original ChangeLog can be found in the commit log.
2530
2531 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2532 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2533 Correctly handle new value type returned by `reftex-citation'.
2534
2535 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2536 that entries with whitespace at various places are found.
2537 Doc fix. Include entries that are cross-referenced from cited entries.
2538 Include @String definitions in the resulting bib file. Add header
2539 and footer defined in `reftex-create-bibtex-header' and
2540 `reftex-create-bibtex-footer'.
2541 (reftex-do-citation): Make it possible again to insert
2542 non-existent entries. Save match data when asking for optional
2543 arguments. Return all keys, not just the first one.
2544 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2545 all citations in the same line.
2546 (reftex-parse-bibtex-entry): Accept additional optional argument
2547 `raw' and keep quotes or braces if it is non-nil. Match fields
2548 containing hyphens besides word constituents.
2549 (reftex-get-string-refs): New function.
2550 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2551 and ask if it should be reread in case it did.
2552 (reftex-pop-to-bibtex-entry)
2553 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2554 entries with spaces or tabs in front of arguments.
2555 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2556 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2557 Match entries containing numbers and symbol constituents.
2558 (reftex-do-citation, reftex-figure-out-cite-format):
2559 Use `reftex-cite-key-separator'.
2560
2561 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2562 (reftex-mouse-view-crossref): Explain why point is set.
2563
2564 * textmodes/reftex-global.el: Whitespace changes.
2565
2566 * textmodes/reftex-index.el: Move provide statement to end of
2567 file.
2568 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2569 (reftex-index-visit-phrases-buffer): Set marker when visiting
2570 buffer. This allows for returning from the phrases file to the
2571 file one was just editing instead of the file where the last
2572 phrases was added from.
2573 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2574 punctuation syntax as it usually is not used as string quote in
2575 TeX-related modes and may occur unmatched. The change also
2576 prevents fontification of quoted content.
2577 (reftex-index-phrases-mode): Use it.
2578
2579 * textmodes/reftex-parse.el (reftex-parse-from-file):
2580 Move backward one char if a `\' was matched after a section macro.
2581 (reftex-parse-from-file): Use beginning of match instead of end as
2582 bound.
2583
2584 * textmodes/reftex-ref.el: Adapt creation of
2585 `reftex-<package>-<macro>' functions to new structure of
2586 `reftex-ref-style-alist'.
2587 (reftex-reference): Use `reftex-ref-style-list' function.
2588 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
2589 reference macro if `reftex-ref-macro-prompt' is non-nil.
2590 (reftex-reference): Pass refstyle to `reftex-format-special'.
2591 Determine reference macro by looking at
2592 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2593 Use only one special format function.
2594 (reftex-varioref-vref, reftex-fancyref-fref)
2595 (reftex-fancyref-Fref): Remove definitions. The functions are now
2596 generated from `reftex-ref-style-alist'.
2597 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2598 Remove.
2599 (reftex-format-special): New function.
2600
2601 * textmodes/reftex-sel.el
2602 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2603 of `reftex-ref-style-alist'. Remove code for testing macro type.
2604 (reftex-select-toggle-varioref)
2605 (reftex-select-toggle-fancyref): Remove.
2606 (reftex-select-cycle-ref-style-internal)
2607 (reftex-select-cycle-ref-style-forward)
2608 (reftex-select-cycle-ref-style-backward): New functions.
2609 (reftex-select-label-map): Use `v' and `V' for general cycling
2610 through reference styles. Add `p' for switching between number
2611 and page reference types.
2612
2613 * textmodes/reftex-toc.el (reftex-re-enlarge):
2614 Call `enlarge-window' only if there is something to do because in Emacs
2615 the horizontal version throws an error even if the parameter is 0.
2616
2617 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2618 (reftex-plug-into-AUCTeX): Doc fix.
2619 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2620 string. Adapt to new name.
2621 (reftex-ref-style-alist): Change structure so that it is not
2622 possible to use multiple different package names within a style.
2623 Remove the symbols for symbols for macro type distinction.
2624 Add characters for macro selection.
2625 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2626 (reftex-create-bibtex-footer): New variables.
2627 (reftex-format-ref-function): Mention third argument of special
2628 format function.
2629 (reftex-ref-style-alist, reftex-ref-style-default-list):
2630 New variables.
2631 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2632 to new implementation. Mark as obsolete. Add compatibility code
2633 for honoring the variable values in case they are set.
2634 (reftex-cite-format-builtin, reftex-bibliography-commands):
2635 Add support for ConTeXt.
2636 (reftex-format-ref-function, reftex-format-cite-function):
2637 Fix custom type.
2638 (reftex-cite-key-separator): New variable.
2639
2640 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2641 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2642 `reftex-syntax-table' because parens have to retain their paren
2643 syntax in order for parsing of BibTeX entries like @book(...) to
2644 work.
2645 (reftex-in-comment): Do not error out if `comment-start-skip' is
2646 not set. Deal correctly with escaped comment characters.
2647 (reftex-tie-multifile-symbols): Add doc string.
2648 Initialize `reftex-ref-style-list'.
2649 (reftex-untie-multifile-symbols): Add doc string.
2650 (reftex-add-index-macros): Doc fix.
2651 (reftex-ref-style-activate, reftex-ref-style-toggle)
2652 (reftex-ref-style-list): New functions.
2653 (reftex-mode-menu): Use them. Adapt to new structure of
2654 `reftex-ref-style-alist'.
2655 (reftex-select-with-char): Kill the RefTeX Select buffer when
2656 done.
2657 (reftex-remove-if): New function.
2658 (reftex-erase-all-selection-and-index-buffers)
2659 (reftex-mode-menu): Reference styles are now computed from
2660 `reftex-ref-style-alist'. Fix typo.
2661 (reftex-report-bug): New function.
2662 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2663 algorithms with O(n log n). Introduce optional argument SORT (not
2664 yet used).
2665
2666 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2667
2668 Enhancements for triple-quote string syntax.
2669 * progmodes/python.el (python-syntax-propertize-function):
2670 Match both quote cases in one regexp.
2671 (python-syntax-stringify): Handle matches properly.
2672
2673 2012-09-30 Juri Linkov <juri@jurta.org>
2674
2675 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2676 to nil around the call to `insert' to prevent
2677 directory time modification by lock_file. (Bug#2295)
2678 * tar-mode.el (tar-summarize-buffer): Idem.
2679
2680 2012-09-30 Juri Linkov <juri@jurta.org>
2681
2682 * facemenu.el (list-colors-sort): Add option "Luminance".
2683 (list-colors-sort-key): Implement it.
2684
2685 * vc/diff-mode.el (diff-refine-removed):
2686 * vc/ediff-init.el (ediff-fine-diff-A):
2687 * vc/smerge-mode.el (smerge-refined-removed):
2688 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2689
2690 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2691
2692 * term/ns-win.el (x-file-dialog): New function.
2693
2694 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
2695
2696 * ido.el (ido-max-directory-size): Default to nil; the current
2697 default is small for POSIX systems, and impractical on Windows 7
2698 now that lstat returns directory sizes for NTFS.
2699
2700 2012-09-30 Martin Rudalics <rudalics@gmx.at>
2701
2702 In buffer display functions handle window-height/window-width
2703 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
2704 * window.el (window--display-buffer): New argument ALIST.
2705 Obey window-height and window-width alist entries.
2706 (window--try-to-split-window): New argument ALIST.
2707 Bind window-combination-limit to t when the window's size shall be
2708 changed and window-combination-limit equals `window-size'.
2709 (display-buffer-in-atom-window)
2710 (display-buffer-in-major-side-window)
2711 (display-buffer-in-side-window, display-buffer-same-window)
2712 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2713 (display-buffer-pop-up-window, display-buffer-below-selected)
2714 (display-buffer-at-bottom, display-buffer-in-previous-window)
2715 (display-buffer-use-some-window): Adjust all callers of
2716 window--display-buffer and window--try-to-split-window.
2717 (fit-frame-to-buffer): New option.
2718 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2719 is non-nil.
2720 (display-buffer-in-major-side-window): Evaluate window-height /
2721 window-width alist entries.
2722
2723 * help.el (temp-buffer-resize-frames)
2724 (temp-buffer-resize-regexps): Remove options.
2725 (temp-buffer-resize-mode): Adjust doc-string.
2726 (resize-temp-buffer-window): Don't consult
2727 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2728 temp-buffer-resize-frames.
2729
2730 * dired.el (dired-mark-pop-up):
2731 Call display-buffer-below-selected with a fit-window-to-buffer alist
2732 entry.
2733
2734 2012-09-30 Chong Yidong <cyd@gnu.org>
2735
2736 * server.el (server-host): Document the security implications.
2737 (server-auth-key): Doc fix.
2738
2739 * startup.el (initial-buffer-choice): Doc fix.
2740
2741 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2742
2743 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2744 restriction change.
2745
2746 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2747
2748 * help-fns.el (help-fns--obsolete): Fix last change.
2749
2750 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2751
2752 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2753 (minor-mode-map-alist): Remove redundant code.
2754
2755 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2756 visited in a buffer.
2757 (cvs-insert-visited-file): New function.
2758 (find-file-hook): Use it.
2759
2760 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2761
2762 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2763 chose face.
2764 (log-edit-empty-buffer-p): Don't require a space after a header.
2765
2766 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2767
2768 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2769
2770 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2771 a proper minor-mode.
2772
2773 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2774
2775 2012-09-29 Glenn Morris <rgm@gnu.org>
2776
2777 * winner.el (winner-mode): Remove variable (let define-minor-mode
2778 handle it).
2779 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2780 Doc fixes.
2781 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2782 (winner-mode): Use define-minor-mode.
2783
2784 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2785 the full definition in loaddefs, rather than duplicating it.
2786
2787 * help-macro.el (three-step-help): No need to autoload defcustom.
2788
2789 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2790 (inferior-lisp-program, inferior-lisp-load-command)
2791 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2792 No need to autoload defcustoms.
2793
2794 * hippie-exp.el (hippie-expand-try-functions-list)
2795 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2796 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2797 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2798 (hippie-expand-only-buffers): No need to autoload defcustoms.
2799 * progmodes/vhdl-mode.el (vhdl-line-expand):
2800 Explicitly load hippie-exp, so it does not get autoloaded
2801 while hippie-expand-try-functions-list is let-bound.
2802
2803 2012-09-28 Glenn Morris <rgm@gnu.org>
2804
2805 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2806
2807 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2808 Only "cl.el" counts as cl these days.
2809
2810 2012-09-28 Juri Linkov <juri@jurta.org>
2811
2812 Display archive errors in the echo area instead of inserting
2813 to the file buffer.
2814
2815 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2816 to STDERR-TEST that can be a regexp matching a successful output.
2817 Create a temporary file and redirect stderr to it. Search for
2818 STDERR-TEST in the stderr output and display it in the echo area
2819 if no match is found.
2820 (archive-extract-by-file): New function like
2821 `archive-extract-by-stdout' but extracting archives to files
2822 and looking for successful matches in stdout. Function body is
2823 mostly copied from `archive-rar-extract'.
2824 (archive-rar-extract): Use `archive-extract-by-file'.
2825 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2826
2827 2012-09-28 Leo Liu <sdl.web@gmail.com>
2828
2829 * pcomplete.el (pcomplete-show-completions):
2830 Use minibuffer-message to make pcomplete usable in minibuffer.
2831
2832 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2833
2834 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2835
2836 * type-break.el: Use lexical-binding.
2837 (type-break-mode): Use define-minor-mode.
2838
2839 * emacs-lisp/pcase.el (pcase--mark-used): New.
2840 (pcase--u1): Use it (bug#12512).
2841
2842 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2843 in load-history with the right file name.
2844
2845 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2846
2847 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2848 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2849 (doc-view-get-bounding-box): Make bounding box slicing work for
2850 ODF and DVI documents.
2851
2852 2012-09-28 Glenn Morris <rgm@gnu.org>
2853
2854 * type-break.el (type-break-mode, type-break-interval)
2855 (type-break-good-rest-interval, type-break-keystroke-threshold):
2856 No need to autoload.
2857 (type-break-good-rest-interval, type-break-keystroke-threshold):
2858 Add :set-after.
2859
2860 2012-09-28 Chong Yidong <cyd@gnu.org>
2861
2862 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2863 Add :version tag.
2864
2865 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2868
2869 2012-09-27 Glenn Morris <rgm@gnu.org>
2870
2871 * faces.el (x-display-name): Declare (for without-x builds).
2872
2873 * linum.el (linum-format): Don't autoload it. Improve :type.
2874
2875 * progmodes/tcl.el: Don't require outline when compiling.
2876 (outline-regexp, outline-level): Declare.
2877 * textmodes/sgml-mode.el: Don't require outline when compiling.
2878 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2879
2880 * term.el (term-ansi-reset):
2881 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2882
2883 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2884 files for RCS and SCCS. (Bug#9781)
2885
2886 2012-09-27 Chong Yidong <cyd@gnu.org>
2887
2888 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2889 change; value should be t.
2890
2891 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2892
2893 * image-mode.el: Use lexical-binding.
2894 (image-mode-winprops): Use t to stand for the window of
2895 a buffer that's not displayed.
2896 * doc-view.el (doc-view-new-window-function): Handle the new
2897 t in winprops.
2898 (doc-view-enlarge): Make it a real nop if the size is not changed.
2899 (doc-view-display): Handle the case where the buffer is not (yet?)
2900 displayed in any window.
2901 (doc-view-saved-settings): New var.
2902 (doc-view-mode): Use it.
2903 (doc-view-fallback-mode): Set it.
2904
2905 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2906 Set lexical-binding.
2907 (minibuffer-eldef-shorten-default): New var.
2908 (minibuffer-default-in-prompt-regexps): Use it for new default.
2909 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2910
2911 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2912
2913 * international/uni-bidi.el:
2914 * international/uni-category.el:
2915 * international/uni-name.el:
2916 * international/uni-numeric.el: Regenerate.
2917
2918 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2919 Stefan Monnier <monnier@iro.umontreal.ca>
2920
2921 * profiler.el: New file.
2922
2923 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2926 (testcover-reinstrument): Simplify with CSE.
2927
2928 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2929
2930 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2931
2932 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2933
2934 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2935 (verilog-auto-input, verilog-auto-insert-lisp)
2936 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2937 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2938 (verilog-auto-unused, verilog-auto-wire)
2939 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2940 newline. Reported by Andrew Jones.
2941 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2942 Reported by Brad Dobbie.
2943 (verilog-batch-delete-trailing-whitespace):
2944 Create verilog-batch-delete-trailing-whitespace.
2945 Reported by Brad Dobbie.
2946 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2947 parameters from another module. Reported by Dan Katz.
2948 (verilog-auto, verilog-auto-assign-modport)
2949 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2950 AUTOINOUTMODPORT for UVM interface module shell generation.
2951 Reported by Brad Dobbie.
2952 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2953 standard behavior.
2954 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2955 Reported by Matt Martin.
2956
2957 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2958
2959 * window.el (window--resize-child-windows): When resizing child
2960 windows proportionally, process them in reverse order to
2961 preserve the "when splitting a window the new one gets the odd
2962 line" behavior.
2963 (window--resize-root-window-vertically): When resizing the
2964 minibuffer window try to affect only windows at the bottom of the
2965 frame. (Bug#12419)
2966
2967 2012-09-25 Chong Yidong <cyd@gnu.org>
2968
2969 * subr.el (declare): Doc fix.
2970
2971 * help-fns.el (help-fns--obsolete): Handle macros properly.
2972
2973 2012-09-25 Chong Yidong <cyd@gnu.org>
2974
2975 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2976 this function obsolete.
2977
2978 * calendar/cal-x.el (calendar-two-frame-setup)
2979 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2980 * calendar/calendar.el (american-calendar, european-calendar)
2981 (calendar-for-loop):
2982 * comint.el (comint-dynamic-simple-complete)
2983 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2984 * desktop.el (desktop-load-default):
2985 * dired-x.el (dired-omit-here-always)
2986 (dired-hack-local-variables, dired-default-directory):
2987 * emacs-lisp/derived.el (derived-mode-class):
2988 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2989 * emacs-lock.el (toggle-emacs-lock):
2990 * epa.el (epa-display-verify-result):
2991 * epg.el (epg-sign-keys, epg-start-sign-keys)
2992 (epg-passphrase-callback-function):
2993 * eshell/esh-util.el (eshell-for):
2994 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2995 (eshell-add-to-window-buffer-names):
2996 * files.el (locate-file-completion):
2997 * imenu.el (imenu-example--create-c-index)
2998 (imenu-example--create-lisp-index)
2999 (imenu-example--lisp-extract-index-name)
3000 (imenu-example--name-and-position):
3001 * international/mule-cmds.el (princ-list):
3002 * international/mule-diag.el (decode-codepage-char):
3003 * international/mule-util.el (detect-coding-with-priority):
3004 * iswitchb.el (iswitchb-read-buffer):
3005 * mail/mailalias.el (mail-complete):
3006 * mail/sendmail.el (mail-sent-via):
3007 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3008 (mouse-major-mode-menu):
3009 * password-cache.el (password-read-and-add):
3010 * pcomplete.el (pcomplete-parse-comint-arguments):
3011 * progmodes/sh-script.el (sh-maybe-here-document):
3012 * replace.el (query-replace-regexp-eval):
3013 * savehist.el (savehist-load):
3014 * simple.el (choose-completion-delete-max-match):
3015 * term.el (term-dynamic-simple-complete):
3016 * vc/ediff-init.el (ediff-check-version):
3017 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3018 * vc/vc.el (vc-diff-switches-list):
3019 * view.el (view-return-to-alist-update): Likewise.
3020
3021 * subr.el (eval-next-after-load, makehash, insert-string)
3022 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3023 mark obsolete.
3024 (mode-line-inverse-video): Variable deleted.
3025
3026 * international/mule-util.el (string-to-sequence): Remove.
3027
3028 * calendar/calendar.el (calendar-version):
3029 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3030 (icalendar-convert-diary-to-ical):
3031 * cus-edit.el (custom-mode):
3032 * ansi-color.el (ansi-color-unfontify-region):
3033 * international/latin1-disp.el (latin1-char-displayable-p):
3034 * progmodes/cwarn.el (turn-on-cwarn-mode):
3035 * progmodes/which-func.el (which-func-update-1):
3036 Use define-obsolete-function-alias.
3037
3038 * net/newst-backend.el (newsticker-cache-filename):
3039 * net/newst-treeview.el (newsticker-groups-filename):
3040 Fix incorrect obsolescence declaration.
3041
3042 * allout.el (allout-passphrase-hint-string): Likewise.
3043 (allout-init): Use a declare form to mark obsolete.
3044
3045 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3046 this applies to functions.
3047
3048 * iswitchb.el (iswitchb-read-buffer): Move code of
3049 iswitchb-define-mode-map here, and delete that obsolete function.
3050
3051 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3052 font-lock-reference-face.
3053
3054 2012-09-25 Glenn Morris <rgm@gnu.org>
3055
3056 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3057 Doc fixes.
3058
3059 * eshell/em-term.el (eshell-term-name):
3060 Default to term-term-name. (Bug#12485)
3061
3062 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3063
3064 * progmodes/python.el (python-shell-send-buffer): Better handling
3065 of "if __name__ == '__main__':" conditionals when sending the buffer.
3066
3067 2012-09-24 Glenn Morris <rgm@gnu.org>
3068
3069 * eshell/esh-cmd.el (eshell-find-alias-function):
3070 Tighten up file-name regexp. (Bug#12499)
3071
3072 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3073
3074 Enhancements for triple-quote string syntax.
3075 * progmodes/python.el (python-quote-syntax): Remove.
3076 (python-syntax-propertize-function): New value.
3077 (python-syntax-count-quotes, python-syntax-stringify):
3078 New functions.
3079
3080 2012-09-24 Chong Yidong <cyd@gnu.org>
3081
3082 * mail/supercite.el (sc-version): Remove obsolete function.
3083 (sc-describe): Don't mark as obsolete, since it is bound.
3084 (sc-submit-bug-report): Remove.
3085
3086 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3087 (cvs-commit-buffer-require-final-newline): Remove.
3088 (log-edit-require-final-newline)
3089 (log-edit-changelog-full-paragraphs): Default to t.
3090
3091 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3092 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3093 * vc/vc.el (vc-checkout-carefully): Likewise.
3094
3095 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3096 (emerge-version): Remove.
3097
3098 * progmodes/compile.el (compile-internal): Remove.
3099 (compilation-parse-errors-function): Fix typo.
3100
3101 * international/mule.el (set-char-table-default): Remove.
3102 (set-coding-priority, make-coding-system, generic-char-p)
3103 (charset-list, charset-bytes, charset-id): Use declare to mark
3104 functions as obsolete.
3105
3106 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3107 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3108 * vc/vc-hooks.el (vc-default-registered): Don't use
3109 vc-master-templates.
3110
3111 * font-lock.el (font-lock-reference-face):
3112 Use define-obsolete-variable-alias.
3113
3114 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3115 * calendar/calendar.el (calendar-font-lock-keywords):
3116 * calendar/diary-lib.el (diary-font-lock-keywords)
3117 (diary-fancy-font-lock-keywords):
3118 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3119 * textmodes/reftex-index.el (reftex-insert-index):
3120 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3121 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3122 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3123 * progmodes/prolog.el (prolog-font-lock-keywords):
3124 * progmodes/idlwave.el (idlwave-idl-keywords):
3125 * progmodes/ada-mode.el (ada-font-lock-keywords):
3126 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3127
3128 2012-09-24 Glenn Morris <rgm@gnu.org>
3129
3130 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3131
3132 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3133
3134 * progmodes/python.el (python-indent-line): More consistent cursor
3135 movement behavior.
3136
3137 2012-09-23 Stefan Merten <smerten@oekonux.de>
3138
3139 * textmodes/rst.el: Fix compiler warning.
3140
3141 2012-09-23 Roland Winkler <winkler@gnu.org>
3142
3143 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3144 Transcribe also LaTeX hyphenation.
3145 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3146 bibtex-reformat-previous-options.
3147
3148 2012-09-23 Roland Winkler <winkler@gnu.org>
3149
3150 * proced.el (proced-renice-command): New variable.
3151 (proced-marked-processes): New function.
3152 (proced-with-processes-buffer): New macro.
3153 (proced-send-signal): Use them.
3154 (proced-renice): New command bound to r.
3155
3156 2012-09-23 Roland Winkler <winkler@gnu.org>
3157
3158 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3159 ibuffer-saved-filter-groups has one element, shortcut the call of
3160 completing-read. (Bug#12331)
3161
3162 2012-09-23 Chong Yidong <cyd@gnu.org>
3163
3164 * bindings.el (mode-line-toggle-read-only):
3165 * bs.el (bs-toggle-readonly):
3166 * buff-menu.el (Buffer-menu-toggle-read-only):
3167 * dired.el (dired-toggle-read-only):
3168 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3169
3170 2012-09-23 Chong Yidong <cyd@gnu.org>
3171
3172 * image.el (image-type-available-p): Adapt to init-image-library
3173 argument changes.
3174
3175 2012-09-22 Juri Linkov <juri@jurta.org>
3176
3177 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3178 `dired-toggle-read-only'. (Bug#12462)
3179
3180 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3181
3182 * subr.el (temp-output-buffer-show): New function.
3183 (with-output-to-temp-buffer): Call temp-output-buffer-show
3184 instead of internal-temp-output-buffer-show.
3185
3186 2012-09-22 Chong Yidong <cyd@gnu.org>
3187
3188 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3189 (Bug#12462).
3190
3191 * repeat.el (repeat): Doc fix (Bug#12348).
3192
3193 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3194 (Bug#10909).
3195
3196 * simple.el (shell-command-on-region): Doc fix.
3197 (read-only-mode): Doc fix.
3198
3199 2012-09-22 Eli Zaretskii <eliz@gnu.org>
3200
3201 * emacs-lisp/timer.el (run-with-idle-timer)
3202 (timer-activate-when-idle): Warn against reinvoking an idle timer
3203 from within its own timer action. (Bug#12447)
3204
3205 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3206
3207 * cus-start.el (window-combination-limit): Add new optional
3208 values.
3209 * window.el (temp-buffer-window-show)
3210 (window--try-to-split-window): Handle new values of
3211 window-combination-limit (Bug#1806).
3212 (split-window): Test window-combination-limit for t instead of
3213 non-nil.
3214 (display-buffer-at-bottom): New buffer display action function.
3215 * help.el (temp-buffer-resize-regexps): New option.
3216 (temp-buffer-resize-mode): Rewrite doc-string.
3217 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3218 Don't resize reused window. Suggested by Glenn Morris.
3219
3220 2012-09-22 Stefan Merten <smerten@oekonux.de>
3221
3222 * textmodes/rst.el: Revamp section title faces.
3223 (rst-official-version)
3224 (rst-package-emacs-version-alist): Sync with official version
3225 V1.4.0.
3226 (rst-faces-defaults, rst-set-level-default)
3227 (rst-level-face-max, rst-level-face-base-color)
3228 (rst-level-face-base-light, rst-level-face-format-light)
3229 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3230 (rst-adornment-faces-alist): Match new setup.
3231 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3232 (rst-level-5, rst-level-6): New faces.
3233
3234 2012-09-22 Chong Yidong <cyd@gnu.org>
3235
3236 * simple.el (undo): Handle indirect buffers (Bug#8207).
3237
3238 2012-09-21 Leo Liu <sdl.web@gmail.com>
3239
3240 IDO: Disable match re-ordering for buffer switching.
3241 * ido.el (ido-buffer-disable-smart-matches): New variable.
3242 (ido-set-matches-1): Use it. (Bug#2042)
3243
3244 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
3245
3246 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3247 Fix 2011-05-17 change. (Bug#12418)
3248
3249 2012-09-21 Leo Liu <sdl.web@gmail.com>
3250
3251 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3252
3253 2012-09-21 Glenn Morris <rgm@gnu.org>
3254
3255 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3256 Be more robust about locating simple.el.
3257
3258 2012-09-21 Glenn Morris <rgm@gnu.org>
3259
3260 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3261
3262 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3263
3264 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3265
3266 2012-09-20 Juri Linkov <juri@jurta.org>
3267
3268 * replace.el (query-replace-read-from): Use `read-regexp' instead
3269 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3270 (occur-read-primary-args): Use `read-regexp' instead of
3271 `read-string'.
3272 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3273 `read-from-minibuffer'.
3274 * isearch.el (isearch-occur): Use `read-regexp' instead of
3275 `read-string'.
3276 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3277 `read-from-minibuffer'.
3278 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3279 of `read-string'. (Bug#7567)
3280
3281 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3282 and allow accepting a list of strings prepended to a list of
3283 standard default values. Doc fix. (Bug#12321)
3284
3285 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3286
3287 * replace.el (read-regexp): Don't add ": " when PROMPT already
3288 ends with a colon and space. (Bug#12321)
3289
3290 2012-09-20 Tassilo Horn <tsdh@gnu.org>
3291
3292 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3293 error.
3294
3295 2012-09-20 Stefan Merten <smerten@oekonux.de>
3296
3297 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3298 Fixes feature request bug#11711.
3299 (rst-mode): Create `imenu-create-index-function'.
3300 (rst-get-stripped-line): Delete after refactoring.
3301 (rst-section-tree, rst-section-tree-rec)
3302 (rst-section-tree-point): Refactor and document properly.
3303 (rst-imenu-find-adornments-for-position)
3304 (rst-imenu-convert-cell, rst-imenu-create-index):
3305 New function.
3306
3307 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3308
3309 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3310 (macroexp--expand-all): Use it.
3311 (macroexp--funcall-and-return): Remove by folding it into its sole
3312 caller (macroexp--warn-and-return).
3313 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3314 Use macroexp--obsolete-warning.
3315
3316 * calc/calc.el: Fix last change by removing the whole chunk, since it
3317 was only needed back when Calc was not bundled.
3318
3319 2012-09-20 Martin Rudalics <rudalics@gmx.at>
3320
3321 * emacs-lisp/debug.el (debug): Restore assignment to
3322 debugger-old-buffer removed on 2012-09-08.
3323
3324 2012-09-20 Juri Linkov <juri@jurta.org>
3325
3326 * dired-aux.el (dired-diff): Remove (require 'diff) since
3327 `diff-latest-backup-file' is now autoloaded.
3328
3329 2012-09-20 Chong Yidong <cyd@gnu.org>
3330
3331 * vc/diff.el (diff-latest-backup-file): Autoload.
3332
3333 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 * calc/calc.el: Remove redundant autoload shape check.
3336 (sel-mode): Don't defvar.
3337 (calc-get-stack-element): Add `sel-mode' arg instead.
3338 (calc-top, calc-top-list): Pass it this additional argument.
3339 * calc/calc-store.el (calc-store-map):
3340 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3341 (calc-map-equation, calc-outer-product, calc-inner-product):
3342 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3343
3344 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3345
3346 2012-09-19 Juri Linkov <juri@jurta.org>
3347
3348 * dired-aux.el (dired-diff): Add (require 'diff) because
3349 `diff-latest-backup-file' is not autoloaded.
3350 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3351 of `dired-get-filename' to t to not report error when there is
3352 no default file on the current line.
3353
3354 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3355
3356 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3357 macroexp--eval-if-compile.
3358 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3359 (macroexp--expand-all): Use them (bug#12371).
3360
3361 * doc-view.el (doc-view-guess-paper-size)
3362 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3363
3364 2012-09-19 Tassilo Horn <tsdh@gnu.org>
3365
3366 New feature: set optimal slice from BoundingBox information.
3367 * doc-view.el (doc-view-mode-map): Add keybinding.
3368 (doc-view-menu): Add menu entry.
3369 (doc-view-set-slice): Adapt docstring.
3370 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3371 (doc-view-scale-bounding-box)
3372 (doc-view-set-slice-from-bounding-box): New functions.
3373 (doc-view-paper-sizes): New defvar.
3374
3375 2012-09-19 Glenn Morris <rgm@gnu.org>
3376
3377 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3378 (byte-compile-log-warning): Autoload. (Bug#12371)
3379
3380 * calendar/calendar.el (calendar-american-month-header)
3381 (calendar-european-month-header, calendar-iso-month-header)
3382 (calendar-month-header): New options.
3383 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3384 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3385
3386 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3387
3388 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3389
3390 2012-09-18 Juri Linkov <juri@jurta.org>
3391
3392 * dired-aux.el (dired-diff): Restore original functionality of
3393 getting the default value, but keep new feature of using the
3394 latest existing backup file (`diff-latest-backup-file').
3395
3396 2012-09-18 Juri Linkov <juri@jurta.org>
3397
3398 * dired.el (dired-mark): If the region is active in Transient Mark
3399 mode, mark all files in the active region. Doc fix.
3400 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3401 Doc fix. (Bug#10624)
3402
3403 2012-09-18 Juri Linkov <juri@jurta.org>
3404
3405 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3406 attributes for M-n are pulled from the file at point.
3407 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3408 Suggested by Drew Adams. (Bug#10624)
3409
3410 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3411
3412 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3413 whitespace after "end".
3414 (ruby-do-end-to-brace): Collapse block to one line if it fits
3415 within fill-column.
3416
3417 2012-09-18 Martin Rudalics <rudalics@gmx.at>
3418
3419 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3420 value.
3421 (debug): Don't remove debugger window when debugger is expected
3422 to be back.
3423
3424 2012-09-18 Chong Yidong <cyd@gnu.org>
3425
3426 * custom.el (defface): Doc fix.
3427
3428 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3429
3430 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3431
3432 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3433 to initialize query-on-exit; then test that instead (bug#12288).
3434
3435 2012-09-17 Stefan Merten <smerten@oekonux.de>
3436
3437 * textmodes/rst.el: Add support for `testcover'.
3438 (rst-defcustom-testcover, rst-testcover-add-compose)
3439 (rst-testcover-add-1value): New functions.
3440 (rst-portable-mark-active-p): Replace by `use-region-p'.
3441 (rst-update-section, rst-classify-adornment)
3442 (rst-find-title-line): Mark `1value' forms.
3443 (rst-classify-adornment): Remove superfluous form.
3444 (rst-update-section, rst-get-adornments-around)
3445 (rst-adornment-complete-p, rst-get-next-adornment)
3446 (rst-adjust, rst-promote-region)
3447 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3448 (rst-find-pfx-in-region, rst-section-tree-rec)
3449 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3450 (rst-toc-node, rst-toc, rst-forward-section)
3451 (rst-iterate-leftmost-paragraphs)
3452 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3453 (rst-bullet-list-region)
3454 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3455 (rst-compile-find-conf, rst-compile)
3456 (rst-repeat-last-character): Fix style.
3457
3458 2012-09-17 Chong Yidong <cyd@gnu.org>
3459
3460 * comint.el (comint--complete-file-name-data): Don't add a space
3461 if the status is `sole'; that adds a gratuitous space in the
3462 completion-cycling case (Bug#12092).
3463
3464 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3465
3466 2012-09-17 Richard Stallman <rms@gnu.org>
3467
3468 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3469 only in the mime-shown mode, not in raw mode.
3470 (rmail-mime): Toggle off mime by displaying the message without
3471 mime processing. (Bug#12305)
3472
3473 * mail/rmail.el (rmail-retry-failure):
3474 Turn off mime processing first. (Bug#12037)
3475
3476 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3477
3478 2012-09-17 Chong Yidong <cyd@gnu.org>
3479
3480 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3481 (shell-dynamic-complete-functions): Convert to defcustom.
3482 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3483
3484 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3485 * comint.el (comint-prompt-read-only):
3486 * custom.el (defcustom):
3487 * hi-lock.el (hi-lock-mode):
3488 * ibuffer.el (ibuffer-formats):
3489 * ielm.el (ielm-prompt-read-only):
3490 * novice.el (disable-command):
3491 * saveplace.el (toggle-save-place):
3492 * speedbar.el (speedbar-supported-extension-expressions):
3493 * startup.el (auto-save-list-file-prefix, init-file-user)
3494 (after-init-hook, inhibit-startup-echo-area-message):
3495 * strokes.el (strokes-help):
3496 * time-stamp.el (time-stamp):
3497 * calendar/calendar.el (calendar, diary-file):
3498 * calendar/diary-lib.el (diary-mail-entries, diary)
3499 (diary-list-entries-hook):
3500 * calendar/holidays.el (holidays, calendar-holidays):
3501 * calendar/lunar.el (lunar-phases):
3502 * calendar/solar.el (sunrise-sunset):
3503 * emulation/edt.el (edt-load-keys):
3504 * emulation/viper.el (viper-mode):
3505 * eshell/em-alias.el (eshell-command-aliases-list):
3506 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3507 * international/ogonek.el (ogonek-information):
3508 * net/tramp-cmds.el (tramp-bug):
3509 * net/quickurl.el (quickurl-reread-hook-postfix):
3510 * play/decipher.el (decipher-font-lock-keywords):
3511 * progmodes/cc-styles.el (c-set-style):
3512 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3513 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3514 * progmodes/octave-mod.el (octave-mode):
3515 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3516 * progmodes/verilog-mode.el (verilog-read-defines):
3517 * textmodes/two-column.el (2C-mode): Likewise.
3518
3519 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3520
3521 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3522 that holds many addresses.
3523
3524 2012-09-16 Chong Yidong <cyd@gnu.org>
3525
3526 * align.el (align-areas): Call the indication function with
3527 positions instead of markers for arguments (Bug#12343).
3528
3529 * files.el (parse-colon-path): Use split-string (Bug#12351).
3530
3531 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3532 (display-buffer-function): Mark as obsolete.
3533
3534 * progmodes/compile.el (compilation-parse-errors): Accept list
3535 values similar to font-lock-keywords (Bug#12136).
3536 Suggested by Oleksandr Manzyuk.
3537 (compilation-error-regexp-alist): Doc fix.
3538
3539 2012-09-15 Glenn Morris <rgm@gnu.org>
3540
3541 * version.el (emacs-bzr-version-bzr): New function.
3542 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3543
3544 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3545 checkouts, check the parent dirstate matches the branch.
3546 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3547 empty string.
3548
3549 * version.el (emacs-bzr-version): Doc fix.
3550 (emacs-bzr-version-dirstate): New function.
3551 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3552 is local try and check that it matches the branch. If not, just
3553 use dirstate information. (Bug#12441)
3554
3555 2012-09-14 Juri Linkov <juri@jurta.org>
3556
3557 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3558 (Bug#12399)
3559
3560 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3561
3562 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3563
3564 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3565 Remove obsolete byte-compiler hack that tried to silence some warnings.
3566 (edebug-submit-bug-report): Remove.
3567 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3568 Remove aliases, use the un-prefixed name instead.
3569 (edebug-pop-to-buffer): Consider other frames.
3570 (edebug-original-read):: Make it more obvious that it's always defined.
3571 (edebug--make-form-data-entry, edebug--form-data-name)
3572 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3573 single-dashed name, and implement with cl-defstruct.
3574 (edebug-set-form-data-entry): Use the standard accessors.
3575 (edebug-make-top-form-data-entry): Use push.
3576 (edebug-no-match): Drop useless `funcall'.
3577 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3578 to functions.
3579 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3580 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3581 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3582 (easy-menu-define, with-custom-print): Remove redundant specs.
3583 (edebug-outside-overriding-local-map)
3584 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3585 (edebug--display): Bind unread-command-events directly to nil rather
3586 than binding it to unread-command-events and later setting it to nil.
3587 (edebug--display): Kill edebug-eval-buffer here...
3588 (edebug--recursive-edit): ...rather than here.
3589 Bind standard-output and standard-input.
3590 (edebug-eval): Check cl-macroexpand-all is fboundp.
3591 (edebug-temp-display-freq-count): Fix last change.
3592
3593 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3594 * subr.el (noreturn, 1value): Add `debug' spec.
3595 * emacs-lisp/advice.el: Require cl-lib.
3596 (ad-copy-tree): Remove, use copy-tree instead.
3597 (ad-dolist): Remove use dolist or cl-dolist instead.
3598 (ad-do-return): Remove, use cl-return instead.
3599 (defadvice): Add `debug' spec.
3600
3601 2012-09-13 Juri Linkov <juri@jurta.org>
3602
3603 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3604 (Bug#12399)
3605
3606 2012-09-13 Glenn Morris <rgm@gnu.org>
3607
3608 * calc/calc.el (math-compose-expr):
3609 * calc/calc-ext.el (math-compose-expr):
3610 * progmodes/cc-defs.el (cl-macroexpand-all):
3611 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3612 (cl-macroexpand-all): Update declarations.
3613
3614 * vc/vc.el: No need to require ediff.
3615 (ediff-load-version-control): Declare.
3616 (ediff-vc-internal): Fix declaration.
3617 (vc-version-ediff): Require ediff.
3618
3619 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3620
3621 Use a more backwards-compatible timer format (Bug#12430).
3622 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3623 being right after USECS, as that better supports old code that
3624 inadvisedly looked directly at the timer vector.
3625
3626 2012-09-13 Kenichi Handa <handa@gnu.org>
3627
3628 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3629 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3630 `coding-priority' property of these language environment.
3631
3632 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3633
3634 Fix glitches caused by addition of psec to timers (Bug#12430).
3635 * image.el (image-animate-timer):
3636 * time.el (display-time-world-timer):
3637 Use timer--function and timer--args rather than raw access to
3638 timer vector.
3639
3640 2012-09-13 Glenn Morris <rgm@gnu.org>
3641
3642 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3643 If not compiling a file, try using load-file-name.
3644
3645 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3646
3647 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3648 Fix last change.
3649 (edebug-update-eval-list): Use `push'.
3650
3651 * emacs-lisp/edebug.el: Use lexical-binding.
3652 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3653 Mark unused args with underscore.
3654 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3655 (edebug-form-data): Use defvar-local.
3656 (edebug-make-before-and-after-form, edebug-make-after-form):
3657 Use backquote.
3658 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3659 Not dynamically scoped any more.
3660 (edebug--enter-trace): Add arguments `function' and `args'.
3661 Rename from edebug-enter-trace.
3662 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3663 (edebug--update-coverage): Add `after-index' and `value' args.
3664 Rename from edebug-update-coverage.
3665 (edebug-slow-after): Call it accordingly.
3666 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3667 edebug-recursive-edit.
3668 (edebug--display): Call it accordingly. Add args `value',
3669 `offset-index', and `arg-mode'. Rename from edebug-display.
3670 (edebug-debugger, edebug): Call it accordingly.
3671 (edebug-eval-display-list): Use dolist.
3672
3673 2012-09-12 Juri Linkov <juri@jurta.org>
3674
3675 * info.el (Info-search): Don't check for isearch-mode and
3676 isearch-regexp before let-binding search-spaces-regexp to
3677 Info-search-whitespace-regexp.
3678 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3679 search-whitespace-regexp if isearch-lax-whitespace or
3680 isearch-regexp-lax-whitespace is non-nil.
3681 (Info-mode): Don't set local variable search-whitespace-regexp.
3682 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3683
3684 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3685
3686 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3687 (debugger-env-macro): Remove support for unread-command-char.
3688
3689 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3690 the temporary map re-appearing on emulation-mode-map-alists.
3691
3692 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3693 since 22.1.
3694
3695 * ehelp.el (with-electric-help): Accept functions in
3696 electric-help-form-to-execute.
3697 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3698 And replace unread-command-char -> unread-command-events.
3699
3700 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
3701
3702 Sync with Tramp 2.2.6.
3703
3704 * net/tramp.el (tramp-accept-process-output): Don't use
3705 JUST-THIS-ONE in the XEmacs case.
3706
3707 * net/trampver.el: Update release number.
3708
3709 2012-09-12 Martin Rudalics <rudalics@gmx.at>
3710
3711 * emacs-lisp/debug.el (debugger-previous-window-height):
3712 New variable.
3713 (debug): When debugger-jumping-flag is non-nil try to restore
3714 height of debugger window. (Bug#8789)
3715
3716 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3717
3718 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3719 overriding-local-map and pre/post-command-hook here.
3720 (edebug-recursive-edit): Do it here instead (bug#12345).
3721 (edebug-outside-unread-command-char): Remove all uses of
3722 unread-command-char.
3723
3724 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3725 inhibit-debugger is bound instead.
3726
3727 2012-09-11 Bastien Guerry <bzg@gnu.org>
3728
3729 * subr.el (set-temporary-overlay-map): Add a docstring.
3730 (Bug#12346)
3731
3732 2012-09-11 Bastien Guerry <bzg@gnu.org>
3733
3734 * minibuffer.el (completion-table-subvert): Fix docstring.
3735 (Bug#12347)
3736
3737 2012-09-11 Bastien Guerry <bzg@gnu.org>
3738
3739 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
3740
3741 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3742
3743 * progmodes/sql.el: Version 3.1
3744 (sql-db2-escape-newlines): New variable.
3745 (sql-escape-newlines-filter): Use it.
3746
3747 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
3748
3749 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3750
3751 2012-09-10 Dan Nicolaescu <dann@gnu.org>
3752
3753 * vc/diff-mode.el (diff-mode-menu):
3754 Bind diff-remove-trailing-whitespace.
3755
3756 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3757
3758 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3759 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3760 (emacs-lisp-byte-code-mode): New functions.
3761 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3762 (eval-defun-2): Remove bogus interactive spec.
3763 (lisp-indent-line): Remove redundant whole-exp code, now done in
3764 indent-according-to-mode.
3765 (save-match-data): Remove redundant indent data.
3766
3767 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3768 Use `declare'.
3769
3770 2012-09-09 Juri Linkov <juri@jurta.org>
3771
3772 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3773 (replace-lax-whitespace, query-replace-regexp)
3774 (query-replace-regexp-eval, replace-regexp): Doc fix.
3775 (perform-replace, replace-highlight): Let-bind
3776 isearch-lax-whitespace to replace-lax-whitespace and
3777 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3778
3779 * isearch.el (isearch-query-replace): Let-bind
3780 replace-lax-whitespace to isearch-lax-whitespace and
3781 replace-regexp-lax-whitespace to
3782 isearch-regexp-lax-whitespace. (Bug#10885)
3783
3784 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3785
3786 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3787
3788 2012-09-09 Alan Mackenzie <acm@muc.de>
3789
3790 * progmodes/cc-engine.el (c-state-cache-init):
3791 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3792 (c-record-parse-state-state):
3793 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3794
3795 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3796
3797 * register.el (register-separator): Rename from
3798 separator-register. All uses changed. Doc fix.
3799 (register): Fix version.
3800
3801 2012-09-09 Chong Yidong <cyd@gnu.org>
3802
3803 * replace.el (query-replace-map): Bind four new symbols for
3804 requesting window scrolling.
3805
3806 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3807 query-replace-map (Bug#8948).
3808
3809 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3810
3811 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3812 since they are now in query-replace-map.
3813
3814 * window.el (scroll-other-window-down): Make the arg optional.
3815
3816 2012-09-09 Chong Yidong <cyd@gnu.org>
3817
3818 * files.el (hack-local-variables-confirm): Use quit-window to kill
3819 the *Local Variables* buffer.
3820
3821 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3822
3823 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3824 not just expect to be at its beginning. Adjust callees.
3825 Succeed when do-end block has no space before the pipe character.
3826 (ruby-brace-to-do-end): When the original block is one-liner,
3827 convert to multiline. Reindent the result.
3828
3829 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3830
3831 * register.el (register): New group.
3832 (separator-register): New user option.
3833 (increment-register): Route it to `append-to-register', if
3834 register contains text. Implication is that `C-x r +' can now be
3835 used for appending to a text register (bug#12217).
3836 (append-to-register, prepend-to-register): Add separator based on
3837 `separator-register'.
3838
3839 2012-09-08 Alan Mackenzie <acm@muc.de>
3840
3841 AWK Mode: make auto-newline work when there's "==" in the pattern.
3842 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3843 correctly.
3844 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3845 Test more rigorously for "=" token.
3846
3847 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3848
3849 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3850 Only fail when reached LIMIT.
3851
3852 2012-09-08 Chong Yidong <cyd@gnu.org>
3853
3854 * dired.el (dired-mode-map): Don't bind M-=.
3855
3856 * dired-aux.el (dired-diff): Use backup file as default.
3857
3858 2012-09-08 Drew Adams <drew.adams@oracle.com>
3859
3860 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3861
3862 2012-09-08 Chong Yidong <cyd@gnu.org>
3863
3864 * subr.el (syntax-after, syntax-class): Doc fix.
3865
3866 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3867
3868 * window.el (display-buffer-in-previous-window): New buffer
3869 display action function.
3870
3871 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3872 (debugger-previous-window): New variable.
3873 (debug): Rewrite using display-buffer-in-previous-window,
3874 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3875
3876 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3879
3880 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3881
3882 * progmodes/python.el (python-shell-send-string):
3883 When default-directory is remote, create temp file on remote
3884 filesystem.
3885 (python-shell-send-file): When file is remote, pass local view of
3886 file paths to remote Python interpreter. (Bug#12340)
3887
3888 2012-09-07 Chong Yidong <cyd@gnu.org>
3889
3890 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3891
3892 * files.el (after-find-file): Don't fail on a read-only buffer if
3893 require-final-newline is `visit' or `visit-save' (Bug#11156).
3894
3895 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3896
3897 * userlock.el (ask-user-about-supersession-threat):
3898 Use read-char-choice (Bug#12093).
3899
3900 2012-09-07 Chong Yidong <cyd@gnu.org>
3901
3902 * subr.el (buffer-narrowed-p): New function.
3903
3904 * ses.el (ses-widen):
3905 * simple.el (count-words--buffer-message):
3906 * net/browse-url.el (browse-url-of-buffer): Use it.
3907
3908 * simple.el (count-words-region): Don't signal an error if there
3909 is a non-nil prefix arg and the mark is not set.
3910
3911 * help.el (describe-key-briefly): Allow the message to be seen
3912 when invoked from the minibuffer (Bug#7014).
3913
3914 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3915
3916 * progmodes/ruby-mode.el (ruby-end-of-defun)
3917 (ruby-beginning-of-defun): Simplify, allow indentation before
3918 block beginning and end keywords.
3919 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3920 (ruby-end-of-defun): Expect that the point is at the beginning of
3921 the defun.
3922
3923 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3924
3925 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3926 (bug#12367).
3927 (cl--make-usage-args): Strip _ from argument names.
3928
3929 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3930
3931 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3932 obsolete alias speedbar-key-map.
3933 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3934 (vhdl-index-menu-init): Don't use obsolete variable
3935 font-lock-maximum-size.
3936
3937 2012-09-06 Chong Yidong <cyd@gnu.org>
3938
3939 * frame.el (window-system-version): Mark as obsolete.
3940
3941 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3942 of obsolete variable speedbar-key-map.
3943
3944 2012-09-06 Juri Linkov <juri@jurta.org>
3945
3946 * replace.el (replace-lax-whitespace): New defcustom.
3947 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3948 (replace-string, replace-regexp): Mention it in docstrings.
3949 (perform-replace, replace-highlight): Let-bind
3950 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3951 to the values of replace-lax-whitespace and regexp-flag.
3952 Don't let-bind search-whitespace-regexp. (Bug#10885)
3953
3954 * isearch.el (isearch-query-replace): Let-bind
3955 replace-lax-whitespace instead of let-binding
3956 replace-search-function and replace-re-search-function.
3957 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3958 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3959 (isearch-toggle-symbol): Set isearch-regexp to nil
3960 in isearch-word mode (like in isearch-toggle-word).
3961
3962 2012-09-06 Juri Linkov <juri@jurta.org>
3963
3964 * replace.el (replace-search-function)
3965 (replace-re-search-function): Set default values to nil.
3966 (perform-replace): Let-bind isearch-related variables based on
3967 replace-related values, call `isearch-search-fun' and let-bind
3968 the result to `search-function'. Remove code that sets
3969 `search-function' and `search-string' separately for
3970 `delimited-flag'.
3971 (replace-highlight): Add new argument `delimited-flag' and
3972 rename other arguments to the names used in `perform-replace'.
3973 Let-bind `isearch-word' to the argument `delimited-flag'.
3974 (Bug#10885, bug#10887)
3975
3976 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3977
3978 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3979 ruby-beginning-of-indent, simplify, allow all keywords to have
3980 indentation before them.
3981 (ruby-beginning-of-indent): Adjust for above. Search until the
3982 found point is not inside a string or comment.
3983 (ruby-font-lock-keywords): Allow symbols to start with "@"
3984 character, give them higher priority than variables.
3985 (ruby-syntax-propertize-function)
3986 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3987 matchers. Expression expansions are not comments when inside a
3988 string, and there comment syntax status is irrelevant.
3989 (ruby-match-expression-expansion): New function. Check that
3990 expression expansion is inside a string, and it's not escaped.
3991 (ruby-font-lock-keywords): Use it.
3992
3993 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3994
3995 * help.el (temp-buffer-max-height): New default value.
3996 (temp-buffer-resize-frames): New option.
3997 (resize-temp-buffer-window): Optionally resize frame.
3998
3999 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4000 (fit-frame-to-buffer): New function.
4001
4002 2012-09-05 Glenn Morris <rgm@gnu.org>
4003
4004 * emulation/cua-rect.el (cua--init-rectangles):
4005 * textmodes/picture.el (picture-mode-map):
4006 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4007 like forward-char and backward-char. (Bug#12317)
4008
4009 2012-09-05 Leo Liu <sdl.web@gmail.com>
4010
4011 * progmodes/flymake.el (flymake-warning-re): New variable.
4012 (flymake-parse-line): Use it.
4013
4014 2012-09-05 Glenn Morris <rgm@gnu.org>
4015
4016 * calendar/holidays.el (holiday-christian-holidays):
4017 Rename an entry. (Bug#12289)
4018
4019 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4020
4021 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4022 (bug#12222).
4023
4024 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4025
4026 * loadup.el: Load macroexp. Remove hack.
4027 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4028 (macroexp--expand-all): Use it to get better warnings.
4029 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4030 (internal-macroexpand-for-load): New functions.
4031 (macroexp--pending-eager-loads): New var.
4032 (emacs-startup-hook): New hack to replace one in loadup.el.
4033 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4034 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4035 (cl-psetf): Simplify.
4036 (cl-defstruct): Add indent rule.
4037
4038 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4039
4040 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4041 over `user-mail-address' for the SMTP MAIL FROM envelope.
4042 (smtpmail-via-smtp): Ditto.
4043
4044 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4045
4046 * progmodes/ruby-mode.el: Clean up keybindings.
4047 (ruby-mode-map): Don't bind ruby-electric-brace,
4048 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4049 backward-kill-word, reindent-then-newline-and-indent.
4050 (ruby-mark-defun): Remove.
4051 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4052 (ruby-mode): Set local beginning-of-defun-function and
4053 end-of-defun-function values.
4054
4055 2012-09-03 Martin Rudalics <rudalics@gmx.at>
4056
4057 * window.el (temp-buffer-window-setup-hook)
4058 (temp-buffer-window-show-hook): New hooks.
4059 (temp-buffer-window-setup, temp-buffer-window-show)
4060 (with-temp-buffer-window): New functions.
4061 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4062 (special-display-popup-frame): Make sure the window used shows BUFFER.
4063
4064 * help.el (temp-buffer-resize-mode): Fix doc-string.
4065 (resize-temp-buffer-window): New optional argument WINDOW.
4066
4067 * files.el (recover-file, save-buffers-kill-emacs):
4068 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4069
4070 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
4071
4072 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4073 remote definition of `default-directory', ensure we can connect.
4074
4075 2012-09-02 Juri Linkov <juri@jurta.org>
4076
4077 Toggle whitespace matching mode with M-s SPC.
4078 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4079
4080 * isearch.el (search-whitespace-regexp): Doc fix.
4081 Remove cons cell customization.
4082 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4083 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4084 New variables.
4085 (isearch-forward, isearch-forward-regexp): Doc fix.
4086 (isearch-toggle-lax-whitespace): New command.
4087 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4088 (re-search-forward-lax-whitespace)
4089 (re-search-backward-lax-whitespace): New functions.
4090 (isearch-whitespace-regexp): Remove function.
4091 (isearch-query-replace): Let-bind replace-search-function and
4092 replace-re-search-function.
4093 (isearch-occur): Let-bind search-spaces-regexp according to the
4094 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4095 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4096 condition for C-q SPC.
4097 (isearch-search-fun-default): Use new functions mentioned above.
4098 (isearch-search-forward, isearch-search-backward): Remove functions.
4099 (isearch-search): Don't let-bind search-spaces-regexp.
4100 (isearch-lazy-highlight-space-regexp): Remove variable.
4101 (isearch-lazy-highlight-lax-whitespace)
4102 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4103 (isearch-lazy-highlight-new-loop): Use them.
4104 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4105
4106 2012-09-02 Chong Yidong <cyd@gnu.org>
4107
4108 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4109
4110 2012-09-02 Glenn Morris <rgm@gnu.org>
4111
4112 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4113
4114 2012-09-01 Glenn Morris <rgm@gnu.org>
4115
4116 * term.el: Tidy up menu definitions.
4117 (term-mode-map): Use easymenu for In/Out, Complete menus.
4118 (term-pager-break-map): Initialize in the defvar.
4119 (term-terminal-menu, term-signals-menu): Define with easymenu.
4120 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4121 (term-pager-menu): New, extracted from term-process-pager.
4122 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4123 (term-update-mode-line): Propertize line/char and page items.
4124 (term-process-pager): Move keymap initialization elsewhere.
4125
4126 2012-09-01 Martin Rudalics <rudalics@gmx.at>
4127
4128 * window.el (switch-to-prev-buffer): Handle additional values of
4129 BURY-OR-KILL argument. Don't switch in minibuffer window.
4130 (switch-to-next-buffer): Don't switch in minibuffer window.
4131 (quit-restore-window): New function based on quit-window.
4132 Handle additional values of former KILL argument.
4133 (quit-window): Call quit-restore-window with appropriate
4134 interpretation of KILL argument.
4135 (display-buffer-below-selected): New buffer display action
4136 function.
4137
4138 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4139
4140 * minibuffer.el (completion-at-point-functions): Complete docstring
4141 (bug#12254).
4142
4143 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4144
4145 Better seed support for (random).
4146 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4147 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4148 * play/mpuz.el, play/tetris.el, play/zone.el:
4149 * calc/calc-comb.el (math-init-random-base):
4150 * play/blackbox.el (bb-init-board):
4151 * play/life.el (life):
4152 * server.el (server-use-tcp):
4153 * type-break.el (type-break):
4154 Remove unnecessary call to (random t).
4155 * net/sasl.el (sasl-unique-id-function):
4156 Change (random t) to (random), now that the latter is more random.
4157 * play/life.el (life-initialized): Remove no-longer-needed var.
4158
4159 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4160
4161 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4162 Consider frame's buffer predicate when choosing the buffer.
4163 (Bug#12081)
4164
4165 2012-08-30 Richard Stallman <rms@gnu.org>
4166
4167 * simple.el (special-mode-map): Delete binding for `z'.
4168
4169 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4170
4171 * progmodes/compile.el (compilation-always-kill): Doc fix.
4172
4173 2012-08-30 Chong Yidong <cyd@gnu.org>
4174
4175 * window.el (display-buffer-reuse-frames): Make the obsolescence
4176 message more informative.
4177
4178 2012-08-30 Glenn Morris <rgm@gnu.org>
4179
4180 * paren.el (show-paren-delay):
4181 Add a :set function. Doc fix. (Bug#12297)
4182
4183 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4184
4185 * progmodes/compile.el (compilation-always-kill): New var.
4186 (compilation-start): Use it.
4187
4188 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4189
4190 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4191 * files.el (read-only-mode): Move to simple.el.
4192
4193 * files.el (read-only-mode): New minor mode.
4194 (toggle-read-only): Use it and mark obsolete.
4195 (find-file--read-only):
4196 * vc/vc.el (vc-next-action, vc-checkout):
4197 * vc/vc-cvs.el (vc-cvs-checkout):
4198 * obsolete/vc-mcvs.el (vc-mcvs-update):
4199 * ffap.el (ffap--toggle-read-only): Update callers.
4200
4201 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
4202
4203 * eshell/esh-ext.el (eshell-external-command): Do not examine
4204 remote shell scripts.
4205 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4206
4207 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4208 "/usr/local/sbin".
4209
4210 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4211
4212 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4213
4214 2012-08-28 Leo Liu <sdl.web@gmail.com>
4215
4216 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4217 completion-at-point. (Bug#12220)
4218
4219 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4220
4221 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4222
4223 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4224
4225 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4226 be buffer-local; add delete-trailing-whitespace (bug#12259).
4227
4228 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
4229
4230 * progmodes/hideif.el (hif-compress-define-list):
4231 Fix typo. (Bug#11951)
4232
4233 2012-08-28 Dan Nicolaescu <dann@gnu.org>
4234
4235 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4236 buffer local setting.
4237
4238 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4239 rcirc-encode-coding-system.
4240
4241 2012-08-28 Leo Liu <sdl.web@gmail.com>
4242
4243 * net/rcirc.el (rcirc-split-message): New function.
4244 (rcirc-send-message): Use it. (Bug#12051)
4245
4246 2012-08-28 Juri Linkov <juri@jurta.org>
4247
4248 * info.el (Info-fontify-node): Hide empty lines at the end of
4249 the node. (Bug#12272)
4250
4251 2012-08-27 Drew Adams <drew.adams@oracle.com>
4252
4253 * dired.el (dired-pop-to-buffer): Make window start at beginning
4254 of buffer (Bug#12281).
4255
4256 2012-08-26 Chong Yidong <cyd@gnu.org>
4257
4258 * window.el (special-display-regexps, special-display-frame-alist)
4259 (special-display-buffer-names, special-display-function)
4260 (display-buffer-reuse-frames): Mark as obsolete.
4261
4262 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4263
4264 * help.el (help-print-return-message): Don't treat
4265 display-buffer-reuse-frames specially.
4266
4267 2012-08-26 Chong Yidong <cyd@gnu.org>
4268
4269 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4270 New variable, replacing gdb-frame-parameters.
4271 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4272 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4273 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4274 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4275 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4276 the functions directly with gdb-display-buffer-other-frame-action.
4277 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4278 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4279 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4280 (gdb-display-registers-buffer): Define directly.
4281 (def-gdb-display-buffer): Macro deleted.
4282 (gdb-display-buffer): Remove second and third args, callers don't
4283 use them. Defer to the default display-buffer behavior, apart
4284 from making windows dedicated.
4285 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4286
4287 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4288
4289 * window.el (display-buffer-pop-up-frame): Handle a
4290 pop-up-frame-parameters alist entry.
4291 (display-buffer): Document it.
4292
4293 2012-08-26 Chong Yidong <cyd@gnu.org>
4294
4295 * isearch.el (search-whitespace-regexp): Make string and nil
4296 values apply to both ordinary and regexp search. Allow a cons
4297 cell value to distinguish between the two.
4298 (isearch-whitespace-regexp, isearch-search-forward)
4299 (isearch-search-backward): New functions.
4300 (isearch-occur, isearch-search-fun-default, isearch-search)
4301 (isearch-lazy-highlight-new-loop): Use them.
4302 (isearch-forward, isearch-forward-regexp): Doc fix.
4303
4304 2012-08-26 Chong Yidong <cyd@gnu.org>
4305
4306 * faces.el (help-argument-name): Always inherit from italic
4307 (Bug#12213).
4308
4309 2012-08-25 Martin Rudalics <rudalics@gmx.at>
4310
4311 * window.el (window--even-window-heights): Even heights when
4312 WINDOW and the selected window form a vertical combination.
4313 (display-buffer-use-some-window): Provide that window used gets
4314 sized back by quit-window. (Bug#11880) and (Bug#12091)
4315
4316 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4317
4318 Fix file time stamp problem with bzr and CVS (Bug#12001).
4319 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4320 in the file's time stamp, since the version control system loses
4321 that information.
4322
4323 2012-08-22 Juri Linkov <juri@jurta.org>
4324
4325 * info.el (Info-fontify-node): Hide the suffix of the
4326 Info file name in the header line. (Bug#12187)
4327
4328 2012-08-22 Glenn Morris <rgm@gnu.org>
4329
4330 * calendar/cal-tex.el (cal-tex-weekly-common):
4331 Restore leading blank page.
4332
4333 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
4334
4335 * misc.el (forward-to-word, backward-to-word): Activate or extend
4336 the region under `shift-select-mode'. (Bug#12231)
4337
4338 2012-08-22 Bastien Guerry <bzg@gnu.org>
4339
4340 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4341 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4342 gives details on why the space is never needed.
4343
4344 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4345
4346 * window.el (walk-window-tree, window-with-parameter):
4347 New optional argument MINIBUF to control whether these functions
4348 should run on the minibuffer window.
4349 (window-at-side-list): Don't operate on minibuffer window.
4350 (window-in-direction): Simplify and rewrite doc-string.
4351 (window--size-ignore): Rename to window--size-ignore-p.
4352 Update callers.
4353 (display-buffer-in-atom-window, window--major-non-side-window)
4354 (window--major-side-window, display-buffer-in-major-side-window)
4355 (delete-side-window, display-buffer-in-side-window):
4356 New functions.
4357 (window--side-check, window-deletable-p, delete-window)
4358 (delete-other-windows, split-window): Handle side windows and
4359 atomic windows appropriately.
4360 (window--display-buffer): Call display-buffer-record-window also
4361 when the window buffer did not change.
4362
4363 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4364
4365 * help-fns.el (help-fns--key-bindings):
4366 Abbreviate non-symbol remap targets. (Bug#12174)
4367
4368 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4369
4370 * dired.el (dired-mark-remembered): Don't clobber point.
4371 (Bug#11795)
4372
4373 2012-08-22 Glenn Morris <rgm@gnu.org>
4374
4375 * progmodes/bug-reference.el (bug-reference): New custom group.
4376 (bug-reference-bug-regexp): Make it a defcustom.
4377
4378 2012-08-22 Daiki Ueno <ueno@unixuser.org>
4379
4380 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4381 (js-paren-indent-offset, js-square-indent-offset)
4382 (js-curly-indent-offset): Add :safe (Bug#12257).
4383
4384 2012-08-22 Edward O'Connor <hober0@gmail.com>
4385
4386 * json.el (json-key-format): Add error properties.
4387 (json-encode-key): New function.
4388 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4389 Use json-encode-key.
4390
4391 2012-08-22 Glenn Morris <rgm@gnu.org>
4392
4393 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4394 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4395 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4396 Update for above change.
4397
4398 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4399
4400 * cus-face.el (custom-face-attributes): Fix customize type for the
4401 :underline attribute. (Bug#11805)
4402
4403 2012-08-21 Martin Rudalics <rudalics@gmx.at>
4404
4405 * window.el (window-point-1, set-window-point-1): Remove.
4406 (window-in-direction, record-window-buffer)
4407 (set-window-buffer-start-and-point, split-window-below)
4408 (window--state-get-1, display-buffer-record-window):
4409 Replace calls to window-point-1 and set-window-point-1 by calls to
4410 window-point and set-window-point respectively.
4411
4412 2012-08-21 Glenn Morris <rgm@gnu.org>
4413
4414 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4415 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4416 Use it.
4417
4418 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4419 (cal-tex-shortday): New function.
4420 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4421 (cal-tex-cursor-filofax-daily): Use the above.
4422
4423 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4424 New functions.
4425 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4426 (cal-tex-cursor-filofax-week): Use them.
4427
4428 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4429 New constants.
4430 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4431 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4432
4433 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4434 (cal-tex-end-document): Don't rely on buffer name.
4435
4436 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4437 Use cal-tex-vspace.
4438 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4439 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4440 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4441 Use cal-tex-arg.
4442
4443 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4444 (cal-tex-cursor-week, cal-tex-cursor-week2)
4445 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4446 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4447 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4448 (cal-tex-insert-preamble, cal-tex-b-document)
4449 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4450 Improve cal-tex-cmd usage.
4451
4452 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4453 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4454 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4455 (cal-tex-weekly-paper): New function.
4456 (cal-tex-cursor-week, cal-tex-cursor-week2)
4457 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4458 (cal-tex-cursor-day): Use it.
4459
4460 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4461 (cal-tex-cursor-filofax-week): Remove leading blank page.
4462
4463 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4464 Add autoload cookie. For now at least, don't use color, since
4465 no other cal-tex function does.
4466
4467 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4468 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4469 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4470
4471 2012-08-21 Juri Linkov <juri@jurta.org>
4472
4473 * info.el (Info-file-attributes): New variable.
4474 (info-insert-file-contents): Add file attributes to
4475 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4476 `Info-toc-nodes' when previous modtime of the Info file is less
4477 than new modtime.
4478 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4479 of info.el. (Bug#12230)
4480
4481 2012-08-20 Glenn Morris <rgm@gnu.org>
4482
4483 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4484 * calendar/holidays.el (calendar-holiday-list):
4485 Report errors with display-warning rather than beep'n'sleep.
4486
4487 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
4488
4489 * net/tramp.el (tramp-accept-process-output): Accept only output
4490 from PROC. Otherwise, process filters and sentinels might be
4491 confused. (Bug#12145)
4492
4493 2012-08-20 Chong Yidong <cyd@gnu.org>
4494
4495 * descr-text.el (describe-text-properties-1): Use overlays-in to
4496 report on empty overlays (Bug#3322).
4497
4498 2012-08-20 Glenn Morris <rgm@gnu.org>
4499
4500 * mail/rmailout.el (rmail-output-read-file-name):
4501 Trap and report errors in rmail-output-file-alist elements.
4502
4503 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4504 since most non-font-lock faces are not also variables).
4505
4506 2012-08-20 Edward Reingold <reingold@iit.edu>
4507
4508 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4509 New function. (Bug12160)
4510
4511 2012-08-19 Glenn Morris <rgm@gnu.org>
4512
4513 * mail/rmailout.el (rmail-output-read-file-name):
4514 Fix previous change (when the alist is nil or does not match).
4515
4516 2012-08-19 Chong Yidong <cyd@gnu.org>
4517
4518 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4519 (Bug#12228).
4520
4521 2012-08-18 Chong Yidong <cyd@gnu.org>
4522
4523 * simple.el (yank-handled-properties): New defcustom.
4524 (yank-excluded-properties): Add font-lock-face and category.
4525 (yank): Doc fix.
4526
4527 * subr.el (remove-yank-excluded-properties):
4528 Obey yank-handled-properties. The special handling of font-lock-face
4529 and category is now done this way, instead of being hard-coded.
4530 (insert-for-yank-1): Remove font-lock-face handling.
4531 (yank-handle-font-lock-face-property)
4532 (yank-handle-category-property): New function.
4533
4534 2012-08-17 Glenn Morris <rgm@gnu.org>
4535
4536 * mail/rmailout.el (rmail-output-read-file-name):
4537 Check rmail-output-file-alist against the full message body
4538 in the correct rmail buffer. (Bug#12214)
4539
4540 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
4541
4542 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4543 Eliminate superfluous prompt. (Bug#12203)
4544
4545 2012-08-17 Chong Yidong <cyd@gnu.org>
4546
4547 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4548 font spec, set the font directly (Bug#3228).
4549
4550 2012-08-17 Martin Rudalics <rudalics@gmx.at>
4551
4552 * window.el (delete-window): Fix last fix.
4553
4554 2012-08-16 Martin Rudalics <rudalics@gmx.at>
4555
4556 * window.el (window-valid-p): Move to window.c.
4557 (window-child, window-child-count, window-last-child)
4558 (window-normalize-window, window-combined-p)
4559 (window-combinations, window-atom-root, window-min-size)
4560 (window-sizable, window-sizable-p, window-size-fixed-p)
4561 (window-min-delta, window-max-delta, window--resizable)
4562 (window--resizable-p, window-resizable, window-total-size)
4563 (window-full-height-p, window-full-width-p, window-body-size)
4564 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4565 (minimize-window, window-deletable-p, delete-window)
4566 (delete-other-windows, set-window-buffer-start-and-point)
4567 (next-buffer, previous-buffer, split-window, balance-windows-2)
4568 (set-window-text-height, window-buffer-height)
4569 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4570 (truncated-partial-width-window-p): Minor code adjustments.
4571 In doc-strings state whether the argument window has to denote a
4572 live, valid or any window.
4573
4574 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4575
4576 * progmodes/subword.el (subword-forward-function)
4577 (subword-backward-function, subword-forward-regexp)
4578 (subword-backward-regexp): New variables.
4579 (subword-forward, subword-forward-internal, subword-backward-internal):
4580 Use new variables, eg so that different "word" definitions
4581 can be easily used. (Bug#11411)
4582
4583 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4586 for composite selectors.
4587 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4588 operation just because we can't find a previous revision.
4589
4590 2012-08-15 Chong Yidong <cyd@gnu.org>
4591
4592 * frame.el (set-frame-font): Accept font objects.
4593
4594 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4595
4596 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4597
4598 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4599
4600 * man.el (Man-overstrike-face, Man-underline-face)
4601 (Man-reverse-face): Remove variables.
4602 (Man-overstrike, Man-underline, Man-reverse): New faces.
4603 (Man-fontify-manpage): Use them instead of the variables.
4604 (Man-cleanup-manpage): Comment change.
4605 (Man-ansi-color-map): New variable.
4606 (Man-fontify-manpage): Use it.
4607 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4608
4609 Implement ANSI SGR parameters 22-27 (bug#12146).
4610 * ansi-color.el (ansi-colors): Doc fix.
4611 (ansi-color-context, ansi-color-context-region): Doc fix.
4612 (ansi-color--find-face): New function.
4613 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4614 Rename the local variable `face' to `codes' since it is now a list of
4615 ansi codes. Doc fix.
4616 (ansi-color-get-face): Remove.
4617 (ansi-color-parse-sequence): New function, derived from
4618 ansi-color-get-face.
4619 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4620 codes 22-27.
4621
4622 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4623
4624 * subr.el (read-passwd): Allow use from a minibuffer.
4625
4626 2012-08-14 Eli Zaretskii <eliz@gnu.org>
4627
4628 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4629 inside comments and strings as identifiers.
4630
4631 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4632 expression to evaluate. This allows to evaluate expressions with
4633 embedded whitespace.
4634 (gud-tooltip-tips): Add a blank before the newline in the
4635 message-box text, for the benefit of message-box emulation on
4636 MS-Windows.
4637
4638 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4639 messages from GDB, pop them up in a tooltip to give feedback to
4640 user.
4641 (gdb-tooltip-print-1): Quote the expression to evaluate.
4642 This allows to evaluate expressions with embedded whitespace.
4643 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4644 if the TTY name is nil or empty (which happens when communicating
4645 with the inferior via pipes, e.g. on MS-Windows).
4646 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4647 don't send that to the GUD buffer.
4648
4649 2012-08-14 Glenn Morris <rgm@gnu.org>
4650
4651 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4652 Optimize away setq-default with no args, as for setq. (Bug#12195)
4653
4654 2012-08-14 Chong Yidong <cyd@gnu.org>
4655
4656 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4657
4658 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4659 (Bug#12085).
4660
4661 2012-08-14 Glenn Morris <rgm@gnu.org>
4662
4663 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4664
4665 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
4666
4667 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4668 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4669 Use cached shell name.
4670
4671 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4672
4673 * progmodes/python.el (python-shell-send-string):
4674 (python-shell-send-setup-code): Do not use `format' with `message'.
4675
4676 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4677
4678 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4679 (ruby-percent-literal-beg-re): New constant.
4680 (ruby-syntax-general-delimiters-goto-beg): Rename to
4681 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4682 (ruby-syntax-propertize-general-delimiters): Rename to
4683 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4684 popular term. Adjust comments everywhere.
4685 (ruby-syntax-propertize-percent-literal): Only propertize when not
4686 inside a simple string or comment. When the literal is unclosed,
4687 leave the text after it unpropertized.
4688 (ruby-syntax-methods-before-regexp): New constant.
4689 (ruby-syntax-propertize-function): Use it to recognize regexps.
4690 Don't look at the text after regexp, just use the whitelist.
4691
4692 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4693
4694 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4695 non-nil always load the compiled file if it exists. (Bug#12197)
4696
4697 2012-08-14 Chong Yidong <cyd@gnu.org>
4698
4699 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4700 (hi-lock-set-pattern): When deciding whether to use font lock or
4701 overlays, look at font-lock-mode instead of font-lock-fontified
4702 (Bug#12168).
4703 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4704 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4705
4706 2012-08-14 Daiki Ueno <ueno@unixuser.org>
4707
4708 * subr.el (internal--after-with-selected-window): Fix typo
4709 (Bug#12193).
4710
4711 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4712
4713 Use `completion-table-dynamic' for completion functions.
4714 * progmodes/python.el
4715 (python-shell-completion--do-completion-at-point)
4716 (python-shell-completion--get-completions):
4717 Remove functions.
4718 (python-shell-completion-complete-at-point): New function.
4719 (python-completion-complete-at-point): Use it.
4720
4721 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
4722
4723 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4724 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4725
4726 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * subr.el (function-get): Refine `autoload' arg so it can also
4729 autoload functions for gv.el (bug#12191).
4730 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4731 autoloads macros.
4732
4733 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4734 Prefer pcase-let over destructuring-bind.
4735 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4736 Also, remove whitespace as we go, rather than after accumulating the
4737 various places.
4738
4739 * subr.el (internal--before-with-selected-window)
4740 (internal--after-with-selected-window): Fix typo seleted->selected.
4741 (with-selected-window): Adjust callers.
4742 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4743
4744 2012-08-13 Bastien Guerry <bzg@gnu.org>
4745
4746 * window.el (special-display-popup-frame): Minor docstring
4747 enhancement. (Bug#12172)
4748
4749 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4750
4751 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4752 type 1-6.
4753 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4754 extended headers.
4755
4756 * files.el (hack-local-variables-filter): Remove useless eval.
4757
4758 2012-08-13 Martin Rudalics <rudalics@gmx.at>
4759
4760 * subr.el (with-selected-window): Fix last change.
4761
4762 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * subr.el (internal--before-with-seleted-window)
4765 (internal--after-with-seleted-window): New functions.
4766 (with-selected-window): Use them, to replace dependency on
4767 tty-top-frame.
4768
4769 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4770
4771 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4772 binding for `newline'.
4773 (ruby-move-to-block): When moving backward, stop at block opening,
4774 not indentation.
4775 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4776 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4777 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4778 `ruby-toggle-block'.
4779
4780 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4781
4782 * ibuffer.el (ibuffer-do-toggle-read-only):
4783 * dired.el (dired-toggle-read-only):
4784 * buff-menu.el (Buffer-menu-toggle-read-only):
4785 * bindings.el (mode-line-toggle-read-only):
4786 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4787
4788 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4789
4790 * descr-text.el (describe-char): Put the overlays over the
4791 "displayed as" character.
4792
4793 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4794
4795 * calc/calc-units.el (math-default-units-table): Give an
4796 initial value.
4797 (math-put-default-units): Add options to put composite units and
4798 unit systems in the default units table.
4799 (calc-convert-units): Send composite units to
4800 `math-put-default-units' when appropriate.
4801
4802 2012-08-11 Glenn Morris <rgm@gnu.org>
4803
4804 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4805
4806 * tutorial.el (help-with-tutorial):
4807 * emacs-lisp/copyright.el (copyright-update-directory):
4808 * emacs-lisp/autoload.el (autoload-find-generated-file)
4809 (autoload-find-file): Disable local eval: (for insurance).
4810
4811 * files.el (hack-local-variables-filter): If an eval: form is not
4812 known to be safe, and enable-local-variables is :safe, then ignore
4813 the form totally, as is done for non-eval forms. (Bug#12155)
4814 This is CVE-2012-3479.
4815
4816 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4817
4818 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4819 (rx-form): Simplify.
4820
4821 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4822
4823 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4824 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4825 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4826 (ruby-syntax-propertize-function): Adjust for changes in
4827 `ruby-syntax-propertize-heredoc'.
4828
4829 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4830
4831 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4832 binding (use `M-;' instead).
4833 (ruby-singleton-class-p): New function.
4834 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4835
4836 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4837
4838 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4839
4840 2012-08-10 Chong Yidong <cyd@gnu.org>
4841
4842 * progmodes/python.el (python-shell-get-process-name): Don't mess
4843 with same-window-buffer-names.
4844
4845 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4846 (eshell-remove-from-window-buffer-names): Make obsolete.
4847 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4848 (eshell): Just use pop-to-buffer-same-window instead.
4849
4850 2012-08-10 Chong Yidong <cyd@gnu.org>
4851
4852 * bindings.el: Bind M-= back to count-words-region.
4853
4854 * simple.el (count-words-region): Accept a prefix arg for acting
4855 on the entire buffer.
4856 (count-words--buffer-message): New helper function.
4857
4858 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4859
4860 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4861 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4862 (event-start, event-end): Use posn-at-point to return a more
4863 informative posn.
4864 (posnp): New function.
4865 * mouse.el (popup-menu-normalize-position): Use it.
4866
4867 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4868
4869 * mouse.el (popup-menu-normalize-position): New function.
4870 (popup-menu): Use `popup-menu-normalize-position' to normalize
4871 the form for POSITION argument.
4872
4873 * term/x-win.el (x-menu-bar-open):
4874 Use the value returend from (posn-at-point) as position
4875 passed to `popup-menu'.
4876
4877 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4878
4879 * calc/calccomp.el (math-compose-expr): Add extra argument
4880 indicating that parentheses should be put around products in
4881 denominators. Give multiplication precedence over division during
4882 composition.
4883
4884 2012-08-09 Chong Yidong <cyd@gnu.org>
4885
4886 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4887 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4888 (Man-untabify-command, manual-program): Convert to defcustom
4889 (Bug#10429).
4890
4891 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4892
4893 * descr-text.el (describe-char): Don't insert extra newlines
4894 (Bug#10127).
4895
4896 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4897 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4898
4899 * align.el (align-region): Delete temporary markers (Bug#10047).
4900 Plus some code cleanups.
4901
4902 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4903
4904 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4905 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4906 (python-shell-internal-last-output): Use make-local-variable
4907 instead of make-variable-buffer-local.
4908
4909 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4910
4911 * progmodes/python.el: Enhancements to forward-sexp.
4912 (python-nav-forward-sexp): Rename from
4913 python-nav-forward-sexp-function.
4914 (python-nav--forward-sexp, python-nav--backward-sexp):
4915 New functions.
4916
4917 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4918
4919 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4920 modes and simplification modes.
4921
4922 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 * delsel.el (delete-selection-pre-hook): Don't propagate the
4925 file-supersession signals (bug#12161).
4926
4927 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4928
4929 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4930 (cl-map-extents): Add compatibility aliases (bug#12135).
4931
4932 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4933
4934 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4935 tests by `ignore-error'.
4936 (tramp-find-shell): Open also a new shell, when cache is already
4937 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4938
4939 2012-08-08 Juri Linkov <juri@jurta.org>
4940
4941 * bookmark.el: Add `defaults' property to the bookmark record.
4942 (bookmark-current-buffer): Doc fix.
4943 (bookmark-make-record): Add `defaults' property with default values
4944 to the bookmark record.
4945 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4946 with `bookmark-insert-current-bookmark'.
4947 (bookmark-set): Get `defaults' property from the bookmark record
4948 and use it in `read-from-minibuffer'.
4949 (bookmark-insert-current-bookmark): Remove function.
4950
4951 * info.el (Info-bookmark-make-record): Add `defaults' property
4952 with values of canonical Info node name, the current Info file
4953 name and the current Info node name. (Bug#12107)
4954
4955 2012-08-08 Juri Linkov <juri@jurta.org>
4956
4957 * files.el (basic-save-buffer): Use `buffer-name' as the default
4958 of `read-file-name' when buffer is not visiting a file (bug#12128).
4959
4960 2012-08-08 Juri Linkov <juri@jurta.org>
4961
4962 * info.el (Info-isearch-search): Doc fix.
4963 (Info-search): Change search-failed message from "initial node" to
4964 "end of node" (bug#12078).
4965 (Info-isearch-search): Change `isearch-string-state' to
4966 `isearch--state-string'.
4967
4968 2012-08-08 Glenn Morris <rgm@gnu.org>
4969
4970 * language/persian.el: Remove file.
4971 * language/misc-lang.el: Move unique part of persian.el here.
4972 * loadup.el: Remove language/persian.
4973
4974 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4975
4976 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4977
4978 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4979
4980 * progmodes/python.el Fixed defsubst warning.
4981 (python-syntax-context) Rename from python-info-ppss-context.
4982 (python-syntax-context-type): Rename from
4983 python-info-ppss-context-type.
4984 (python-syntax-comment-or-string-p): Rename from
4985 python-info-ppss-comment-or-string-p.
4986
4987 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4988
4989 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4990
4991 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4992
4993 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4994 a defcustom that is quoted with backquote.
4995
4996 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4997 Fix handling of interactive spec when the body uses return.
4998 (math-do-arg-check, math-define-function-body): Use backquote forms.
4999 * calc/calc-ext.el (math-defcache): Likewise.
5000 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5001 * allout.el (allout-new-exposure): Likewise.
5002 * calc/calcalg2.el (math-tracing-integral): Likewise.
5003 * info.el (Info-last-menu-item): Likewise.
5004 * emulation/vip.el (vip-loop): Likewise.
5005 * textmodes/artist.el (artist-funcall): Likewise.
5006 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5007 Construct menu-item directly.
5008
5009 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5010 Don't declare.
5011
5012 2012-08-07 Chong Yidong <cyd@gnu.org>
5013
5014 * simple.el (deactivate-mark): Preserve text properties when
5015 saving the primary selection (Bug#8384).
5016
5017 2012-08-07 Kevin Ryde <user42@zip.com.au>
5018
5019 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5020 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5021 and continue processing (Bug#12110).
5022
5023 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5024
5025 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5026 syntax-propertize-function (bug#10095).
5027
5028 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5029
5030 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5031 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5032 describe-function-1.
5033 (describe-function-1): Use them. Move compiler macro after sig.
5034 (help-fns--compiler-macro): Use function-get. Assume we're already in
5035 standard-output. Adjust layout to new call order.
5036
5037 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5038 re-binding a symbol that has a symbol-macro (bug#12119).
5039
5040 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5041
5042 * language/persian.el: New file. (Bug#11812)
5043 * loadup.el: Add language/persian.el.
5044
5045 2012-08-06 Chong Yidong <cyd@gnu.org>
5046
5047 * window.el (window--maybe-raise-frame): New function.
5048 (window--display-buffer): Split off from here.
5049 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5050 (display-buffer-pop-up-window, display-buffer-use-some-window):
5051 Obey an inhibit-switch-frame action alist entry.
5052 (display-buffer): Update doc.
5053
5054 * replace.el (occur-after-change-function): Avoid losing focus by
5055 using the inhibit-switch-frame display parameter (Bug#12139).
5056
5057 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5058
5059 Make internal shell process buffer names start with space.
5060 * progmodes/python.el (python-shell-make-comint): Add optional
5061 argument INTERNAL.
5062 (run-python-internal): Use it.
5063 (python-shell-internal-get-or-create-process): Check for new
5064 internal buffer names.
5065
5066 2012-08-06 Glenn Morris <rgm@gnu.org>
5067
5068 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5069 Do less getting and setting of environment variables.
5070
5071 2012-08-05 Chong Yidong <cyd@gnu.org>
5072
5073 * proced.el (proced): Add substitution string to docstring to
5074 trigger autoloading of the proced library on C-h f (Bug#1768).
5075
5076 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5077 Don't show defvars which have no second argument (Bug#8638).
5078
5079 * imenu.el (imenu-generic-expression): Move documentation here
5080 from imenu--generic-function.
5081 (imenu--generic-function): Refer to imenu-generic-expression.
5082
5083 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
5084
5085 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5086 indentation declaration.
5087 (viper-loop): Add indentation declaration (Bug#7025).
5088
5089 2012-08-05 Chong Yidong <cyd@gnu.org>
5090
5091 * help-fns.el (describe-variable): Add hyperlink for
5092 directory-local variables files. Improve buffer-local and
5093 permanent-local reporting; suggested by MON KEY (Bug#6644).
5094
5095 * help-mode.el (help-dir-local-var-def): New button type.
5096
5097 * files.el (kill-buffer-hook): Provide a defvar.
5098
5099 2012-08-05 Glenn Morris <rgm@gnu.org>
5100
5101 * eshell/esh-ext.el (eshell/addpath):
5102 Also update eshell-path-env. (Bug#12013)
5103
5104 2012-08-05 Chong Yidong <cyd@gnu.org>
5105
5106 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5107
5108 * fringe.el (fringe-styles): Add docstring.
5109 (fringe--check-mode): New function.
5110 (set-fringe-mode, set-fringe-style): Use it.
5111 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5112
5113 * files.el (set-auto-mode): Fix invalid setq call.
5114
5115 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5116
5117 * isearch.el: Misc simplification; use defstruct.
5118 (isearch-mode-map): Dense maps now work like sparse ones.
5119 (isearch--state): New defstruct.
5120 (isearch-string-state, isearch-message-state, isearch-point-state)
5121 (isearch-success-state, isearch-forward-state)
5122 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5123 (isearch-wrapped-state, isearch-barrier-state)
5124 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5125 replaced by defstruct's accessors.
5126 (isearch--set-state): Rename from isearch-top-state and change
5127 calling convention.
5128 (isearch-push-state): Use new isearch--get-state.
5129 (isearch-toggle-word): Disable regexp when enabling word.
5130 (isearch-message-prefix): Remove unused arg _c-q-hack.
5131 (isearch-message-suffix): Remove unused arg _ellipsis.
5132
5133 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5134
5135 * simple.el (list-processes--refresh): For a server use :host or
5136 :local as the address.
5137 (list-processes): Doc fix.
5138
5139 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
5140
5141 * lisp/mpc.el: Support password in host argument.
5142 (mpc--proc-connect): Parse and use new password element.
5143 Set mpc-proc variable instead of returning process.
5144 (mpc-proc): Adjust accordingly.
5145
5146 2012-08-03 Eli Zaretskii <eliz@gnu.org>
5147
5148 * whitespace.el (whitespace-display-mappings): Use Unicode
5149 codepoints, instead of emacs-mule codepoints. See
5150 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5151 for the details.
5152
5153 * files.el (file-truename): Don't skip symlink-chasing part on
5154 windows-nt. Incorporate the resolution of 8+3 short aliases on
5155 Windows into the loop that recursively chases symlinks.
5156 Compare directory and its parent case-insensitively on MS-Windows and
5157 MS-DOS.
5158
5159 2012-08-03 Chong Yidong <cyd@gnu.org>
5160
5161 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5162
5163 * sort.el (sort-regexp-fields): Doc fix.
5164
5165 2012-08-03 Tassilo Horn <tsdh@gnu.org>
5166
5167 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5168 labels regex position point at the expected place.
5169
5170 2012-08-03 MON KEY <monkey@sandpframing.com>
5171
5172 * net/imap.el (imap-interactive-login, imap-authenticate)
5173 (imap-mailbox-lsub, imap-mailbox-list)
5174 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5175 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5176 (imap-parse-response): Doc fix.
5177
5178 2012-08-03 João Távora <joaotavora@gmail.com>
5179
5180 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5181 if sexp scanning does not move point (Bug#5734).
5182
5183 2012-08-02 Tassilo Horn <tsdh@gnu.org>
5184
5185 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5186 Add listings, minted, and ctable packages.
5187 (reftex-label-alist-builtin): Move listings, minted, and ctable
5188 entries before LaTeX.
5189 (reftex-label-alist): Docfix.
5190
5191 2012-08-02 Bastien Guerry <bzg@gnu.org>
5192
5193 * replace.el (occur): Fix docstring (bug#12122).
5194
5195 2012-08-02 Glenn Morris <rgm@gnu.org>
5196
5197 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5198
5199 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5200
5201 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5202 * international/mule-cmds.el: Create
5203 inactivate-current-input-method-function as an obsolete alias for
5204 deactivate-current-input-method-function. See Katsumi Yamaoka in
5205 <http://bugs.gnu.org/10150#46>.
5206
5207 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5208
5209 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5210 of nested `if's.
5211
5212 2012-08-01 Glenn Morris <rgm@gnu.org>
5213
5214 * progmodes/autoconf.el (autoconf-definition-regexp):
5215 Add AH_TEMPLATE, adjust submatch numbering.
5216 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5217 (autoconf-current-defun-function): Update for above change.
5218 (autoconf-current-defun-function): First skip to end of current word.
5219
5220 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5221
5222 * calendar/cal-html.el (cal-html-insert-agenda-days):
5223 Fix typo. (Bug#12018)
5224
5225 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5226
5227 Shell processes: enhancements to startup and CEDET compatibility.
5228 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5229 (python-shell-make-comint): accept-process-output at startup.
5230 (run-python-internal): Set inferior-python-mode-hook to nil.
5231 (python-shell-internal-get-or-create-process): call sit-for.
5232 (python-preoutput-result): Add obsolete alias.
5233 (python-shell-internal-send-string): Use it.
5234 (python-shell-send-setup-code): Remove call to
5235 accept-process-output.
5236
5237 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5238
5239 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5240 (Bug#12108)
5241
5242 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5243
5244 * calc-mode.el (calc-basic-simplification-mode): Rename from
5245 `calc-limited-simplification-mode'.
5246 (calc-alg-simplification-mode): New function.
5247 (calc-set-simplify-mode): Adjust message.
5248
5249 * calc.el (calc-set-mode-line): Adjust mode line display for
5250 basic simplification mode.
5251
5252 * calc-help.el (calc-m-prefix-help): Update help message.
5253
5254 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5255 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5256
5257 2012-07-31 Bastien Guerry <bzg@gnu.org>
5258
5259 * man.el (man): Fix comment. (bug#12101)
5260
5261 2012-07-31 Martin Rudalics <rudalics@gmx.at>
5262
5263 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5264 Don't return a non-nil value when no suitable buffer was found.
5265
5266 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5267
5268 * progmodes/python.el (run-python-internal): Disable font lock for
5269 internal shells.
5270
5271 2012-07-30 Stefan Merten <smerten@oekonux.de>
5272
5273 * textmodes/rst.el: Silence `checkdoc-ispell'.
5274 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5275 (rst-official-version, rst-official-cvs-rev)
5276 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5277 (rst-mode-map): New key binding.
5278
5279 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5280
5281 Update .PHONY listings in makefiles.
5282 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5283 autoloads, update-subdirs, updates, bzr-update, update-authors,
5284 compile-onefile, compile-calc, backup-compiled-files,
5285 compile-after-backup, compile-one-process, mh-autoloads,
5286 bootstrap-clean, distclean, maintainer-clean.
5287
5288 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5289
5290 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5291 (calc-set-mode-line): Don't display "AlgSimp ".
5292
5293 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5294 (calc-lim-simplify-mode): New function.
5295 (calc-set-simplify-mode): Default to 'alg.
5296 (calc-default-simplify-mode): Make algebraic simplifications
5297 the default.
5298
5299 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5300 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5301
5302 * calc/calc-help.el (calc-m-prefix-help): Change messages to
5303 indicate new simplification modes.
5304
5305 * calc/README: Mention new default simplification mode.
5306
5307 * calc/calc.el (math-normalize-error): New variable.
5308 (math-normalize): Set `math-normalize-error' to t
5309 when there's an error.
5310
5311 * calc/calc-alg.el (math-simplify): Don't simplify when
5312 `math-normalize' returns an error.
5313
5314 2012-07-29 Eli Zaretskii <eliz@gnu.org>
5315
5316 * international/mule-cmds.el (set-locale-environment): Revert last
5317 change, since display-graphic-p returns nil when this function is
5318 called during startup. Instead...
5319
5320 * term/w32console.el (terminal-init-w32console): ...setup the
5321 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5322
5323 2012-07-29 Juri Linkov <juri@jurta.org>
5324
5325 * simple.el (goto-line): Don't display default line number in the
5326 prompt because it should be displayed by `read-number' (bug#9952).
5327 Add the current line number to the defaults of `goto-line' to
5328 allow its easier modification by users with `M-n' (bug#9201).
5329
5330 * subr.el (read-number): Support multiple default values like in
5331 other minibuffer reading functions. Replace `read' with
5332 `string-to-number' for consistency with `number-to-string'.
5333
5334 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5335
5336 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5337 * emulation/viper-init.el (viper-deactivate-input-method-action):
5338 Rename from viper-inactivate-input-method-action.
5339 (viper-deactivate-input-method):
5340 Rename from viper-inactivate-input-method.
5341 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5342 * international/mule-cmds.el (deactivate-input-method):
5343 Rename from inactivate-input-method.
5344 Also run input-method-deactivate-hook.
5345 (deactivate-current-input-method-function):
5346 Rename from inactivate-current-input-method-function.
5347 (input-method-deactivate-hook): New hook.
5348 (input-method-inactivate-hook): Mark obsolete.
5349 (inactivate-input-method): Mark obsolete.
5350
5351 * international/quail.el (quail-activate):
5352 Also run quail-deactivate-hook.
5353 (quail-deactivate): Rename from quail-inactivate.
5354 * international/robin.el (robin-activate):
5355 Also run robin-deactivate-hook.
5356 (robin-deactivate): Rename from robin-inactivate.
5357
5358 2012-07-29 Chong Yidong <cyd@gnu.org>
5359
5360 * simple.el (indicate-copied-region): New function.
5361 (kill-ring-save): Split off from here.
5362
5363 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5364 (kill-rectangle): Set deactivate-mark to t on read-only error.
5365
5366 * register.el (copy-to-register, copy-rectangle-to-register):
5367 Deactivate the mark, and use indicate-copied-region (Bug#10056).
5368 (append-to-register, prepend-to-register): Call indicate-copied-region.
5369
5370 2012-07-29 Juri Linkov <juri@jurta.org>
5371
5372 * simple.el (async-shell-command-buffer): New defcustom.
5373 (shell-command): Use it. (Bug#4719)
5374
5375 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5376
5377 * international/mule-cmds.el (set-locale-environment): In a
5378 console session on MS-Windows, set up keyboard and terminal
5379 encoding from the OEM codepage, not the ANSI codepage.
5380 (Bug#12055)
5381
5382 2012-07-28 Chong Yidong <cyd@gnu.org>
5383
5384 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5385 gdb-get-location.
5386
5387 2012-07-28 Leo Liu <sdl.web@gmail.com>
5388
5389 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5390 the alist (bug#12029).
5391
5392 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5393
5394 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5395 (compile-always, compile-first)
5396 ($(lisp)/calendar/cal-loaddefs.el)
5397 ($(lisp)/calendar/diary-loaddefs.el)
5398 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5399 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5400 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5401 instead of on update-subdirs.
5402 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5403
5404 2012-07-28 Chong Yidong <cyd@gnu.org>
5405
5406 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5407 directory if vc-deduce-backend returns nil (Bug#7350).
5408
5409 * simple.el (delete-trailing-lines): New option.
5410 (delete-trailing-whitespace): Obey it (Bug#11879).
5411
5412 2012-07-28 David Engster <deng@randomsample.de>
5413
5414 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5415 Explanation of new 'symbol-qnames feature in doc-strings.
5416 (xml-maybe-do-ns): Return expanded names as plain symbols if
5417 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5418 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5419
5420 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5421
5422 Consistent completion in inferior python with emacs -nw.
5423 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5424 binding in inferior-python-mode-map with "\t".
5425 (python-shell-completion-complete-at-point)
5426 (python-completion-complete-at-point): Remove interactive spec.
5427
5428 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5429
5430 * calc/calccomp.el (math-compose-expr): Undo previous change.
5431
5432 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5433
5434 * progmodes/python.el (python-mode-map): Add keybinding for
5435 run-python.
5436 (python-shell-make-comint): Fix pop-to-buffer call.
5437 (run-python): Autoload. New arg SHOW.
5438 (python-shell-get-or-create-process): Do not pop python process
5439 buffer.
5440
5441 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
5442
5443 * notifications.el (notifications-on-action-signal)
5444 (notifications-on-closed-signal): Use also the bus address for the map.
5445 (notifications-notify, notifications-close-notification)
5446 (notifications-get-capabilities): Add optional argument BUS.
5447
5448 2012-07-27 Tassilo Horn <tsdh@gnu.org>
5449
5450 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5451 Add support for the lstlisting and minted environments, and for the
5452 ctable macro.
5453 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5454 labels written in keyvals syntax.
5455
5456 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5457
5458 * calc/calccomp.el (math-compose-expr): Use parentheses when
5459 there is a product in the denominator of a fraction.
5460
5461 2012-07-26 Eli Zaretskii <eliz@gnu.org>
5462
5463 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5464 ($(lisp)/calendar/diary-loaddefs.el)
5465 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5466 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5467 Fixes failures in parallel bootstrap because subdirs.el is being
5468 rewritten while the autoload files are built at the same time,
5469 which needs to load subdirs.el.
5470
5471 2012-07-26 Martin Rudalics <rudalics@gmx.at>
5472
5473 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5474 (mouse-drag-line): Don't exit tracking when a switch-frame or
5475 switch-window event occurs (Bug#12006).
5476
5477 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * mouse.el (popup-menu): Fix last change.
5480
5481 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5482
5483 Autoload from Lisp with more care. Follow aliases when looking for
5484 function properties.
5485 * subr.el (autoloadp): New function.
5486 (symbol-file): Use it.
5487 (function-get): New function.
5488 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5489 autoload-do-load.
5490 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5491 (lisp-indent-function):
5492 * emacs-lisp/gv.el (gv-get):
5493 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5494 * emacs-lisp/byte-opt.el (byte-optimize-form):
5495 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5496 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5497 Use function-get.
5498 * emacs-lisp/cl.el: Don't propagate function properties any more.
5499
5500 * speedbar.el (speedbar-add-localized-speedbar-support):
5501 * emacs-lisp/disass.el (disassemble-internal):
5502 * desktop.el (desktop-load-file):
5503 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5504 (describe-function-1):
5505 * emacs-lisp/find-func.el (find-function-noselect):
5506 * emacs-lisp/elp.el (elp-instrument-function):
5507 * emacs-lisp/advice.el (ad-has-proper-definition):
5508 * apropos.el (apropos-safe-documentation, apropos-macrop):
5509 * emacs-lisp/debug.el (debug-on-entry):
5510 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5511 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5512 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5513
5514 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5515
5516 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5517 function, not an obsolete variable (Bug#12046).
5518
5519 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5520
5521 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5522
5523 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5524
5525 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5526 window only if it is still live (Bug#12034).
5527
5528 2012-07-25 Martin Rudalics <rudalics@gmx.at>
5529
5530 * subr.el (redirect-frame-focus): Add advertised calling
5531 convention (Bug#12030).
5532
5533 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5534
5535 Prefer typical American spelling for "acknowledgment".
5536 * vc/add-log.el (change-log-acknowledgment): Rename from
5537 change-log-acknowledgement, with an alias for the old name.
5538
5539 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5540
5541 * calc-alg.el (math-simplify-divide): Don't cross multiply
5542 in an equation when the lhs is a variable.
5543
5544 2012-07-24 Julien Danjou <julien@danjou.info>
5545
5546 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5547 Remove, unused.
5548
5549 2012-07-23 Eli Zaretskii <eliz@gnu.org>
5550
5551 * startup.el (command-line): Don't display an empty user name in
5552 the error message about non-existent home directory, when
5553 init-file-user was set to an empty string. See
5554 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5555 for the details and context.
5556
5557 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5558
5559 * ses.el (ses-cell-formula-aset): New macro.
5560 (ses-cell-references-aset): New macro.
5561 (ses-cell-p): New function.
5562 (ses-rename-cell): Do no longer rely on complex operations like
5563 ses-cell-set-formula or ses-set-cell to change the cell and handle
5564 the undo at the same time, but rather use lower level new macros
5565 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5566 the undo directly. Refresh the mode line.
5567
5568 2012-07-21 Leo Liu <sdl.web@gmail.com>
5569
5570 * progmodes/cc-cmds.el (c-defun-name):
5571 Use match-string-no-properties instead for consistency.
5572
5573 2012-07-20 Leo Liu <sdl.web@gmail.com>
5574
5575 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5576 (Bug#7879)
5577
5578 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5579
5580 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5583 * progmodes/bug-reference.el, misearch.el: Provide themselves
5584 (bug#11915).
5585
5586 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5587 of narrowed buffer (bug#11966).
5588
5589 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5590
5591 * ses.el (ses-rename-cell): Set new name also in reference list of
5592 cells of which the renamed cell depends.
5593
5594 2012-07-20 Masatake YAMATO <yamato@redhat.com>
5595
5596 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5597 to check whether menu-bar is shown or not. If not shown,
5598 show the menu-bar as a popup menu instead of using tmm.
5599 * mouse.el (popup-menu): Accept `point' as `position' argument.
5600
5601 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5602
5603 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5604 up inside string symbol literal (bug#11923).
5605
5606 2012-07-20 Eli Zaretskii <eliz@gnu.org>
5607
5608 * startup.el (fancy-startup-text): Read the whole tutorial, not
5609 just its first 256 bytes. Prevents gibberish in display of the
5610 tutorial title.
5611
5612 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5613
5614 Drop idle buffer compaction due to an absence of the
5615 proved efficiency.
5616 * compact.el: Remove.
5617
5618 2012-07-19 Sam Steingold <sds@gnu.org>
5619
5620 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5621 vc-bzr-pull & vc-bzr-merge-branch.
5622 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5623 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5624 for consistency with compilation-error-regexp-alist.
5625 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5626 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5627 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5628 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5629
5630 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5631
5632 * emacs-lisp/chart.el: Use lexical-binding.
5633 (chart-emacs-storage): Don't hardcode the list of entries.
5634
5635 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5636
5637 Next round of tweaks caused by Fgarbage_collect changes.
5638 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5639
5640 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5641
5642 Compact buffers when idle.
5643 * compact.el: New file.
5644
5645 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5646
5647 * subr.el (eventp): Presume that if it looks vaguely like an event,
5648 it's an event (bug#10190).
5649
5650 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5651
5652 Enhancements to ppss related code (thanks Stefan).
5653 * progmodes/python.el (python-indent-context)
5654 (python-indent-calculate-indentation, python-indent-dedent-line)
5655 (python-indent-electric-colon, python-nav-forward-block)
5656 (python-mode-abbrev-table)
5657 (python-info-assignment-continuation-line-p): Simplify checks
5658 for ppss context.
5659 (python-info-continuation-line-p): Cleanup.
5660 (python-info-ppss-context): Do not catch 'quote.
5661 (python-info-ppss-context-type)
5662 (python-info-ppss-comment-or-string-p): Simplify.
5663
5664 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5665
5666 * progmodes/python.el: Enhancements to eldoc support.
5667 (python-info-current-symbol): New function.
5668 (python-eldoc-at-point): Use python-info-current-symbol.
5669 (python-info-current-defun): Fix cornercase on first defun scan.
5670 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5671 and signal error when no inferior python process is available.
5672
5673 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5674
5675 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5676 assume it's always t.
5677 (vc-git-registered): Remove caching, the function is only called
5678 once.
5679 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5680
5681 2012-07-18 Chong Yidong <cyd@gnu.org>
5682
5683 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5684
5685 * simple.el (count-words): Report on narrowing (Bug#9959).
5686
5687 * bindings.el: Bind M-= to count-words.
5688
5689 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5690
5691 2012-07-18 Masatake YAMATO <yamato@redhat.com>
5692
5693 * progmodes/sh-script.el (sh-imenu-generic-expression):
5694 Capture a function with `function' keyword and without parentheses
5695 like "function FOO" (bug#11856).
5696
5697 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5698
5699 * window.el (split-window-sensibly): Make WINDOW argument
5700 optional.
5701
5702 2012-07-18 Chong Yidong <cyd@gnu.org>
5703
5704 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5705
5706 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5707 and make C-x 8 RET exit isearch (Bug#11439).
5708
5709 * international/iso-transl.el: Move isearch-mode-map key
5710 definitions to isearch.el.
5711
5712 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5713
5714 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5715 (eieio-defclass): Use gv-define-setter when possible.
5716
5717 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5718
5719 Reflect recent changes in Fgarbage_collect.
5720 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5721 reflect new format of data returned by Fgarbage_collect.
5722
5723 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5724
5725 New utility functions + python-info-ppss-context fix (Bug#11910).
5726 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5727 (python-info-ppss-comment-or-string-p): New functions.
5728 (python-info-ppss-context): Small fix for string check.
5729
5730 2012-07-17 Juri Linkov <juri@jurta.org>
5731
5732 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5733 (dired-do-async-shell-command): Don't add `*' at the end of the
5734 command (Bug#11815).
5735 (dired-do-shell-command): Doc fix.
5736 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5737 Join the individual commands using either "&" or ";" as the
5738 separator depending on the values of these trailing characters.
5739 At the end re-add the trailing "&". (Bug#10598)
5740
5741 * simple.el (async-shell-command): Sync the interactive spec with
5742 `shell-command'. Doc fix.
5743 (shell-command): Doc fix.
5744
5745 2012-07-17 Juri Linkov <juri@jurta.org>
5746
5747 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5748
5749 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5750
5751 Final renames and doc fixes for movement commands (bug#11899).
5752 * progmodes/python.el (python-nav-beginning-of-statement):
5753 Rename from python-nav-statement-start.
5754 (python-nav-end-of-statement): Rename from
5755 python-nav-statement-end.
5756 (python-nav-beginning-of-block): Rename from
5757 python-nav-block-start.
5758 (python-nav-end-of-block): Rename from python-nav-block-end.
5759
5760 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5761
5762 * progmodes/python.el (python-shell-send-string-no-output):
5763 Allow accept-process-output to quit, keeping shell process ready for
5764 future interactions (Bug#11868).
5765
5766 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5769
5770 * emacs-lisp/elint.el (elint-find-args-in-code):
5771 Use help-function-arglist, so as to handle lexical byte-code.
5772
5773 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5774 change (bug#11826).
5775
5776 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5777
5778 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5779 Avoid spuriously marking the buffer as modified because of c-is-sws.
5780
5781 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5782 as not-a-comment (bug#11946).
5783
5784 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5785 for uninterned vars.
5786
5787 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5788 Use read-event since we don't really want to read chars but bytes.
5789
5790 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5791 $$..$$ but also $..$ using regexps (bug#11953).
5792 Use tex-verbatim for \url and \path.
5793 (tex-font-lock-keywords): Define as defconst like the others.
5794 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5795
5796 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5797
5798 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5799 alias for insert-char.
5800
5801 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5802
5803 * progmodes/python.el: Simplified imenu implementation.
5804 (python-nav-jump-to-defun): Remove command.
5805 (python-mode-map): Use `imenu' instead.
5806 (python-nav-list-defun-positions-cache)
5807 (python-imenu-include-defun-type, python-imenu-make-tree)
5808 (python-imenu-subtree-root-label, python-imenu-index-alist):
5809 Remove vars.
5810 (python-nav-list-defun-positions, python-nav-read-defun)
5811 (python-imenu-tree-assoc, python-imenu-make-element-tree)
5812 (python-imenu-make-tree, python-imenu-create-index):
5813 Remove functions.
5814 (python-mode): Update to interact with imenu by setting
5815 `imenu-extract-index-name-function' only.
5816
5817 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5818
5819 * progmodes/python.el: Enhancements to navigation commands.
5820 (python-nav-backward-sentence)
5821 (python-nav-forward-sentence): Remove.
5822 (python-nav-backward-statement, python-nav-forward-statement)
5823 (python-nav-statement-start, python-nav-statement-end)
5824 (python-nav-backward-block, python-nav-forward-block)
5825 (python-nav-block-start, python-nav-block-end)
5826 (python-nav-forward-sexp-function)
5827 (python-info-current-line-comment-p)
5828 (python-info-current-line-empty-p): New functions.
5829 (python-indent-context): Use `python-nav-statement-start'.
5830
5831 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5832
5833 * eshell/em-ls.el (eshell/ls): Use `apply'.
5834
5835 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5836 multi-hops, instead of Tramp internals.
5837
5838 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5839
5840 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5841 when F1 and F2 are located on different hosts.
5842
5843 2012-07-14 Chong Yidong <cyd@gnu.org>
5844
5845 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5846 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5847 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5848 (xterm-mouse--read-event-sequence-1000)
5849 (xterm-mouse--read-event-sequence-1006): New functions. For old
5850 mouse protocol, handle M-mouse-X events correctly.
5851 (xterm-mouse-event): New arg specifying mouse protocol.
5852 (turn-on-xterm-mouse-tracking-on-terminal)
5853 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5854 sequence to toggle extended coordinates on newer XTerms.
5855 This appears to be harmless on terminals which do not support this.
5856
5857 2012-07-14 Leo Liu <sdl.web@gmail.com>
5858
5859 Add fringe bitmap indicators for flymake. (Bug#11253)
5860 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5861 (flymake-make-overlay): New arg BITMAP.
5862 (flymake-error-bitmap, flymake-warning-bitmap)
5863 (flymake-fringe-indicator-position): New user variables.
5864
5865 * fringe.el: New bitmap exclamation-mark.
5866
5867 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5868
5869 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5870 also (Bug#7879).
5871
5872 2012-07-14 Chong Yidong <cyd@gnu.org>
5873
5874 * electric.el (electric-pair-post-self-insert-function): Fix pair
5875 insertion in empty-region case (Bug#11520).
5876
5877 2012-07-14 Chong Yidong <cyd@gnu.org>
5878
5879 * bindings.el: Consolidate ctl-x-r-map bindings.
5880 Bind copy-rectangle-as-kill to C-x r w.
5881
5882 * rect.el, register.el: Move bindings to bindings.el.
5883
5884 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5885
5886 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5887
5888 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5889
5890 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5891
5892 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5893
5894 * bindings.el (top): Use `mapc' instead of `mapcar'.
5895
5896 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5897
5898 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5899
5900 * progmodes/sql.el (sql-comint): Suppress the check for program on
5901 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5902 (Bug#11908)
5903
5904 2012-07-13 Chong Yidong <cyd@gnu.org>
5905
5906 * bindings.el: Assign a non-nil permanent-local property to
5907 per-buffer variables which lack a default value (Bug#11930).
5908
5909 * help-fns.el (describe-variable): In the "automatically becomes
5910 local" notice, take note of permanent-local variables.
5911
5912 2012-07-13 Chong Yidong <cyd@gnu.org>
5913
5914 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5915 to allow printing the message when called from Lisp.
5916
5917 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5918 Remove toggle-read-only.
5919
5920 * bs.el (bs-toggle-readonly):
5921 * buff-menu.el (Buffer-menu-toggle-read-only):
5922 Remove with-no-warnings around toggle-read-only.
5923
5924 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5925 Remove with-no-warnings around toggle-read-only.
5926 (ffap-read-only, ffap-read-only-other-window)
5927 (ffap-read-only-other-frame): Callers changed.
5928
5929 * help-mode.el: Don't require view package.
5930 (help-mode-finish): Set buffer-read-only instead of calling
5931 toggle-read-only.
5932
5933 * bindings.el (mode-line-toggle-read-only):
5934 * dired.el (dired-toggle-read-only):
5935 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5936 with non-nil second arg.
5937
5938 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5939 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5940 directly.
5941
5942 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5943
5944 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5945 not incf.
5946
5947 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5948
5949 More CL cleanups and reduction of use of cl.el.
5950 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5951 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5952 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5953 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5954 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5955 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5956 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5957 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5958 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5959 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5960 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5961 * eshell/em-cmpl.el, eshell/em-banner.el:
5962 * calendar/parse-time.el: Use cl-lib.
5963 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5964 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5965 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5966 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5967 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5968 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5969 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5970 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5971 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5972 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5973 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5974 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5975 `lambda' rather than with `quote'.
5976 (eshell-do-opt): Adjust accordingly.
5977 (eshell-process-option): Simplify.
5978 * eshell/esh-var.el:
5979 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5980 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5981 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5982 to `pcase--dontcare'.
5983 * emacs-lisp/cl.el (labels): Mark obsolete.
5984 (cl--letf, letf): Move to cl-lib.
5985 (cl--letf*, letf*): Remove.
5986 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5987 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5988 (cl-progv): Rewrite.
5989 (cl--letf, cl-letf): Move from cl.el.
5990 (cl-letf*): New macro.
5991 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5992
5993 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5994
5995 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5996
5997 2012-07-11 Chong Yidong <cyd@gnu.org>
5998
5999 * vc/log-edit.el (log-edit-vc-backend): New variable.
6000 (log-edit): Doc fix.
6001
6002 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6003 argument of log-edit to set up all local variables.
6004 (vc-start-logentry): New optional arg specifying VC backend.
6005
6006 * vc/vc.el (vc-checkin): Use it.
6007 (vc-deduce-fileset): Handle Log Edit buffers.
6008 (vc-diff): Make first argument optional too.
6009
6010 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6011
6012 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
6013
6014 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6015 command, just in case. The function is not needed anymore.
6016 (eshell-external-command): Do not call `eshell-remote-command'.
6017
6018 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 Reduce use of (require 'cl).
6021 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6022 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6023 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6024 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6025 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6026 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6027 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6028 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6029 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6030 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6031 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6032 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6033 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6034 (byte-compile-unfold-bcf, byte-compile-check-variable):
6035 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6036 (byte-compile-nilconstp):
6037 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6038 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6039
6040 * emacs-lisp/gv.el (cond): Make it a valid place.
6041 (if): Simplify slightly.
6042
6043 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6044 (pcase--self-quoting-p): New function.
6045 (pcase--u1): Use it.
6046
6047 2012-07-10 Glenn Morris <rgm@gnu.org>
6048
6049 * emacs-lisp/authors.el (authors-fixed-entries):
6050 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6051
6052 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6053
6054 Rename configure.in to configure.ac (Bug#11603).
6055 * emacs-lisp/authors.el (authors-canonical-file-name):
6056 * progmodes/autoconf.el (autoconf-mode):
6057 Prefer configure.ac to configure.in.
6058
6059 2012-07-08 Chong Yidong <cyd@gnu.org>
6060
6061 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6062 Implement the mouse-1-click-follows-link handling properly.
6063
6064 * info.el (Info-link-keymap): Use follow-link mechanism for
6065 header-line links (Bug#374).
6066
6067 * simple.el (deactivate-mark): Do not set the primary selection
6068 if another program has acquired it (Bug#11772).
6069
6070 2012-07-07 Kevin Ryde <user42@zip.com.au>
6071
6072 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6073 (woman-decode-region): Replace escaped-escapes without destroying
6074 bold or underline (Bug#11552).
6075 (woman2-process-escapes): Handle nofill regions (Bug#11591).
6076
6077 2012-07-07 Chong Yidong <cyd@gnu.org>
6078
6079 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6080 (interprogram-cut-function, interprogram-paste-function):
6081 Mention that we typically mean the clipboard.
6082
6083 2012-07-06 Glenn Morris <rgm@gnu.org>
6084
6085 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6086
6087 * files.el (toggle-read-only): Restrict message to interactive use.
6088
6089 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
6090
6091 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6092
6093 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6094
6095 2012-07-06 Glenn Morris <rgm@gnu.org>
6096
6097 * Makefile.in (compile-one-process): Rename from "recompile".
6098
6099 * Makefile.in (bzr-update): "compile" is the same as "recompile
6100 autoloads", but parallelizable, so use that instead.
6101
6102 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6103
6104 * window.el (quit-window): Always restore window height when
6105 it's saved in quit-restore parameter (Bug#11810).
6106
6107 2012-07-06 Glenn Morris <rgm@gnu.org>
6108
6109 * simple.el (kill-whole-line): Doc tweak.
6110
6111 2012-07-06 Eli Zaretskii <eliz@gnu.org>
6112
6113 * files.el (file-relative-name): Compare file names
6114 case-insensitively if on MS-Windows or MS-DOS, or if
6115 read-file-name-completion-ignore-case is non-nil. Don't use
6116 case-fold-search for this purpose. (Bug#11827)
6117
6118 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6119
6120 * calendar/cal-dst.el (calendar-current-time-zone):
6121 Return calendar-current-time-zone-cache if non-nil.
6122
6123 2012-07-17 Masatake YAMATO <yamato@redhat.com>
6124 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6125
6126 * calendar/cal-dst.el (calendar-current-time-zone):
6127 Return calendar-current-time-zone-cache if non-nil.
6128
6129 2012-07-06 Glenn Morris <rgm@gnu.org>
6130
6131 * Makefile.in (cvs-update): Remove old alias.
6132
6133 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
6134
6135 Sync with Tramp 2.2.6-pre.
6136
6137 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6138 compatible declaration.
6139
6140 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6141 Protect `list-load-path-shadows' call.
6142
6143 * net/tramp-compat.el (top): Require packages, which aren't
6144 autoloaded anymore for XEmacs. Protect call of
6145 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6146 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6147 it hurts at least for SXEmacs.
6148 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6149 standard-value for `temporary-file-directory'.
6150
6151 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6152 Redirect stderr to /dev/null.
6153 (tramp-sh-handle-write-region): uid and gid can be floats.
6154 Reported by Russell Sim <russell.sim@gmail.com>.
6155 (tramp-sh-handle-vc-registered): Hide errors.
6156 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6157 and `start-file-process'.
6158 (tramp-maybe-open-connection): Check also whether `non-essential'
6159 is bound.
6160
6161 2012-07-04 Chong Yidong <cyd@gnu.org>
6162
6163 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6164 (xml-parse-tag): Likewise, and avoid changing entity tables.
6165 (xml-syntax-table): Define from scratch, making sure not to give
6166 x2000 and other Unicode spaces whitespace syntax, since those are
6167 not spaces in XML.
6168 (xml-parse-fragment): Delete unused function.
6169 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6170 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6171 (xml-entity-ref, xml-pe-reference-re)
6172 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6173 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6174 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6175 (xml-entity-value-re): Use syntax references in regexps where
6176 possible; no need to define inside a let-binding.
6177 (xml-parse-dtd): Use xml-pe-reference-re.
6178 (xml-entity-or-char-ref-re): New defconst.
6179 (xml-parse-string, xml-substitute-special): Use it.
6180
6181 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6184 (find-file--read-only): New function.
6185 (find-file-read-only, find-file-read-only-other-window)
6186 (find-file-read-only-other-frame): Use it.
6187 (insert-file-contents-literally): Don't `fset'.
6188 (get-free-disk-space): Use locate-dominating-file.
6189
6190 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6191 function is already compiled.
6192
6193 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6194
6195 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
6196
6197 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6198 files on the same host.
6199
6200 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6201
6202 * help-fns.el (describe-function-1): Only call
6203 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6204
6205 2012-07-03 Chong Yidong <cyd@gnu.org>
6206
6207 * xml.el: Protect parser against XML bombs.
6208 (xml-entity-expansion-limit): New variable.
6209 (xml-parse-string, xml-substitute-special): Use it.
6210 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6211
6212 2012-07-03 Glenn Morris <rgm@gnu.org>
6213
6214 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6215 Allow linking to specific messages in debbugs reports (eg 123#5).
6216
6217 2012-07-02 Chong Yidong <cyd@gnu.org>
6218
6219 * xml.el: Fix entity and character reference expansion, allowing
6220 them to expand into markup as per XML spec.
6221 (xml-default-ns): New variable.
6222 (xml-entity-alist): Use XML spec definitions for lt and amp.
6223 (xml-parse-region): Make first two arguments optional.
6224 Discard text properties.
6225 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6226 All callers changed.
6227 (xml-parse-tag): Call xml-parse-tag-1. For backward
6228 compatibility, this function should not modify buffer contents.
6229 (xml-parse-tag-1): Fix opening-tag regexp.
6230 (xml-parse-string): Rewrite, handling entity and character
6231 references properly.
6232 (xml--entity-replacement-text): Signal an error if a parameter
6233 entity is undefined.
6234
6235 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6236
6237 * comint.el (comint-output-filter): Filter out repeated prompts.
6238
6239 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6240 and file-name-absolute-p.
6241 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6242 internal calls.
6243
6244 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6245
6246 Spelling fixes.
6247 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6248 Rename from byte-compile--refiy-function. All uses changed.
6249
6250 2012-07-01 Chong Yidong <cyd@gnu.org>
6251
6252 * xml.el (xml--parse-buffer): New function. Move most of
6253 xml-parse-region here.
6254 (xml-parse-region): Copy region into a temporary buffer, since
6255 parameter entity substitution requires changing buffer contents.
6256 Use xml--parse-buffer.
6257 (xml-parse-file): Use xml--parse-buffer.
6258 (xml-parse-dtd): Make parameter entity substitution work right.
6259 Use proper regexps for ELEMENT declarations (Bug#7172).
6260
6261 2012-06-30 Glenn Morris <rgm@gnu.org>
6262
6263 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6264
6265 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6266 Remove outdated and unnecessary dbus declarations.
6267
6268 2012-06-30 Eli Zaretskii <eliz@gnu.org>
6269
6270 * emacs-lisp/timer.el (timer-until): Subtract results of
6271 float-time, instead of taking float-time of the result of
6272 time-subtract, since float-time signals an error for negative time
6273 arguments.
6274
6275 2012-06-30 Chong Yidong <cyd@gnu.org>
6276
6277 * xml.el (xml-*-re): Convert defvars into defconsts, and
6278 eval-and-compile them so eval-and-compile works on derivatives.
6279 (xml--entity-replacement-text): Use eval-and-comple.
6280
6281 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
6282
6283 * vc/vc-git.el (vc-git-registered): Use cache property
6284 `git-registered'.
6285 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6286 `vc-git-working-revision' in order to benefit from the cache.
6287 (vc-git-root): Use cache property `git-root'. (Bug#11757)
6288
6289 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6290
6291 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6292 removed (likely outside Emacs). (Bug#11757)
6293
6294 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6295
6296 * emacs-lisp/cl-lib.el: Require macroexp.
6297
6298 2012-06-30 Chong Yidong <cyd@gnu.org>
6299
6300 * xml.el: Implement XML parameter entities.
6301 (xml-parameter-entity-alist): New variable.
6302 (xml-parse-region, xml-parse-fragment): Preserve previous values
6303 of xml-entity-alist and xml-parameter-entity-alist, so that
6304 repeated calls on different documents do not change them.
6305 (xml-parse-tag): Fix doctype regexp.
6306 (xml--entity-replacement-text): New function.
6307 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6308 properly requires url retrieval which is unimplemented.
6309 (xml-escape-string): Doc fix.
6310
6311 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6314
6315 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6316
6317 * fringe.el (fringe-mode): Doc fix.
6318
6319 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
6320
6321 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6322 is non-nil.
6323 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6324 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6325
6326 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
6327
6328 * calendar/cal-dst.el (calendar-current-time-zone):
6329 Return calendar-current-time-zone-cache if non-nil.
6330
6331 2012-06-29 Masatake YAMATO <yamato@redhat.com>
6332
6333 * progmodes/which-func.el (which-func-format):
6334 Add mouse-face. (Bug#11698)
6335
6336 2012-06-29 Leo Liu <sdl.web@gmail.com>
6337
6338 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6339
6340 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6341
6342 * minibuffer.el (minibuffer-confirm-exit-commands):
6343 Add completion-at-point (bug#11725).
6344
6345 2012-06-29 Glenn Morris <rgm@gnu.org>
6346
6347 * progmodes/f90.el (f90-font-lock-keywords-2):
6348 Add some preprocessor elements. (Bug#10499)
6349
6350 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6353 Use syntax-propertize (bug#11739).
6354
6355 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
6356
6357 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6358
6359 2012-06-28 Julien Danjou <julien@danjou.info>
6360
6361 * term.el (term-handle-colors-array): Use a set of new faces to
6362 color the terminal. Also uses :inverse-video property.
6363 (term-default-fg-color): Set to nil by default, deprecate in favor
6364 of `term-face'.
6365 (term-default-bg-color): Set to nil by default, deprecate in favor
6366 of `term-face'.
6367 (term-current-face): Use `term-face' by default.
6368 (term-bold-attribute): Variable deleted.
6369
6370 2012-06-28 Glenn Morris <rgm@gnu.org>
6371
6372 * simple.el (completion-list-mode-finish):
6373 Don't use toggle-read-only. (Since completion-list-mode has
6374 a special mode-class, it wasn't doing anything extra anyway.)
6375
6376 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6377
6378 Make inlining of other-mode interpreted functions work (bug#11799).
6379 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6380 (byte-compile): Use it to fix compilation of lexical-binding closures.
6381 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6382 function, if needed.
6383
6384 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6385
6386 * help-mode.el (help-make-xrefs): Don't just withstand
6387 cyclic-variable-indirection but any error in documentation-property.
6388
6389 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6390 memory use.
6391 * bindings.el (bindings--define-key): New function.
6392 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6393 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6394 * bindings.el: Use it to purecopy define-key bindings.
6395
6396 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6397
6398 * emacs-lisp/cl.el (flet): Mark obsolete.
6399 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6400 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6401 * progmodes/js.el (js-c-fill-paragraph):
6402 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6403 (ebrowse-switch-member-buffer-to-derived-class):
6404 * play/5x5.el (5x5-solver): Use cl-flet.
6405
6406 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6407 (cl--symbol-function): New macro.
6408 (cl--letf, cl--letf*): Use it.
6409
6410 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6411 Strip "toggle-" if any.
6412
6413 2012-06-27 Glenn Morris <rgm@gnu.org>
6414
6415 * info.el (Info-default-directory-list): Move here from paths.el.
6416 * paths.el: Remove file, which is now empty.
6417 * loadup.el: No longer load "paths".
6418
6419 * custom.el (custom-initialize-delay): Doc fix.
6420
6421 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6422 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6423 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6424 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6425 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6426 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6427 * eshell/eshell.el (eshell-defgroup): Remove alias.
6428
6429 2012-06-27 Chong Yidong <cyd@gnu.org>
6430
6431 * help.el (help-enable-auto-load): New variable.
6432
6433 * help-fns.el (help-fns--autoloaded-p): New function.
6434 (describe-function-1): Refer to a function as "autoloaded" if it
6435 was autoloaded at any time in the past. Perform autoloading if
6436 help-enable-auto-load is non-nil.
6437
6438 2012-06-26 Eli Zaretskii <eliz@gnu.org>
6439
6440 * makefile.w32-in (compile, compile-always): Depend on
6441 update-subdirs, not on subdirs.el. Otherwise, several different
6442 sub-targets of 'bootstrap' running in parallel could
6443 simultaneously write to subdirs.el, producing a garbled file.
6444
6445 2012-06-26 Sam Steingold <sds@gnu.org>
6446
6447 * files.el (file-name-base): New convenience function.
6448 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6449 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6450 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6451 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6452 * textmodes/ispell.el, textmodes/reftex-ref.el:
6453 * textmodes/tex-mode.el: Use it.
6454 Did not touch cedet and org because they are maintained elsewhere.
6455
6456 2012-06-26 Martin Rudalics <rudalics@gmx.at>
6457
6458 * calendar/calendar.el (calendar-exit): Don't try to delete or
6459 iconify last frame. See:
6460 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6461
6462 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6463
6464 * server.el (server-process-filter): Remember dir in the
6465 process's `server-client-directory' properties.
6466
6467 2012-06-24 Chong Yidong <cyd@gnu.org>
6468
6469 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6470 non-tag text.
6471
6472 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
6473
6474 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6475
6476 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * help-fns.el (describe-variable): Don't croak when doc is not found.
6479 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6480 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6481 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6482 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6483 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6484 ((lambda ..) ..).
6485 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6486
6487 2012-06-23 Chong Yidong <cyd@gnu.org>
6488
6489 * info.el (Info-mouse-follow-link): Accept symbol values of
6490 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
6491 (Info-fontify-node): Use Info-link-keymap for all navigation
6492 buttons, with link-args property to perform the desired action.
6493 (Info-link-keymap): Doc fix.
6494 (Info-next-link-keymap, Info-prev-link-keymap)
6495 (Info-up-link-keymap): Delete now-unused keymaps.
6496
6497 2012-06-23 Chong Yidong <cyd@gnu.org>
6498
6499 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6500
6501 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6502 system abbrevs.
6503
6504 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6505
6506 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6507
6508 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6509 (bug#11719).
6510
6511 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6512 the requote function doesn't work properly (bug#11714).
6513
6514 2012-06-23 Glenn Morris <rgm@gnu.org>
6515
6516 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6517
6518 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6519
6520 Further GV/CL cleanups.
6521 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6522 gv-expander.
6523 (gv--defun-declaration): New function.
6524 (defun-declarations-alist): Use it.
6525 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6526 (gv-place): Autoload.
6527 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6528 original definition of dotimes and dolist.
6529 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6530 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6531 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6532 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6533 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6534 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6535 to the function's definition.
6536 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6537 * window.el:
6538 * files.el:
6539 * faces.el:
6540 * env.el: Don't use CL.
6541
6542 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6543
6544 Support higher-resolution time stamps (Bug#9000).
6545
6546 * calendar/time-date.el (with-decoded-time-value): New arg
6547 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6548 (encode-time-value): New optional arg PICO. New type 3.
6549 (time-to-seconds) [!float-time]: Support the new picoseconds
6550 component if it's used.
6551 (seconds-to-time, time-subtract, time-add):
6552 Support ps-resolution time stamps as well.
6553
6554 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6555 (timerp): Timer vectors now have length 9, not 8.
6556 (timer--time): Support new-style (4-part) time stamps.
6557 (timer-next-integral-multiple-of-time): Time stamps now have
6558 picosecond resolution, so take a bit more care about rounding.
6559 (timer-relative-time, timer-inc-time): New optional arg psecs.
6560 (timer-set-time-with-usecs): Set psecs to 0.
6561 (timer--activate): Check psecs component, too.
6562
6563 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6564
6565 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6566
6567 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6568 Move the non-essential binding to the post/pre-command-hook where it is
6569 more obviously correct.
6570
6571 * subr.el (read-passwd): Don't use a history at all.
6572 * savehist.el (savehist-save): Remove password saved accidentally
6573 because of the above bug.
6574
6575 2012-06-22 Bastien Guerry <bzg@gnu.org>
6576
6577 * files.el (toggle-read-only): Display a message telling whether
6578 the buffer is read-only or not (bug#11726).
6579
6580 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * emacs-lisp/gv.el: New file.
6583 * subr.el (push, pop): Extend to generalized variables.
6584 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6585 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6586 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6587 gv-define-simple-setter, and gv-define-expander.
6588 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6589 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6590 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6591 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6592 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6593 gv-letplace.
6594 (cl-defstruct): Don't define setf-method any more.
6595 * emacs-lisp/cl.el (flet): Don't autoload.
6596 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6597 (define-setf-expander, defsetf, define-modify-macro)
6598 (cl-struct-setf-expander): Move from cl-lib.el.
6599 * emacs-lisp/syntax.el:
6600 * emacs-lisp/ewoc.el:
6601 * emacs-lisp/smie.el:
6602 * emacs-lisp/cconv.el:
6603 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6604 (timer--time): Use gv-define-simple-setter.
6605 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6606 to avoid coding-system problems in subr.el. Adjust all users.
6607 (macroexp--maxsize, macroexp-small-p): New functions.
6608 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6609 * scroll-bar.el (scroll-bar-mode):
6610 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6611 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6612 * winner.el (winner-configuration, winner-make-point-alist)
6613 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6614 * files.el (locate-file-completion-table): Avoid list*.
6615
6616 2012-06-22 Chong Yidong <cyd@gnu.org>
6617
6618 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6619 (dired-create-files): Doc fix (Bug#11329).
6620 (dired-do-copy): Doc fix (Bug#11334).
6621 (dired-mark-read-string): Doc fix (Bug#11553).
6622
6623 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6624 Doc fix (Bug#11326).
6625 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6626 (dired-dwim-target): Doc fix.
6627
6628 * wdired.el (wdired-mode): Doc fix.
6629
6630 2012-06-22 Glenn Morris <rgm@gnu.org>
6631
6632 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6633 (pcmpl-rpm-cache-stamp-file): New constant.
6634 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6635 (pcmpl-rpm-packages): Optionally cache list of packages.
6636
6637 * pcmpl-rpm.el (pcmpl-rpm): New group.
6638 (pcmpl-rpm-query-options): New option.
6639 (pcmpl-rpm-packages): No need to inline it.
6640 Use pcmpl-rpm-query-options.
6641
6642 * calendar/calendar.el (calendar-in-read-only-buffer):
6643 Avoid some needless mode changes.
6644
6645 2012-06-21 Chong Yidong <cyd@gnu.org>
6646
6647 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6648 (desktop-path): Remove . from the default value (Bug#10977).
6649 (desktop-read): Use user-emacs-directory if desktop-path is nil.
6650
6651 2012-06-20 Chong Yidong <cyd@gnu.org>
6652
6653 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6654
6655 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6656
6657 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6658 (bug#11201).
6659
6660 2012-06-20 Chong Yidong <cyd@gnu.org>
6661
6662 * term.el (term-window-width): Handle the case of a missing right
6663 fringe (Bug#8837).
6664 (term-check-size): Use window-text-height (Bug#5445).
6665 (term-mode): Use define-derived-mode. Minor cleanups.
6666 Set font-lock-defaults (Bug#7692).
6667 (term-move-columns, term-insert-char, term-emulate-terminal)
6668 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6669
6670 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
6671
6672 * net/ange-ftp.el (ange-ftp-get-passwd):
6673 Bind `enable-recursive-minibuffers'.
6674 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6675
6676 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6677
6678 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6679
6680 2012-06-19 Glenn Morris <rgm@gnu.org>
6681
6682 * progmodes/python.el (python-mode): Derive from prog-mode.
6683
6684 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6685
6686 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6687 (edt-user-menu-bar-update-buffers): New functions.
6688 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6689
6690 2012-06-19 Chong Yidong <cyd@gnu.org>
6691
6692 * subr.el (with-selected-window): Preserve the selected window's
6693 terminal's top-frame (Bug#4702).
6694
6695 * window.el (save-selected-window): Likewise.
6696
6697 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6698
6699 * progmodes/python.el (python-rx-constituents): Move backquote.
6700 (python-skeleton-define, python-define-auxiliary-skeleton):
6701 Use `declare'.
6702
6703 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
6704
6705 * minibuffer.el (read-file-name-default): Revert the patch from
6706 2012-06-17.
6707
6708 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6709
6710 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6711 (pcase--u1, pcase--q1): Don't use apply-partially.
6712
6713 2012-06-18 Glenn Morris <rgm@gnu.org>
6714
6715 * progmodes/python.el (python-proc, python-buffer)
6716 (python-send-receive, python-send-string): Fix obsolete versions.
6717
6718 2012-06-18 Martin Rudalics <rudalics@gmx.at>
6719
6720 * window.el (special-display-p): Completely remove stringp
6721 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6722
6723 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
6724
6725 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6726
6727 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6728
6729 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6730 * net/tramp-sh.el (tramp-maybe-open-connection):
6731 Throw if `non-essential' is non-nil.
6732
6733 2012-06-17 Martin Rudalics <rudalics@gmx.at>
6734
6735 * window.el (special-display-p): Signal an error if BUFFER-NAME
6736 is not a string (Bug#11713).
6737
6738 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6739
6740 * progmodes/python.el (python-info-beginning-of-backslash):
6741 Rename from python-info-beginning-of-backlash, as a spelling fix.
6742
6743 2012-06-17 Chong Yidong <cyd@gnu.org>
6744
6745 * term.el (term-emulate-terminal): If term-check-size is called,
6746 move point to the process mark without resetting point (Bug#4635).
6747
6748 2012-06-17 Glenn Morris <rgm@gnu.org>
6749
6750 * international/mule-cmds.el (mule-menu-keymap)
6751 (set-language-environment, set-locale-environment): Doc tweaks.
6752
6753 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6754
6755 * cus-face.el (custom-face-attributes): Add wave-style underline
6756 attribute.
6757 * faces.el (set-face-attribute): Update docstring to describe
6758 wave-style underline attribute.
6759
6760 2012-06-16 Chong Yidong <cyd@gnu.org>
6761
6762 * term/xterm.el (terminal-init-xterm): Discard input before
6763 querying background mode (Bug#10959).
6764
6765 2012-06-16 Stefan Merten <smerten@oekonux.de>
6766
6767 * textmodes/rst.el: Added and corrected some comments.
6768 (rst-re-alist-def): Improve symbol syntax.
6769 (rst-mode-syntax-table): Correct syntax entries.
6770 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6771 (rst-official-version, rst-official-cvs-rev): Update version
6772 information.
6773
6774 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
6775
6776 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6777 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6778
6779 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6780
6781 * progmodes/python.el: New python.el merge.
6782 (python-guess-indent): Obsolete var.
6783 (python-indent-guess-indent-offset): New defcustom.
6784 (python-indent): Obsolete var.
6785 (python-indent-offset): New defcustom.
6786 (python-python-command, python-jython-command): Delete var.
6787 (python-shell-interpreter): New defcustom.
6788 (python-pdbtrack-do-tracking-p): Delete var.
6789 (python-pdbtrack-activate): New defcustom.
6790 (python-use-skeletons): Obsolete var.
6791 (python-skeleton-autoinsert): New defcustom.
6792 (inferior-python-filter-regexp, python-continuation-offset)
6793 (python-honour-comment-indentation, python-indent-string-contents)
6794 (python-jython-packages, python-mode-hook)
6795 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6796 (python-shell-prompt-alist)
6797 (python-source-modes): Delete defcustoms.
6798 (python-check-buffer-name, python-eldoc-setup-code)
6799 (python-eldoc-string-code, python-ffap-setup-code)
6800 (python-ffap-string-code, python-fill-comment-function)
6801 (python-fill-decorator-function, python-fill-paren-function)
6802 (python-fill-string-function, python-imenu-include-defun-type)
6803 (python-imenu-make-tree, python-imenu-subtree-root-label)
6804 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6805 (python-shell-compilation-regexp-alist)
6806 (python-shell-completion-module-string-code)
6807 (python-shell-completion-pdb-string-code)
6808 (python-shell-completion-setup-code)
6809 (python-shell-completion-string-code)
6810 (python-shell-enable-font-lock, python-shell-exec-path)
6811 (python-shell-extra-pythonpaths)
6812 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6813 (python-shell-process-environment)
6814 (python-shell-prompt-block-regexp)
6815 (python-shell-prompt-output-regexp)
6816 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6817 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6818 (python-shell-virtualenv-path): New defcustoms.
6819 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6820 (inferior-python-mode-syntax-table, python--prompt-regexp)
6821 (python-buffer, python-command python-python-command)
6822 (python-default-template, python-imports, python-indent-index)
6823 (python-indent-list, python-indent-list-length)
6824 (python-mode-running, python-pdbtrack-is-tracking-p)
6825 (python-preoutput-continuation, python-preoutput-leftover)
6826 (python-preoutput-result, python-preoutput-skip-next-prompt)
6827 (python-prev-dir/file, python-recursing)
6828 (python-saved-check-command, python-version-checked)
6829 (python-which-func-length-limit)
6830 (view-return-to-alist): Delete vars.
6831 (python-check-custom-command, python-dotty-syntax-table)
6832 (python-imenu-index-alist, python-indent-current-level)
6833 (python-indent-dedenters, python-indent-levels)
6834 (python-nav-beginning-of-defun-regexp)
6835 (python-nav-list-defun-positions-cache)
6836 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6837 (python-shell-internal-buffer)
6838 (python-skeleton-available): New vars.
6839 (def-python-skeleton): Delete macro.
6840 (python-skeleton-define): New macro.
6841 (python-define-auxiliary-skeleton, python-rx): New macros.
6842 (python-insert-class): Delete command.
6843 (python-skeleton-class): New command.
6844 (python-insert-def): Delete command.
6845 (python-skeleton-def): New command.
6846 (python-insert-for): Delete command.
6847 (python-skeleton-for): New command.
6848 (python-insert-if): Delete command.
6849 (python-skeleton-if): New command.
6850 (python-insert-try/except, python-insert-try/finally): Delete commands.
6851 (python-skeleton-try): New command.
6852 (python-insert-while): Delete command.
6853 (python-skeleton-while): New command.
6854 (python-backspace): Delete command.
6855 (python-indent-dedent-line-backspace): New command.
6856 (python-electric-colon): Delete command.
6857 (python-indent-electric-colon): New command.
6858 (python-guess-indent): Delete command.
6859 (python-indent-guess-indent-offset): New command.
6860 (python-shift-left): Delete command.
6861 (python-indent-shift-left): New command.
6862 (python-shift-right): Delete command.
6863 (python-indent-shift-right): New command.
6864 (python-find-function): Delete command.
6865 (python-nav-jump-to-defun): New command.
6866 (python-next-statement): Delete command.
6867 (python-nav-forward-sentence): New command.
6868 (python-previous-statement): Delete command.
6869 (python-nav-backward-sentence): New command.
6870 (python-fill-paragraph): Delete command.
6871 (python-fill-paragraph-function): New command.
6872 (python-send-buffer): Delete command.
6873 (python-shell-send-buffer): New command.
6874 (python-send-defun): Delete command.
6875 (python-shell-send-defun): New command.
6876 (python-send-region, python-send-region-and-go): Delete commands.
6877 (python-shell-send-region)
6878 (python-shell-switch-to-shell): New commands.
6879 (python-send-string): Delete command.
6880 (python-shell-send-string): New command.
6881 (python-switch-to-python): Delete command.
6882 (python-shell-switch-to-shell): New command.
6883 (python-describe-symbol): Delete command.
6884 (python-eldoc-at-point): New command.
6885 (python--set-prompt-regexp, python-args-to-list)
6886 (python-after-info-look, python-check-version)
6887 (python-check-comint-prompt, python-find-imports)
6888 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6889 (python-unload-function, python-expand-template)
6890 (python-maybe-jython, python-preoutput-filter)
6891 (python-pdbtrack-get-source-buffer)
6892 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6893 (python-pdbtrack-toggle-stack-tracking)
6894 (python-pdbtrack-track-stack-file, python-initial-text)
6895 (python-first-word, python-comment-line-p, python-send-command)
6896 (python-setup-brm, python-sentinel, python-set-proc)
6897 (python-skip-out, python-input-filter, python-outdent-p)
6898 (python-outline-level, python-backslash-continuation-line-p)
6899 (python-end-of-block, python-end-of-statement, python-mark-block)
6900 (python-beginning-of-block, python-beginning-of-statement)
6901 (python-blank-line-p, python-beginning-of-string)
6902 (python-open-block-statement-p): Delete functions.
6903 (python-indent-line, python-indent-line-1): Delete functions.
6904 (python-indent-line): New function.
6905 (python-indentation-levels): Delete function.
6906 (python-indent-calculate-levels): New function.
6907 (python-proc): Delete function.
6908 (python-shell-get-process): New function.
6909 (python-send-receive): Delete function.
6910 (python-shell-send-string-no-output): New function.
6911 (python-module-path): Delete function.
6912 (python-ffap-module-path): New function.
6913 (python-completion-at-point)
6914 (python-symbol-completions): Delete functions.
6915 (python-completion-complete-at-point): New function.
6916 (python-load-file): Delete function.
6917 (python-shell-send-file): New function.
6918 (python-calculate-indentation): Delete function.
6919 (python-indent-calculate-indentation): New function.
6920 (python-skip-comments/blanks): Delete function.
6921 (python-util-forward-comment): New function.
6922 (python-continuation-line-p): Delete function.
6923 (python-info-continuation-line-p): New function.
6924 (python-which-func, python-current-defun): Delete function.
6925 (python-info-current-defun): New function.
6926 (python-beginning-of-defun): Delete function.
6927 (python-nav-beginning-of-defun): New function.
6928 (python-close-block-statement-p)
6929 (python-block-end-p): Delete function.
6930 (python-info-closing-block): New function.
6931 (python-comint-output-filter-function)
6932 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6933 (python-fill-comment, python-fill-decorator, python-fill-paren)
6934 (python-fill-string, python-imenu-make-element-tree)
6935 (python-imenu-make-tree, python-imenu-tree-assoc)
6936 (python-indent-context, python-indent-dedent-line)
6937 (python-indent-line-function)
6938 (python-indent-post-self-insert-function)
6939 (python-indent-toggle-levels)
6940 (python-info-assignment-continuation-line-p)
6941 (python-info-beginning-of-backlash)
6942 (python-info-block-continuation-line-p)
6943 (python-info-closing-block-message)
6944 (python-info-line-ends-backslash-p)
6945 (python-info-looking-at-beginning-of-defun)
6946 (python-info-ppss-context, python-info-ppss-context-type)
6947 (python-nav-list-defun-positions, python-nav-read-defun)
6948 (python-nav-sentence-end, python-nav-sentence-start)
6949 (python-pdbtrack-comint-output-filter-function)
6950 (python-pdbtrack-set-tracked-buffer)
6951 (python-shell-calculate-exec-path)
6952 (python-shell-calculate-process-environment)
6953 (python-shell-completion--do-completion-at-point)
6954 (python-shell-completion--get-completions)
6955 (python-shell-completion-complete-at-point)
6956 (python-shell-completion-complete-or-indent)
6957 (python-shell-get-or-create-process)
6958 (python-shell-get-process-name)
6959 (python-shell-internal-get-or-create-process)
6960 (python-shell-internal-get-process-name)
6961 (python-shell-internal-send-string, python-shell-make-comint)
6962 (python-shell-parse-command, python-shell-send-setup-code)
6963 (python-skeleton-add-menu-items)
6964 (python-util-clone-local-variables, python-util-position)
6965 (run-python-internal, python-indentation-levels)
6966 (python-nav-beginning-of-defun)
6967 (python-completion-complete-at-point): New functions.
6968 (run-python): Change arguments. New API requirements.
6969
6970 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6971
6972 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6973 (bug#11649).
6974
6975 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6976 (macroexp--expand-all): Use it.
6977
6978 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6979 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6980 Use `cl-function' instead.
6981
6982 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6983
6984 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6985 Suggested by Stefan Monnier while discussing bug#11657.
6986
6987 2012-06-14 Sam Steingold <sds@gnu.org>
6988
6989 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6990
6991 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6992
6993 * play/doctor.el (doctor-doc): Remove parameter and use
6994 doctor-sent instead of sent.
6995 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6996
6997 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6998
6999 * files.el: Require cl-lib.
7000 (file-name-non-special): Replace case -> cl-case.
7001
7002 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7003
7004 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7005 mapping from #' to function*.
7006
7007 2012-06-13 Chong Yidong <cyd@gnu.org>
7008
7009 * mouse.el (mouse-drag-track): Do not set the mark if the user
7010 releases the mouse without selecting anything (Bug#11588).
7011
7012 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7015 as well (bug#11646).
7016
7017 * loadup.el: Count byte-code functions as well.
7018
7019 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7020 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7021
7022 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7023 (bug#11649). Add cl-defun and cl-defmacro.
7024
7025 2012-06-13 Drew Adams <drew.adams@oracle.com>
7026
7027 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7028 Fix last change.
7029
7030 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
7031
7032 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7033 Otherwise, it blocks in batch mode.
7034
7035 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
7036
7037 * help-mode.el (bookmark-make-record-default): Declare.
7038
7039 2012-06-13 Chong Yidong <cyd@gnu.org>
7040
7041 * emacs-lisp/package.el (list-packages): Compute a list of
7042 packages that are newly-available since the last list-packages
7043 invocation.
7044 (package-menu--new-package-list): New var.
7045 (package-menu--generate, package-menu--print-info)
7046 (package-menu--status-predicate, package-menu-mark-install):
7047 Handle new status label "new".
7048
7049 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7050
7051 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7052 conversion to backquotes.
7053
7054 2012-06-12 Chong Yidong <cyd@gnu.org>
7055
7056 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7057 Rename from gud-inhibit-global-bindings.
7058
7059 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7060
7061 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7062 hook from nxml-glyph-set-hook.
7063
7064 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7065 declaration.
7066
7067 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7068
7069 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7070 Convert to defcustom.
7071
7072 2012-06-12 Drew Adams <drew.adams@oracle.com>
7073
7074 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7075 New functions.
7076 (help-mode): Use them.
7077
7078 2012-06-11 Glenn Morris <rgm@gnu.org>
7079
7080 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7081 Use preprocessor face for directives.
7082 (fortran-directive-re): Doc fix.
7083
7084 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7085
7086 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7087 conversion to backquotes (bug#11652).
7088
7089 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7090 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7091 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7092 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7093 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7094 (cl-ninth, cl-tenth): Mark them as inlinable.
7095 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7096 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7097 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7098 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7099 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7100 (cl-list*, cl-adjoin): Don't put an autoload manually.
7101 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7102 (cl--compiler-macro-list*): Add autoload cookie.
7103 (cl--compiler-macro-cXXr): New function.
7104
7105 * help-fns.el (help-fns--compiler-macro): New function extracted from
7106 describe-function-1; follow aliases and use `compiler-macro' property.
7107 (describe-function-1): Use it.
7108
7109 2012-06-11 Chong Yidong <cyd@gnu.org>
7110
7111 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7112 is uninstalled, if imagemagick is installed.
7113
7114 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7115
7116 * emacs-lisp/cl-lib.el: Use lexical-binding.
7117 (cl-map-extents, cl-maclisp-member): Remove.
7118 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7119 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7120 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7121 * emacs-lisp/cl-extra.el: Use lexical-binding.
7122 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7123 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7124 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7125 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7126 * emacs-lisp/cl-seq.el: Use lexical-binding.
7127 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7128 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7129 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7130 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7131 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7132 CL's internals.
7133
7134 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
7135
7136 Sync with Tramp 2.2.6-pre.
7137
7138 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7139 `print-length' and `print-level' to nil, in order to avoid
7140 truncation. Reported by Christopher Schmidt
7141 <christopher@ristopher.com>.
7142
7143 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7144
7145 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7146 New defmacro.
7147 (tramp-compat-copy-directory): Add optional argument
7148 COPY-CONTENTS. It is not handled yet.
7149
7150 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7151 (tramp-ftp-file-name-p): Simplify.
7152
7153 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7154 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7155 connection vector.
7156
7157 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7158 (tramp-methods): Do not use `tramp-password-end-of-line'.
7159 (tramp-completion-function-alist-putty): Handle UNIX case.
7160 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7161 (tramp-do-file-attributes-with-stat)
7162 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7163 gid as real numbers. They could run out of integer range on cygwin.
7164 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7165 (tramp-sh-handle-expand-file-name): Handle hops.
7166 (tramp-open-connection-setup-interactive-shell):
7167 Use `tramp-cleanup'. Move check for busyboxes ...
7168 (tramp-find-shell): ... here. Simplify implementation.
7169 Set "remote-shell" property also for alternative shells.
7170 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7171 If failing, a regular file would be written otherwise.
7172 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7173 (tramp-find-inline-encoding): Cache the coding commands in the
7174 process cache. Apply test command on the remote side, if defined.
7175 (tramp-find-inline-compress): Cache the compress commands in the
7176 process cache.
7177 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7178 when requested. Handle hops.
7179 (tramp-current-connection): New defvar.
7180 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7181 Throw `suppress', if there was a failed connection shortly before.
7182 Handle user interrupt. (Bug#10187)
7183 (tramp-get-inline-compress, tramp-get-inline-coding):
7184 Read connection properties from the process cache.
7185
7186 * net/tramp-smb.el (tramp-smb-server-version)
7187 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7188 New defconsts.
7189 (tramp-smb-prompt): Extend for powershell prompt.
7190 (tramp-smb-file-name-handler-alist): Add handlers for
7191 `process-file', `shell-command' and `start-file-process'.
7192 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7193 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7194 (tramp-smb-file-name-p): Simplify.
7195 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7196 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7197 (tramp-smb-shell-quote-argument): New defuns.
7198 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7199 Implement using "tar". By this, time-stamps are preserved.
7200 (tramp-smb-handle-copy-file): Handle also the case of directories.
7201 (tramp-smb-do-file-attributes-with-stat)
7202 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7203 Use `tramp-get-connection-buffer').
7204 (tramp-smb-handle-rename-file): Use "rename", when source and
7205 target are on the same share.
7206 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7207 Use `tramp-smb-server-version'.
7208 (tramp-smb-wait-for-output): Remove prompt.
7209
7210 * net/tramp.el (top): Require 'cl.
7211 (tramp-methods, tramp-rsh-end-of-line):
7212 Remove `tramp-password-end-of-line' from docstring.
7213 (tramp-save-ad-hoc-proxies): New defcustom.
7214 (tramp-completion-function-alist): Adapt docstring.
7215 (tramp-default-password-end-of-line): Remove defcustom.
7216 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7217 (tramp-user-regexp, tramp-file-name-regexp-unified)
7218 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7219 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7220 (tramp-remote-file-name-spec-regexp): New defconst.
7221 (tramp-file-name-structure): Extend structure for hops.
7222 (tramp-get-method-parameter): Move up.
7223 (tramp-file-name-p, tramp-dissect-file-name)
7224 (with-parsed-tramp-file-name): Handle hops.
7225 (tramp-file-name-hop): New defun.
7226 (tramp-make-tramp-file-name): New optional arg HOP.
7227 (tramp-message-show-progress-reporter-message): New defvar.
7228 (tramp-with-progress-reporter): Use it. We cannot use
7229 `tramp-message-show-message' here, because this suppresses also
7230 error buffers.
7231 (tramp-error-with-buffer): Suppress buffer view, if
7232 `tramp-message-show-message' is nil.
7233 Use `tramp-get-connection-buffer'.
7234 (tramp-cleanup): New defun.
7235 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7236 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7237 an error unchanged.
7238 (tramp-completion-handle-file-name-all-completions): Handle hops.
7239 Fix an error when called from ido.
7240 (tramp-completion-dissect-file-name): Use better local variable
7241 name. Add hop to the vector.
7242 (tramp-handle-insert-file-contents): Use progress-reporter for the
7243 whole scenario.
7244 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7245 to `t'.
7246 (tramp-check-for-regexp): Simplify search.
7247 (tramp-enter-password): Remove it. Move implementation ...
7248 (tramp-action-password): ... here.
7249 (tramp-mode-string-to-int, tramp-local-host-p)
7250 (tramp-make-tramp-temp-file, tramp-read-passwd)
7251 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7252 Set tramp-autoload cookie.
7253
7254 * net/trampver.el: Update release number.
7255
7256 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7257 Michael Albinus <michael.albinus@gmx.de>
7258
7259 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7260 (tramp-parse-group, tramp-parse-file)
7261 (tramp-parse-shostkeys-sknownhosts): New defuns.
7262 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7263 (tramp-parse-shosts-group, tramp-parse-sconfig)
7264 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7265 (tramp-parse-sknownhosts, tramp-parse-hosts)
7266 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7267 Use them.
7268 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7269 (tramp-parse-putty-group): Don't narrow.
7270 (tramp-parse-putty): Make a loop.
7271 (tramp-file-name-handler): Catch the `suppress' signal.
7272
7273 2012-06-11 Chong Yidong <cyd@gnu.org>
7274
7275 * image.el (imagemagick-register-types): Put the ImageMagick entry
7276 at the end of image-type-file-name-regexps.
7277
7278 2012-06-11 Johan Bockgård <bojohan@gnu.org>
7279
7280 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7281 (pcase, pcase-let*, pcase-dolist): Use them.
7282
7283 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * emacs-lisp/pcase.el (pcase--let*): New function.
7286 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7287 (pcase--expand): Use macroexp-let².
7288
7289 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7290
7291 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7292 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7293 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7294 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7295 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7296 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7297
7298 2012-06-10 Glenn Morris <rgm@gnu.org>
7299
7300 * mail/rmail.el (rmail-yank-current-message): Leave point at
7301 correct position. (Bug#11660)
7302
7303 2012-06-10 Chong Yidong <cyd@gnu.org>
7304
7305 * allout-widgets.el: Fix code header.
7306
7307 2012-06-10 Chong Yidong <cyd@gnu.org>
7308
7309 * cus-edit.el (customize-changed-options-previous-release):
7310 Bump to 24.1.
7311
7312 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7313
7314 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7315
7316 2012-06-09 Chong Yidong <cyd@gnu.org>
7317
7318 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7319
7320 2012-06-09 Martin Rudalics <rudalics@gmx.at>
7321
7322 * window.el (special-display-popup-frame): Don't use
7323 window--display-buffer (Bug#11651).
7324
7325 2012-06-09 Eli Zaretskii <eliz@gnu.org>
7326
7327 Fix parallel builds: make sure loaddefs.el is not being written
7328 while Lisp files are compiled.
7329 (compile): Don't depend on 'mh-autoloads'.
7330 (compile-CMD, compile-SH): Depend on 'autoloads'.
7331 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7332
7333 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7334
7335 2012-06-09 Chong Yidong <cyd@gnu.org>
7336
7337 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7338 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7339 Doc fixes (Bug#11225).
7340
7341 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7342
7343 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7344 a function if there's a clear indication that it has a compiler-macro.
7345 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7346 (macro-declarations-alist): Add arglist to declaration functions.
7347 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7348 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7349 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7350 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7351 Also add autoload to find the compiler macro.
7352 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7353 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7354 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7355 (cl--compiler-macro-get): New functions, replacing calls to
7356 cl-define-compiler-macro.
7357 (cl-typep) [compiler-macro]: Use macroexp-let².
7358
7359 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
7360
7361 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7362 string properly, fixes Bug#11473.
7363
7364 2012-06-08 Chong Yidong <cyd@gnu.org>
7365
7366 * faces.el (set-face-attribute): Doc fix.
7367 (modify-face): Don't use :bold and :italic.
7368 (error, warning, success): Tweak definitions.
7369
7370 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7371 (custom-modified, custom-set, custom-changed, custom-themed)
7372 (custom-saved, custom-button, custom-button-mouse)
7373 (custom-button-pressed, custom-state, custom-comment-tag)
7374 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7375 (custom-group-subtitle): Use new-style face specs.
7376 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7377 (custom-set-face, custom-changed-face, custom-saved-face)
7378 (custom-button-face, custom-button-pressed-face)
7379 (custom-documentation-face, custom-state-face)
7380 (custom-comment-face, custom-comment-tag-face)
7381 (custom-variable-tag-face, custom-variable-button-face)
7382 (custom-face-tag-face, custom-group-tag-face-1)
7383 (custom-group-tag-face): Remove obsolete face alias.
7384
7385 * epa.el (epa-validity-high, epa-validity-medium)
7386 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7387 (epa-field-name, epa-field-body):
7388 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7389 (font-lock-keyword-face, font-lock-builtin-face)
7390 (font-lock-function-name-face, font-lock-variable-name-face)
7391 (font-lock-type-face, font-lock-constant-face):
7392 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7393 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7394 * speedbar.el (speedbar-button-face, speedbar-file-face)
7395 (speedbar-directory-face, speedbar-tag-face)
7396 (speedbar-selected-face, speedbar-highlight-face)
7397 (speedbar-separator-face):
7398 * whitespace.el (whitespace-newline, whitespace-space)
7399 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7400 (whitespace-line, whitespace-space-before-tab)
7401 (whitespace-space-after-tab, whitespace-indentation)
7402 (whitespace-empty):
7403 * emulation/cua-base.el (cua-global-mark):
7404 * eshell/em-prompt.el (eshell-prompt):
7405 * net/newst-plainview.el (newsticker-new-item-face)
7406 (newsticker-old-item-face, newsticker-immortal-item-face)
7407 (newsticker-obsolete-item-face, newsticker-date-face)
7408 (newsticker-statistics-face, newsticker-default-face):
7409 * net/newst-reader.el (newsticker-feed-face)
7410 (newsticker-extra-face, newsticker-enclosure-face):
7411 * net/newst-treeview.el (newsticker-treeview-face)
7412 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7413 (newsticker-treeview-immortal-face)
7414 (newsticker-treeview-obsolete-face)
7415 (newsticker-treeview-selection-face):
7416 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7417 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7418 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7419 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7420 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7421 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7422 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7423 (mpuz-text):
7424 * progmodes/vera-mode.el (vera-font-lock-number)
7425 (vera-font-lock-function, vera-font-lock-interface):
7426 * textmodes/table.el (table-cell): Use new-style face specs, and
7427 don't use the old :bold and :italic attributes.
7428
7429 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7430 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7431 (ebrowse-member-class, ebrowse-progress): Likewise.
7432 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7433 (ebrowse-file-name-face, ebrowse-default-face)
7434 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7435 (ebrowse-progress-face): Remove obsolete faces.
7436
7437 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7438 Inherit from error and warning faces respectively.
7439
7440 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7441 Likewise.
7442 (flyspell-incorrect-face, flyspell-duplicate-face):
7443 Remove obsolete aliases.
7444
7445 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
7446
7447 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7448 Avoid infloop.
7449
7450 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7451
7452 * startup.el (argv, argi): Make lexically scoped.
7453 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7454 * emacs-lisp/cl-macs.el: Use lexical-binding.
7455 Rename cl-bind-* to cl--bind-*.
7456 * files.el: Don't require `cl' since it doesn't use it.
7457 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7458
7459 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
7460
7461 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7462 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7463 instead of calling external sort utility.
7464 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7465
7466 2012-06-08 Eli Zaretskii <eliz@gnu.org>
7467
7468 * descr-text.el (describe-char): Mention how to insert the
7469 character, if the current input method doesn't support it.
7470 See the discussion in this thread for the details:
7471 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7472
7473 2012-06-08 Sam Steingold <sds@gnu.org>
7474
7475 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7476 XF86Back to previous-buffer.
7477 (minibuffer-local-map): Bind them to next-history-element and
7478 previous-history-element respectively.
7479 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7480 help-go-back respectively.
7481 * info.el (Info-mode-map): Bind them to Info-history-forward and
7482 Info-history-back respectively.
7483 These are the keys next to Up on the ThinkPad keyboard.
7484
7485 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7486
7487 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7488 * emacs-lisp/cl-macs.el: Provide itself.
7489 (cl--labels-convert-cache): New var.
7490 (cl--labels-convert): New function.
7491 (cl-flet, cl-labels): New implementation with new semantics, relying on
7492 lexical-binding.
7493 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7494 (cl-closure-vars, cl--function-convert-cache)
7495 (cl--function-convert): Move from cl-macs.el.
7496 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7497 rename by removing the "cl-" prefix.
7498 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7499
7500 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7501
7502 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7503 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7504 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7505 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7506 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7507 (cl-hash-table-count): Add old compatibility aliases.
7508
7509 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7510 Use macroexpand-all-environment instead.
7511 (cl--old-macroexpand): New var.
7512 (cl--sm-macroexpand): New function.
7513 (cl-symbol-macrolet): Use it during macro expansion.
7514 (cl--function-convert-cache): New var.
7515 (cl--function-convert): New function, extracted from
7516 cl-macroexpand-all.
7517 (cl-lexical-let): Use it.
7518
7519 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7520 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7521 (cl-member): Remove old alias.
7522
7523 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7524 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7525 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7526 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7527 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7528 (cl-macroexpand-cmacs): Remove var.
7529 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7530 Use macroexpand-all instead.
7531
7532 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7533
7534 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7535 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7536 (macroexp-copyable-p): New functions and macros.
7537 * emacs-lisp/edebug.el (edebug-unwrap):
7538 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7539 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7540 (pcase--let*): Remove.
7541 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7542 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7543 macroexp-const-p instead.
7544 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7545
7546 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7547 instead of "cl-" for internal definitions. Use macroexp-const-p.
7548 (cl-old-bc-file-form): Remove var.
7549 (cl-const-exprs-p): Remove fun.
7550 (cl-labels, cl-macrolet): Use backquote.
7551 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7552 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7553 (cl-define-setf-expander): Rename from cl-define-setf-method.
7554 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7555
7556 * international/mule-cmds.el: Don't require CL.
7557 (view-hello-file): Don't use `letf'.
7558
7559 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7560
7561 * tmm.el (tmm-prompt): Use string-prefix-p.
7562 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7563 (tmm-add-prompt): Use minibuffer-completion-help.
7564 (tmm-delete-map): Remove.
7565
7566 * subr.el (kbd): Make it its own function.
7567
7568 2012-06-07 Stefan Merten <smerten@oekonux.de>
7569
7570 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7571 Silence compiler warnings. Fix versions.
7572 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7573 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7574 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7575 (rst-package-emacs-version-alist): Correct Emacs version to
7576 represent major merge with upstream.
7577 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7578
7579 2012-06-06 Glenn Morris <rgm@gnu.org>
7580
7581 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7582 Only print environment variables if set.
7583
7584 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7585
7586 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7587 (macroexp--cons): Rename from maybe-cons.
7588 (macroexp--accumulate): Rename from macroexp-accumulate.
7589 (macroexp--all-forms): Rename from macroexpand-all-forms.
7590 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7591 (macroexp--expand-all): Rename from macroexpand-all-1.
7592
7593 2012-06-06 Sam Steingold <sds@gnu.org>
7594
7595 * calendar/calendar.el (calendar-in-read-only-buffer):
7596 Call `special-mode' to enable the standard read-only keybindings.
7597
7598 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7599
7600 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7601 with "loading" messages (bug#11635).
7602
7603 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
7604
7605 * files.el (enable-remote-dir-locals): New option.
7606 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7607
7608 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7609 Ensure, that the temp directory is local.
7610
7611 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7612 `temporary-file-directory'.
7613
7614 * progmodes/python.el (python-send-region): Ensure, that the
7615 temporary file is created also in the remote case.
7616
7617 2012-06-06 Glenn Morris <rgm@gnu.org>
7618
7619 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7620 (vc-rcs-update-changelog): Use it.
7621
7622 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7623
7624 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7625 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7626 (vc-sccs-diff): Replace use of the external vcdiff script.
7627
7628 2012-06-05 Glenn Morris <rgm@gnu.org>
7629
7630 * ledit.el: Move to obsolete/.
7631
7632 2012-06-05 Sam Steingold <sds@gnu.org>
7633
7634 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7635 patch (Bug#11140).
7636
7637 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7638
7639 * emacs-lisp/cust-print.el: Move to obsolete.
7640
7641 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7642 compiler-macro expansion.
7643
7644 Add native compiler-macro support.
7645 * emacs-lisp/macroexp.el (macroexpand-all-1):
7646 Support compiler-macros directly. Properly follow aliases and apply
7647 the compiler macros more thoroughly.
7648 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7649 macroexpand now properly follows aliases.
7650 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7651 (cl-compiler-macroexpand): Use new prop.
7652 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7653
7654 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7655
7656 2012-06-05 Martin Rudalics <rudalics@gmx.at>
7657
7658 * window.el (get-lru-window, get-mru-window, get-largest-window):
7659 New argument NOT-SELECTED to avoid picking the selected window.
7660 (window--display-buffer-1, window--display-buffer-2): Replace by
7661 new function window--display-buffer
7662 (display-buffer-same-window, display-buffer-reuse-window)
7663 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7664 Use window--display-buffer.
7665 (display-buffer-use-some-window): Remove temporary dedication
7666 hack by calling get-lru-window and get-largest-window with
7667 NOT-SELECTED argument non-nil. Call window--display-buffer.
7668
7669 2012-06-05 Glenn Morris <rgm@gnu.org>
7670
7671 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7672 Replace external vcdiff script.
7673
7674 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7675
7676 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7677
7678 2012-06-04 Chong Yidong <cyd@gnu.org>
7679
7680 * image.el (imagemagick-types-inhibit): Revert last change.
7681 Add INFO and M.
7682 (imagemagick-enabled-types): Remove CIN and EPS*.
7683
7684 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7685
7686 * emacs-lisp/cl-lib.el: Rename from cl.el.
7687 * emacs-lisp/cl.el: New compatibility file.
7688 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7689 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7690 to obey the "cl-" prefix.
7691 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7692
7693 2012-06-03 Glenn Morris <rgm@gnu.org>
7694
7695 * emacs-lisp/authors.el (authors-aliases): Addition.
7696
7697 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7698 Fix :version.
7699
7700 2012-06-03 Stefan Merten <smerten@oekonux.de>
7701
7702 * textmodes/rst.el: Add comments.
7703 (rst-transition, rst-adornment): New faces.
7704 (rst-adornment-faces-alist): Make default safe to reevaluate.
7705 Fixes
7706 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7707 Improve customization tags.
7708 (rst-define-level-faces): Clarify meaning.
7709
7710 2012-06-03 Chong Yidong <cyd@gnu.org>
7711
7712 * progmodes/compile.el (compilation-mode-line-fail)
7713 (compilation-mode-line-run, compilation-mode-line-exit):
7714 New faces.
7715 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7716
7717 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7718
7719 * progmodes/which-func.el (which-func-update-ediff-windows):
7720 New function. Use it in ediff-select-hook (Bug#11478).
7721
7722 2012-06-03 Chong Yidong <cyd@gnu.org>
7723
7724 * bindings.el: Remove explicit help text from format-mode-line.
7725 It is now supplied by mode-line-default-help-echo.
7726 (mode-line-front-space, mode-line-end-spaces)
7727 (mode-line-misc-info): New variables.
7728 (mode-line-modes, mode-line-position): Move the default value to
7729 the variable definition.
7730 (mode-line-default-help-echo): New defcustom.
7731 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7732 (mode-line-modified-help-echo): New functions.
7733 (mode-line-mule-info, mode-line-modified): Use them.
7734 (mode-line-eol-desc, propertized-buffer-identification):
7735 Consistency fixes for help text.
7736 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7737 set-buffer-file-coding-system (Bug#289).
7738 (mode-line-mule-info-help-echo): Update help text.
7739
7740 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * simple.el (execute-extended-command): Set real-this-command
7743 (bug#11506).
7744
7745 2012-06-02 Chong Yidong <cyd@gnu.org>
7746
7747 Remove incorrect uses of "modeline" in comments, docstrings, and
7748 function/variable names (Bug#10329).
7749
7750 * cus-edit.el (mode-line):
7751 * dframe.el (dframe-mouse-hscroll):
7752 * emacs-lisp/re-builder.el:
7753 * emacs-lisp/easy-mmode.el (define-minor-mode):
7754 * frame.el (set-frame-name):
7755 * help.el (lookup-minor-mode-from-indicator):
7756 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7757 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7758 (c-toggle-hungry-state):
7759 * progmodes/antlr-mode.el (antlr-language-alist):
7760 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7761 * progmodes/vhdl-mode.el (vhdl-mode):
7762 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7763 * term/ns-win.el (ns-face-at-pos):
7764 * term/sup-mouse.el (sup-mouse-report):
7765 * textmodes/flyspell.el (flyspell-mode-line-string):
7766 * textmodes/ispell.el (ispell-highlight-face):
7767 * textmodes/reftex-global.el:
7768 * vc/vc-arch.el (vc-arch-mode-line-string):
7769 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7770 * vc/vc-git.el (vc-git-mode-line-string):
7771 * vc/vc-hooks.el (vc-display-status)
7772 (vc-default-mode-line-string):
7773 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7774
7775 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7776
7777 * dired.el (dired-sort-set-mode-line): Rename from
7778 dired-sort-set-modeline. All callers changed.
7779
7780 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7781 eshell-status-in-modeline.
7782
7783 * foldout.el (foldout-mode-line-string): Rename from
7784 foldout-modeline-string. All callers changed.
7785 (foldout-update-mode-line): Rename from foldout-update-modeline.
7786
7787 * subr.el (redraw-modeline): Make into obsolete alias.
7788
7789 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7790 timeclock-modeline-display. Make old name an alias.
7791 (timeclock-update-mode-line): Likewise. All callers changed.
7792 (timeclock-mode-line-display): No need to check before using
7793 add-hook.
7794 (timeclock-relative, timeclock-day-over-hook)
7795 (timeclock-use-elapsed, timeclock-mode-string)
7796 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7797
7798 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7799 crisp-mode-modeline-string.
7800
7801 * play/solitaire.el (solitaire-build-mode-line): Rename from
7802 solitaire-build-modeline. All callers changed.
7803
7804 * play/zone.el (zone-hiding-mode-line): Rename from
7805 zone-hiding-modeline. All callers changed.
7806 (zone): Remove unusued `modeline-hidden-level' property.
7807
7808 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7809 xscheme-modeline-initialize. All callers changed.
7810
7811 * strokes.el (strokes-lighter): Rename from
7812 strokes-modeline-string.
7813
7814 * textmodes/sgml-mode.el (html-face-tag-alist)
7815 (html-tag-face-alist): Use mode-line face instead of obsolete
7816 alias modeline.
7817
7818 2012-06-02 Stefan Merten <smerten@oekonux.de>
7819
7820 * textmodes/rst.el: Always require `cl'.
7821 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7822
7823 2012-06-02 Chong Yidong <cyd@gnu.org>
7824
7825 * image.el (imagemagick-enabled-types): Rename from
7826 imagemagick-types-enable. Add many more types.
7827 (imagemagick-types-inhibit): Change default to nil.
7828 (imagemagick-filter-types): Caller changed.
7829
7830 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7831
7832 * emacs-lisp/cl-macs.el: Use backquotes.
7833 (cl-transform-function-property): Use eval-and-compile rather than
7834 abusing `require'.
7835 (defstruct): Use declare-function instead of with-no-warnings.
7836
7837 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7838 (byte-compile-output-docform): Re-add the print-circle bindings.
7839 (byte-compile-fix-header): Use #$ just because it's shorter.
7840 (byte-compile-output-file-form): Remove defun/defmacro.
7841
7842 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7843
7844 * simple.el (choose-completion): Remove now obsolete binding for
7845 owindow.
7846
7847 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7848
7849 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7850 in order to avoid "Stack overflow in regexp matcher".
7851
7852 2012-05-31 Glenn Morris <rgm@gnu.org>
7853
7854 * image.el: For clarity, call imagemagick-register-types at
7855 top-level, rather than relying on a custom :initialize.
7856 (imagemagick-types-enable): New option. (Bug#11557)
7857 (imagemagick-filter-types): New function. (Bug#7406)
7858 (imagemagick-register-types): Use imagemagick-filter-types.
7859 If disabling support, remove elements altogether rather
7860 than using an impossible regexp.
7861 (imagemagick-types-inhibit): Give it the default init function.
7862
7863 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7864
7865 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7866 Handle arbitrary file name lengths (Bug#11585).
7867
7868 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7869
7870 * desktop.el (desktop-read): Clear previous and next buffers for
7871 all windows and bury *Messages* buffer (bug#11556).
7872
7873 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7874
7875 Add `declare' for `defun'. Align `defmacro's with it.
7876 * emacs-lisp/easy-mmode.el (define-minor-mode)
7877 (define-globalized-minor-mode): Don't autoload the var definitions.
7878 * emacs-lisp/byte-run.el: Use lexical-binding.
7879 (defun-declarations-alist, macro-declarations-alist): New vars.
7880 (defmacro, defun): Use them.
7881 (make-obsolete, define-obsolete-function-alias)
7882 (make-obsolete-variable, define-obsolete-variable-alias):
7883 Use `declare'.
7884 (macro-declaration-function): Mark obsolete.
7885 * emacs-lisp/autoload.el: Use lexical-binding.
7886 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7887
7888 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7889
7890 * textmodes/ispell.el (ispell-with-no-warnings):
7891 Define as a macro.
7892 (ispell-kill-ispell, ispell-change-dictionary):
7893 Use `called-interactively-p' for Emacs instead of obsolete
7894 `interactive-p'.
7895
7896 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7899 (macro-declaration-function): Move var from C code.
7900 (macro-declaration-function): Define function with defalias.
7901 * emacs-lisp/macroexp.el (macroexpand-all-1):
7902 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7903 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7904 defun/defmacro any more.
7905 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7906 Provide fallback for unknown arglist.
7907 (byte-compile-arglist-warn): Change calling convention.
7908 (byte-compile-output-file-form): Move print-vars binding.
7909 (byte-compile-output-docform): Simplify accordingly.
7910 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7911 (byte-compile-defmacro-declaration): Remove.
7912 (byte-compile-file-form-defmumble): Generalize to defalias.
7913 (byte-compile-output-as-comment): Return byte-positions.
7914 Simplify callers accordingly.
7915 (byte-compile-lambda): Use `assert'.
7916 (byte-compile-defun, byte-compile-defmacro): Remove.
7917 (byte-compile-file-form-defalias):
7918 Use byte-compile-file-form-defmumble.
7919 (byte-compile-defalias-warn): Remove.
7920
7921 2012-05-29 Stefan Merten <smerten@oekonux.de>
7922
7923 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7924 possible. Fix authors. Improve comments. Improve loading of `cl'.
7925
7926 (rst-mode-abbrev-table): Merge definition.
7927 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7928 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7929
7930 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7931
7932 * calendar/icalendar.el
7933 (icalendar-export-region): Export UID properly.
7934
7935 2012-05-29 Leo Liu <sdl.web@gmail.com>
7936 * calendar/icalendar.el (icalendar-import-format):
7937 Add `icalendar-import-format-uid' (Bug#11525).
7938 (icalendar-import-format-uid): New.
7939 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7940 Export UID.
7941
7942 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7943
7944 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7945 different alternative patterns.
7946 (pcase-codegen): Be more careful to preserve identity.
7947 (pcase--u1): Don't forget to mark vars as used.
7948
7949 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7950 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7951 (byte-compile-from-buffer): ...rather than here.
7952
7953 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7954 functions from byte-compile-function-environment.
7955
7956 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7957
7958 * window.el (window-deletable-p): Avoid deleting the root window
7959 of a frame with an active minibuffer.
7960
7961 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7962
7963 * simple.el (choose-completion): Use quit-window (Bug#11567).
7964
7965 2012-05-29 Chong Yidong <cyd@gnu.org>
7966
7967 * whitespace.el (whitespace-cleanup): Fix usage of
7968 whitespace-empty-at-bob-regexp (Bug#11492).
7969
7970 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7971
7972 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7973 revert (Bug#11488).
7974
7975 2012-05-29 Juri Linkov <juri@jurta.org>
7976
7977 * isearch.el (isearch-mode-map): Bind `M-s _' to
7978 `isearch-toggle-symbol'. Bind `M-s c' to
7979 `isearch-toggle-case-fold'.
7980 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7981 (isearch-forward): Add `M-s _' to the docstring.
7982 (isearch-forward-symbol, isearch-toggle-case-fold)
7983 (isearch-symbol-regexp): New functions. (Bug#11381)
7984
7985 2012-05-29 Juri Linkov <juri@jurta.org>
7986
7987 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7988 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7989 a function, call it to get the regexp.
7990 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7991 property `isearch-message-prefix' instead of the string "word ".
7992 (isearch-search-fun-default): For the case of `isearch-word',
7993 return a lambda that calls re-search-forward/re-search-backward
7994 with a regexp returned by `word-search-regexp' or by the function
7995 in `isearch-word'.
7996
7997 2012-05-29 Juri Linkov <juri@jurta.org>
7998
7999 * isearch.el (isearch-search-fun-default): New function.
8000 (isearch-search-fun): Move default part to the new function
8001 `isearch-search-fun-default'.
8002 (isearch-search-fun-function): Set the default value to
8003 `isearch-search-fun-default'. (Bug#11381)
8004
8005 * comint.el (comint-history-isearch-end):
8006 Use `isearch-search-fun-default'.
8007 (comint-history-isearch-search): Use `isearch-search-fun-default'
8008 and remove spacial case for `isearch-word'.
8009 (comint-history-isearch-wrap): Remove spacial case for
8010 `isearch-word'.
8011
8012 * hexl.el (hexl-isearch-search-function):
8013 Use `isearch-search-fun-default'.
8014
8015 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8016 Use `word-search-regexp' for `isearch-word'.
8017
8018 * misearch.el (multi-isearch-search-fun):
8019 Use `isearch-search-fun-default'.
8020
8021 * simple.el (minibuffer-history-isearch-search):
8022 Use `isearch-search-fun-default' and remove spacial case for
8023 `isearch-word'.
8024 (minibuffer-history-isearch-wrap): Remove spacial case for
8025 `isearch-word'.
8026
8027 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8028 Remove spacial case for `isearch-word'.
8029 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8030
8031 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8032
8033 Decrease XEmacs incompatibilities.
8034 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8035 Use `string-match'.
8036 (flyspell-delete-region-overlays): Use alternative definition for
8037 XEmacs.
8038 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8039 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8040 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8041 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8042 `define-obsolete-face-alias' under XEmacs, but old method.
8043
8044 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8045 `with-no-warnings' definition or Emacs alias.
8046 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8047 (ispell-word): Do not use `region-p' if XEmacs.
8048
8049 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8050
8051 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8052 Check for `ispell-dictionary-base-alist' instead of full
8053 `ispell-dictionary-alist'.
8054 (ispell-init-process): Show spellchecker when starting new Ispell
8055 process.
8056
8057 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8058
8059 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8060 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8061
8062 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
8063
8064 * version.el (motif-version-string, gtk-version-string)
8065 (ns-version-string): Declare.
8066
8067 2012-05-27 Juri Linkov <juri@jurta.org>
8068
8069 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8070 after the `eval-defun-1' specialcaseing
8071 like in `edebug-eval-defun' (bug#10181).
8072
8073 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8074 like in `eval-defun-1'.
8075
8076 2012-05-27 Eli Zaretskii <eliz@gnu.org>
8077
8078 * mail/sendmail.el (mail-yank-region):
8079 Recognize rmail-yank-current-message in addition to insert-buffer.
8080 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8081 a *mail* buffer created through rmail-start-mail with sendmail as
8082 mail-user-agent.
8083
8084 2012-05-27 Chong Yidong <cyd@gnu.org>
8085
8086 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8087 Default to 256 (Bug#11267).
8088
8089 * help.el (describe-mode): Doc fix.
8090
8091 2012-05-26 Glenn Morris <rgm@gnu.org>
8092
8093 * w32-fns.el (w32-init-info): Remove.
8094 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8095
8096 * info.el (info-initialize): For self-contained NS builds, put the
8097 included info/ directory at the front. (Bug#2791)
8098
8099 * paths.el (Info-default-directory-list): Make it a defcustom,
8100 mainly so that we can use custom-initialize-delay.
8101
8102 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * subr.el (buffer-has-markers-at): Mark obsolete.
8105
8106 * subr.el (lambda): Use declare.
8107
8108 * emacs-lisp/lisp-mode.el (lambda):
8109 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8110
8111 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8112
8113 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8114
8115 2012-05-26 Glenn Morris <rgm@gnu.org>
8116
8117 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8118
8119 2012-05-25 Glenn Morris <rgm@gnu.org>
8120
8121 * paths.el: Remove no-byte-compile.
8122 * loadup.el: No need to load paths.el uncompiled.
8123
8124 * image.el (imagemagick-types-inhibit): Doc fix.
8125
8126 * version.el: Remove no-byte-compile and associated formatting.
8127 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8128 is ancient code from when there was an "inc-vers.el".
8129
8130 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8131
8132 * progmodes/gdb-mi.el: Minor style changes.
8133 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8134 Turn into minor modes.
8135 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8136 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8137 (gdb-shell): Remove unneeded let-binding.
8138 (gdb-get-many-fields): Eliminate O(n²) behavior.
8139
8140 2012-05-25 Eli Zaretskii <eliz@gnu.org>
8141
8142 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8143 platforms that don't link in fontset.c.
8144
8145 2012-05-25 Juri Linkov <juri@jurta.org>
8146
8147 Use the same diff color scheme as in modern VCSes (bug#10181).
8148
8149 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8150 to avoid confusion with `diff-added' that now uses green colors.
8151 (diff-removed): Use shades of red.
8152 (diff-added): Use shades of green.
8153 (diff-changed): Leave just the yellow color.
8154 (diff-use-changed-face): New variable.
8155 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8156 how to highlight context diff changes.
8157 (diff-refine-change): Use shades of yellow.
8158 (diff-refine-removed): New face that uses shades of red.
8159 (diff-refine-added): New face that uses shades of green.
8160 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8161 `diff-refine-removed' in the call to `smerge-refine-subst'
8162 depending on the value of `diff-use-changed-face'.
8163
8164 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8165 (smerge-other): Use shades of green.
8166 (smerge-base): Use shades of yellow.
8167 (smerge-refined-change): Empty face.
8168 (smerge-refined-removed): New face that uses shades of red.
8169 (smerge-refined-added): New face that uses shades of green.
8170 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8171 args `props-r' and `props-a', and use them. Doc fix.
8172 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8173 on its value use different faces `smerge-refined-change',
8174 `smerge-refined-removed', `smerge-refined-added' in the call to
8175 `smerge-refine-subst'.
8176
8177 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8178 Add face condition `min-colors 88' with shades of red.
8179 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8180 `min-colors 88' with shades of green.
8181 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8182 `min-colors 88' with shades of yellow.
8183
8184 2012-05-24 Glenn Morris <rgm@gnu.org>
8185
8186 * paths.el (prune-directory-list, remote-shell-program): Move to...
8187 * files.el (prune-directory-list, remote-shell-program): ...here.
8188 For the latter, delay initialization, prefer ssh, just search PATH.
8189
8190 * paths.el (term-file-prefix): Move to faces.el (the only user).
8191 * faces.el (term-file-prefix): Move here, make it a defcustom.
8192
8193 * paths.el (news-directory, news-path, news-inews-program):
8194 Move to gnus/nnspool.el.
8195
8196 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8197
8198 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8199 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8200 Make the latter a defcustom, with a delayed initialization.
8201
8202 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8203 These were deleted from Gnus itself late 2010.
8204
8205 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
8206
8207 * progmodes/which-func.el (which-func-ff-hook):
8208 Check against user-error, not error.
8209
8210 * emacs-lisp/edebug.el (top): Do not load or set up loading of
8211 cl-specs.el, which no longer exists.
8212
8213 2012-05-22 Glenn Morris <rgm@gnu.org>
8214
8215 * info.el (info-emacs-bug): New command.
8216 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8217 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8218
8219 2012-05-21 Glenn Morris <rgm@gnu.org>
8220
8221 * makefile.w32-in (update-subdirs-SH):
8222 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8223
8224 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8225
8226 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8227
8228 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8229 Simplify Maven regexp, and make sure the file can't start with a space
8230 (bug#11517).
8231
8232 2012-05-21 Glenn Morris <rgm@gnu.org>
8233
8234 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8235 Scrap superfluous subshells.
8236
8237 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8238
8239 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8240 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8241
8242 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8243
8244 * calc/calc.el (calc-ensure-consistent-units): New variable.
8245
8246 * calc/calc-units.el (math-consistent-units-p)
8247 (math-check-unit-consistency): New functions.
8248 (calc-quick-units, calc-convert-units):
8249 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8250 is non-nil.
8251 (calc-extract-units): Fix typo.
8252
8253 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8256
8257 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8258 (flyspell-default-deplacement-commands): Don't spell check after
8259 repeated window/frame switches (e.g. triggered by mouse-movement).
8260 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8261 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8262 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8263 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8264 Remove unused vars.
8265 (flyspell-get-casechars, flyspell-get-not-casechars):
8266 Simplify; Don't bother removing a ] just to add it back.
8267 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8268
8269 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8270
8271 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8272 New functions.
8273 (math-function-table): Add support for more C functions.
8274
8275 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8276
8277 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8278 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8279 Protect delay handling for otherchars against empty otherchars.
8280
8281 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8282
8283 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8284 their respective macro declarations.
8285 * skeleton.el (define-skeleton):
8286 * progmodes/compile.el (define-compilation-mode):
8287 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8288 (define-ibuffer-filter):
8289 * emacs-lisp/generic.el (define-generic-mode):
8290 * emacs-lisp/easy-mmode.el (define-minor-mode)
8291 (define-globalized-minor-mode):
8292 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8293 * emacs-lisp/byte-run.el (defsubst):
8294 * custom.el (deftheme): Add doc-string metadata.
8295
8296 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8297
8298 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8299
8300 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8301
8302 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8303
8304 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8305 * emacs-lisp/cl-macs.el: Idem.
8306 * emacs-lisp/cl-specs.el: Remove.
8307
8308 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8309
8310 Minor renaming of internal CL functions and variables.
8311 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8312 (cl--position): Rename from cl-position.
8313 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8314 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8315 (cl--random-state): Rename from *random-state*.
8316
8317 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8320 parens around the arg list (bug#11499).
8321
8322 2012-05-17 Juri Linkov <juri@jurta.org>
8323
8324 * isearch.el (word-search-regexp, word-search-backward)
8325 (word-search-forward, word-search-backward-lax)
8326 (word-search-forward-lax): Move functions from search.c
8327 (bug#10145, bug#11381).
8328
8329 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8330
8331 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8332 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8333 Delay for otherchars as for normal word components.
8334
8335 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8336
8337 * minibuffer.el (completion--sifn-requote): Fix last change.
8338 (minibuffer-local-must-match-filename-map):
8339 Move define-obsolete-variable-alias before its var.
8340
8341 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8342
8343 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8344
8345 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8346 behavior.
8347 (completion--string-equal-p): New function.
8348 (completion--twq-all): Use it to get better assertion failure data.
8349
8350 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8351 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8352 (shell--requote-argument): New functions.
8353 (shell-completion-vars): Use them.
8354 (shell--parse-pcomplete-arguments): Rename from
8355 shell-parse-pcomplete-arguments.
8356 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8357 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8358 Obey comint-file-name-quote-list.
8359
8360 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8361 (smie-indent-keyword): Use it.
8362
8363 2012-05-14 Stefan Merten <smerten@oekonux.de>
8364
8365 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8366
8367 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * net/rlogin.el (rlogin-mode-map): Fix last change.
8370
8371 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8372
8373 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8374 the following \r\n using a single `process-send-string', since the
8375 Lotus SMTP server refuses to accept any commands if they are sent
8376 with two `process-send-string's (Bug#11444).
8377
8378 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8379
8380 * shell.el (shell-parse-pcomplete-arguments):
8381 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8382
8383 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8384
8385 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8386 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8387 (image-transform-width, image-transform-fit-width): New functions.
8388 (image-transform-properties): Use them.
8389 (image-transform-check-size): New function.
8390 (image-toggle-display-image): Use it (for testing).
8391 (image-transform-set-rotation): Reduce angle mod 360.
8392 Delete obsolete comment.
8393
8394 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8395
8396 * image-mode.el: Fix scaling (bug#11399).
8397 (image-transform-resize): Doc fix.
8398 (image-transform-properties): Default scale is 1 and height should
8399 be an integer.
8400
8401 2012-05-13 Johan Bockgård <bojohan@gnu.org>
8402
8403 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8404 than hard-coding `car', to fix misbehavior when moving forward.
8405
8406 2012-05-13 Chong Yidong <cyd@gnu.org>
8407
8408 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8409 (tabulated-list-entries, tabulated-list-padding)
8410 (tabulated-list-sort-key): Make permanent-local.
8411
8412 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8413 (electric-buffer-list): Put electric buffer menu
8414 command descriptions in this docstring, instead of the docstring
8415 of electric-buffer-menu-mode. Code cleanups.
8416 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8417 Electric-buffer-menu-mode.
8418 (electric-buffer-update-highlight): Minor code cleanup.
8419
8420 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
8421
8422 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8423 (Bug#11447)
8424
8425 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8426
8427 Move define-obsolete-variable-alias before the var's definition.
8428 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8429 * tooltip.el (tooltip-hook):
8430 * textmodes/reftex-toc.el (reftex-toc-map):
8431 * textmodes/reftex-sel.el (reftex-select-label-map)
8432 (reftex-select-bib-map):
8433 * textmodes/reftex-index.el (reftex-index-map)
8434 (reftex-index-phrases-map):
8435 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8436 * progmodes/meta-mode.el (meta-mode-map):
8437 * novice.el (disabled-command-hook):
8438 * loadhist.el (unload-hook-features-list):
8439 * frame.el (blink-cursor):
8440 * files.el (find-file-not-found-hooks, write-file-hooks)
8441 (write-contents-hooks):
8442 * emulation/tpu-edt.el (GOLD-map):
8443 * emacs-lock.el (emacs-lock-from-exiting):
8444 * emacs-lisp/generic.el (generic-font-lock-defaults):
8445 * emacs-lisp/chart.el (chart-map):
8446 * dos-fns.el (register-name-alist):
8447 * dired-x.el (dired-omit-files-p):
8448 * desktop.el (desktop-enable):
8449 * cus-edit.el (custom-mode-hook):
8450 * buff-menu.el (buffer-menu-mode-hook):
8451 * bookmark.el (bookmark-read-annotation-text-func)
8452 (bookmark-exit-hooks):
8453 * allout.el (allout-mode-deactivate-hook)
8454 (allout-exposure-change-hook, allout-structure-added-hook)
8455 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8456 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8457 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8458 comes before the corresponding variable's definition.
8459
8460 2012-05-12 Chong Yidong <cyd@gnu.org>
8461
8462 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8463 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8464 (Buffer-menu-mode-map): Bind it.
8465 (Buffer-menu--pretty-name): Add a mouse-face property.
8466
8467 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8468
8469 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8470 (prolog-upper-case-string, prolog-lower-case-string)
8471 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8472 (prolog-use-smie, prolog-smie-grammar): New vars.
8473 (prolog-smie-forward-token, prolog-smie-backward-token)
8474 (prolog-smie-rules): New funs.
8475 (prolog-comment-indent): Remove.
8476 (prolog-mode-variables): Use default comment indentation instead.
8477 Setup SMIE.
8478 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8479 (prolog-mode): Don't call them any more.
8480 (prolog-electric-colon, prolog-electric-dash)
8481 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8482
8483 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8484
8485 * minibuffer.el (completion--twq-all): Again, allow case differences.
8486
8487 * term.el: Move keymap initialization code to be more idiomatic.
8488 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8489 (term-terminal-menu): Move initialization into declaration.
8490 (term-escape-char): Let the user set it in her .emacs.
8491
8492 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8493 Provide SMIE-based indentation (not enabled by default yet).
8494 (sh-mode-map): Don't bind electric keys.
8495 Use electric-pair-mode instead of skeleton-pair.
8496 (sh-assignment-regexp): Fit within 80 columns.
8497 (sh-indent-supported): Specify actual shell name instead of boolean.
8498 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8499 (sh-maybe-here-document): Use it. Make obsolete.
8500 (sh-electric-here-document-mode) New minor mode.
8501 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8502 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8503 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8504 (sh-smie-rc-grammar, sh-use-smie): New vars.
8505 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8506 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8507 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8508 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8509 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8510 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8511 (sh-set-shell): Use smie-setup if requested.
8512
8513 * term.el (term-set-escape-char): Properly set term-escape-char.
8514 See http://stackoverflow.com/questions/10524656.
8515
8516 2012-05-10 Chong Yidong <cyd@gnu.org>
8517
8518 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8519 Use url-generic-parse-url, and handle host names and Windows
8520 filenames properly.
8521 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8522 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8523 URL schemes to work on.
8524 (ffap--toggle-read-only): New function.
8525 (ffap-read-only, ffap-read-only-other-window)
8526 (ffap-read-only-other-frame): Use it.
8527 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8528 necessary for ffap-url-unwrap-remote.
8529
8530 2012-05-10 Dave Abrahams <dave@boostpro.com>
8531
8532 * cus-start.el (create-lockfiles): Add it.
8533
8534 2012-05-09 Chong Yidong <cyd@gnu.org>
8535
8536 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8537 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8538
8539 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8540
8541 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8542
8543 2012-05-09 Chong Yidong <cyd@gnu.org>
8544
8545 * ansi-color.el (ansi-color-process-output): Check for validity of
8546 comint-last-output-start before using it. This avoids a bad
8547 interaction with gdb-mi's input/output buffer.
8548
8549 2012-05-09 Glenn Morris <rgm@gnu.org>
8550
8551 * files.el (dir-locals-read-from-file):
8552 Mention dir-locals in any error message.
8553
8554 2012-05-09 Chong Yidong <cyd@gnu.org>
8555
8556 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8557 package (Bug#11410).
8558
8559 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8560 variables into description.
8561
8562 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8563
8564 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8565 shell-delimiter-argument-list (bug#11348).
8566 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8567
8568 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
8569
8570 * textmodes/rst.el: Silence byte-compiler warnings.
8571 (rst-re-alist, rst-reset-section-caches): Move around.
8572 (rst-re): Use `characterp', not `char-valid-p'.
8573 (font-lock-beg, font-lock-end): Declare.
8574
8575 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8576 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8577
8578 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8579
8580 2012-05-08 Glenn Morris <rgm@gnu.org>
8581
8582 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8583
8584 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8585
8586 * vc/log-edit.el: Add GNU coding standards highlighting.
8587 (log-edit-font-lock-gnu-style)
8588 (log-edit-font-lock-gnu-keywords): New vars.
8589 (log-edit-font-lock-keywords): New fun.
8590 (log-edit-mode): Don't fold case in font-lock.
8591 (log-edit-font-lock-keywords): Do not assume case-folding.
8592
8593 * imenu.el: Misc cleanup. Make docstrings out of comments.
8594 Use lexical-binding.
8595 (imenu--index-alist, imenu--last-menubar-index-alist)
8596 (imenu-menubar-modified-tick): Use defvar-local.
8597 (imenu--split-menu): Remove unused var.
8598 (imenu--cleanup-seen): Declare as global.
8599 (imenu--cleanup): Use dolist.
8600
8601 * subr.el (defvar-local): Add debug spec and doc-string position.
8602
8603 2012-05-08 Glenn Morris <rgm@gnu.org>
8604
8605 * language/burmese.el, language/cham.el, language/czech.el:
8606 * language/english.el, language/georgian.el, language/greek.el:
8607 * language/japanese.el, language/khmer.el, language/korean.el:
8608 * language/lao.el, language/misc-lang.el, language/romanian.el:
8609 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8610 * language/thai.el, language/utf-8-lang.el:
8611 Remove no-byte-compile setting.
8612
8613 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8614
8615 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8616
8617 * progmodes/make-mode.el (makefile-browse):
8618 Remove unnecessary interactive. (Bug#11324)
8619
8620 2012-05-07 Glenn Morris <rgm@gnu.org>
8621
8622 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8623
8624 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8625
8626 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * loadup.el: Preload newcomment.el.
8629 * newcomment.el: Move autoload-only code to toplevel.
8630
8631 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8632 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8633 Handle new :right-align column property.
8634 (tabulated-list-print-col): Idem, plus use `display' text-property to
8635 try and preserve alignment for variable pitch fonts.
8636
8637 2012-05-07 Chong Yidong <cyd@gnu.org>
8638
8639 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8640 (tabulated-list-use-header-line): New var.
8641 (tabulated-list-init-header): Use it.
8642 (tabulated-list-print-fake-header): New function.
8643 (tabulated-list-print): Use it.
8644 (tabulated-list-sort-button-map): Add non-header-line commands.
8645 (tabulated-list-init-header): Add column name property to basic
8646 labels as well.
8647 (tabulated-list-col-sort): Handle non-header-line button case.
8648 (tabulated-list--sort-by-column-name): Fix a corner case.
8649
8650 * buff-menu.el (list-buffers--refresh):
8651 Handle Buffer-menu-use-header-line.
8652
8653 2012-05-06 Chong Yidong <cyd@gnu.org>
8654
8655 * buff-menu.el: Convert to Tabulated List mode.
8656 (Buffer-menu-buffer+size-width): Make obsolete.
8657 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8658 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8659 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8660 documentation into docstring of buffer-menu.
8661 (Buffer-menu-toggle-files-only): Add an informative message.
8662 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8663 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8664 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8665 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8666 (Buffer-menu-execute, Buffer-menu-select)
8667 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8668 (Buffer-menu-bury): Use Tabulated List machinery.
8669 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8670 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8671 Delete.
8672 (list-buffers--refresh): New function.
8673 (list-buffers-noselect): Use it.
8674 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8675 (Buffer-menu--pretty-file-name): New helper functions.
8676
8677 * loadup.el: Preload tabulated-list.
8678
8679 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8680 tabulated-list-sort-column.
8681 (tabulated-list-init-header): Add the initial aligning space even
8682 if tabulated-list-padding is zero.
8683
8684 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8685
8686 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8687 whose cdr is not a cons cell correctly (bug#11038).
8688
8689 2012-05-06 Chong Yidong <cyd@gnu.org>
8690
8691 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8692 Accept additional plist in column descriptors.
8693 (tabulated-list-init-header): Obey it.
8694 (tabulated-list-get-entry): New function.
8695 (tabulated-list-put-tag): Use it. Use string-width instead of
8696 length.
8697 (tabulated-list--column-number): New function.
8698 (tabulated-list-print): Use it.
8699 (tabulated-list-print-col): New function.
8700 Set `tabulated-list-column-name' property on each column's text.
8701 (tabulated-list-print-entry): Use it.
8702 (tabulated-list-delete-entry, tabulated-list-set-col):
8703 New functions.
8704 (tabulated-list-sort-column): New command (Bug#11337).
8705
8706 * buff-menu.el (list-buffers): Move C-x C-b binding from
8707 buff-menu.el to bindings.el.
8708
8709 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8710 :advertised-binding feature.
8711
8712 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8713
8714 * progmodes/compile.el (compilation-internal-error-properties):
8715 Calculate start position correctly when end-col is set but
8716 end-line is not (Bug#11382).
8717
8718 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8719
8720 * man.el (Man-unindent): Use text-property-default-nonsticky to
8721 prevent untabify from inheriting face properties (Bug#11408).
8722
8723 2012-05-05 Stefan Merten <smerten@oekonux.de>
8724
8725 * textmodes/rst.el: Major merge with upstream development up to
8726 Docutils SVN r7399 / rst.el V1.2.1.
8727
8728 Clarify maintainership and authors.
8729
8730 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8731 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8732 (rst-official-version, rst-official-cvs-rev, rst-version)
8733 (rst-package-emacs-version-alist): New functions and variables
8734 for version information.
8735
8736 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8737 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8738 (rst-mode-syntax-table, rst-mode): New and corrected functions
8739 and variables representing reStructuredText features.
8740
8741 (rst-re): New function for reStructuredText regexes. Use in
8742 many places.
8743
8744 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8745 (rst-mode-map): Rebind keys.
8746
8747 (rst-mode-lazy, rst-font-lock-keywords)
8748 (rst-font-lock-extend-region)
8749 (rst-font-lock-extend-region-internal)
8750 (rst-font-lock-extend-region-extend)
8751 (rst-font-lock-find-unindented-line-limit)
8752 (rst-font-lock-find-unindented-line-match)
8753 (rst-adornment-level, rst-font-lock-adornment-level)
8754 (rst-font-lock-adornment-match)
8755 (rst-font-lock-handle-adornment-pre-match-form)
8756 (rst-font-lock-handle-adornment-matcher): Major revision of
8757 font-locking. Integrate with other code. Use `jit-lock-mode'.
8758
8759 (rst-preferred-adornments, rst-adjust-hook)
8760 (rst-new-adornment-down, rst-preferred-bullets)
8761 (rst-preferred-bullets, rst-indent, rst-indent-width)
8762 (rst-indent-field, rst-indent-literal-normal)
8763 (rst-indent-literal-minimized, rst-indent-comment): Change,
8764 extend and improve customization.
8765
8766 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8767 (rst-normalize-cursor-position, rst-get-decoration)
8768 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8769 (rst-rstrip, rst-toc-insert-find-delete-contents)
8770 (rst-shift-fill-region, rst-compute-bullet-tabs)
8771 (rst-debug-print-tabs, rst-debug-mark-found)
8772 (rst-shift-region-guts, rst-shift-region-right)
8773 (rst-shift-region-left, rst-use-char-classes)
8774 (rst-font-lock-keywords-function)
8775 (rst-font-lock-indentation-point)
8776 (rst-font-lock-find-unindented-line-begin)
8777 (rst-font-lock-find-unindented-line-end)
8778 (rst-font-lock-find-unindented-line)
8779 (rst-font-lock-adornment-point, rst-font-lock-level)
8780 (rst-adornment-level-alist): Remove functions and variables.
8781
8782 (rst-compare-adornments, rst-get-adornment-match)
8783 (rst-suggest-new-adornment, rst-get-adornments-around)
8784 (rst-adornment-complete-p, rst-get-next-adornment)
8785 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8786 (rst-straighten-adornments): Standardize function names to
8787 use "adornment" instead of "decoration". Correct callers.
8788 Similar standardizing in many places.
8789
8790 (rst-update-section, rst-adjust, rst-promote-region)
8791 (rst-enumerate-region, rst-bullet-list-region)
8792 (rst-repeat-last-character): Correct use of `interactive'.
8793
8794 (rst-classify-adornment, rst-find-all-adornments)
8795 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8796 (rst-find-leftmost-column, rst-repeat-last-character):
8797 Refactor functions.
8798
8799 (rst-find-title-line, rst-reset-section-caches)
8800 (rst-get-adornments-around, rst-adjust-adornment-work)
8801 (rst-arabic-to-roman, rst-roman-to-arabic)
8802 (rst-insert-list-pos, rst-insert-list-new-item)
8803 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8804 New functions.
8805
8806 (rst-all-sections, rst-section-hierarchy)
8807 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8808 New variables.
8809
8810 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8811 configuration instead of only buffer. Change where necessary.
8812
8813 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8814 (rst-shift-region, rst-adaptive-fill): New functions for
8815 indentation and filling.
8816
8817 (rst-comment-line-break, rst-comment-indent)
8818 (rst-comment-insert-comment, rst-comment-region)
8819 (rst-uncomment-region): New functions for handling comments.
8820
8821 (rst-compile): Quote shell arguments.
8822
8823 (rst-compile-pdf-preview, rst-compile-slides-preview):
8824 Delete temporary files after use.
8825
8826 2012-05-05 Glenn Morris <rgm@gnu.org>
8827
8828 * calendar/cal-html.el: Optionally include holidays in the output.
8829 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8830 (cal-html-holidays): New option.
8831 (cal-html-css-default): Add holiday entry.
8832 (holiday-in-range): Autoload it.
8833 (cal-html-htmlify-entry): Add optional class argument.
8834 (cal-html-htmlify-list): Add optional holidays argument.
8835 (cal-html-insert-agenda-days): Include holidays in the output.
8836 (cal-html-one-month): Maybe include holidays.
8837
8838 * calendar/holidays.el (holiday-in-range):
8839 Move here from cal-tex-list-holidays.
8840 * calendar/cal-tex.el (cal-tex-list-holidays):
8841 Make it an obsolete alias for holiday-in-range. Update all callers.
8842
8843 2012-05-05 Chong Yidong <cyd@gnu.org>
8844
8845 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8846 Nextstep.
8847
8848 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8849
8850 * files.el (file-auto-mode-skip): New var.
8851 (set-auto-mode-1): Use it.
8852
8853 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * repeat.el: Use lexical-binding.
8856 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8857 (repeat-undo-count): Remove.
8858 (repeat):
8859 * progmodes/octave-mod.el (octave-abbrev-start):
8860 * progmodes/f90.el (f90-abbrev-start):
8861 * face-remap.el (text-scale-adjust):
8862 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8863
8864 * emacs-lisp/pcase.el (pcase--let*): New function.
8865 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8866 a bit more.
8867 (pcase--split-pred): Be more clever about ruling out overlap between
8868 a predicate and some constant pattern.
8869 (pcase--q1): Use `null' instead of (eq foo nil).
8870
8871 * subr.el (setq-local, defvar-local): New macros.
8872 (kbd): Redefine as an alias.
8873 (with-selected-window): Leave unrelated frames alone.
8874 (set-temporary-overlay-map): New function.
8875
8876 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8877
8878 * subr.el (user-error): New function.
8879 * window.el (switch-to-buffer):
8880 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8881 (smerge-match-conflict):
8882 * simple.el (previous-matching-history-element)
8883 (next-matching-history-element, goto-history-element, undo-more)
8884 (undo-start):
8885 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8886 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8887 (next-file, tags-loop-scan, list-tags, complete-tag):
8888 * progmodes/compile.el (compilation-loop):
8889 * mouse.el (mouse-minibuffer-check):
8890 * man.el (Man-bgproc-sentinel, Man-goto-page):
8891 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8892 (Info-history-forward, Info-follow-reference, Info-menu)
8893 (Info-extract-menu-item, Info-extract-menu-counting)
8894 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8895 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8896 (Info-next-reference, Info-prev-reference, Info-index)
8897 (Info-index-next, Info-follow-nearest-node)
8898 (Info-copy-current-node-name):
8899 * imenu.el (imenu--make-index-alist)
8900 (imenu-default-create-index-function, imenu-add-to-menubar):
8901 * files.el (basic-save-buffer, recover-file):
8902 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8903 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8904 (checkdoc-message-text, checkdoc-defun):
8905 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8906 * cus-edit.el (customize-changed-options, customize-rogue)
8907 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8908 (custom-variable-mark-to-reset-standard)
8909 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8910 (custom-file):
8911 * completion.el (check-completion-length):
8912 * comint.el (comint-search-arg)
8913 (comint-previous-matching-input-string-position)
8914 (comint-previous-matching-input)
8915 (comint-replace-by-expanded-history-before-point, comint-send-input)
8916 (comint-copy-old-input, comint-backward-matching-input)
8917 (comint-goto-process-mark, comint-set-process-mark):
8918 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8919 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8920
8921 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8922
8923 * dabbrev.el (dabbrev--ignore-case-p): New function.
8924 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8925 Use it.
8926
8927 * files.el (automount-dir-prefix): Mark as obsolete.
8928
8929 2012-05-04 Glenn Morris <rgm@gnu.org>
8930
8931 * patcomp.el, play/bruce.el: Move to obsolete/.
8932
8933 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8934
8935 Fix minor Y10k bugs.
8936 * arc-mode.el (archive-unixdate):
8937 * autoinsert.el (auto-insert-alist):
8938 * calc/calc-forms.el (math-this-year):
8939 * emacs-lisp/copyright.el (copyright-current-year)
8940 (copyright-update-year, copyright):
8941 * tar-mode.el (tar-clip-time-string):
8942 * time.el (display-time-update):
8943 Don't assume years have 4 digits.
8944
8945 2012-05-04 Chong Yidong <cyd@gnu.org>
8946
8947 * dos-w32.el (file-name-buffer-file-type-alist)
8948 (direct-print-region-use-command-dot-com):
8949 * ffap.el (ffap-menu-regexp):
8950 * find-file.el (ff-special-constructs):
8951 * follow.el (follow-debug):
8952 * forms.el (forms--debug):
8953 * iswitchb.el (iswitchb-all-frames):
8954 * ido.el (ido-all-frames):
8955 * emacs-lisp/timer.el (timer-max-repeats):
8956 * mail/feedmail.el (feedmail-mail-send-hook)
8957 (feedmail-mail-send-hook-queued):
8958 * mail/footnote.el (footnote-signature-separator):
8959 * mail/mailabbrev.el (mail-alias-separator-string)
8960 (mail-abbrev-mode-regexp):
8961 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8962 * progmodes/idlwave.el (idlwave-libinfo-file)
8963 (idlwave-default-completion-case-is-down)
8964 (idlwave-library-routines): Convert defvars to defcustoms.
8965
8966 * mail/rmail.el (rmail-decode-mime-charset):
8967 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8968 (idlwave-shell-fix-inserted-breaks)
8969 (idlwave-shell-activate-alt-keybindings)
8970 (idlwave-shell-use-breakpoint-glyph):
8971 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8972
8973 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8974
8975 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8976
8977 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8978
8979 * progmodes/verilog-mode.el (font-lock-keywords):
8980 Fix mis-highligting auto. Reported by Craig Barner.
8981 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8982 defines from global name space. Reported by Dan Dever.
8983 (verilog-auto-reset, verilog-auto-reset-widths)
8984 (verilog-auto-tieoff): Support using unbased numbers for
8985 AUTORESET and AUTOTIEOFF.
8986 (verilog-submit-bug-report): Update variable list.
8987 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8988 parenthesis from not matching. Reported by Michael Rytting.
8989 (verilog-auto-template-lint): Fix hash error when linting modules
8990 with no used templates.
8991 (verilog-warn, verilog-warn-error)
8992 (verilog-warn-fatal): When non-interactive report multiple
8993 warnings before exiting. Suggested by Brad Dobbie.
8994 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8995 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8996 to report unused template errors. Reported by Brad Dobbie.
8997 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8998 nets, bug438. Reported by Vns Blore.
8999 (verilog-auto-inout-module, verilog-auto-reg)
9000 (verilog-read-decls, verilog-read-sub-decls-sig)
9001 (verilog-signals-edit-wire-reg, verilog-signals-with):
9002 Fix passing of Verilog data types in ANSI input/output ports
9003 such as "output logic" into the AUTOs. Special case "wire" and
9004 "reg" for backwards compatibility presuming Verilog 2001.
9005 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9006 (verilog-preprocess): Fix replication of preprocess output.
9007 Reported by Brad Dobbie.
9008 (verilog-auto-inst-interfaced-ports):
9009 Create verilog-auto-inst-interfaced-ports, bug429.
9010 Reported by Julian Gorfajn.
9011 (verilog-after-save-font-hook)
9012 (verilog-before-save-font-hook): New variable.
9013 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9014 (verilog-save-font-mods): Wrap disabling fontification, reported
9015 by David Rogoff.
9016 (verilog-do-indent, verilog-pretty-declarations-auto)
9017 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9018 Reported by Pierre-David Pfister.
9019 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9020 of class declarations, bug292. Reported by Kevin Heilman.
9021 (verilog-read-decls): Fix 'parameter type' not appearing in
9022 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9023 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
9024 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
9025 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9026 Reported by David Kravitz.
9027
9028 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
9029
9030 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9031 assignment with tests in ifs and for loops.
9032 (verilog-extended-complete-re, verilog-complete-reg): Change so
9033 that DPI inport functions don't look like fuction declarations.
9034 (verilog-pretty-expr): Don't line up assignment
9035 operations to the test and increment in if and for loops
9036 (verilog-extended-complete-re, verilog-complete-reg): Change so
9037 that DPI inport functions don't look like fuction declarations.
9038
9039 2012-05-03 Kenichi Handa <handa@m17n.org>
9040
9041 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
9042 decoding, and show a warning message without signaling an error
9043 (Bug#11282).
9044
9045 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 * emacs-lisp/bytecomp.el
9048 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9049 since cconv.el might have introduced :fun-body, internal-make-closure,
9050 and friends for bytecomp to handle (bug#11391).
9051 * custom.el (defcustom): Avoid ((λ ..) ..).
9052
9053 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9056
9057 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
9058
9059 * notifications.el (dbus-debug):
9060 * term/linux.el (gpm-mouse-enable):
9061 * term/screen.el (xterm-register-default-colors): Declare.
9062
9063 2012-05-02 Chong Yidong <cyd@gnu.org>
9064
9065 * cus-start.el (gc-cons-percentage, exec-suffixes)
9066 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9067 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9068 (make-cursor-line-fully-visible, void-text-area-pointer)
9069 (font-list-limit): Add customization data.
9070
9071 * allout.el (allout-exposure-change-functions)
9072 (allout-structure-added-functions)
9073 (allout-structure-deleted-functions)
9074 (allout-structure-shifted-functions): Rename abnormal hooks from
9075 *-hook, and convert to defcustoms.
9076 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9077 Convert to defcustoms.
9078 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9079
9080 * allout-widgets.el: Hook callers changed.
9081
9082 2012-05-02 Eli Zaretskii <eliz@gnu.org>
9083
9084 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9085 the yanked message in preference to the default value of
9086 buffer-file-coding-system.
9087
9088 2012-05-02 Martin Rudalics <rudalics@gmx.at>
9089
9090 * window.el (display-buffer--action-function-custom-type):
9091 Fix entry.
9092
9093 2012-05-02 Alan Mackenzie <acm@muc.de>
9094
9095 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9096
9097 2012-05-01 Glenn Morris <rgm@gnu.org>
9098
9099 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9100
9101 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9102
9103 * cus-edit.el (custom-variable-documentation): Simplify with format.
9104
9105 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9106 Stefan Monnier <monnier@iro.umontreal.ca>
9107
9108 * simple.el (suggest-key-bindings, execute-extended-command):
9109 Move from keyboard.c.
9110
9111 2012-05-01 Chong Yidong <cyd@gnu.org>
9112
9113 * follow.el: Eliminate advice.
9114 (set-process-filter, process-filter, sit-for): Advice deleted.
9115 (follow-mode-off-hook): Obsolete hook removed.
9116 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9117 Vars deleted.
9118 (follow-auto): Use a :set function.
9119 (follow-mode): Rewritten. Don't advise process filters.
9120 (follow-switch-to-current-buffer-all, follow-scroll-up)
9121 (follow-scroll-down): Assume follow-mode is bound.
9122 (follow-comint-scroll-to-bottom)
9123 (follow-align-compilation-windows): New functions.
9124 (follow--window-sorter): New function.
9125 (follow-all-followers): Use it to explicitly sort windows by their
9126 positions; don't make assumptions about next-window order.
9127 (follow-windows-start-end, follow-delete-other-windows-and-split)
9128 (follow-calc-win-start): Doc fix.
9129 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9130 vertical-motion unnecessarily.
9131 (follow-adjust-window): New function.
9132 (follow-post-command-hook): Use it.
9133 (follow-call-set-process-filter, follow-call-process-filter)
9134 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9135 (follow-stop-intercept-process-output, follow-generic-filter):
9136 Functions deleted.
9137 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9138 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9139 New functions, replacing advice on scroll-bar-* commands.
9140 (follow-mwheel-scroll): New function (Bug#4112).
9141
9142 * comint.el (comint-adjust-point): New function.
9143 (comint-postoutput-scroll-to-bottom): Use it.
9144 Call follow-comint-scroll-to-bottom for Follow mode buffers.
9145
9146 2012-05-01 Glenn Morris <rgm@gnu.org>
9147
9148 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9149 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9150 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9151 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9152 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9153 Remove no-byte-compile setting.
9154
9155 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9156
9157 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9158 all-completions code to not return a number in the last cdr.
9159
9160 2012-04-30 Leo Liu <sdl.web@gmail.com>
9161
9162 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9163 read-only error.
9164
9165 2012-04-29 Chong Yidong <cyd@gnu.org>
9166
9167 * follow.el (follow-calc-win-end): Rewrite to handle partial
9168 screen lines correctly (Bug#8390).
9169 (follow-avoid-tail-recenter): Minor cleanup.
9170
9171 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9172
9173 Avoid the obsolete `assoc' package.
9174 * speedbar.el (speedbar-refresh): Avoid adelete.
9175 (speedbar-file-lists): Simplify and avoid aput.
9176 * man.el (Man--sections, Man--refpages): New vars, replacing
9177 Man-sections-alist and Man-refpages-alist.
9178 (Man-build-section-alist, Man-build-references-alist):
9179 Use them; avoid aput.
9180 (Man--last-section, Man--last-refpage): New vars.
9181 (Man-follow-manual-reference): Use them.
9182 Use the `default' arg of completing-read.
9183 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9184
9185 2012-04-27 Chong Yidong <cyd@gnu.org>
9186
9187 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9188
9189 * startup.el (x-apply-session-resources): New function.
9190
9191 * term/ns-win.el (ns-initialize-window-system):
9192 * term/w32-win.el (w32-initialize-window-system):
9193 * term/x-win.el (x-initialize-window-system): Use it to properly
9194 set menu-bar-mode and other vars from X resources, even if the
9195 initial frame is not a window-system frame (Bug#2299).
9196
9197 * subr.el (read-key): Avoid running filter function when setting
9198 up temporary tool bar entries (Bug#9922).
9199
9200 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9201
9202 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9203 (Bug#11344)
9204
9205 2012-04-27 Chong Yidong <cyd@gnu.org>
9206
9207 * select.el (xselect--encode-string): New function, split from
9208 xselect-convert-to-string.
9209 (xselect-convert-to-string): Use it.
9210 (xselect-convert-to-filename, xselect-convert-to-os)
9211 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9212 returned strings are properly encoded (Bug#11315).
9213
9214 2012-04-27 Chong Yidong <cyd@gnu.org>
9215
9216 * simple.el (delete-active-region): Move to killing custom group.
9217
9218 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9219
9220 * progmodes/which-func.el (which-func-current): Quote %
9221 characters for mode-line processing.
9222
9223 2012-04-27 Chong Yidong <cyd@gnu.org>
9224
9225 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9226 reaching eob (Bug#11286).
9227
9228 2012-04-27 Eli Zaretskii <eliz@gnu.org>
9229
9230 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9231 (gdb): Make it buffer-local and init to zero.
9232 (gdb-control-commands-regexp): New variable.
9233 (gdb-send): Don't wrap in "-interpreter-exec console" if
9234 gdb-control-level is positive. Increment gdb-control-level
9235 whenever the command matches gdb-control-commands-regexp, and
9236 decrement it each time the command is "end". (Bug#11279)
9237
9238 2012-04-27 Martin Rudalics <rudalics@gmx.at>
9239
9240 * window.el (adjust-window-trailing-edge, enlarge-window)
9241 (shrink-window, window-resize):
9242 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9243 windows (Bug#11276).
9244
9245 2012-04-27 Chong Yidong <cyd@gnu.org>
9246
9247 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9248 fix "missing prefix" warning. All callers changed.
9249
9250 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * emacs-lisp/assoc.el: Move to obsolete/.
9253
9254 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9255
9256 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9257
9258 * term/ns-win.el (ns-define-service):
9259 * progmodes/pascal.el (pascal-goto-defun):
9260 * progmodes/js.el (js--read-tab):
9261 * progmodes/etags.el (tags-lazy-completion-table):
9262 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9263 * emacs-lisp/ewoc.el (ewoc--wrap):
9264 * emacs-lisp/assoc.el (aput, adelete, amake):
9265 * doc-view.el (doc-view-convert-current-doc):
9266 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9267
9268 2012-04-26 Chong Yidong <cyd@gnu.org>
9269
9270 * image.el (image-type-from-buffer): Only return supported image
9271 type (Bug#9045).
9272
9273 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9274 value, for symmetry with diff-end-of-hunk.
9275 (diff-split-hunk, diff-find-source-location)
9276 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9277 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9278 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9279 compute the relevant hunk or file properly (Bug#6005).
9280 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9281
9282 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9283
9284 * vc/vc-mtn.el:
9285 * vc/vc-hg.el:
9286 * vc/vc-git.el:
9287 * vc/vc-dir.el:
9288 * vc/vc-cvs.el:
9289 * vc/vc-bzr.el:
9290 * vc/vc-arch.el:
9291 * vc/vc.el: Replace lexical-let by lexical-binding.
9292 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9293 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9294 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9295
9296 2012-04-26 Chong Yidong <cyd@gnu.org>
9297
9298 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9299 (diff-mode-shared-map): Bind it to / and [remap undo].
9300
9301 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9302 (ediff-window-setup-function): Use it as the default, to set up
9303 windows based on whether the current frame is graphical (Bug#2138).
9304 (ediff-choose-window-setup-function-automatically): Make obsolete.
9305
9306 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9307
9308 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9309
9310 * ffap.el: Remove old code for obsolete package.
9311 (ffap-complete-as-file-p): Remove.
9312
9313 Use completion-table-with-quoting for comint and pcomplete.
9314 * comint.el (comint--unquote&requote-argument)
9315 (comint--unquote-argument, comint--requote-argument): New functions.
9316 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9317 (comint-quote-filename): Use regexp-opt-charset.
9318 (comint--common-suffix, comint--common-quoted-suffix)
9319 (comint--table-subvert): Remove.
9320 (comint-unquote-function, comint-requote-function): New vars.
9321 (comint--complete-file-name-data): Use them with
9322 completion-table-with-quoting.
9323 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9324 * pcomplete.el (pcomplete-arg-quote-list)
9325 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9326 (pcomplete-unquote-argument-function): Default to non-nil.
9327 (pcomplete-unquote-argument): Simplify.
9328 (pcomplete--common-quoted-suffix): Remove.
9329 (pcomplete-requote-argument-function): New var.
9330 (pcomplete--common-suffix): New function.
9331 (pcomplete-completions-at-point): Use completion-table-with-quoting
9332 and completion-table-subvert.
9333
9334 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9335 (minibuffer--double-dollars): Preserve properties.
9336 (completion--sifn-requote): New function.
9337 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9338
9339 * minibuffer.el: Add support for completion of quoted/escaped data.
9340 (completion-table-with-quoting, completion-table-subvert): New funs.
9341 (completion--twq-try, completion--twq-all): New functions.
9342 (completion--nth-completion): New function.
9343 (completion-try-completion, completion-all-completions): Use it.
9344
9345 2012-04-25 Leo Liu <sdl.web@gmail.com>
9346
9347 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9348 Use compilation-message if available to find real filename.
9349
9350 2012-04-25 Chong Yidong <cyd@gnu.org>
9351
9352 * vc/diff-mode.el (diff-setup-whitespace): New function.
9353 (diff-mode): Use it.
9354
9355 * vc/diff.el (diff-sentinel):
9356 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9357 Whitespace mode variables based on diff style (Bug#8612).
9358
9359 2012-04-25 Leo Liu <sdl.web@gmail.com>
9360
9361 * progmodes/python.el (python-send-region): Add suffix .py to the
9362 temp file.
9363
9364 * files.el (auto-mode-alist): Use javascript-mode instead.
9365
9366 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9367
9368 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
9369
9370 * net/soap-client.el (soap-resolve-references-for-sequence-type)
9371 (soap-resolve-references-for-array-type): Hack to prevent self
9372 references, see Bug#9.
9373 (soap-parse-envelope): Report the contents of the 'detail' node
9374 when receiving a fault reply.
9375 (soap-parse-envelope): Report the contents of the entire 'detail' node.
9376
9377 * net/soap-inspect.el (soap-sample-value-for-simple-type)
9378 (soap-inspect-simple-type): New function.
9379
9380 * net/soap-client.el (soap-simple-type): New struct.
9381 (soap-default-xsd-types, soap-default-soapenc-types)
9382 (soap-decode-basic-type, soap-encode-basic-type):
9383 support unsignedInt and double basic types.
9384 (soap-resolve-references-for-simple-type)
9385 (soap-parse-simple-type, soap-encode-simple-type): New function.
9386 (soap-parse-schema): Parse xsd:simpleType declarations.
9387
9388 * net/soap-client.el (soap-default-xsd-types)
9389 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9390 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9391 the local name of "soapenc:Array".
9392 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9393 decoding integer, byte and anyURI xsd types.
9394
9395 2012-04-25 Chong Yidong <cyd@gnu.org>
9396
9397 * cus-edit.el (custom-buffer-create-internal): Update header text.
9398
9399 2012-04-25 Eli Zaretskii <eliz@gnu.org>
9400
9401 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9402 settings on 'system-type', not on 'window-system'. On MS-Windows,
9403 set interactive-mode on in GDB.
9404
9405 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9406
9407 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9408 (ruby-syntax-propertize-regexp): Remove.
9409 (ruby-syntax-propertize-function): Split regexp into chunks.
9410 Match following code directly.
9411
9412 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9413
9414 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9415 (ruby-syntax-propertize-regexp): New function.
9416 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9417 by a special keyword.
9418
9419 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9420 (ruby-syntax-general-delimiters-goto-beg)
9421 (ruby-syntax-propertize-general-delimiters): New functions.
9422 (ruby-syntax-propertize-function): Use them to handle GDL.
9423 (ruby-font-lock-keywords): Move old handling of GDL...
9424 (ruby-font-lock-syntactic-keywords): .. to here.
9425 (ruby-calculate-indent): Adjust indentation for GDL.
9426
9427 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
9428
9429 * notifications.el (top): Remove unneeded declarations.
9430 (notifications-specification-version): Change to "1.2".
9431 (notifications-interface, notifications-notify-method)
9432 (notifications-close-notification-method): Fix docstring.
9433 (notifications-get-capabilities-method): New defconst.
9434 (notifications-notify): Add :action-items, :resident and
9435 :transient hints. Change "image_data" to "image-data" and
9436 "image_path" to "image-path".
9437 (notifications-get-capabilities): New defun.
9438
9439 2012-04-24 Leo Liu <sdl.web@gmail.com>
9440
9441 * progmodes/python.el: Move hideshow setup to the end.
9442
9443 2012-04-24 Martin Rudalics <rudalics@gmx.at>
9444
9445 * window.el (handle-select-window): Clear echo area since this is
9446 no more done by read_char (Bug#11304).
9447
9448 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9449
9450 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9451 and `/ M' to filter-derived-mode.
9452 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9453 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9454 (ibuffer-mark-by-mode): Use default rather than initial-input.
9455 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9456
9457 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9458
9459 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9460 (ibuffer-filter-by-derived-mode): New filter.
9461 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9462
9463 2012-04-23 Andreas Politz <politza@fh-trier.de>
9464
9465 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9466
9467 2012-04-23 Chong Yidong <cyd@gnu.org>
9468
9469 * cus-edit.el (customize-apropos, customize-apropos-options):
9470 Disable matching of non-option variables (Bug#11176).
9471 (customize-option, customize-option-other-window)
9472 (customize-changed-options): Doc fix.
9473 (customize-apropos-options, customize-apropos-faces)
9474 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9475
9476 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9477 Fix word list splitting (Bug#11132).
9478 (apropos-symbol, apropos-keybinding, apropos-label)
9479 (apropos-property, apropos-function-button)
9480 (apropos-variable-button, apropos-misc-button): New faces.
9481 (apropos-symbol-face, apropos-keybinding-face)
9482 (apropos-label-face, apropos-property-face, apropos-match-face):
9483 Variables removed (Bug#8396).
9484 (apropos-library-button, apropos-format-plist, apropos-print)
9485 (apropos-print-doc, apropos-describe-plist): Callers changed.
9486
9487 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
9488
9489 * net/xesam.el (xesam-mode-map): Use let-bound map in
9490 initialization. (Bug#11292)
9491
9492 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9493
9494 Preserve ispell session localwords when switching back to
9495 original buffer.
9496
9497 * textmodes/ispell.el (ispell-buffer-session-localwords):
9498 New buffer-local variable to hold buffer session localwords.
9499 (ispell-kill-ispell): Add option 'clear to delete session
9500 localwords.
9501 (ispell-command-loop, ispell-change-dictionary)
9502 (ispell-buffer-local-words): Preserve session localwords when
9503 needed.
9504
9505 * textmodes/flyspell.el (flyspell-process-localwords)
9506 (flyspell-do-correct): Preserve session localwords when needed.
9507
9508 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9509
9510 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9511 using obsolete `translation-table-for-input'.
9512 (ispell-word, ispell-process-line, ispell-complete-word):
9513 Use plain `insert' instead of removed `ispell-insert-word'.
9514
9515 2012-04-22 Chong Yidong <cyd@gnu.org>
9516
9517 * cus-edit.el (custom-variable-menu)
9518 (custom-variable-reset-saved, custom-face-menu)
9519 (custom-face-reset-saved): If there is no saved value, make the
9520 "reset-saved" operation bring back the default (Bug#9509).
9521 (custom-face-state): Properly detect themed faces.
9522
9523 * faces.el (face-spec-set): Stop supporting deprecated form of
9524 third arg.
9525
9526 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
9527
9528 Move functions from C to Lisp. Make non-blocking method calls
9529 the default. Implement further D-Bus standard interfaces.
9530
9531 * net/dbus.el (dbus-message-internal): Declare function.
9532 Remove unneeded function declarations.
9533 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9534 (dbus-message-type-method-return, dbus-message-type-error)
9535 (dbus-message-type-signal): Declare variables. Remove local
9536 definitions.
9537 (dbus-interface-dbus, dbus-interface-peer)
9538 (dbus-interface-introspectable, dbus-interface-properties)
9539 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9540 Adapt docstring.
9541 (dbus-interface-objectmanager): New defconst.
9542 (dbus-call-method, dbus-call-method-asynchronously)
9543 (dbus-send-signal, dbus-method-return-internal)
9544 (dbus-method-error-internal, dbus-register-service)
9545 (dbus-register-signal, dbus-register-method): New defuns, moved
9546 from dbusbind.c
9547 (dbus-call-method-handler, dbus-setenv)
9548 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9549 New defuns.
9550 (dbus-call-method-non-blocking): Make it an obsolete function.
9551 (dbus-unregister-object, dbus-unregister-service)
9552 (dbus-handle-event, dbus-register-property)
9553 (dbus-property-handler): Obey the new structure of
9554 `bus-registered-objects'.
9555 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9556 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9557 Use `dbus-call-method'.
9558
9559 2012-04-22 Chong Yidong <cyd@gnu.org>
9560
9561 * cus-edit.el (custom-commands, custom-reset-menu)
9562 (Custom-reset-standard): Tweak labels.
9563 (custom-reset-button-menu): Change default to t.
9564 (custom-buffer-create-internal): For the custom-reset-button-menu
9565 case, put the revert button first.
9566 (custom-group-subtitle): New face.
9567 (custom-group-value-create): Align docstring to a specific column.
9568
9569 * wid-edit.el (widget-documentation-link-add): Don't handle
9570 indentation in this function.
9571 (widget-documentation-string-indent-to): New function.
9572 (widget-documentation-string-value-create): Use it.
9573
9574 * autorevert.el (auto-revert):
9575 * epg-config.el (epg):
9576 * ibuffer.el (ibuffer):
9577 * mpc.el (mpc):
9578 * ses.el (ses):
9579 * eshell/eshell.el (eshell):
9580 * net/ange-ftp.el (ange-ftp):
9581 * progmodes/ebnf2ps.el (postscript):
9582 * progmodes/flymake.el (flymake):
9583 * progmodes/prolog.el (prolog):
9584 * progmodes/verilog-mode.el (verilog-mode):
9585 * progmodes/which-func.el (which-func):
9586 * term/xterm.el (xterm):
9587 * textmodes/picture.el (picture):
9588 * textmodes/tildify.el (tildify):
9589 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9590 customization buffers.
9591
9592 2012-04-22 Alan Mackenzie <acm@muc.de>
9593
9594 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9595 Adding a ) can hide the resulting (..) from searches. Fix it.
9596 Bound the backward search to the position of the existing (.
9597
9598 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
9599
9600 * progmodes/verilog-mode.el (verilog-mode): Check whether
9601 which-func-modes is t before adding verilog-mode.
9602 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9603
9604 2012-04-21 Leo Liu <sdl.web@gmail.com>
9605
9606 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9607
9608 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9609
9610 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9611 filling of the last column of a table (Bug#5635).
9612 (woman-find-next-control-line): New arg, specifying an additional
9613 regexp component for the control line.
9614 (woman2-roff-buffer): Use it.
9615 (woman-break-table): New function.
9616 (woman2-TS): Use it.
9617
9618 2012-04-21 Chong Yidong <cyd@gnu.org>
9619
9620 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9621 (woman-horizontal-escapes, woman-negative-vertical-space)
9622 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9623 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9624
9625 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9626
9627 * minibuffer.el (completion-file-name-table): Complete user names.
9628
9629 2012-04-20 Leo Liu <sdl.web@gmail.com>
9630
9631 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9632 and pcase-let*.
9633
9634 2012-04-20 Chong Yidong <cyd@gnu.org>
9635
9636 * server.el (server-execute): Respect initial-buffer-choice if it
9637 is a string and there are no files to open (Bug#2825).
9638 (server-create-window-system-frame, server-create-tty-frame):
9639 Don't switch buffers here.
9640 (server-process-filter): Only try to open a window system frame if
9641 compiled with graphical support (Bug#8314).
9642
9643 2012-04-20 Dan Nicolaescu <dann@gnu.org>
9644
9645 * battery.el (battery-echo-area-format): Display remaining time
9646 for sysfs backend too (Bug#11269).
9647 (battery-linux-sysfs): Fix conditional for the charge.
9648
9649 2012-04-20 Chong Yidong <cyd@gnu.org>
9650
9651 * progmodes/gdb-mi.el (gdb): Revert previous change.
9652 (gdb-inferior-io--init-proc): New function.
9653 (gdb-init-1): Use it.
9654 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9655 responsible for allocating a new pty and hooking it to gdb when
9656 the old pty gets an EIO due to process exit.
9657 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9658 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9659 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9660
9661 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9662
9663 * window.el (window-min-size, window-sizable, window-min-delta)
9664 (window-max-delta, window--resizable, window-resizable)
9665 (window-total-size, window-full-height-p, window-full-width-p)
9666 (window-in-direction, window--resize-mini-window, window-resize)
9667 (window--resize-child-windows-normal)
9668 (window--resize-child-windows, window--resize-siblings)
9669 (window--resize-this-window, adjust-window-trailing-edge)
9670 (enlarge-window, shrink-window): Doc fixes.
9671
9672 2012-04-20 Chong Yidong <cyd@gnu.org>
9673
9674 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9675 New function to call delete-process on the gdb-inferior buffer's pty.
9676 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9677 pty process (Bug#11273).
9678 (gdb-update): New arg to suppress talking to the gdb process.
9679 (gdb-done-or-error): Use it.
9680 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9681 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9682 sentinel not being called.
9683
9684 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9685
9686 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9687
9688 2012-04-20 Glenn Morris <rgm@gnu.org>
9689
9690 * net/network-stream.el (open-network-stream): Doc fix.
9691
9692 2012-04-20 Chong Yidong <cyd@gnu.org>
9693
9694 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9695
9696 2012-04-20 Alan Mackenzie <acm@muc.de>
9697
9698 Ensure searching for keywords is case sensitive.
9699
9700 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9701 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9702 (c-defun-name, c-mark-function, c-cpp-define-name)
9703 (c-comment-indent, c-scan-conditionals, c-indent-defun)
9704 (c-context-line-break): Bind case-fold-search to nil.
9705
9706 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9707 Bind case-fold-search to nil.
9708
9709 2012-04-20 Chong Yidong <cyd@gnu.org>
9710
9711 * mail/sendmail.el (mail-bury): Call return action with the right
9712 Rmail buffer (Bug#11242).
9713
9714 * server.el (server-process-filter): Handle corner case where both
9715 tty and nowait options are present (Bug#11102).
9716
9717 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9718
9719 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9720 (top level): Put into the executable the ident-style '$Id:' tag on
9721 windows-nt as well.
9722
9723 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9724
9725 * electric.el (electric-indent-post-self-insert-function): Check that
9726 electric-indent-mode is enabled in current buffer.
9727
9728 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9729
9730 * imenu.el (imenu-progress-message): Restore; it is "used" in
9731 erc/erc-imenu.el and net/snmp-mode.el.
9732
9733 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9734
9735 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9736 (mouse-avoidance-nudge-mouse): Remove unused binding.
9737
9738 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9739
9740 * descr-text.el (describe-char):
9741 * progmodes/python.el (python-describe-symbol):
9742 Don't call `toggle-read-only', set `buffer-read-only'.
9743
9744 * imenu.el (imenu-default-goto-function): Mark unused args.
9745 (imenu-progress-message): Remove obsolete macro; all callers changed.
9746
9747 * subr.el (keymap-canonicalize): Remove unused binding.
9748 (read-passwd): Mark unused arg.
9749
9750 * tutorial.el (tutorial--display-changes): Remove unused binding.
9751 (tutorial--save-tutorial-to): Remove unused variable.
9752
9753 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9754 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9755 (package-generate-autoloads, package-menu--generate)
9756 (package-menu--find-upgrades): Remove unused bindings.
9757
9758 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9759 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9760 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9761 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9762 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9763 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9764 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9765 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9766 (cua-delete-char-rectangle): Mark unused args.
9767 (cua-align-rectangle): Remove unused binding.
9768
9769 * mail/rmail.el (compilation--message->loc)
9770 (epa--find-coding-system-for-mime-charset): Declare.
9771
9772 * net/dbus.el (dbus-register-service): Declare.
9773 (dbus-name-owner-changed-handler): Remove unused binding.
9774
9775 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9776 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9777 (nxml-scan-backward-within): Mark unused arg.
9778 (nxml-dynamic-markup-word): Remove unused binding.
9779
9780 * mouse.el (mouse-menu-major-mode-map):
9781 * emacs-lisp/authors.el (authors-scan-change-log)
9782 (authors-add-to-author-list):
9783 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9784 * emacs-lisp/smie.el (smie-auto-fill):
9785 * mail/sendmail.el (mail-bury):
9786 * mail/unrmail.el (unrmail):
9787 * net/tls.el (open-tls-stream):
9788 * textmodes/picture.el (picture-mouse-set-point):
9789 Remove unused bindings.
9790
9791 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
9792
9793 * net/tramp.el (tramp-action-password): Let-bind
9794 `enable-recursive-minibuffers' to t.
9795
9796 2012-04-18 Sam Steingold <sds@gnu.org>
9797
9798 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9799 instead of 'string to accommodate values like [f11].
9800 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9801 * progmodes/gdb-mi.el: Likewise.
9802
9803 2012-04-18 Leo Liu <sdl.web@gmail.com>
9804
9805 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9806 current buffer.
9807 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9808 LOCAL is nil.
9809
9810 2012-04-18 Chong Yidong <cyd@gnu.org>
9811
9812 * simple.el (line-move): Use forward-line if in batch mode
9813 (Bug#11053).
9814
9815 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9816
9817 * files.el (after-find-file): Do not try to add a final newline if
9818 the buffer is read-only (Bug#11156).
9819
9820 2012-04-17 Richard Stallman <rms@gnu.org>
9821
9822 * mail/rmail.el (rmail-start-mail):
9823 Pass (rmail-mail-return...) for the return-action.
9824 Pass (rmail-yank-current-message...) for the yank-action.
9825 (rmail-yank-current-message): New function.
9826 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9827 (rmail-reply): Likewise.
9828 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9829
9830 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9831 buffer, not the last. Reject temp buffers. Use the rmail-mode
9832 buffer, not newbuf.
9833
9834 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9835
9836 * server.el (server-ensure-safe-dir): Simplify.
9837
9838 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9839
9840 * emacs-lisp/smie.el: Provide smarter auto-filling.
9841 (smie-auto-fill): New function.
9842 (smie-setup): Use it.
9843
9844 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9845
9846 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9847
9848 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9849 (comment-indent): Use it.
9850
9851 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9852
9853 * ses.el: The overall change is to add cell renaming, that is
9854 setting fancy names for cell symbols other than name matching
9855 "\\`[A-Z]+[0-9]+\\'" regexp .
9856 (ses-localvars): Add ses--renamed-cell-symb-list.
9857 (ses-create-cell-variable): New defun.
9858 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9859 (ses-relocate-formula): Relocate formulas only for cells the
9860 symbols of which are not renamed, i.e. symbols whose names do not
9861 match regexp "\\`[A-Z]+[0-9]+\\'".
9862 (ses-relocate-all): Relocate values only for cells the symbols of
9863 which are not renamed.
9864 (ses-load): Create cells variables as the (ses-cell ...) are read,
9865 in order to check row col consistency with cell symbol name only
9866 for cells that are not renamed.
9867 (ses-replace-name-in-formula): New defun.
9868 (ses-rename-cell): New defun.
9869
9870 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9871
9872 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9873 New option (bug#11118).
9874 (perl-calculate-indent): Respect it.
9875
9876 2012-04-17 Glenn Morris <rgm@gnu.org>
9877
9878 * dired-aux.el (dired-mark-read-string): Doc fix.
9879
9880 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9881
9882 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9883 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9884
9885 2012-04-17 Glenn Morris <rgm@gnu.org>
9886
9887 * mouse.el (mouse-drag-track):
9888 * speedbar.el (speedbar-frame-mode):
9889 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9890
9891 2012-04-16 Leo Liu <sdl.web@gmail.com>
9892
9893 * progmodes/python.el: Trivial cleanup.
9894
9895 2012-04-16 Glenn Morris <rgm@gnu.org>
9896
9897 * vc/vc.el (vc-string-prefix-p):
9898 * vc/pcvs-util.el (cvs-string-prefix-p):
9899 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9900 * mpc.el (mpc-string-prefix-p):
9901 Make all of these into obsolete aliases for string-prefix-p.
9902 Update callers.
9903 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9904
9905 * textmodes/two-column.el: Move custom options to the start.
9906 (frame-width): Remove compat definition.
9907 (2C-associate-buffer, 2C-dissociate):
9908 Use with-current-buffer rather than save-excursion.
9909 (2C-dissociate): Force a mode-line update.
9910 (2C-autoscroll): Use ignore-errors.
9911
9912 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9913 Autoload trivia.
9914
9915 * emacs-lisp/cl-extra.el (*random-state*):
9916 Remove unnecessary declaration.
9917
9918 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9919
9920 * play/cookie1.el (cookie-snarf):
9921 Give an explicit error if input file cannot be read.
9922
9923 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9924
9925 * progmodes/perl-mode.el (c-macro-expand):
9926 Remove unnecessary autoload (it is in loaddefs.el).
9927
9928 * textmodes/picture.el (picture-desired-column)
9929 (picture-update-desired-column): Convert comments to doc-strings.
9930 (picture-substitute): Remove function.
9931 (picture-mode-map): Initialize in the defvar.
9932
9933 * woman.el: Remove eval-after-load for tar-mode.
9934 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9935 (woman-tar-extract-file): Autoload it.
9936
9937 * frame.el (automatic-hscrolling): Make this alias obsolete.
9938
9939 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9940
9941 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9942 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9943 (ispell-dictionary-base-alist): Revert to original XEmacs
9944 friendly version for default. [:alpha:] will be added in
9945 `ispell-set-spellchecker-params' if needed.
9946
9947 2012-04-16 Chong Yidong <cyd@gnu.org>
9948
9949 * image.el (imagemagick--file-regexp): New variable.
9950 (imagemagick-register-types): Use it.
9951 (imagemagick-types-inhibit): Add :set function. Allow new value
9952 of t to inhibit all types.
9953
9954 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9955 so we can preload it.
9956
9957 * loadup.el (fboundp): Preload regexp-opt, needed by
9958 imagemagick-register-types.
9959
9960 2012-04-15 Chong Yidong <cyd@gnu.org>
9961
9962 * frame.el (scrolling): Remove nearly unused customization group.
9963
9964 * scroll-all.el (scroll-all-mode): Move to windows group.
9965
9966 2012-04-15 Chong Yidong <cyd@gnu.org>
9967
9968 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9969
9970 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9971
9972 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9973 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9974
9975 2012-04-15 Glenn Morris <rgm@gnu.org>
9976
9977 * simple.el (process-file-side-effects): Doc fix.
9978
9979 2012-04-15 Glenn Morris <rgm@gnu.org>
9980
9981 * international/mule-cmds.el (set-language-environment): Doc fix.
9982
9983 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9984
9985 * server.el (server-auth-key, server-generate-key): Doc fixes.
9986 (server-get-auth-key): Doc fix. Use `string-match-p'.
9987 (server-start): Reflow docstring.
9988
9989 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9990
9991 * server.el (server-generate-key): `called-interactively-p'
9992 requires a parameter.
9993
9994 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9995
9996 * server.el (server-auth-key): New variable.
9997 (server-generate-key, server-get-auth-key): New function.
9998 (server-start): Use the new variable and functions to allow
9999 setting a permanent server key (bug#9423).
10000
10001 2012-04-14 Leo Liu <sdl.web@gmail.com>
10002
10003 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10004
10005 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10006
10007 Spelling fixes.
10008 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10009 Emacs uses American spelling.
10010
10011 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10012
10013 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10014 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10015 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10016 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10017
10018 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10019
10020 * progmodes/which-func.el (which-func-modes): Change default.
10021
10022 2012-04-14 Kim F. Storm <storm@cua.dk>
10023
10024 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10025 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10026
10027 2012-04-14 Chong Yidong <cyd@gnu.org>
10028
10029 * custom.el (custom-theme-set-variables): Doc fix.
10030
10031 2012-04-14 Glenn Morris <rgm@gnu.org>
10032
10033 * international/mule.el (set-auto-coding-for-load): Doc fix.
10034
10035 2012-04-14 Alan Mackenzie <acm@muc.de>
10036
10037 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10038 imenu work again for Objective C Mode. Correct the *-index values,
10039 these having been disturbed by a previous change in 2011-08.
10040
10041 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10042 Correct two search limits.
10043
10044 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10045
10046 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10047
10048 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
10049
10050 * international/characters.el: Fix sorting.
10051
10052 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10053
10054 * international/characters.el: Add more missing Latin case pairs.
10055
10056 2012-04-14 Glenn Morris <rgm@gnu.org>
10057
10058 * files.el (dir-locals-set-class-variables): Doc fix.
10059
10060 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10061
10062 * international/characters.el: Add set-case-syntax-pair call for
10063 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10064 counterpart. (Bug#11209)
10065
10066 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10067
10068 2012-04-14 Glenn Morris <rgm@gnu.org>
10069
10070 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10071
10072 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10073
10074 * textmodes/ispell.el (ispell-dictionary-base-alist):
10075 Add data for Hebrew.
10076
10077 2012-04-14 Chong Yidong <cyd@gnu.org>
10078
10079 * net/rcirc.el (rcirc-cmd-quit):
10080 Revert 2012-03-18 change (Bug#11192).
10081
10082 2012-04-14 Glenn Morris <rgm@gnu.org>
10083
10084 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10085
10086 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10087
10088 * minibuffer.el (completion-in-region-mode-map):
10089 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
10090
10091 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10092
10093 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10094
10095 2012-04-13 Masatake YAMATO <yamato@redhat.com>
10096
10097 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10098 to allow `C-M-f' and `C-M-b' to move to the nearest path
10099 separator (bug#9511).
10100
10101 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10102
10103 * avoid.el: Require cl when compiling. And also move the
10104 `provide' to the end.
10105
10106 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10107
10108 * avoid.el (mouse-avoidance-banish-position): New variable.
10109 (mouse-avoidance-banish-destination): Use it (bug#10165).
10110
10111 2012-04-13 Leo Liu <sdl.web@gmail.com>
10112
10113 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10114
10115 2012-04-13 Ken Brown <kbrown@cornell.edu>
10116
10117 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10118 this is no longer needed now that cygstart understands file:// URLs.
10119 (browse-url-filename-alist): For the same reason, don't modify
10120 file:// URLs on Cygwin.
10121
10122 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10123
10124 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10125 the region on shift if the binding is already shifted (bug#11221).
10126
10127 2012-04-12 Glenn Morris <rgm@gnu.org>
10128
10129 * mail/mailpost.el: Move to obsolete/.
10130
10131 2012-04-12 Drew Adams <drew.adams@oracle.com>
10132
10133 * imenu.el (imenu--generic-function): Ignore invisible definitions
10134 (bug#10123).
10135
10136 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10137
10138 * hexl.el (hexl-bits): New variable.
10139 (hexl-options): Mention the variable in the doc string.
10140 (hexl-rulerise, hexl-line-displen): New functions.
10141 (hexl-mode): Mention the new variable.
10142 (hexl-mode, hexl-current-address, hexl-current-address):
10143 Use the displen.
10144 (hexl-ascii-start-column): New function.
10145 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10146 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10147
10148 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10149
10150 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10151 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10152 the encoding, as expected by hunspell.
10153
10154 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10155
10156 * battery.el (battery--linux-sysfs-regexp): New const.
10157 (battery-status-function): Use it. Remove yeeloong special case.
10158 (battery-yeeloong-sysfs): Remove.
10159 (battery-echo-area-format): Remove yeeloong special case.
10160
10161 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10162
10163 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10164 Reported by Noah Friedman.
10165
10166 * subr.el (read-passwd): Use read-string.
10167
10168 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10169
10170 * vcursor.el (vcursor-move): Increase the priority of the overlay
10171 (bug#9663).
10172
10173 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10174
10175 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10176 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10177
10178 2012-04-11 William Stevenson <yhvh2000@gmail.com>
10179
10180 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10181 define-minor-mode (bug#10760).
10182
10183 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10184
10185 * progmodes/grep.el (rgrep): Tweak the find command line so
10186 that directories matching `grep-find-ignored-files' won't be
10187 pruned (bug#10351).
10188
10189 2012-04-11 Chong Yidong <cyd@gnu.org>
10190
10191 * startup.el (command-line): Remove support for long-obsolete
10192 variable font-lock-face-attributes.
10193
10194 2012-04-11 Glenn Morris <rgm@gnu.org>
10195
10196 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10197
10198 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10199
10200 * window.el (window--state-get-1): Obey window-point-insertion-type.
10201
10202 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10203
10204 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10205 to previous function when point is on the first character of a
10206 function. Take care of that in `narrow-to-defun' (bug#6157).
10207
10208 2012-04-11 Glenn Morris <rgm@gnu.org>
10209
10210 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10211 not just file-errors.
10212
10213 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10214 (vc-bzr-sha1): Use internal sha1.
10215
10216 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10217
10218 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10219
10220 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10221
10222 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10223 that start in the middle of the line (bug#10496).
10224
10225 2012-04-10 Dan Nicolaescu <dann@gnu.org>
10226
10227 * battery.el (battery-linux-proc-acpi): Only one battery is
10228 discharged at a time, but that seems to confuse battery.el when
10229 computing `rate-type' for the battery not being discharged
10230 (bug#10332).
10231
10232 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10233
10234 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10235
10236 * international/quail.el: Use dolist and simplify.
10237 (quail-define-package, quail-update-keyboard-layout)
10238 (quail-define-rules): Use dolist.
10239 (quail-insert-kbd-layout, quail-get-translation): CSE.
10240
10241 * tmm.el: Use dolist, remove left over hook.
10242 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10243 Use dolist.
10244 (calendar-load-hook): Don't mess with it.
10245
10246 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10247 Use derived-mode-p. Run the diff asynchronously.
10248
10249 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10250
10251 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10252
10253 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
10254
10255 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10256 (list-dynamic-libraries--loaded): New function.
10257 (list-dynamic-libraries--refresh): Use it.
10258
10259 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
10260
10261 * progmodes/python.el (python-fill-paragraph):
10262 Make python-fill-region in a multiline string work when font-lock is
10263 disabled (bug#7018).
10264
10265 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10266
10267 * language/european.el (cp775): Add oem/legacy (en)coding on
10268 DOS/MS Windows for the Baltic languages. There are still plenty
10269 of texts written in this encoding/codepage (bug#6519).
10270
10271 2012-04-10 Glenn Morris <rgm@gnu.org>
10272
10273 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10274 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10275
10276 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10277
10278 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10279 next-line "n" and previous-line "p" in order to make recentf more
10280 consistent with ibuffer, dired or org-mode (bug#9387).
10281
10282 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10283
10284 * image.el (put-image): Return the overlay created instead of the
10285 optional input string (bug#7834). Note that this may break code
10286 that is (for some reason or other) depending on `put-image'
10287 returning the string.
10288
10289 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10290
10291 * simple.el (zap-to-char): Allow zapping using input methods
10292 (bug#1580).
10293
10294 * textmodes/fill.el (fill-region): Leave point and mark where they
10295 were before filling (bug#5399).
10296
10297 2012-04-09 Glenn Morris <rgm@gnu.org>
10298
10299 * version.el (emacs-bzr-get-version):
10300 Handle lightweight checkouts of local branches.
10301
10302 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10303
10304 * international/characters.el: Recover lost case pairs. (Bug#11209)
10305
10306 2012-04-09 Chong Yidong <cyd@gnu.org>
10307
10308 * custom.el (custom-variable-p): Return nil for non-symbol
10309 arguments instead of signaling an error.
10310 (user-variable-p): Obsolete alias for custom-variable-p.
10311
10312 * apropos.el (apropos-variable):
10313 * files-x.el (read-file-local-variable):
10314 * simple.el (set-variable):
10315 * woman.el (woman-mini-help):
10316 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10317
10318 2012-04-09 Glenn Morris <rgm@gnu.org>
10319
10320 * startup.el (normal-top-level): Don't look for leim-list.el
10321 in places where it will not be found. (Bug#910)
10322
10323 * international/mule-cmds.el (set-default-coding-systems):
10324 * files.el (normal-mode):
10325 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10326 This function was removed with ucs-tables.el in 2008.
10327
10328 2012-04-08 Eli Zaretskii <eliz@gnu.org>
10329
10330 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10331 ispell-encoding8-command to "-i", without a trailing space.
10332 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10333 separate command-line arguments, to specify the encoding, since
10334 that's how hunspell expects it.
10335
10336 2012-04-08 Glenn Morris <rgm@gnu.org>
10337
10338 * loadup.el: Load bindings before cus-start.
10339 This reduces somewhat the number of "rogue" settings in emacs -Q.
10340
10341 2012-04-07 Glenn Morris <rgm@gnu.org>
10342
10343 * version.el (emacs-bzr-get-version): New function.
10344 (emacs-bzr-version): New variable.
10345 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10346 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10347
10348 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10349
10350 * international/uni-bidi.el, international/uni-category.el:
10351 * international/uni-combining.el, international/uni-decimal.el:
10352 * international/uni-decomposition.el, international/uni-digit.el:
10353 * international/uni-lowercase.el, international/uni-mirrored.el:
10354 * international/uni-name.el, international/uni-numeric.el:
10355 * international/uni-titlecase.el, international/uni-uppercase.el:
10356 Update for Unicode 6.1.
10357
10358 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10359
10360 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10361
10362 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10363
10364 * window.el (shrink-window): Mention the `window-min-height'
10365 variable in the doc string.
10366
10367 2012-04-05 Bastien Guerry <bzg@altern.org>
10368
10369 * color.el (color-lighten-name): Fix typo.
10370
10371 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10372
10373 * server.el (server--on-display-p): New function.
10374 (server--on-display-p): Use it.
10375
10376 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10377
10378 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10379 (bug#11145).
10380
10381 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10382
10383 * comint.el (comint--common-quoted-suffix): Check string boundary
10384 before comparing (bug#11158).
10385 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10386
10387 2012-04-04 Chong Yidong <cyd@gnu.org>
10388
10389 * minibuffer.el (completion-extra-properties): Doc fix.
10390
10391 * subr.el (delayed-warnings-hook): Doc fix.
10392
10393 2012-04-04 Daiki Ueno <ueno@unixuser.org>
10394
10395 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10396 selection (Bug#11159).
10397 (epa-insert-keys): Inform that the default public key will be
10398 exported if no key is selected.
10399
10400 2012-04-04 Richard Stallman <rms@gnu.org>
10401
10402 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10403
10404 2012-04-03 Chong Yidong <cyd@gnu.org>
10405
10406 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10407 mail-insert-file, not its obsolete alias mail-attach-file.
10408
10409 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
10410
10411 * notifications.el (notifications-notify): Fix docstring.
10412
10413 2012-04-02 Glenn Morris <rgm@gnu.org>
10414
10415 * emacs-lisp/authors.el (authors-aliases): Another addition.
10416
10417 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
10418
10419 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10420 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10421 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10422
10423 2012-04-01 Chong Yidong <cyd@gnu.org>
10424
10425 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10426 Handle root directory properly.
10427 (copy-directory): Caller changed.
10428
10429 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10430 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10431
10432 2012-03-31 Glenn Morris <rgm@gnu.org>
10433
10434 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10435
10436 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10437
10438 * calendar/calendar.el (calendar-window-list)
10439 (calendar-hide-window): Restore. (Bug#11140)
10440 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10441
10442 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10443
10444 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10445
10446 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10447 Check if file is a symlink (Bug#10489).
10448
10449 * files.el (copy-directory): Likewise.
10450
10451 2012-03-30 Chong Yidong <cyd@gnu.org>
10452
10453 * image.el (imagemagick-types-inhibit)
10454 (imagemagick-register-types): Doc fix.
10455
10456 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10457
10458 * textmodes/ispell.el (ispell-get-extended-character-mode):
10459 Disable extended-char-mode for hunspell. hunspell does not support it
10460 and treats ~word as ordinary words in pipe mode.
10461
10462 2012-03-30 Glenn Morris <rgm@gnu.org>
10463
10464 * tutorial.el (help-with-tutorial): Ensure local variables don't
10465 happen to make the buffer read-only. (Bug#11127)
10466
10467 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10468
10469 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10470 (perl-calculate-indent): Return `noindent' in strings.
10471
10472 2012-03-28 Sam Steingold <sds@gnu.org>
10473
10474 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10475 instead of the broken adhockery which does not prevent calendar
10476 buffers from being displayed at random after exit.
10477 (calendar-window-list, calendar-hide-window): Remove the broken
10478 adhockery.
10479
10480 2012-03-28 Glenn Morris <rgm@gnu.org>
10481
10482 * replace.el (query-replace-map): Doc fix.
10483
10484 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10485
10486 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10487 contents. (Bug#11109)
10488
10489 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10490
10491 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10492 (bug#11077).
10493 (avl-tree--check, avl-tree--check-node): New funs.
10494
10495 2012-03-27 Martin Rudalics <rudalics@gmx.at>
10496
10497 * window.el (switch-to-visible-buffer): New option.
10498 (switch-to-prev-buffer, switch-to-next-buffer):
10499 Observe switch-to-visible-buffer. Make sure that checking for a window
10500 showing a buffer already is done on the same frame.
10501
10502 2012-03-27 Glenn Morris <rgm@gnu.org>
10503
10504 * startup.el (mail-host-address): Doc fix.
10505
10506 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10507
10508 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10509 than 197 variables.
10510
10511 2012-03-26 Ami Fischman <ami@fischman.org>
10512
10513 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10514
10515 2012-03-26 Glenn Morris <rgm@gnu.org>
10516
10517 * files.el (save-buffers-kill-emacs): Doc fix.
10518
10519 * startup.el (normal-top-level, command-line, command-line-1):
10520 Give them doc strings.
10521
10522 2012-03-25 Eli Zaretskii <eliz@gnu.org>
10523
10524 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10525 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10526
10527 2012-03-25 Chong Yidong <cyd@gnu.org>
10528
10529 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10530 theme if it was previously enabled before (Bug#11031).
10531
10532 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10533 spec with custom-face-get-current-spec if its :shown-value is not
10534 determined yet (Bug#9337).
10535 (customize-create-theme, custom-theme-revert): Doc fixes.
10536
10537 * button.el (button-at): Minor addition to docstring.
10538
10539 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
10540
10541 * vc/vc.el (vc-merge): Fix a prompt.
10542
10543 2012-03-24 Chong Yidong <cyd@gnu.org>
10544
10545 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10546 point (Bug#9623).
10547
10548 * button.el (button-at): Minor addition to docstring.
10549
10550 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10551
10552 * newcomment.el (comment-choose-indent): No space after BOL.
10553
10554 2012-03-22 Sam Steingold <sds@gnu.org>
10555
10556 * window.el (switch-to-prev-buffer): Revert last patch because the
10557 bug turned out to be an advertised feature (Elisp manual 28.14).
10558
10559 2012-03-22 Glenn Morris <rgm@gnu.org>
10560
10561 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10562 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10563
10564 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10565
10566 * net/network-stream.el (network-stream-open-starttls): Make error
10567 message under Windows be less misleading.
10568
10569 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10570
10571 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10572 understands (bug#9942).
10573
10574 2012-03-22 Chong Yidong <cyd@gnu.org>
10575
10576 * simple.el (end-of-visible-line): Handle return value of
10577 next-single-property-change properly (Bug#9371).
10578
10579 2012-03-22 Kenichi Handa <handa@m17n.org>
10580
10581 * international/quail.el (quail-insert-kbd-layout): Fix previous
10582 change. To avoid unwanted bidi reordering, use
10583 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10584
10585 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10586
10587 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10588 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10589 (ruby-beginning-of-indent): Be more careful with the difference
10590 between word-boundary and symbol boundary.
10591 (ruby-mode-syntax-table): Make : a symbol constituent.
10592
10593 2012-03-21 Andreas Politz <politza@fh-trier.de>
10594
10595 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10596
10597 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * progmodes/etags.el (tags-completion-at-point-function):
10600 Improve last fix.
10601
10602 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10603
10604 2012-03-21 Sam Steingold <sds@gnu.org>
10605
10606 * progmodes/etags.el (tags-completion-at-point-function):
10607 Avoid the error when point is inside the pattern.
10608
10609 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10610
10611 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10612 line (Bug#10855).
10613
10614 2012-03-21 Drew Adams <drew.adams@oracle.com>
10615
10616 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10617
10618 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10619
10620 * ido.el (ido-set-current-directory, ido-read-internal)
10621 (ido-choose-completion-string, ido-completion-help): Handle nil
10622 value of ido-completion-buffer (Bug#11008).
10623
10624 2012-03-21 Sam Steingold <sds@gnu.org>
10625
10626 * window.el (switch-to-prev-buffer): Do not switch to a visible
10627 window previous buffer, just like with the frame previous buffers.
10628
10629 2012-03-21 Chong Yidong <cyd@gnu.org>
10630
10631 * faces.el (make-face, make-empty-face, copy-face):
10632 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10633 Doc fixes.
10634
10635 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10636
10637 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10638 (widget-complete): Remove broken use of it.
10639
10640 2012-03-20 Chong Yidong <cyd@gnu.org>
10641
10642 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10643 Use string-width and truncate-string-width to handle arbitrary
10644 characters.
10645
10646 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10647
10648 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10649 to draw rectangles, not squares. (Regression introduced by revno
10650 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10651
10652 2012-03-18 Chong Yidong <cyd@gnu.org>
10653
10654 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10655 it is not yet defined (for temacs).
10656
10657 2012-03-18 Leo Liu <sdl.web@gmail.com>
10658
10659 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10660 prefix.
10661
10662 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10663
10664 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10665 (ispell-choices-win-default-height, ispell-silently-savep)
10666 (ispell-dictionary-alist, ispell-encoding8-command)
10667 (ispell-check-version, ispell-aspell-find-dictionary)
10668 (ispell-valid-dictionary-list, ispell-words-keyword)
10669 (ispell-get-word, ispell-internal-change-dictionary)
10670 (ispell-region, ispell-skip-region-list)
10671 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10672 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10673 (ispell-message-text-end, ispell-message)
10674 (ispell-buffer-local-parsing): Doc fix.
10675
10676 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
10677
10678 * htmlfontify.el: Add support for code block fontification for ODT
10679 export (Bug #9914).
10680 (hfy-optimisations): Define new option
10681 `body-text-only'
10682 (hfy-fontify-buffer): Honor above setting.
10683 (hfy-begin-span, hfy-end-span): New routines factored out form
10684 `hfy-fontify-buffer'.
10685 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10686 that permit insertion of custom tags.
10687 (hfy-fontify-buffer): Use above handlers.
10688 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10689 (hfy-face-to-css): Re-defined to be a variable.
10690 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
10691 over multiple runs. This is made possible by having the caller let
10692 bind a special variable `hfy-user-sheet-assoc'.
10693 (htmlfontify-string): New defun.
10694 (hfy-compile-face-map): Make sure that the last char in the
10695 buffer is correctly fontified.
10696 (hfy-face-resolve-face): Whitespace only change.
10697
10698 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10699
10700 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10701 message more clear.
10702
10703 2012-03-16 Leo Liu <sdl.web@gmail.com>
10704
10705 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10706
10707 2012-03-16 Alan Mackenzie <acm@muc.de>
10708
10709 Further optimise the handling of large macros.
10710
10711 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10712 limit to a call of `c-literal-limits'.
10713 (c-determine-+ve-limit): New function.
10714 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10715 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10716 In CASE 5B, restrict a search limit to 500.
10717 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10718
10719 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10720 Restrict macro bounds to +-500 from after-change's BEG END.
10721
10722 2012-03-16 Leo Liu <sdl.web@gmail.com>
10723
10724 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10725
10726 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10727
10728 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10729 `special-mode' setting of `buffer-read-only'. (Bug#11010)
10730
10731 2012-03-16 Glenn Morris <rgm@gnu.org>
10732
10733 * view.el (view-buffer, view-buffer-other-window)
10734 (view-buffer-other-frame): Doc fixes re special mode-class.
10735
10736 * subr.el (eval-after-load): If named feature is provided not from
10737 a file, run after-load forms. (Bug#10946)
10738
10739 * calendar/calendar.el (calendar-insert-at-column):
10740 Handle non-unit-width characters a bit better. (Bug#10978)
10741
10742 2012-03-15 Chong Yidong <cyd@gnu.org>
10743
10744 * emacs-lisp/ring.el (ring-extend): New function.
10745 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10746
10747 * comint.el (comint-read-input-ring)
10748 (comint-add-to-input-history): Grow comint-input-ring lazily.
10749
10750 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10751
10752 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10753 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10754
10755 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10756 (imenu-add-to-menubar): Don't add a redundant index.
10757 (imenu-update-menubar): Handle a dynamically composed keymap.
10758
10759 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10760
10761 * mail/sendmail.el (mail-encode-header):
10762 Bind rfc2047-encode-encoded-words to nil.
10763
10764 2012-03-13 Glenn Morris <rgm@gnu.org>
10765
10766 * calendar/calendar.el (calendar-string-spread):
10767 Handle non-unit-width characters a bit better. (Bug#10978)
10768
10769 2012-03-13 Leo Liu <sdl.web@gmail.com>
10770
10771 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10772 directory and file as argument (Bug#10822).
10773
10774 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10775
10776 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10777 For dynamically generated code, follow $PC.
10778 (gdb-disassembly-handler-custom): Handle no function name case.
10779
10780 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10781
10782 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10783 * emulation/ws-mode.el (ws-query-replace):
10784 * sort.el (sort-regexp-fields):
10785 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10786
10787 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10788
10789 * dabbrev.el: Fix cycle completion order (bug#10963).
10790 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10791 (dabbrev-completion): Don't use an obarray; provide
10792 a cycle-sort-function.
10793
10794 2012-03-12 Leo Liu <sdl.web@gmail.com>
10795
10796 * simple.el (kill-new): Use equal-including-properties for comparison.
10797 (kill-do-not-save-duplicates): Doc fix.
10798
10799 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10800
10801 * dabbrev.el: Fix cycle completion (bug#10963).
10802 Use lexical binding and wrap to 80 columns.
10803 (dabbrev-completion): Delay computing the list of completions.
10804
10805 2012-03-12 Kenichi Handa <handa@m17n.org>
10806
10807 * international/quail.el (quail-insert-kbd-layout): Surround each
10808 row by LRO and PDF instead of inserting many LRMs. Pad the left
10809 and right of each non-spacing marks. Insert invisible space
10810 between lower and upper characters to prevent composition.
10811
10812 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10813
10814 * minibuffer.el (minibuffer-complete): Don't get confused when the
10815 function is run twice via different commands (bug#10958).
10816 (complete-with-action): Fix docstring.
10817
10818 2012-03-12 Chong Yidong <cyd@gnu.org>
10819
10820 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10821 (nxml-completion-at-point-function): New function.
10822 (nxml-mode): Use it.
10823 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10824
10825 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10826 Load generated autoloads file before byte compiling (Bug#10970).
10827 (package--make-autoloads-and-compile): New helper fun.
10828
10829 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10830
10831 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10832
10833 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10834
10835 * autorevert.el (auto-revert-handler): Ensure, that
10836 file-readable-p is applied only for local files or in
10837 auto-revert-tail-mode.
10838
10839 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10840
10841 * server.el (server-eval-at): Handle non-tcp connections.
10842 Decode result string.
10843
10844 * server.el (server-msg-size): New constant.
10845 (server-reply-print): New function.
10846 (server-eval-and-print): Use it.
10847 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10848 Handle -print-nonl.
10849
10850 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10851
10852 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10853 (Bug#10987).
10854
10855 2012-03-11 Chong Yidong <cyd@gnu.org>
10856
10857 * simple.el (goto-line): Doc fix (Bug#9938).
10858
10859 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10860
10861 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10862 when finished (Bug#10963).
10863
10864 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10865
10866 * window.el (split-window-below): Fix bug in case where
10867 split-window-keep-point is nil (Bug#10971).
10868
10869 2012-03-11 Juri Linkov <juri@jurta.org>
10870
10871 * replace.el (replace-highlight): Set isearch-word to nil
10872 unconditionally. (Bug#10887)
10873
10874 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10875
10876 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10877 mairix-replace-illegal-chars; all callers changed. Don't remove
10878 ^, ~, and = characters: they are meaningful in mairix search specs.
10879 (mairix-widget-create-query): Add usage information about mairix
10880 search forms: negating words, searching for substrings, etc.
10881
10882 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10883
10884 * international/fontset.el (font-encoding-alist): Add an entry for
10885 ksx1001 (Bug#5667).
10886
10887 2012-03-10 Richard Stallman <rms@gnu.org>
10888
10889 * mail/sendmail.el (mail-encode-header):
10890 Set rfc2047-encode-encoded-words.
10891
10892 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10893
10894 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10895 view buffer means not swapped.
10896 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10897 (rmail-write-region-annotate): Error if real text has disappeared.
10898
10899 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10900
10901 2012-03-10 Chong Yidong <cyd@gnu.org>
10902
10903 * emulation/cua-rect.el (cua--init-rectangles):
10904 * emulation/cua-base.el (cua--init-keymaps):
10905 Add delete-forward-char to remappings (Bug#9666).
10906
10907 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10908
10909 * speedbar.el (speedbar-unhighlight-one-tag-line):
10910 Avoid unhighlighting due to frame switching (Bug#10275).
10911
10912 2012-03-10 Chong Yidong <cyd@gnu.org>
10913
10914 * minibuffer.el (completion-in-region, completion-help-at-point):
10915 Give the completion field overlay a high priority (Bug#6830).
10916
10917 * dired.el (dired-goto-file): Recognize absolute file name
10918 listings (Bug#7126).
10919 (dired-goto-file-1): New helper function.
10920 (dired-toggle-read-only): Inhibit warnings.
10921
10922 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10923
10924 * net/dbus.el (dbus-property-handler): Return empty array if
10925 there are no properties.
10926
10927 2012-03-09 Leo Liu <sdl.web@gmail.com>
10928
10929 * savehist.el (savehist-printable): Stricter check for string
10930 value (Bug#10937).
10931
10932 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10933
10934 * mail/smtpmail.el (smtpmail-send-it):
10935 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10936 valid mbox format.
10937
10938 2012-03-09 Glenn Morris <rgm@gnu.org>
10939
10940 * files.el (dir-locals-find-file):
10941 Don't check result is regular, readable.
10942 (dir-locals-read-from-file): Demote errors.
10943
10944 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10945
10946 * international/quail.el (quail-insert-kbd-layout):
10947 Insert invisible LRM characters before each character in a keyboard
10948 layout cell, to prevent their reordering by bidi display engine.
10949 For details, see the discussion in
10950 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10951
10952 2012-03-08 Alan Mackenzie <acm@muc.de>
10953
10954 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10955 the starting position; make it extend the marked region when
10956 invoked repeatedly - all under appropriate circumstances.
10957 Fixes bugs #5525, #10906.
10958
10959 2012-03-08 Glenn Morris <rgm@gnu.org>
10960
10961 * files.el (locate-dominating-file, dir-locals-find-file):
10962 Undo 2012-03-06 change.
10963
10964 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10965
10966 * international/quail.el (quail-help):
10967 Force bidi-paragraph-direction be left-to-right. See discussion in
10968 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10969 for the reason.
10970
10971 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10972
10973 Avoid superfluous registering of signals. (Bug#10807)
10974
10975 * notifications.el (notifications-on-action-object)
10976 (notifications-on-close-object): New defvars.
10977 (notifications-on-action-signal, notifications-on-closed-signal):
10978 Unregister the signal if not needed any longer.
10979 (notifications-notify): Register `notifications-action-signal' or
10980 `notifications-closed-signal', if :on-action or :on-close has been
10981 passed as argument.
10982
10983 2012-03-07 Chong Yidong <cyd@gnu.org>
10984
10985 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10986 non-X platforms.
10987
10988 2012-03-06 Glenn Morris <rgm@gnu.org>
10989
10990 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10991 (x-disown-selection-internal, x-get-selection-internal):
10992 Doc fix (add arglist signatures). (Bug#10783)
10993
10994 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10995
10996 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10997 Handle breakpoints with no "type".
10998
10999 2012-03-06 Glenn Morris <rgm@gnu.org>
11000
11001 * files.el (locate-dominating-file): Add optional predicate argument.
11002 (dir-locals-find-file): Make use of above change.
11003
11004 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11005
11006 * info.el (Info-insert-dir): Also try "dir.gz".
11007
11008 2012-03-06 Glenn Morris <rgm@gnu.org>
11009
11010 * files.el (dir-locals-find-file):
11011 Ignore non-readable or non-regular files. (Bug#10928)
11012
11013 * files.el (locate-dominating-file): Doc fix.
11014
11015 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11016
11017 * calendar/calendar.el (calendar-set-mode-line):
11018 `getenv' returns a string. (Bug#10951)
11019
11020 2012-03-05 Leo Liu <sdl.web@gmail.com>
11021
11022 * simple.el (backward-delete-char-untabify): Constrain point to
11023 field (Bug#10939).
11024
11025 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11026
11027 2012-03-05 Chong Yidong <cyd@gnu.org>
11028
11029 * simple.el (count-words): If called from Lisp, return the word
11030 count, for symmetry with `count-lines'. Arglist changed.
11031 (count-words--message): Args changed. Consolidate counting code
11032 from count-words and count-words-region.
11033 (count-words-region): Caller changed.
11034 (count-lines-region): Make it an obsolete alias.
11035
11036 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11037
11038 * saveplace.el (save-place-to-alist)
11039 (save-place-ignore-files-regexp): Allow value nil to disable this
11040 feature.
11041
11042 2012-03-04 Chong Yidong <cyd@gnu.org>
11043
11044 * faces.el (face-spec-reset-face): For the default face, reset the
11045 attributes to default values (Bug#10748).
11046
11047 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11048
11049 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11050 previous patch: Check `message-send-mail-function', and not the
11051 default function (bug#10897).
11052
11053 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
11054
11055 * notifications.el (notifications-on-action-signal)
11056 (notifications-on-closed-signal): Check for unique service name of
11057 incoming event. Fix error in removing entry.
11058 (top): Register for signals with wildcard service name.
11059 (notifications-notify): Use daemon unique service name for map entries.
11060
11061 2012-03-04 Chong Yidong <cyd@gnu.org>
11062
11063 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11064
11065 2012-03-04 Glenn Morris <rgm@gnu.org>
11066
11067 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11068 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11069 (expand-abbrev, define-abbrev-table): Doc fixes.
11070
11071 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11072
11073 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11074 `message-default-send-mail-function' and not `send-mail-function'
11075 when doing the prompting for `sendmail-query-once' before sending
11076 in Message buffers (bug#10897).
11077
11078 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11079 This is inconsistent with all the other stream functions, which leave
11080 the setting up to the higher levels (if so wanted) (bug#10931).
11081
11082 2012-03-02 Alan Mackenzie <acm@muc.de>
11083
11084 Depessimize the handling of very large macros.
11085
11086 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11087 (c-macro-cache-syntactic): New variables to implement a one
11088 element macro cache.
11089 (c-invalidate-macro-cache): New function.
11090 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11091 Adapt to use the new cache.
11092 (c-state-safe-place): Use better the cache of safe positions.
11093 (c-state-semi-nonlit-pos-cache)
11094 (c-state-semi-nonlit-pos-cache-limit):
11095 New variables for...
11096 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11097 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11098 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11099 Use c-state-semi-safe-place.
11100
11101 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11102 Add c-invalidate-macro-cache to the C, C++, Obj entries.
11103
11104 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
11105
11106 * jka-compr.el (jka-compr-call-process):
11107 Apply `file-accessible-directory-p' only when the default directory is
11108 not remote.
11109
11110 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
11111
11112 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11113 access of FILE2, if FILE1 does not exist.
11114
11115 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11116 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11117
11118 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11119 Add "PAGER=" to `process-environment'.
11120
11121 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11122
11123 * progmodes/sql.el: Bug fix
11124 (sql-get-login-ext): Save login values in globals.
11125 (sql-get-login): Use new version of `sql-get-login-ext'.
11126 (sql-interactive-mode): Set global `sql-connection' to nil.
11127 (sql-connect): Set global values for connection.
11128 (sql-product-interactive): Save global values as buffer local.
11129
11130 2012-02-29 Leo Liu <sdl.web@gmail.com>
11131
11132 * abbrev.el (define-abbrevs): Reset sys to nil.
11133
11134 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11135
11136 * files.el (file-equal-p): Rename from `files-equal-p'.
11137 Return nil when one or both files don't exist.
11138 (file-subdir-of-p): Now only top directory must exists,
11139 return nil if it doesn't.
11140 (copy-directory): No need to test with `file-subdir-of-p' after
11141 creating dir.
11142 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11143 to `file-equal-p'.
11144
11145 2012-02-28 Glenn Morris <rgm@gnu.org>
11146
11147 * shell.el (shell-mode):
11148 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11149 * play/landmark.el (landmark-font-lock-face-O):
11150 * play/handwrite.el (handwrite):
11151 * play/gomoku.el (gomoku-O):
11152 * net/browse-url.el (browse-url-browser-display):
11153 * international/mule.el (define-charset):
11154 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11155 * filesets.el (filesets-find-file-delay):
11156 * eshell/em-xtra.el (eshell-xtra):
11157 * eshell/em-unix.el (eshell-grep):
11158 * emulation/viper.el (viper-mode):
11159 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11160 * emacs-lisp/easymenu.el (easy-menu-define):
11161 * calendar/timeclock.el (timeclock-use-display-time):
11162 * bs.el (bs-mode):
11163 * bookmark.el (bookmark-save-flag):
11164 Doc fix (standardize possessive apostrophe usage).
11165
11166 2012-02-27 Chong Yidong <cyd@gnu.org>
11167
11168 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11169 Fix key-binding lookup for ESC key (Bug#9146).
11170
11171 * font-lock.el (font-lock-specified-p): Rename from
11172 font-lock-spec-present. Callers changed.
11173
11174 2012-02-27 Daniel Hackney <dan@haxney.org>
11175
11176 * emacs-lisp/package.el (package-compute-transaction):
11177 Handle holding a package version to t in package-load-list.
11178
11179 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
11180
11181 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11182 (tramp-get-inode, tramp-get-device): Use cached values.
11183
11184 2012-02-26 Alan Mackenzie <acm@muc.de>
11185
11186 Check there is a font-lock specification before doing initial
11187 fontification.
11188
11189 * font-core.el (font-lock-mode): Move the conditional from
11190 :after-hook to font-lock-initial-fontify.
11191 (font-lock-default-function): Move the check for a specification
11192 to font-lock-spec-present.
11193
11194 * font-lock.el (font-lock-initial-fontify): Call ...
11195 (font-lock-spec-present): New function.
11196
11197 2012-02-26 Jim Blandy <jimb@red-bean.com>
11198
11199 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11200 (gdb-send): Apply it to the operand of the '-interpreter-exec
11201 console' command, so that we can pass arguments with (say) quotes
11202 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11203
11204 2012-02-26 Chong Yidong <cyd@gnu.org>
11205
11206 * help-fns.el (describe-function-1): Clarify description of
11207 remapping (Bug#10844).
11208
11209 * files.el (files-equal-p): Doc fix.
11210 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11211 and quit the loop once a mismatch is found.
11212
11213 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
11214
11215 * bs.el (bs--show-with-configuration): Don't throw an error
11216 if the window cannot be split; otherwise, subsequent calls to
11217 bs-show fail, restoring a stale window config. (Bug#10882)
11218
11219 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11220
11221 * term/ns-win.el (global-map): Bind ns-drag-file to
11222 ns-find-file (Bug#5855, Bug#10050).
11223
11224 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11225
11226 * calendar/parse-time.el (parse-time-string): Allow extractor to
11227 return nil.
11228
11229 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
11230
11231 * net/tramp.el (tramp-file-name-for-operation):
11232 Add `files-equal-p' and `file-subdir-of-p'.
11233
11234 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11235 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11236 Add COPY-CONTENTS argument.
11237
11238 2012-02-25 Chong Yidong <cyd@gnu.org>
11239
11240 Add custom groups for VC backends, for consistency with vc-bzr.
11241
11242 * vc/vc-arch.el (vc-arch):
11243 * vc/vc-cvs.el (vc-cvs):
11244 * vc/vc-git.el (vc-git):
11245 * vc/vc-hg.el (vc-hg):
11246 * vc/vc-mtn.el (vc-mtn):
11247 * vc/vc-rcs.el (vc-rcs):
11248 * vc/vc-sccs.el (vc-sccs):
11249 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11250 All relevant defcustoms reassigned.
11251
11252 2012-02-25 Chong Yidong <cyd@gnu.org>
11253
11254 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11255
11256 * term/x-win.el (x-initialize-window-system): Reduce default for
11257 x-selection-timeout to 5 seconds (Bug#8869).
11258
11259 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11260
11261 * files.el (files-equal-p, file-subdir-of-p): New functions.
11262 (copy-directory): Error when trying to copy a directory on itself.
11263 Add missing copy-contents arg to tramp handler.
11264 * dired-aux.el (dired-copy-file-recursive): Same.
11265 (dired-create-files): Modify destination when source is equal to
11266 dest when copying files.
11267 Return also when dest is a subdir of source. (Bug#10489)
11268
11269 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
11270
11271 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11272 (Bug#10874)
11273
11274 2012-02-23 Alan Mackenzie <acm@muc.de>
11275
11276 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11277 parameter "after-hook:" to allow the expansion to run code after
11278 the execution of the mode hooks.
11279
11280 * font-lock.el (font-lock-initial-fontify): New function extracted
11281 from font-lock-mode-internal.
11282
11283 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11284 :after-hook.
11285
11286 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11287
11288 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11289 (completion--cache-all-sorted-completions): New function.
11290 (completion-all-sorted-completions): Use it.
11291 (completion--do-completion, minibuffer-force-complete):
11292 Use it to re-instate the flush hook.
11293
11294 * icomplete.el (icomplete-completions): Replace last fix with a better
11295 one (bug#10850).
11296
11297 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11298
11299 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11300 when it might call us back infinitely (bug#10797).
11301
11302 2012-02-23 Glenn Morris <rgm@gnu.org>
11303
11304 * minibuffer.el (completion-category-overrides): Doc fix.
11305
11306 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11307
11308 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11309 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11310
11311 2012-02-23 Glenn Morris <rgm@gnu.org>
11312
11313 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11314 (authors-obsolete-files-regexps, authors-ignored-files)
11315 (authors-ambiguous-files, authors-renamed-files-alist):
11316 Add more entries.
11317
11318 2012-02-23 Juri Linkov <juri@jurta.org>
11319
11320 * isearch.el (isearch-occur): Sync interactive spec with occur's
11321 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11322
11323 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11324
11325 2012-02-22 Juri Linkov <juri@jurta.org>
11326
11327 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11328 (ucs-insert): Doc fix. Check for hex digits in the string.
11329 Don't display `nil' in the error message. (Bug#10857)
11330
11331 2012-02-22 Alan Mackenzie <acm@muc.de>
11332
11333 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11334
11335 2012-02-22 Glenn Morris <rgm@gnu.org>
11336
11337 * ffap.el (ffap-c-path):
11338 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11339
11340 2012-02-22 Chong Yidong <cyd@gnu.org>
11341
11342 * custom.el (load-theme): Doc fix.
11343
11344 2012-02-22 Glenn Morris <rgm@gnu.org>
11345
11346 * dired-x.el (dired-guess-shell-alist-default):
11347 Remove escape sequences from nroff output. (Bug#172)
11348
11349 2012-02-21 Glenn Morris <rgm@gnu.org>
11350
11351 * vc/emerge.el (emerge-defvar-local):
11352 Set `permanent-local' property rather than unused `preserved'.
11353
11354 * textmodes/picture.el (picture-delete-char): New alias.
11355 (picture-mode-map): Use it. (Bug#10860)
11356 (picture-mode): Doc fix.
11357
11358 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
11359
11360 * newcomment.el (uncomment-region-default): Remove unused binding.
11361
11362 2012-02-21 Glenn Morris <rgm@gnu.org>
11363
11364 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11365 (picture-self-insert, picture-tab-chars): Doc fix.
11366 (picture-mode-map): Fix C-a, C-e.
11367
11368 2012-02-20 Glenn Morris <rgm@gnu.org>
11369
11370 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11371
11372 2012-02-20 Leo Liu <sdl.web@gmail.com>
11373
11374 * icomplete.el (icomplete-completions): Check FROM arg before
11375 passing to substring (Bug#10850).
11376
11377 2012-02-19 Chong Yidong <cyd@gnu.org>
11378
11379 * comint.el: Require ansi-color.
11380 (comint-output-filter-functions): Add ansi-color-process-output.
11381
11382 * ansi-color.el: Don't set comint-output-filter-functions; it is
11383 now in the initial value defined in comint.el.
11384 (ansi-color-apply-face-function): New variable.
11385 (ansi-color-apply-on-region): Use it.
11386 (ansi-color-apply-overlay-face): New function.
11387
11388 * shell.el (shell): No need to require ansi-color.
11389 (shell-mode): Use ansi-color-apply-face-function to highlight
11390 color escapes using font-lock-face property (Bug#10835).
11391
11392 2012-02-19 Chong Yidong <cyd@gnu.org>
11393
11394 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11395 mode-line formats (Bug#10839).
11396
11397 2012-02-18 Glenn Morris <rgm@gnu.org>
11398
11399 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11400
11401 * mail/undigest.el (unforward-rmail-message): Doc fix.
11402
11403 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11404
11405 2012-02-18 Eli Zaretskii <eliz@gnu.org>
11406
11407 * international/characters.el (script-list): Sync with the latest
11408 Unicode Character Database.
11409
11410 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11411
11412 * international/titdic-cnv.el: Remove duplicate coding tag.
11413 * language/cham.el: Likewise.
11414 * language/tai-viet.el: Likewise.
11415
11416 2012-02-18 Glenn Morris <rgm@gnu.org>
11417
11418 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11419 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11420 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11421 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11422 * calendar/holidays.el (holiday-bahai-holidays)
11423 (calendar-holidays, list-holidays):
11424 Use utf-8 Bahá'í in doc-strings, menus, etc.
11425
11426 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11427
11428 * saveplace.el (save-place-ignore-files-regexp): New variable
11429 allowing for excluding files from saving their location of point.
11430 The default value matches the temporary commit message editing
11431 files from Git, SVN, Bazaar, and Mercurial.
11432 (save-place-to-alist): Use it.
11433
11434 2012-02-17 Lawrence Mitchell <wence@gmx.li>
11435 Stefan Monnier <monnier@iro.umontreal.ca>
11436
11437 * newcomment.el (uncomment-region-default): Don't leave extra space
11438 when an arg is provided (bug#8150).
11439
11440 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11441
11442 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11443
11444 2012-02-17 Glenn Morris <rgm@gnu.org>
11445
11446 * net/socks.el: Require network-stream. (Bug#10599)
11447
11448 2012-02-17 Kenichi Handa <handa@m17n.org>
11449
11450 * international/charprop.el:
11451 * international/uni-name.el:
11452 * international/uni-old-name.el:
11453 * international/uni-comment.el: Regenerate.
11454
11455 2012-02-16 Glenn Morris <rgm@gnu.org>
11456
11457 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11458 Interactively in calendar buffer, give an error if not on a date.
11459
11460 2012-02-15 Glenn Morris <rgm@gnu.org>
11461
11462 * shell.el (shell-delimiter-argument-list):
11463 Revert 2011-02-17 change. (Bug#8027)
11464
11465 2012-02-15 Chong Yidong <cyd@gnu.org>
11466
11467 * minibuffer.el (completion-at-point-functions): Doc fix.
11468
11469 * custom.el (defcustom): Doc fix; note use of defvar.
11470
11471 2012-02-15 Glenn Morris <rgm@gnu.org>
11472
11473 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11474 Doc fixes.
11475
11476 2012-02-14 Glenn Morris <rgm@gnu.org>
11477
11478 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11479
11480 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11481
11482 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11483 way the ports list is computed.
11484 (smtpmail-query-smtp-server): Prompt the user for a port number if
11485 we can't connect to any of the standard ports (bug#10810).
11486
11487 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11488
11489 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11490
11491 2012-02-13 Glenn Morris <rgm@gnu.org>
11492
11493 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11494
11495 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11496
11497 * net/gnutls.el (gnutls-trustfiles): New variable.
11498 (gnutls-negotiate): Use it.
11499
11500 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11501
11502 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11503 does its stuff if Gnus is running.
11504
11505 2012-02-13 Alan Mackenzie <acm@muc.de>
11506
11507 Fix a loop in c-set-fl-decl-start.
11508
11509 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11510 c-backward-syntactic-ws actually moves backwards.
11511
11512 2012-02-13 Leo Liu <sdl.web@gmail.com>
11513
11514 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11515 beginning so that all \C-o chars are removed.
11516
11517 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11518
11519 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11520
11521 2012-02-12 Alan Mackenzie <acm@muc.de>
11522
11523 Fix infinite loop with long macros.
11524 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11525
11526 2012-02-12 Chong Yidong <cyd@gnu.org>
11527
11528 * window.el (display-buffer): Doc fix (Bug#10785).
11529
11530 2012-02-12 Glenn Morris <rgm@gnu.org>
11531
11532 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11533 (x-disown-selection-internal, x-get-selection-internal):
11534 Sync docs with the xselect.c versions.
11535
11536 * allout-widgets.el: Add missing license notice.
11537
11538 2012-02-11 Glenn Morris <rgm@gnu.org>
11539
11540 * select.el (x-get-selection-internal, x-own-selection-internal)
11541 (x-disown-selection-internal):
11542 * x-dnd.el (x-get-selection-internal): Update declarations.
11543
11544 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11545
11546 * window.el (window-sides-slots):
11547 * tool-bar.el (tool-bar-position):
11548 * term/xterm.el (xterm-extra-capabilities):
11549 * ses.el (ses-self-reference-early-detection):
11550 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11551 (verilog-auto-wire-type)
11552 (verilog-auto-delete-trailing-whitespace)
11553 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11554 (verilog-auto-tieoff-declaration):
11555 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11556 (sql-oracle-statement-starters, sql-oracle-scan-on):
11557 * progmodes/prolog.el (prolog-align-comments-flag)
11558 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11559 (prolog-left-indent-regexp, prolog-paren-indent-p)
11560 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11561 (prolog-types, prolog-mode-specificators)
11562 (prolog-determinism-specificators, prolog-directives)
11563 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11564 (prolog-electric-dot-flag)
11565 (prolog-electric-dot-full-predicate-template)
11566 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11567 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11568 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11569 (prolog-program-switches, prolog-prompt-regexp)
11570 (prolog-debug-on-string, prolog-debug-off-string)
11571 (prolog-trace-on-string, prolog-trace-off-string)
11572 (prolog-zip-on-string, prolog-zip-off-string)
11573 (prolog-use-standard-consult-compile-method-flag)
11574 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11575 (prolog-imenu-max-lines, prolog-info-predicate-index)
11576 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11577 (prolog-char-quote-workaround):
11578 * progmodes/cc-vars.el (c-defun-tactic):
11579 * net/tramp.el (tramp-encoding-command-interactive)
11580 (tramp-local-end-of-line):
11581 * net/soap-client.el (soap-client):
11582 * net/netrc.el (netrc-file):
11583 * net/gnutls.el (gnutls):
11584 * minibuffer.el (completion-category-overrides)
11585 (completion-cycle-threshold)
11586 (completion-pcm-complete-word-inserts-delimiters):
11587 * man.el (Man-name-local-regexp):
11588 * mail/feedmail.el (feedmail-display-full-frame):
11589 * international/characters.el (glyphless-char-display-control):
11590 * eshell/em-ls.el (eshell-ls-date-format):
11591 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11592 (lisp-lambda-list-keyword-parameter-indentation)
11593 (lisp-lambda-list-keyword-parameter-alignment):
11594 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11595 * dired-x.el (dired-omit-verbose):
11596 * cus-theme.el (custom-theme-allow-multiple-selections):
11597 * calc/calc.el (calc-highlight-selections-with-faces)
11598 (calc-lu-field-reference, calc-lu-power-reference)
11599 (calc-note-threshold):
11600 * battery.el (battery-mode-line-limit):
11601 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11602 (archive-7z-update):
11603 * allout.el (allout-prefixed-keybindings)
11604 (allout-unprefixed-keybindings)
11605 (allout-inhibit-auto-fill-on-headline)
11606 (allout-flattened-numbering-abbreviation):
11607 * allout-widgets.el (allout-widgets-auto-activation)
11608 (allout-widgets-icons-dark-subdir)
11609 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11610 (allout-widgets-theme-dark-background)
11611 (allout-widgets-theme-light-background)
11612 (allout-widgets-item-image-properties-emacs)
11613 (allout-widgets-item-image-properties-xemacs)
11614 (allout-widgets-run-unit-tests-on-load)
11615 (allout-widgets-time-decoration-activity)
11616 (allout-widgets-hook-error-post-time)
11617 (allout-widgets-track-decoration):
11618 Add missing :version tags to new defcustoms and defgroups.
11619
11620 * progmodes/sql.el (sql-ansi-statement-starters)
11621 (sql-oracle-statement-starters): Add custom type.
11622
11623 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11624 (prolog-system-version): Give it a type.
11625
11626 2012-02-11 Eli Zaretskii <eliz@gnu.org>
11627
11628 * term/pc-win.el (x-select-text, x-selection-owner-p)
11629 (x-own-selection-internal, x-disown-selection-internal)
11630 (x-get-selection-internal): Sync doc strings and argument lists
11631 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11632
11633 2012-02-11 Leo Liu <sdl.web@gmail.com>
11634
11635 * progmodes/python.el (python-end-of-statement): Fix infinite
11636 loop. (Bug#10788)
11637
11638 2012-02-10 Glenn Morris <rgm@gnu.org>
11639
11640 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11641 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11642
11643 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11644
11645 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11646 about SMTP before checking the From header.
11647
11648 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11649 into own function for reuse by emacsbug.el.
11650
11651 2012-02-10 Leo Liu <sdl.web@gmail.com>
11652
11653 * subr.el (condition-case-unless-debug): Rename from
11654 condition-case-no-debug. All callers changed.
11655 (with-demoted-errors): Fix caller.
11656
11657 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11658 * nxml/rng-valid.el (rng-do-some-validation):
11659 * emacs-lisp/package.el (package-refresh-contents)
11660 (package-menu-execute):
11661 * desktop.el (desktop-create-buffer):
11662 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11663
11664 2012-02-10 Glenn Morris <rgm@gnu.org>
11665
11666 * textmodes/bibtex.el:
11667 Add missing :version tags for new/changed defcustoms.
11668
11669 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11670
11671 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
11672
11673 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11674 (smtpmail-via-smtp): Use it, or fall back on the From address.
11675 (smtpmail-send-it): Ditto.
11676
11677 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11678
11679 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11680 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11681 (byte-compile-tmp-var): New const.
11682 (byte-compile-defvar): Use it to minimize .elc size.
11683 Just use `defvar' rather than simulate it (bug#10761).
11684
11685 2012-02-09 Glenn Morris <rgm@gnu.org>
11686
11687 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11688
11689 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11690 Add :version tags.
11691
11692 * progmodes/compile.el (compilation-error-screen-columns)
11693 (compilation-first-column, compilation-filter-start): Doc fixes.
11694
11695 * vc/log-view.el (log-view-toggle-entry-display):
11696 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11697
11698 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11699 (report-emacs-bug-can-use-xdg-email):
11700 (report-emacs-bug-insert-to-mailer): Doc fixes.
11701 (report-emacs-bug): Message fix.
11702
11703 * net/browse-url.el (browse-url-can-use-xdg-open)
11704 (browse-url-xdg-open): Doc fixes.
11705
11706 * electric.el (electric-indent-mode, electric-pair-mode)
11707 (electric-layout-rules, electric-layout-mode): Doc fixes.
11708 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11709
11710 2012-02-08 Martin Rudalics <rudalics@gmx.at>
11711
11712 * server.el (server-unselect-display): Don't inadvertently kill
11713 the current buffer. (Bug#10729)
11714
11715 2012-02-08 Glenn Morris <rgm@gnu.org>
11716
11717 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11718 (sql-list-table): Doc fixes.
11719
11720 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11721 Comment out (does nothing).
11722
11723 * completion.el (dynamic-completion-mode):
11724 * dirtrack.el (dirtrack-debug-mode):
11725 * electric.el (electric-layout-mode):
11726 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11727 * face-remap.el (text-scale-mode, buffer-face-mode):
11728 * iimage.el (iimage-mode):
11729 * image-mode.el (image-transform-mode):
11730 * minibuffer.el (completion-in-region-mode):
11731 * scroll-lock.el (scroll-lock-mode):
11732 * simple.el (next-error-follow-minor-mode):
11733 * tar-mode.el (tar-subfile-mode):
11734 * tooltip.el (tooltip-mode):
11735 * vcursor.el (vcursor-use-vcursor-map):
11736 * wid-browse.el (widget-minor-mode):
11737 * emulation/tpu-edt.el (tpu-edt-mode):
11738 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11739 * international/iso-ascii.el (iso-ascii-mode):
11740 * language/thai-util.el (thai-word-mode):
11741 * mail/supercite.el (sc-minor-mode):
11742 * net/goto-addr.el (goto-address-mode):
11743 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11744 * progmodes/cwarn.el (cwarn-mode):
11745 * progmodes/flymake.el (flymake-mode):
11746 * progmodes/glasses.el (glasses-mode):
11747 * progmodes/hideshow.el (hs-minor-mode):
11748 * progmodes/pascal.el (pascal-outline-mode):
11749 * textmodes/enriched.el (enriched-mode):
11750 * vc/smerge-mode.el (smerge-mode):
11751 Doc fixes (minor mode argument).
11752
11753 2012-02-07 Eli Zaretskii <eliz@gnu.org>
11754
11755 * ls-lisp.el (ls-lisp-sanitize): New function.
11756 (ls-lisp-insert-directory): Use it to fix or remove any elements
11757 in file-alist with missing attributes. (Bug#4673)
11758
11759 2012-02-07 Alan Mackenzie <acm@muc.de>
11760
11761 Fix spurious recognition of c-in-knr-argdecl.
11762
11763 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11764 putative K&R region.
11765
11766 2012-02-07 Alan Mackenzie <acm@muc.de>
11767
11768 * progmodes/cc-engine.el (c-forward-objc-directive):
11769 Prevent looping in "#pragma mark @implementation".
11770
11771 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
11772
11773 * notifications.el (notifications-on-closed-signal): Make `reason'
11774 optional. (Bug#10744)
11775
11776 2012-02-07 Glenn Morris <rgm@gnu.org>
11777
11778 * emacs-lisp/easy-mmode.el (define-minor-mode):
11779 Doc fixes for the macro and the mode it defines.
11780
11781 * image.el (imagemagick-types-inhibit): Doc fix.
11782
11783 * cus-start.el (imagemagick-render-type): Add it.
11784
11785 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11786
11787 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11788 Set the default at load time, too, so that `font-lock-fontify-buffer'
11789 can be called without setting up the entire mode first. This fixes
11790 a bug in `mm-inline-text' with C MIME parts.
11791
11792 2012-02-06 Chong Yidong <cyd@gnu.org>
11793
11794 * simple.el (list-processes--refresh): Delete exited processes
11795 (Bug#8094).
11796
11797 * comint.el (comint-next-prompt): next-single-char-property-change
11798 and prev-single-char-property-change never return nil (Bug#8657).
11799
11800 * custom.el (defcustom): Doc fix (Bug#9711).
11801
11802 2012-02-05 Chong Yidong <cyd@gnu.org>
11803
11804 * cus-edit.el (custom-variable-reset-backup): Quote the value
11805 before storing it in the customized-value property (Bug#6712).
11806 (custom-display): Add a customization type tag.
11807 (custom-buffer-create-internal): Improve tooltip message.
11808
11809 * wid-edit.el (widget-field-value-get): New optional arg to
11810 suppress trailing whitespace truncation.
11811 (character): Use it (Bug#2689).
11812
11813 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11814
11815 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11816 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11817
11818 2012-02-05 Chong Yidong <cyd@gnu.org>
11819
11820 * cus-edit.el (custom-variable-value-create): For mismatched
11821 types, show the current value (Bug#7600).
11822
11823 * custom.el (defcustom): Doc fix.
11824
11825 2012-02-05 Glenn Morris <rgm@gnu.org>
11826
11827 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11828
11829 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11830
11831 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11832 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11833 (pp-last-sexp): Use `looking-at-p'.
11834
11835 2012-02-04 Glenn Morris <rgm@gnu.org>
11836
11837 * files.el (revert-buffer):
11838 Doc fix (mention revert-buffer-in-progress-p).
11839
11840 * emacs-lisp/ert-x.el (ert-simulate-command):
11841 Check deferred-action-list (which is obsolete) is bound.
11842
11843 * subr.el (with-wrapper-hook): Doc fixes.
11844
11845 * simple.el (filter-buffer-substring-functions)
11846 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11847
11848 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11849
11850 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11851 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11852
11853 2012-02-04 Leo Liu <sdl.web@gmail.com>
11854
11855 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11856
11857 2012-02-04 Glenn Morris <rgm@gnu.org>
11858
11859 * image.el (image-extension-data): Add obsolete alias.
11860
11861 * isearch.el (isearch-update): Doc fix.
11862
11863 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11864
11865 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11866
11867 2012-02-03 Glenn Morris <rgm@gnu.org>
11868
11869 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11870 (image-animate-timeout): Doc fix.
11871
11872 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11873
11874 2012-02-02 Glenn Morris <rgm@gnu.org>
11875
11876 * server.el (server-auth-dir): Doc fix.
11877 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11878
11879 * subr.el (run-mode-hooks): Doc fix.
11880
11881 2012-02-02 Juri Linkov <juri@jurta.org>
11882
11883 * image-mode.el (image-toggle-display-image): Remove tautological
11884 `major-mode' from the `derived-mode-p' test.
11885
11886 2012-02-02 Kenichi Handa <handa@m17n.org>
11887
11888 * composite.el (compose-region): Cancel previous change.
11889
11890 2012-02-02 Kenichi Handa <handa@m17n.org>
11891
11892 * composite.el (compose-region, compose-string): Signal error for
11893 a null string component (Bug#6988).
11894
11895 2012-02-01 Chong Yidong <cyd@gnu.org>
11896
11897 * view.el (view-buffer-other-window, view-buffer-other-frame):
11898 Handle special modes like view-buffer (Bug#10650).
11899 (view-buffer): Simplify.
11900
11901 * frame.el (set-frame-font): Tweak meaning of third argument.
11902
11903 * dynamic-setting.el (font-setting-change-default-font):
11904 Use set-frame-font (Bug#9982).
11905
11906 2012-02-01 Glenn Morris <rgm@gnu.org>
11907
11908 * progmodes/compile.el (compilation-internal-error-properties):
11909 Respect compilation-first-column in the "*compilation*" buffer.
11910
11911 * emacs-lisp/easy-mmode.el (define-minor-mode):
11912 Relax :variable's test for a named function.
11913
11914 2012-01-31 Alan Mackenzie <acm@muc.de>
11915
11916 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11917 off by one error.
11918
11919 2012-01-31 Chong Yidong <cyd@gnu.org>
11920
11921 * frame.el (set-frame-font): New arg ALL-FRAMES.
11922
11923 * menu-bar.el (menu-set-font): Use set-frame-font.
11924
11925 * faces.el (face-spec-reset-face): Don't apply unspecified
11926 attribute values to the default face.
11927
11928 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11929
11930 * progmodes/cwarn.el (cwarn): Remove dead link.
11931 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11932 Remove * from defcustom docstrings.
11933 (turn-on-cwarn-mode): Make obsolete.
11934 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11935 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11936
11937 2012-01-31 Glenn Morris <rgm@gnu.org>
11938
11939 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11940 Fix :variable handling of mode a symbol not equal to modefun.
11941 Allow named functions to be used as the cdr of :variable.
11942
11943 2012-01-30 Glenn Morris <rgm@gnu.org>
11944
11945 * emacs-lisp/authors.el (authors-fixed-entries):
11946 Remove reference to deleted file rnewspost.el.
11947
11948 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11949
11950 * window.el (window-with-parameter): Remove unused variable `windows'.
11951 (window--side-check): Remove unused variable `code'.
11952 (window--resize-siblings): Remove unused variable `first'.
11953 (adjust-window-trailing-edge): Remove unused variable `failed'.
11954 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11955 Use `let', not `let*'.
11956 (balance-windows-2): Remove unused variable `found'.
11957 (window--state-put-2): Remove unused variable `splits'.
11958 (window-state-put): Remove unused variable `selected'.
11959 (same-window-p): Use `string-match-p'.
11960 (display-buffer-assq-regexp): Remove unused variable `value'.
11961 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11962 Mark argument ALIST as ignored.
11963 (pop-to-buffer): Remove unused variable `old-window'.
11964
11965 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11966
11967 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11968 and .lzma compressed files.
11969
11970 2012-01-29 Chong Yidong <cyd@gnu.org>
11971
11972 * frame.el (window-system-default-frame-alist): Doc fix.
11973
11974 * dynamic-setting.el (font-setting-change-default-font): Don't
11975 change the default face if SET-FONT argument is non-nil (Bug#9982).
11976
11977 2012-01-29 Samuel Bronson <naesten@gmail.com>
11978
11979 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11980
11981 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11982
11983 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11984 breakpoints in files outside current directory (Bug#6098).
11985
11986 2012-01-29 Chong Yidong <cyd@gnu.org>
11987
11988 * progmodes/python.el: Require ansi-color at top-level.
11989
11990 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11991 Define and use in Emacs Lisp mode (Bug#9360).
11992 (lisp-mode-abbrev-table): Add doc.
11993 (lisp-mode-variables): Don't set local-abbrev-table.
11994 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11995
11996 2012-01-28 Roland Winkler <winkler@gnu.org>
11997
11998 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11999
12000 2012-01-28 Roland Winkler <winkler@gnu.org>
12001
12002 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12003 (bibtex-set-dialect): Use it. Either set global values of
12004 dialect-dependent variables or bind these variables buffer-locally
12005 (Bug#10254).
12006 (bibtex-mode): Call bibtex-set-dialect via
12007 hack-local-variables-hook.
12008 (bibtex-dialect): Update docstring.
12009 Add safe-local-variable predicate.
12010 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12011 bibtex-set-dialect.
12012 (bibtex-mode-map): Define menu for each dialect.
12013 (bibtex-entry): Fix docstring.
12014
12015 2012-01-28 Chong Yidong <cyd@gnu.org>
12016
12017 * eshell/esh-arg.el (eshell-quote-argument): New function.
12018
12019 * eshell/esh-ext.el (eshell-invoke-batch-file):
12020 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12021 first arg to eshell-parse-command (Bug#10523).
12022
12023 2012-01-28 Drew Adams <drew.adams@oracle.com>
12024
12025 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12026 `default-directory' is non-nil.
12027
12028 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12029
12030 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12031 line that displays system-configuration-options. (Bug#9924)
12032
12033 2012-01-28 Drew Adams <drew.adams@oracle.com>
12034
12035 * descr-text.el (describe-char): Show information about POS, in
12036 addition to information about the character at POS. Improve and
12037 update the doc string. Change "code point" to "code point in
12038 charset", to avoid confusion with the character's Unicode code
12039 point shown above that. (Bug#10129)
12040
12041 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12042
12043 * descr-text.el (describe-char): Show the raw character, not only
12044 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12045 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12046 for the reasons.
12047
12048 2012-01-28 Phil Hagelberg <phil@hagelb.org>
12049
12050 * emacs-lisp/package.el (package-install):
12051 Run package-refresh-contents if there is no archive yet (Bug#9798).
12052
12053 2012-01-28 Chong Yidong <cyd@gnu.org>
12054
12055 * emacs-lisp/package.el (package-maybe-load-descriptor):
12056 New function, split from package-maybe-load-descriptor.
12057 (package-maybe-load-descriptor): Use it.
12058 (package-download-transaction): Fully load required packages
12059 inside the loop, so that `require' calls work (Bug#10593).
12060 (package-install): No need to call package-initialize now.
12061
12062 2012-01-28 Chong Yidong <cyd@gnu.org>
12063
12064 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12065
12066 * tooltip.el (tooltip-mode): Doc fix.
12067 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12068
12069 * frame.el (set-cursor-color): Doc fix (Bug#352).
12070
12071 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12072 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12073
12074 * cus-edit.el (custom-buffer-create-internal): Fix search button
12075 action (Bug#10542).
12076 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12077
12078 2012-01-27 Eduard Wiebe <usenet@pusto.de>
12079
12080 * dired.el (dired-mark-files-regexp):
12081 Include any subdirectory components. (Bug#10445)
12082
12083 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12084
12085 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12086 Handle [host]:port syntax. (Bug#10533)
12087
12088 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
12089
12090 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12091
12092 2012-01-26 Glenn Morris <rgm@gnu.org>
12093
12094 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12095 * term.el (term-raw-escape-map): Use Control-X-prefix.
12096 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12097
12098 2012-01-25 Martin Rudalics <rudalics@gmx.at>
12099
12100 * window.el (window-state-get, window--state-get-1): Don't deal
12101 with fixed-sizeness of windows. Simplify code.
12102
12103 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12104
12105 * window.el (window--state-get-1, window--state-put-2):
12106 Don't save and restore the mark.
12107
12108 2012-01-25 Chong Yidong <cyd@gnu.org>
12109
12110 * custom.el (custom-variable-p): Doc fix.
12111
12112 2012-01-25 Glenn Morris <rgm@gnu.org>
12113
12114 * dired.el (dired-goto-file): Handle some of the more common
12115 characters that `ls -b' escapes. (Bug#10596)
12116
12117 * progmodes/compile.el (compilation-next-error-function):
12118 Respect compilation-first-column in the "*compilation*" buffer.
12119 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12120
12121 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12122
12123 2012-01-24 Glenn Morris <rgm@gnu.org>
12124
12125 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12126
12127 2012-01-24 Julien Danjou <julien@danjou.info>
12128
12129 * color.el (color-rgb-to-hsl): Fix value computing.
12130 (color-hue-to-rgb): New function.
12131 (color-hsl-to-rgb): New function.
12132 (color-clamp, color-saturate-hsl, color-saturate-name)
12133 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12134 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12135
12136 2012-01-24 Glenn Morris <rgm@gnu.org>
12137
12138 * vc/vc-rcs.el (vc-rcs-create-tag):
12139 * vc/vc-sccs.el (vc-sccs-create-tag):
12140 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12141
12142 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12143
12144 * eshell/esh-util.el (eshell-read-hosts-file):
12145 Skip comment lines. (Bug#10549)
12146
12147 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12148
12149 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
12150
12151 * subr.el (display-delayed-warnings): Doc fix.
12152 (collapse-delayed-warnings): New function to collapse identical
12153 adjacent warnings.
12154 (delayed-warnings-hook): Add it.
12155
12156 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
12157
12158 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12159
12160 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12161 (tramp-default-user-alist): Don't add "pscp".
12162 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12163 property "login-as", if set. (Bug#10530)
12164
12165 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
12166
12167 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12168 "plink1" and "psftp". (Bug#10530)
12169
12170 2012-01-21 Kenichi Handa <handa@m17n.org>
12171
12172 * international/mule-cmds.el (prefer-coding-system): Show a
12173 warning message if the default value of file-name-coding-system
12174 was not changed.
12175
12176 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12177
12178 * windmove.el (windmove-reference-loc):
12179 Fix windmove-reference-loc miscalculation.
12180
12181 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12182
12183 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12184 default unit.
12185
12186 2012-01-21 Glenn Morris <rgm@gnu.org>
12187
12188 * international/mule.el (auto-coding-alist): Add .tbz.
12189
12190 * files.el (local-enable-local-variables): Doc fix.
12191 (inhibit-local-variables-regexps): Rename from
12192 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12193 Doc fix. Add some extensions from auto-coding-alist.
12194 (inhibit-local-variables-suffixes):
12195 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12196 (inhibit-local-variables-p):
12197 New function, extracted from set-auto-mode-1.
12198 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12199 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12200 (hack-local-variables): Doc fix. Make the mode-only case
12201 respect enable-local-variables and friends.
12202 Respect inhibit-local-variables-regexps for file-locals, but
12203 not for directory-locals.
12204 (set-visited-file-name):
12205 Take account of inhibit-local-variables-regexps.
12206 Whether it applies may change as the file name is changed.
12207 * jka-cmpr-hook.el (jka-compr-install):
12208 * jka-compr.el (jka-compr-uninstall):
12209 Update for inhibit-first-line-modes-suffixes name change.
12210
12211 2012-01-20 Martin Rudalics <rudalics@gmx.at>
12212
12213 * help-macro.el (make-help-screen): Temporarily restore original
12214 binding for minor-mode-map-alist (Bug#10454).
12215
12216 2012-01-19 Julien Danjou <julien@danjou.info>
12217
12218 * color.el (color-name-to-rgb): Use the white color to find the max
12219 color component value and return correctly computed values.
12220 (color-name-to-rgb): Add missing float conversion for max value.
12221
12222 2012-01-19 Martin Rudalics <rudalics@gmx.at>
12223
12224 * window.el (window--state-get-1, window-state-get): Do not use
12225 special state value for window-persistent-parameters.
12226 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
12227 (window--state-put-2): Reset all window parameters to nil before
12228 assigning values of persistent parameters.
12229
12230 2012-01-18 Alan Mackenzie <acm@muc.de>
12231
12232 Eliminate sluggishness and hangs in fontification of "semicolon
12233 deserts".
12234
12235 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12236 Change value 10000 -> 3000.
12237 (c-state-safe-place): Reformulate so it doesn't stack up an
12238 infinite number of wrong entries in c-state-nonlit-pos-cache.
12239 (c-determine-limit-get-base, c-determine-limit): New functions to
12240 determine backward search limits disregarding literals.
12241 (c-find-decl-spots): Amend commenting.
12242 (c-cheap-inside-bracelist-p): New function which detects "={".
12243
12244 * progmodes/cc-fonts.el
12245 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12246 backward search.
12247 (c-font-lock-declarations): Fix an occurrence of point being
12248 undefined. Check additionally for point being in a bracelist or
12249 near a macro invocation without a semicolon so as to avoid a
12250 fruitless time consuming search for a declarator. Give a more
12251 precise search limit for declarators using the new
12252 c-determine-limit.
12253
12254 2012-01-18 Glenn Morris <rgm@gnu.org>
12255
12256 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12257 (set-auto-mode): Doc fixes.
12258
12259 2012-01-17 Glenn Morris <rgm@gnu.org>
12260
12261 * isearch.el (search-nonincremental-instead): Fix doc typo.
12262
12263 * dired.el (dired-insert-directory): Handle newlines in directory name.
12264 (dired-build-subdir-alist): Unescape newlines in directory name.
12265
12266 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
12267
12268 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12269 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12270 (tramp-action-terminal): Use it. (Bug#10530)
12271
12272 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12273
12274 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12275
12276 2012-01-16 Martin Rudalics <rudalics@gmx.at>
12277
12278 * window.el (window-state-ignored-parameters): Remove variable.
12279 (window--state-get-1): Rename argument MARKERS to IGNORE.
12280 Handle persistent window parameters. Make copy of clone-of
12281 parameter only if requested. (Bug#10348)
12282 (window--state-put-2): Install a window parameter only if it has
12283 a non-nil value or an existing parameter shall be overwritten.
12284
12285 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
12286
12287 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12288
12289 2012-01-14 Eli Zaretskii <eliz@gnu.org>
12290
12291 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12292 don't pass the (nil) value of `upnode' to string-match.
12293
12294 2012-01-14 Chong Yidong <cyd@gnu.org>
12295
12296 * startup.el (command-line): Fix X resource class for cursorColor.
12297 Fix values recognized by the cursorBlink resource.
12298
12299 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12300
12301 * epg.el (epg--make-temp-file): Avoid permission race condition
12302 when running on old Emacs versions (bug#10403).
12303
12304 2012-01-14 Glenn Morris <rgm@gnu.org>
12305
12306 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12307
12308 2012-01-13 Alan Mackenzie <acm@muc.de>
12309
12310 Fix filling for when filladapt mode is enabled.
12311
12312 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12313 c-mask-paragraph, pass in `fill-paragraph' rather than
12314 `fill-region-as-paragraph'. (This is a reversion of a previous
12315 change.)
12316 * progmodes/cc-mode.el (c-basic-common-init):
12317 Make fill-paragraph-handle-comment buffer local and set it to nil.
12318
12319 2012-01-13 Glenn Morris <rgm@gnu.org>
12320
12321 * dired.el (dired-switches-escape-p): New function.
12322 (dired-insert-directory): Use dired-switches-escape-p.
12323 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12324
12325 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12326
12327 2012-01-12 Glenn Morris <rgm@gnu.org>
12328
12329 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12330 changes in adaptive-fill-regexp. (Bug#10276)
12331
12332 2012-01-11 Alan Mackenzie <acm@muc.de>
12333
12334 Fix Emacs bug #10463 - put `widen's around the critical spots.
12335
12336 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12337 widen around each invocation of c-state-pp-to-literal. Remove an
12338 unused let variable.
12339
12340 2012-01-11 Glenn Morris <rgm@gnu.org>
12341
12342 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
12343 Doc fix.
12344
12345 2012-01-10 Chong Yidong <cyd@gnu.org>
12346
12347 * net/network-stream.el (network-stream-open-starttls):
12348 Avoid emitting a confusing error message when the server gives a bad
12349 response to the capability command.
12350
12351 2012-01-10 Glenn Morris <rgm@gnu.org>
12352
12353 * mail/unrmail.el (unrmail): Tweak previous change.
12354
12355 2012-01-09 Chong Yidong <cyd@gnu.org>
12356
12357 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12358
12359 2012-01-08 Alan Mackenzie <acm@muc.de>
12360
12361 Optimise font locking in long enum definitions.
12362
12363 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12364 arm to a cond form to handle enums.
12365 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12366 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12367
12368 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
12369
12370 * files.el (move-file-to-trash): Preserve default file modes on error.
12371 (Bug#10401)
12372
12373 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12374
12375 * faces.el (set-face-attribute): Clarify the meaning of the nil
12376 frame (bug#10294).
12377
12378 * subr.el (with-selected-frame): Mention that the selected frame
12379 is restored (bug#9980).
12380
12381 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12382 (bug#9759).
12383
12384 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12385 (password-read): Don't autoload unused function.
12386
12387 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
12388
12389 * progmodes/which-func.el (which-func-mode): Turn into a
12390 non-interactive function and mark as obsolete (bug#10428).
12391
12392 2012-01-06 Chong Yidong <cyd@gnu.org>
12393
12394 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12395 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12396 functions, along with 1 and -1.
12397
12398 2012-01-06 Eli Zaretskii <eliz@gnu.org>
12399
12400 * time.el (display-time-load-average)
12401 (display-time-default-load-average): Doc fixes. See the thread
12402 starting at
12403 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12404 for the details.
12405
12406 2012-01-06 Glenn Morris <rgm@gnu.org>
12407
12408 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12409 has no messages. (Bug#10377)
12410
12411 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12412 than Info-edit. (Bug#10385)
12413
12414 * time.el (display-time-load-average, display-time-next-load-average):
12415 Doc fixes.
12416
12417 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12418 local setting of buffer-read-only to the input buffer. (Bug#10419)
12419
12420 * calendar/calendar.el (calendar-mode):
12421 Locally set scroll-margin to 0. (Bug#10379)
12422
12423 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
12424
12425 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12426
12427 2012-01-05 Glenn Morris <rgm@gnu.org>
12428
12429 * eshell/em-unix.el (diff-no-select): Autoload it.
12430 (eshell/diff): Use diff-no-select. (Bug#10420)
12431
12432 2012-01-05 Chong Yidong <cyd@gnu.org>
12433
12434 * shell.el (shell-dynamic-complete-functions): Revert last change.
12435 (shell-command-completion-function): New function.
12436 (shell-completion-vars): Use it to implement
12437 shell-completion-execonly (Bug#10417).
12438
12439 * custom.el (enable-theme): Don't set custom-safe-themes.
12440
12441 * cus-theme.el (custom-theme-merge-theme):
12442 Ignore custom-enabled-themes and custom-safe-themes.
12443
12444 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12445
12446 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12447 first prompt in `sql-interacive-mode'.
12448 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12449 keywords.
12450 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12451 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12452 context of original buffer. Invoke `sql-login-hook'.
12453
12454 2012-01-04 Eli Zaretskii <eliz@gnu.org>
12455
12456 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12457 letters in cite-prefix.
12458
12459 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12460
12461 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12462
12463 2012-01-03 Chong Yidong <cyd@gnu.org>
12464
12465 * shell.el (shell-dynamic-complete-functions):
12466 Put pcomplete-completions-at-point, so as to try
12467 comint-filename-completion first (Bug#10417).
12468
12469 2012-01-02 Richard Stallman <rms@gnu.org>
12470
12471 * battery.el (battery-status-function):
12472 Detect when to use battery-yeeloong-sysfs.
12473 (battery-echo-area-format): Add string for Yeeloong.
12474 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12475 (battery-yeeloong-sysfs): New function.
12476
12477 2012-01-02 Chong Yidong <cyd@gnu.org>
12478
12479 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12480 (dirtrack): Merge code for handling relative filenames in prompt
12481 from shell-dir-cookie-watcher.
12482 (dirtrack-debug-message): New arg to avoid excess format calls.
12483
12484 * shell.el (shell-dir-cookie-re): Variable deleted.
12485 (shell-dir-cookie-watcher): Function deleted.
12486 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12487 with dirtrack-mode.
12488
12489 2012-01-01 Eli Zaretskii <eliz@gnu.org>
12490
12491 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12492 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12493 libgnutls-26.dll.
12494
12495 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12496
12497 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12498
12499 2011-12-31 Eli Zaretskii <eliz@gnu.org>
12500
12501 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12502 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12503
12504 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
12505
12506 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12507 also for alternative shells.
12508 (tramp-open-connection-setup-interactive-shell): Check, whether
12509 the shell is a busybox.
12510 (tramp-send-command): Don't suppress multiple prompts for
12511 busyboxes, it hurts.
12512
12513 2011-12-28 Chong Yidong <cyd@gnu.org>
12514
12515 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12516 (gdb-get-source-file): Move mode line update to
12517 gdb-get-source-file (Bug#10087).
12518
12519 2011-12-25 Chong Yidong <cyd@gnu.org>
12520
12521 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12522 gud-gdb-marker-filter without taking it as an argument.
12523 (gud-gdb-run-command-fetch-lines): Caller changed.
12524 (gud-gdb-completion-function): New variable.
12525 (gud-gdb-completion-at-point): Use it.
12526 (gud-gdb-completions-1): Split from gud-gdb-completions.
12527
12528 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12529 function as separate arguments.
12530 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12531 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12532 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12533 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12534 (gdb-stopped, def-gdb-auto-update-trigger)
12535 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12536 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12537 Callers changed.
12538 (gud-gdbmi-completions): New function.
12539 (gdb): Use it for generating the completion table.
12540
12541 2011-12-24 Alan Mackenzie <acm@muc.de>
12542
12543 Introduce a mechanism to widen the region used in context font
12544 locking. Use this to protect declarations from losing their contexts.
12545
12546 * progmodes/cc-langs.el (c-before-font-lock-functions):
12547 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12548 (c-before-context-fontification-functions): New defvar, a list of
12549 functions to be run just before context (etc.) font locking.
12550
12551 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12552 New, functionality extracted from
12553 c-neutralize-syntax-in-and-mark-CPP.
12554 (c-in-after-change-fontification): New variable.
12555 (c-after-change): Set c-in-after-change-fontification.
12556 (c-set-fl-decl-start): Rejig its interface, so it can be called
12557 from both after-change and context fontifying.
12558 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12559 New functions.
12560 (c-standard-font-lock-fontify-region-function): New variable.
12561 (c-font-lock-fontify-region): New function.
12562
12563 2011-12-24 Juri Linkov <juri@jurta.org>
12564
12565 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12566 (Bug#10348)
12567
12568 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
12569
12570 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12571 existence of source file. (Bug#10325)
12572
12573 2011-12-23 Alan Mackenzie <acm@muc.de>
12574
12575 Fix unstable fontification inside templates.
12576
12577 * progmodes/cc-langs.el (c-before-font-lock-functions):
12578 Newly created from the singular version. The (c c++ objc) entry now
12579 additionally has c-set-fl-decl-start. The other languages (apart
12580 from AWK) have that as a single entry.
12581
12582 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12583 The functionality for "local" declarations has been extracted to
12584 c-set-fl-decl-start.
12585
12586 * progmodes/cc-mode.el (c-common-init, c-after-change):
12587 Changes due to pluralisation of c-before-font-lock-functions.
12588 (c-set-fl-decl-start): New function, extracted from
12589 c-font-lock-enclosing-decls and enhanced.
12590
12591 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
12592
12593 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12594
12595 2011-12-22 Juri Linkov <juri@jurta.org>
12596
12597 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12598
12599 2011-12-22 Chong Yidong <cyd@gnu.org>
12600
12601 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12602
12603 2011-12-21 Drew Adams <drew.adams@oracle.com>
12604
12605 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12606
12607 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12608
12609 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12610
12611 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12612
12613 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12614 highlighting and support. Fix up comments for capitalization.
12615 (cfengine-mode-debug): New var.
12616 (cfengine3-mode): Change the modeline indicator to "CFE3".
12617 (cfengine3-font-lock-keywords): Improve defun highlighting.
12618 (cfengine2-actions): Rename from `cfengine-actions'.
12619 (cfengine2-font-lock-keywords): Rename from
12620 `cfengine-font-lock-keywords'.
12621 (cfengine2-imenu-expression): Rename from
12622 `cfengine-imenu-expression'.
12623 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12624 (cfengine2-beginning-of-defun): Rename from
12625 `cfengine-beginning-of-defun'.
12626 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12627 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12628 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12629 modeline indicator to "CFE2".
12630 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12631 (cfengine-mode-abbrevs): Mark obsolete.
12632
12633 2011-12-21 Chong Yidong <cyd@gnu.org>
12634
12635 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12636 filename argument.
12637
12638 2011-12-20 Martin Rudalics <rudalics@gmx.at>
12639
12640 * window.el (window-normalize-buffer-to-display): Remove.
12641 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12642
12643 2011-12-19 Chong Yidong <cyd@gnu.org>
12644
12645 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12646 Don't signal an error in a predicate function; return non-nil.
12647 (vc-dir-mark-file): Move the error here.
12648 (vc-dir-mark-unmark): If acting on the region, keep going if one
12649 of the entries cannot be marked/unmarked.
12650 (vc-dir-mark-all-files): If current entry is a directory, mark
12651 only child files, as documented.
12652
12653 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12654
12655 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12656 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12657 addition.
12658
12659 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12660
12661 * term/ns-win.el (ns-get-selection-internal)
12662 (ns-store-selection-internal): Declare.
12663 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12664 Declare as obsolete.
12665 (ns-get-pasteboard, ns-paste-secondary):
12666 Use ns-get-selection-internal.
12667 (ns-set-pasteboard, ns-copy-including-secondary):
12668 Use ns-store-selection-internal.
12669
12670 2011-12-17 Chong Yidong <cyd@gnu.org>
12671
12672 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12673 (vc-deduce-fileset): Doc fix.
12674
12675 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12676
12677 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12678
12679 2011-12-13 Sam Steingold <sds@gnu.org>
12680
12681 * man.el (Man-getpage-in-background): When running under a
12682 window-system, ignore $MANWIDTH and $COLUMNS.
12683
12684 2011-12-15 Kenichi Handa <handa@m17n.org>
12685
12686 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12687 (setup-ethiopic-environment-internal): Comment out key-binding for
12688 ethio-toggle-punctuation.
12689
12690 2011-12-13 Alan Mackenzie <acm@muc.de>
12691
12692 Add the switch statement to AWK Mode.
12693
12694 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12695 "default" to the keywords regexp.
12696
12697 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12698 expression as the rest.
12699 (c-nonlabel-token-key): Allow string literals for AWK.
12700 Refactor for the other modes.
12701
12702 Large brace-block initialisation makes CC Mode slow: Fix.
12703 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12704 routines. Limit backward searching in c-font-lock-enclosing.decl.
12705
12706 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12707 pp-state and literal type in addition to the limits.
12708 (c-state-safe-place): New defun, extracted from c-state-literal-at.
12709 (c-state-literal-at): Use the above new defun.
12710 (c-slow-in-literal, c-fast-in-literal): Remove.
12711 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12712
12713 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12714 being in a literal. Add a limit for backward searching.
12715
12716 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12717 c-slow-in-literal.
12718
12719 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12720
12721 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12722
12723 2011-12-13 Martin Rudalics <rudalics@gmx.at>
12724
12725 * window.el (delete-other-windows): Use correct frame in call to
12726 window-with-parameter.
12727
12728 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12729
12730 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12731 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12732 (makefile-gmake-statements, makefile-makepp-statements):
12733 Use it and add new makepp keywords.
12734 (makefile-makepp-font-lock-keywords): Add new patterns.
12735 (makefile-match-function-end): Match new [...] and [[...]].
12736
12737 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
12738
12739 * ses.el (ses-call-printer-return, ses-cell-property-get)
12740 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12741 (ses-create-cell-variable, ses-reset-header-string)
12742 (ses-cell-set-formula, ses-repair-cell-reference-all)
12743 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12744 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12745 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12746 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12747 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12748 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12749 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12750 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12751 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12752 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12753 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12754 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12755
12756 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12757
12758 * ses.el: The overall change is to add cell renaming, that is
12759 setting fancy names for cell symbols other than name matching
12760 "\\`[A-Z]+[0-9]+\\'" regexp .
12761 (ses-create-cell-variable): New defun.
12762 (ses-relocate-formula): Relocate formulas only for cells the
12763 symbols of which are not renamed, i.e. symbols whose names do not
12764 match regexp "\\`[A-Z]+[0-9]+\\'".
12765 (ses-relocate-all): Relocate values only for cells the symbols of
12766 which are not renamed.
12767 (ses-load): Create cells variables as the (ses-cell ...) are read,
12768 in order to check row col consistency with cell symbol name only
12769 for cells that are not renamed.
12770 (ses-replace-name-in-formula): New defun.
12771 (ses-rename-cell): New defun.
12772
12773 2011-12-11 Chong Yidong <cyd@gnu.org>
12774
12775 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12776 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12777
12778 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12779
12780 * window.el (other-window): Fix docstring.
12781
12782 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12783
12784 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12785 `from' or `to' address before taking its substring.
12786 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12787 encoded name is chopped in the middle of the encoded string, and
12788 thus displayed encoded.
12789
12790 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
12791
12792 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12793
12794 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12795
12796 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12797 to use texinfo-update-node and commands that call it if the
12798 Texinfo file uses @node lines without next/prev/up pointers.
12799 Correct outdated description about texinfo-master-menu.
12800 (texinfo-all-menus-update, texinfo-master-menu)
12801 (texinfo-update-node, texinfo-every-node-update)
12802 (texinfo-multiple-files-update): Doc fix. Warn against updating
12803 all the @node lines.
12804 (texinfo-master-menu): Only call texinfo-update-node if the prefix
12805 argument is numeric. Explain better in the doc string what the
12806 function really does.
12807 (texinfo-insert-master-menu-list): Improve the error message
12808 displayed if there's no menu in the Top node.
12809 (Bug#2975) See also this thread:
12810 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12811
12812 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12813
12814 * speedbar.el (speedbar-supported-extension-expressions):
12815 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12816
12817 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
12818
12819 * printing.el (pr-mode-alist):
12820 * simple.el (filter-buffer-substring-functions)
12821 (completion-list-insert-choice-function):
12822 * window.el (window-with-parameter, window-atom-root)
12823 (window-sides-slots, window-size-fixed, window-min-delta)
12824 (window-max-delta, window--resize-mini-window)
12825 (window--resize-child-windows-normal, window-tree)
12826 (delete-other-windows, quit-window, split-window)
12827 (display-buffer-record-window, special-display-buffer-names)
12828 (special-display-regexps, special-display-popup-frame)
12829 (same-window-p, split-window-sensibly)
12830 (display-buffer-overriding-action, display-buffer-alist)
12831 (display-buffer-base-action, display-buffer, switch-to-buffer)
12832 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12833 (fit-window-to-buffer, recenter-positions)
12834 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12835 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12836 and remove unneeded backslashes in docstrings.
12837
12838 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12839
12840 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12841
12842 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12843 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12844 end in ".mk".
12845 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12846 when reading the makefile (bug#10116).
12847
12848 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12849
12850 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12851 (bug#10116).
12852
12853 2011-12-06 Glenn Morris <rgm@gnu.org>
12854
12855 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12856
12857 2011-12-06 Chong Yidong <cyd@gnu.org>
12858
12859 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12860
12861 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12862
12863 * textmodes/table.el (table-shorten-cell): Fix typo.
12864
12865 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12866
12867 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12868
12869 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12870
12871 * descr-text.el (describe-char): Fix display of strong
12872 right-to-left characters and directional embeddings and overrides.
12873
12874 * simple.el (what-cursor-position): Fix display of codepoints of
12875 strong right-to-left characters.
12876
12877 2011-12-05 Chong Yidong <cyd@gnu.org>
12878
12879 * faces.el (read-color): Doc fix.
12880
12881 2011-12-05 Glenn Morris <rgm@gnu.org>
12882
12883 * align.el (align--set-marker): Add doc-string.
12884 Don't try to move something that is not a marker. (Bug#10216)
12885
12886 2011-12-04 Glenn Morris <rgm@gnu.org>
12887
12888 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12889 overly zealous deletion of trailing whitespace.
12890
12891 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12892
12893 * server.el (server-delete-client): On Windows, do not try to delete
12894 the only terminal.
12895 (server-process-filter): On Windows, treat requests for a tty frame as
12896 if they were for a GUI frame if the running server is in GUI mode.
12897
12898 2011-12-03 Glenn Morris <rgm@gnu.org>
12899
12900 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12901
12902 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12903
12904 * electric.el: Streamline electric-indent's hook.
12905 (electric-indent-chars): Revert to simple list.
12906 (electric-indent-functions): New var.
12907 (electric-indent-post-self-insert-function): Use it.
12908
12909 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12910 there's no inferior buffer (bug#10196).
12911 (prolog-consult-compile): Don't use toggle-read-only.
12912
12913 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12914
12915 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12916 interrupt. (Bug#10187)
12917
12918 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12919
12920 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12921 (bug#9160).
12922
12923 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12924 (bug#10191).
12925
12926 2011-12-02 Juri Linkov <juri@jurta.org>
12927
12928 * info.el (Info-search): Display "end of manual" when Isearch
12929 reaches the end of single-file Info manual. (Bug#9918)
12930
12931 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12932
12933 * isearch.el (isearch-message-prefix): Run the input method part
12934 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12935
12936 2011-12-02 Juri Linkov <juri@jurta.org>
12937
12938 * isearch.el (isearch-occur): Use `word-search-regexp' for
12939 `isearch-word'.
12940 (isearch-search-and-update): Add condition for `isearch-word' and
12941 call `word-search-regexp'. (Bug#10145)
12942
12943 2011-12-01 Glenn Morris <rgm@gnu.org>
12944
12945 * eshell/em-hist.el (eshell-hist-initialize):
12946 Handle eshell-history-size nil and HISTSIZE set or unset.
12947 (eshell-history-file-name, eshell-history-size): Fix custom type.
12948
12949 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12950
12951 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12952
12953 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12954
12955 * progmodes/verilog-mode.el (verilog-pretty-expr):
12956 Rework verilog-pretty-expr to handle new assignment operators in system
12957 verilog, such as += *= and the like.
12958 (verilog-assignment-operator-re): Regular expression to find the
12959 assigment operator in a verilog assignment.
12960 (verilog-assignment-operation-re): Regular expression to find an
12961 assignment statement for pretty-expr.
12962 (verilog-in-attribute-p): Query returns true if point is in an
12963 attribute context; used to skip these for expression line up from
12964 pretty-expr.
12965 (verilog-in-parameter-p): Query returns true if point is in an
12966 parameter definition context; used to skip these for expression
12967 line up from pretty-expr.
12968 (verilog-in-parenthesis-p): Query returns true if point is in a
12969 parenthetical expression, specifically ( ) but not [ ] or { };
12970 used by pretty-expr.
12971 (verilog-just-one-space): If there is no space, don't add one.
12972 (verilog-get-lineup-indent-2): Specifically skip just attribute
12973 contexts for expression lineup, rather than skipping all
12974 parenthetical expressions.
12975 (verilog-calculate-indent): Fix comment, and fix indent.
12976 (verilog-do-indent): Indent declarations in lists (suggested by
12977 Joachim Lechner).
12978 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12979 skeleton items.
12980 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12981 by Alain Mellan).
12982
12983 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12984
12985 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12986 parameters with embedded comments. Reported by Ray Stevens.
12987 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12988 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12989 Reported by Tim Holt.
12990 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12991 instantiated by upper module causing wrong expansion until AUTOed a
12992 second time. Reported by K C Buckenmaier.
12993 (verilog-diff-auto): Fix showing .* as a difference when
12994 `verilog-auto-star-save' off. Reported by Dan Dever.
12995 (verilog-auto-reset, verilog-read-always-signals)
12996 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12997 temporary signals in reset list if
12998 verilog-auto-reset-blocking-in-non is nil, and match assignment
12999 style to each signal's assignment type, bug381.
13000 Reported by Thomas Esposito.
13001 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13002 (verilog-uvm-statement-re): Support UVM indentation and
13003 highlighting, with old OVM keywords only.
13004 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
13005 Support AUTOTIEOFF creating non-wire data types.
13006 Suggested by Jonathan Greenlaw.
13007 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13008 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13009 (verilog-inject-sense, verilog-read-inst-pins)
13010 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13011 Fix mismatching parenthesis inside commented out code when deleting
13012 AUTOINST, bug383. Reported by Jonathan Greenlaw.
13013 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13014 non-numeric vector width. Reported by Alex Reed.
13015 (verilog-auto-ascii-enum): Add "onehot" option to work around not
13016 detecting signals with parameter widths. Reported by Alex Reed.
13017 (verilog-auto-delete-trailing-whitespace):
13018 With `verilog-auto-delete-trailing-whitespace' remove trailing
13019 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13020 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13021 Fix verilog-scan-cache corruption when running user AUTO expansion
13022 hooks that call indentation routines.
13023 (verilog-simplify-range-expression): Fix typo ignoring lower case
13024 identifiers.
13025 (verilog-delete-auto): Fix delete-autos to also remove user created
13026 automatics, as long as they start with AUTO.
13027 (verilog-batch-diff-auto, verilog-diff-auto)
13028 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13029 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13030 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13031 (verilog-in-paren-quick, verilog-re-search-backward-quick)
13032 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13033 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
13034 is disabled and its cache will get corrupt, causing AUTOS not to
13035 expand. Instead use only -quick functions.
13036 (verilog-scan-region): Fix scanning over escaped quotes.
13037 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13038 (verilog-re-search-backward-quick)
13039 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13040 related functions now ignore strings, to fix misparsing of strings
13041 with magic comments embedded in them.
13042 (verilog-read-auto-template):
13043 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13044 Reported by Brad Dobbie.
13045 (verilog-read-auto-template):
13046 Fix 'verilog-auto-inst-template-numbers' with comments.
13047 Reported by Brad Dobbie.
13048 (verilog-auto-inst, verilog-auto-inst-param)
13049 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13050 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13051 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13052 debugging templates without merge conflicts, bug357.
13053 Reported by Brad Dobbie.
13054 (verilog-read-auto-template):
13055 Fix verilog-auto-inst-template-numbers with multiple templates.
13056 Reported by Brad Dobbie.
13057 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13058 abbrevs so user won't be asked to save.
13059 (verilog-read-auto-lisp-present): Fix to start at beginning of
13060 buffer in case called outside of verilog-auto.
13061 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13062 to "X-2". Reported by Matthew Myers.
13063 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13064 all inputs from module templates. Reported by Leith Johnson.
13065 (verilog-module-inside-filename-p): Fix locating programs as with
13066 modules.
13067 (verilog-auto-inst-port): Fix vl-width expressions when using
13068 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13069 (verilog-decls-get-regs, verilog-decls-get-signals,
13070 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13071 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13072 verilog-read-decls): Combine reg and wire structures into one var
13073 structure to represent SystemVerilog concepts.
13074 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13075 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13076 (verilog-auto-wire-type, verilog-insert-definition):
13077 Add verilog-auto-wire-type and AUTOLOGIC to support using
13078 SystemVerilog "logic" keyword instead of "wire"/"reg".
13079 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13080 to declares outputs that also have assignments (presumably in an
13081 ifdef or generate if so there's not a driver conflict).
13082 Reported by Matthew Myers.
13083 (verilog-auto-declare-nettype, verilog-insert-definition):
13084 Add verilog-auto-declare-nettype to fix declarations using
13085 `default_nettype none. Reported by Julian Gorfajn.
13086 (verilog-read-always-signals-recurse, verilog-read-decls)
13087 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13088 malformed end statement, bug325. Reported by Joshua Wise and
13089 Andrew Drake.
13090 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13091 (verilog-inst-comment-re): Fix not deleting Interfaced comment
13092 when expanding .* in interfaces, bug320.
13093 Reported by Pierre-David Pfister.
13094 (verilog-read-module-name): Fix import statements between module
13095 name and open parenthesis, bug317.
13096 Reported by Pierre-David Pfister.
13097 (verilog-simplify-range-expression): Fix simplification of
13098 multiplications inside AUTOWIRE connections, bug303.
13099 (verilog-auto-inst-port): Support parameter expansion in
13100 multidimensional arrays.
13101 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13102 after "assert property". Reported by Julian Gorfajn.
13103 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13104 with multiplication, bug303.
13105 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13106 Reported by Jan Frode Lonnum.
13107
13108 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
13109
13110 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13111 (hfy-shell-file-name, hfy-shell):
13112 * international/fontset.el (x-decompose-font-name): Fix typos.
13113
13114 2011-11-29 Ken Brown <kbrown@cornell.edu>
13115
13116 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13117 (gdb-version): Remove defvar.
13118 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13119 (gdb-gud-context-command, gdb-non-stop-handler)
13120 (gdb-current-context-command, gdb-stopped): Use it.
13121 (gdb-init-1): Enable pretty printing here.
13122 (gdb-non-stop-handler): Don't enable pretty-printing here.
13123 Check to see if the target supports non-stop mode; if not, turn off
13124 non-stop mode. Use the following.
13125 (gdb-check-target-async): New defun.
13126 (gud-watch, gdb-stopped): Fix whitespace.
13127 (gdb-get-source-file): Don't try to display the source file if
13128 `gdb-main-file' is nil.
13129
13130 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13131
13132 * align.el: Try to generate fewer markers (bug#10047).
13133 (align--set-marker): New macro.
13134 (align-region): Use it.
13135
13136 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13137
13138 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13139
13140 2011-11-29 Chong Yidong <cyd@gnu.org>
13141
13142 * indent.el (indent-for-tab-command, indent-according-to-mode):
13143 Doc fix.
13144 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13145
13146 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
13147
13148 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13149 aware of remote file names. (Bug#10124)
13150
13151 2011-11-29 Chong Yidong <cyd@gnu.org>
13152
13153 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13154
13155 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13156
13157 * files.el (find-file): Don't use force-same-window (bug#10144).
13158 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13159 use pop-to-buffer if the selected window can't be used.
13160 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13161
13162 2011-11-28 Eli Zaretskii <eliz@gnu.org>
13163
13164 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13165 special-mode-map.
13166
13167 2011-11-28 Chong Yidong <cyd@gnu.org>
13168
13169 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13170
13171 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
13172
13173 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13174 gdb-get-source-file-list on gdb-create-source-file-list.
13175
13176 2011-11-26 Eli Zaretskii <eliz@gnu.org>
13177
13178 * whitespace.el (whitespace-newline): Use a different foreground
13179 color for 16-color light-background displays.
13180
13181 2011-11-24 Chong Yidong <cyd@gnu.org>
13182
13183 * window.el (display-buffer--special-action): Doc fix.
13184
13185 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
13186
13187 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13188 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13189 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13190 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13191 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13192 (avl-tree-stack-first):
13193 * emacs-lisp/cconv.el (cconv--analyse-use):
13194 * net/gnutls.el (gnutls-negotiate): Fix typos.
13195
13196 2011-11-24 Glenn Morris <rgm@gnu.org>
13197
13198 * lpr.el (lpr-windows-system, lpr-lp-system):
13199 * mail/binhex.el (binhex-begin-line):
13200 * progmodes/grep.el (grep-history, grep-find-history):
13201 * textmodes/flyspell.el:
13202 * vc/pcvs-defs.el (cvs-global-menu):
13203 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13204 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13205 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13206
13207 * net/tls.el: Fix case of "GnuTLS".
13208
13209 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13210
13211 * version.el (emacs-build-system): Give it a doc-string.
13212
13213 2011-11-24 Juri Linkov <juri@jurta.org>
13214
13215 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13216
13217 2011-11-24 Glenn Morris <rgm@gnu.org>
13218
13219 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13220 if called on a non-mime message just toggle the headers. (Bug#8006)
13221
13222 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
13223
13224 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13225 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13226 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13227 (allout-rebullet-heading, allout-open-sibtopic)
13228 (allout-toggle-current-subtree-encryption)
13229 (allout-toggle-subtree-encryption, allout-encrypt-string)
13230 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13231 (allout-distinctive-bullets-string, allout-auto-activation):
13232 * window.el (window-normalize-buffer-to-display):
13233 * progmodes/verilog-mode.el (verilog-batch-indent):
13234 * textmodes/bibtex.el (bibtex-field-braces-opt)
13235 (bibtex-field-strings-opt):
13236 * vc/cvs-status.el (cvs-tree-merge):
13237 Fix typos.
13238
13239 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
13240
13241 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13242 `non-essential' to t, in order to avoid remote connections.
13243
13244 2011-11-23 Eli Zaretskii <eliz@gnu.org>
13245
13246 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13247 On MS-DOS and MS-Windows, compare with loaddefs.el
13248 case-insensitively.
13249
13250 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13251
13252 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13253
13254 2011-11-23 Glenn Morris <rgm@gnu.org>
13255
13256 * paths.el (rmail-file-name): Reformat the doc-string so that it
13257 is picked up.
13258
13259 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13260 (rmail-auto-file): Ignore case in the "special" field names,
13261 as mail-fetch-field does for all others.
13262
13263 * mail/rmail.el (rmail-forward):
13264 * mail/rmailkwd.el (rmail-set-label):
13265 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13266 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13267
13268 * mail/rmail.el (rmail-current-message): Doc fix.
13269
13270 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13271
13272 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13273
13274 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13275
13276 2011-11-22 Glenn Morris <rgm@gnu.org>
13277
13278 * mail/rmailmm.el (test-rmail-mime-handler)
13279 (test-rmail-mime-bulk-handler)
13280 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13281
13282 2011-11-21 Juri Linkov <juri@jurta.org>
13283
13284 * calc/calc.el (calc-read-key-sequence):
13285 Let-bind `input-method-function' to nil. (Bug#10018)
13286
13287 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13288
13289 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13290 Tell the caller that the next line needs recomputation, even
13291 though it doesn't start a sexp (bug#10094).
13292
13293 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13294
13295 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13296
13297 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13298
13299 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13300 Use force-same-window.
13301
13302 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13303
13304 * descr-text.el (describe-char-unicode-data):
13305 * json.el (json-string-escape):
13306 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13307 (Footnote-unicode, Footnote-style-p):
13308 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13309
13310 2011-11-20 Chong Yidong <cyd@gnu.org>
13311
13312 * window.el (replace-buffer-in-windows): Restore interactive spec.
13313
13314 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13315
13316 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13317
13318 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13319 (byte-compile-global-not-obsolete-vars): New var.
13320 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13321 Use it.
13322 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13323
13324 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13325
13326 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13327 * progmodes/pascal.el (electric-pascal-equal):
13328 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13329 * xml.el (xml-substitute-special): Fix typos.
13330
13331 2011-11-20 Glenn Morris <rgm@gnu.org>
13332
13333 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13334 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13335 Doc fixes.
13336 (rmail-decode-mime-charset): Mark as obsolete.
13337
13338 * mail/rmailsum.el (rmail-message-regexp-p-1):
13339 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13340 Before using mime functions, check they are set. (Bug#10077)
13341
13342 2011-11-19 Juri Linkov <juri@jurta.org>
13343
13344 * info.el (Info-finder-find-node): Use `package--builtins' instead
13345 of `package-alist'. Use node names formed by the pattern "Keyword "
13346 and the keyword name.
13347
13348 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13349
13350 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13351
13352 2011-11-19 Juri Linkov <juri@jurta.org>
13353
13354 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13355 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13356 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13357 `old-history', `old-history-forward'. Add let-binding
13358 `window-selected'. Remove calls to `kill-buffer',
13359 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13360 before calling `Info-find-node', so `Info-find-node-2' will reread
13361 the Info file. Restore window positions only when `window-selected'
13362 is non-nil.
13363
13364 2011-11-19 Juri Linkov <juri@jurta.org>
13365
13366 * isearch.el (isearch-lazy-highlight-new-loop):
13367 Remove condition `(not isearch-error)'. (Bug#9918)
13368
13369 * misearch.el (multi-isearch-search-fun): Add condition
13370 `(not bound)' to ignore lazy-highlighting search.
13371 Add the search-failed message "end of multi" when the end of
13372 multi-sequence is reached. Uncapitalize the search-failed
13373 message "Repeat for next buffer".
13374
13375 * info.el (Info-search): Add the search-failed message
13376 "end of the manual" when the end of the manual is reached
13377 in Isearch mode.
13378
13379 2011-11-19 Juri Linkov <juri@jurta.org>
13380
13381 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13382 Use non-destructive `remove' instead of `delete' because
13383 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13384 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13385
13386 2011-11-19 Juri Linkov <juri@jurta.org>
13387
13388 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13389 to nil instead of binding `search-ring' and `regexp-search-ring'.
13390 (Bug#9185)
13391
13392 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13393
13394 * simple.el (line-move): Force movement by logical lines for any
13395 hscrolled window, not only when auto-hscroll-mode is on.
13396 (line-move-visual): Update doc string to that effect. (Bug#10076)
13397
13398 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13399
13400 * language/european.el (macintosh): Define as alias for mac-roman.
13401
13402 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13403
13404 * mail/rmailmm.el (rmail-mime-display-header)
13405 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13406 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13407 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13408 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13409 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13410 of a raw aref.
13411 (rmail-mime-entity-segment): To get past the tagline, move forward
13412 2 more lines, to account for the 2 empty lines that precede and
13413 follow the line with the buttons.
13414 (rmail-mime-update-tagline): Move one more line, to get past the
13415 empty line that follows the buttons in the tagline. (Bug#9520)
13416
13417 2011-11-19 Martin Rudalics <rudalics@gmx.at>
13418
13419 * window.el (window-max-delta-1, window-min-delta-1)
13420 (window-min-size-1, window-state-get-1, window-state-put-1)
13421 (window-state-put-2): Use "window--" prefix.
13422
13423 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13424
13425 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13426 (smie-warning-count): New var.
13427 (smie-set-prec2tab): Use it.
13428 (smie-bnf->prec2): Improve warnings. Add docstring.
13429 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13430 (smie-bnf--set-class): New function.
13431 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13432 corner case.
13433
13434 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13435 (compilation-error-properties, compilation-move-to-column):
13436 Handle compilation-first-column while in the target buffer.
13437
13438 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13439 Don't hardcode point-min==1.
13440
13441 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13442 (eshell-rewrite-for-command): Remove workaround.
13443 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13444 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13445 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13446
13447 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13448
13449 2011-11-17 Glenn Morris <rgm@gnu.org>
13450
13451 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13452 Ignore buffer-local generated-autoload-file if it is the same
13453 as the global value. (Bug#10049)
13454
13455 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
13456
13457 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13458 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13459 (reftex-toc-previous-heading, reftex-toc-max-level)
13460 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13461 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13462 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13463 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13464 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13465 (reftex-toc-rename-label, reftex-toc-visit-location)
13466 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13467 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13468 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13469 leaving "*toc*" only for references to the buffer.
13470
13471 2011-11-17 Martin Rudalics <rudalics@gmx.at>
13472
13473 * window.el (window-resize, delete-window, split-window):
13474 Replace window-splits by window-combination-resize.
13475 * cus-start.el (window-splits): Replace by window-combination-resize.
13476
13477 2011-11-17 Glenn Morris <rgm@gnu.org>
13478
13479 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13480 Make bash entry derive from sh entry, not shell entry.
13481
13482 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
13483
13484 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13485 local file name.
13486
13487 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13488
13489 * menu-bar.el (menu-bar-file-menu):
13490 * printing.el (pr-ps-utility):
13491 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13492 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13493 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13494 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13495 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13496 (icalendar--convert-cyclic-to-ical)
13497 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13498 (icalendar--convert-ical-to-diary)
13499 (icalendar--convert-recurring-to-diary)
13500 (icalendar--convert-non-recurring-all-day-to-diary)
13501 (icalendar-import-format-sample):
13502 * progmodes/idlw-shell.el (idlwave-shell-mode):
13503 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13504 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13505 (vhdl-ps-print-init): Fix typos.
13506
13507 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13508
13509 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13510 FSF and collapse date sequence, obscure author/maintainer email address
13511 better, remove extra version line, track relocation of author's webpage.
13512
13513 * progmodes/python.el (python-pdbtrack-input-prompt)
13514 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13515 regular python pdb prompts. Adjustments shamelessly taken exactly as
13516 suggested in EmacsWiki page (tiny change):
13517 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13518
13519 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13520
13521 * expand.el (expand-pos, expand-index, expand-point):
13522 Remove redundant info from docstring.
13523 (expand-add-abbrevs): Doc fix.
13524 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13525 (expand-sample-perl-mode-expand-list): Fix typos.
13526
13527 * net/dbus.el (dbus-event-member-name):
13528 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13529 * term/pc-win.el (msdos-create-frame-with-faces):
13530 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13531
13532 2011-11-16 Martin Rudalics <rudalics@gmx.at>
13533
13534 * window.el (split-window, window-state-get-1)
13535 (window-state-put-1, window-state-put-2): Rename occurrences of
13536 window-nest to window-combination-limit.
13537 * cus-start.el (window-nest): Rename to window-combination-limit.
13538
13539 2011-11-16 Chong Yidong <cyd@gnu.org>
13540
13541 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13542 regexp (Bug#10033).
13543
13544 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13545
13546 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13547 `completing-read' will remove *Completions* and will preserve
13548 current-buffer for us.
13549 (tmm-add-prompt): Users of *Completions* will always (re)set its
13550 major mode.
13551 (tmm-old-comp-map): Remove.
13552
13553 2011-11-16 Glenn Morris <rgm@gnu.org>
13554
13555 * mail/rmailedit.el: Require rmailmm when compiling.
13556 (rmail-old-mime-state): New declaration.
13557 (rmail-edit-current-message): If editing a mime message,
13558 edit the "raw" message from the mbox buffer.
13559 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13560
13561 2011-11-15 Glenn Morris <rgm@gnu.org>
13562
13563 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13564 which wasn't being used. Add optional arg to force given state.
13565 (rmail-mime): Add optional arg to force given state.
13566
13567 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13568
13569 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13570 * frame.el (display-mm-dimensions-alist):
13571 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13572 (outline-move-subtree-down):
13573 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13574 (newsticker--treeview-do-get-node):
13575 * net/quickurl.el (quickurl-list-buffer-name):
13576 * progmodes/dcl-mode.el (dcl-mode):
13577 * progmodes/gdb-mi.el (gdb-mapcar*):
13578 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13579
13580 2011-11-15 Glenn Morris <rgm@gnu.org>
13581
13582 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13583 in a boolean sense, so just make it a boolean, and fix the doc.
13584 (rmail-show-mime-function, rmail-mime-feature)
13585 (rmail-require-mime-maybe): Doc fixes.
13586 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13587
13588 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13589
13590 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13591
13592 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13593 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13594 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13595 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13596
13597 2011-11-15 Glenn Morris <rgm@gnu.org>
13598
13599 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13600 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13601 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13602 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13603 (rmail-mime, rmail-show-mime): Doc fixes.
13604
13605 * term/ns-win.el (mode-line-frame-identification):
13606 Leave it alone. (Bug#10051)
13607
13608 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13609
13610 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13611 Handle empty buffers. (Bug#9978)
13612
13613 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
13614
13615 * international/mule.el (define-charset):
13616 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13617 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13618 * progmodes/verilog-mode.el (verilog-backward-token):
13619 * textmodes/ispell.el (lookup-words):
13620 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13621
13622 2011-11-14 Glenn Morris <rgm@gnu.org>
13623
13624 * progmodes/executable.el
13625 (executable-make-buffer-file-executable-if-script-p):
13626 Handle file-modes returning nil.
13627
13628 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13629 message - not necessary, and causes problems. (Bug#9831)
13630
13631 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13632
13633 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13634
13635 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13636 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13637 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13638
13639 2011-11-12 Martin Rudalics <rudalics@gmx.at>
13640
13641 * window.el (window-resize, delete-window): Use window-splits
13642 variable instead of function.
13643 (window-state-get-1, window-state-put-2, window-state-put):
13644 Don't deal with windows' splits status.
13645
13646 2011-11-12 Glenn Morris <rgm@gnu.org>
13647
13648 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13649 (apropos-documentation): Doc fixes.
13650
13651 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
13652
13653 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13654 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13655
13656 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13657
13658 * electric.el (electric-indent-post-self-insert-function): Make it
13659 possible for a char to only indent in some circumstances.
13660 (electric-indent-mode): Simplify.
13661
13662 2011-11-11 Martin Rudalics <rudalics@gmx.at>
13663
13664 * window.el (windows-with-parameter): Remove unused function.
13665 (windows-at-side): Rename to window-at-side-list.
13666 (window-check, window-atom-check, window-atom-check-1)
13667 (window-side-check, window-size-ignore, window-size-fixed-1)
13668 (window-in-direction-2): Prefix with "window--".
13669 (window-tree-1): Rename to window--subtree, fix doc-string.
13670
13671 2011-11-11 Glenn Morris <rgm@gnu.org>
13672
13673 * subr.el (eval-after-load): If FILE is already loaded,
13674 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13675
13676 2011-11-10 Glenn Morris <rgm@gnu.org>
13677
13678 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13679 Call svn via vc-svn-command rather than vc-do-command.
13680 (vc-svn-command): Add --non-interactive. (Bug#9993)
13681 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13682
13683 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13684 Add toggle-read-only. (Bug#7292)
13685 * files.el (toggle-read-only): Mention that it should only
13686 be used interactively. (Bug#10006)
13687
13688 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13689
13690 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13691 Adjust regexp for OCaml warnings.
13692
13693 * electric.el (electric-pair-post-self-insert-function): Let user
13694 turn it off buffer-locally (bug#9932).
13695
13696 * progmodes/python.el (python-beginning-of-statement):
13697 Rewrite (bug#2703).
13698
13699 * progmodes/compile.el: Better handle TABs (bug#9749).
13700 (compilation-internal-error-properties)
13701 (compilation-next-error-function): Obey the target buffer's
13702 compilation-error-screen-columns.
13703
13704 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
13705
13706 * progmodes/meta-mode.el: Remove obsolete comments.
13707 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13708 Fix typos in docstrings.
13709
13710 2011-11-09 Martin Rudalics <rudalics@gmx.at>
13711
13712 * window.el (window-size-fixed-p): Rewrite doc-string.
13713 (window-resizable-p): Rename to window--resizable-p. Update callers.
13714 (window--resizable): New function. Make all callers of
13715 window-resizable call window--resizable instead.
13716 (window-resizable): Rewrite in terms of window--resizable.
13717
13718 2011-11-08 Glenn Morris <rgm@gnu.org>
13719
13720 * progmodes/delphi.el (delphi-mode-syntax-table):
13721 Let define-derived-mode define a proper syntax table. (Bug#9994)
13722
13723 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13724
13725 * window.el: Stay away from defsubst.
13726 (window-list-no-nils): Remove.
13727 (window-state-get-1, window-state-get): Use backquote instead.
13728
13729 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13730
13731 * emacs-lisp/find-func.el (find-function-read):
13732 Fix incorrect use of default argument in `completing-read'.
13733
13734 2011-11-08 Martin Rudalics <rudalics@gmx.at>
13735
13736 * window.el (display-buffer-function, special-display-function):
13737 Mention display-buffer-record-window but do not mention
13738 help-setup parameter in doc-strings.
13739 (window-min-delta): Fix doc-string typo.
13740
13741 2011-11-08 Chong Yidong <cyd@gnu.org>
13742
13743 * window.el (window-total-height, window-total-width): Doc fix.
13744 (window-body-size): Move from C.
13745 (window-body-height, window-body-width): Move to C.
13746
13747 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13748
13749 * window.el: Make special-display like display-buffer-alist (bug#9532).
13750 (display-buffer--special-action): New function, morphed
13751 from display-buffer--special.
13752 (display-buffer): Use it to handle special-display-buffers at higher
13753 priority (just after display-buffer-alist).
13754 (display-buffer-fallback-action, display-buffer--other-frame-action)
13755 (pop-to-buffer-same-window): Remove display-buffer--special.
13756
13757 2011-11-07 Glenn Morris <rgm@gnu.org>
13758
13759 * calendar/cal-menu.el (cal-menu-set-date-title):
13760 Do nothing if not in a calendar. (Bug#9976)
13761
13762 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13763
13764 * files.el (find-file): Always use selected-window.
13765
13766 2011-11-07 Martin Rudalics <rudalics@gmx.at>
13767
13768 * window.el (window-combinations): Make WINDOW argument
13769 mandatory. Rewrite doc-string.
13770 (walk-window-subtree, window-atom-check, window-min-delta)
13771 (window-max-delta, window--resize-this-window)
13772 (window--resize-root-window-vertically, window-tree)
13773 (balance-windows, window-state-put): Rewrite doc-strings as to
13774 not mention the term "subwindow".
13775 (window--resize-subwindows-skip-p): Rename to
13776 window--resize-child-windows-skip-p.
13777 (window--resize-subwindows-normal): Rename to
13778 window--resize-child-windows-normal.
13779 (window--resize-subwindows): Rename to
13780 window--resize-child-windows.
13781 (window-or-subwindow-p): Rename to window--in-subtree-p.
13782
13783 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13784
13785 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13786 Ensure that mbox format messages end in two newlines (Bug#9974).
13787
13788 2011-11-06 Chong Yidong <cyd@gnu.org>
13789
13790 * window.el (window-combination-p): Function deleted; its
13791 side-effect is not used in any existing code.
13792 (window-combinations, window-combined-p): Call window-*-child
13793 directly.
13794
13795 2011-11-05 Chong Yidong <cyd@gnu.org>
13796
13797 * window.el (window-valid-p): Rename from window-any-p.
13798 (window-size-ignore, window-state-get): Callers changed.
13799 (window-normalize-window): Rename from window-normalize-any-window.
13800 New arg LIVE-ONLY, replacing window-normalize-live-window.
13801 (window-normalize-live-window): Delete.
13802 (window-combination-p, window-combined-p, window-combinations)
13803 (walk-window-subtree, window-atom-root, window-min-size)
13804 (window-sizable, window-sizable-p, window-size-fixed-p)
13805 (window-min-delta, window-max-delta, window-resizable)
13806 (window-resizable-p, window-full-height-p, window-full-width-p)
13807 (window-current-scroll-bars, window-point-1, set-window-point-1)
13808 (window-at-side-p, window-in-direction, window-resize)
13809 (adjust-window-trailing-edge, maximize-window, minimize-window)
13810 (window-deletable-p, delete-window, delete-other-windows)
13811 (record-window-buffer, unrecord-window-buffer)
13812 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13813 (quit-window, split-window, window-state-put)
13814 (set-window-text-height, fit-window-to-buffer)
13815 (shrink-window-if-larger-than-buffer): Callers changed.
13816
13817 2011-11-04 Eli Zaretskii <eliz@gnu.org>
13818
13819 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13820 rfc2047-decode-string.
13821 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13822 warnings.
13823
13824 * window.el (window-body-height, window-body-width): Mention in
13825 the doc string that the return values are in frame's canonical
13826 units. (Bug#9949)
13827
13828 2011-11-03 Alan Mackenzie <acm@muc.de>
13829
13830 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13831 change in cc-engine.el.
13832
13833 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13834
13835 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13836
13837 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13838
13839 * window.el (quit-window): Call unrecord-window-buffer after
13840 showing another buffer in the window. (Bug#9937)
13841 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13842
13843 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13844
13845 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13846 Accept status with more than 9 shelves. (Bug#9935)
13847 Reported by Colin D Bennett <colin@gibibit.com>.
13848
13849 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13850
13851 * help.el (with-help-window): Don't reference
13852 temp-buffer-show-specifiers in doc-string.
13853
13854 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13855
13856 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13857 menu-item.
13858
13859 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13860
13861 * whitespace.el: New version 13.2.2.
13862 (whitespace-newline-mode): Disable properly. Reported by Sarah
13863 <EmacsWiki>.
13864
13865 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13866
13867 * net/newst-treeview.el: Remove "Time-stamp".
13868 (newsticker--group-manage-orphan-feeds): Do not call
13869 newsticker--treeview-tree-update.
13870 (newsticker-treeview-update, newsticker-treeview):
13871 Call newsticker--treeview-tree-update if necessary.
13872
13873 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13874
13875 * window.el (window-iso-combination-p, window-iso-combined-p)
13876 (window-iso-combinations): Remove "iso-" infix.
13877 Suggested by Chong Yidong.
13878 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13879 (window-max-delta-1, window-resize, window--resize-siblings)
13880 (window--resize-this-window, adjust-window-trailing-edge)
13881 (split-window, balance-windows-1)
13882 (shrink-window-if-larger-than-buffer):
13883 * calendar/calendar.el (calendar-generate-window):
13884 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13885
13886 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13887
13888 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13889 in place (bug#9907).
13890 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13891 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13892 (eshell-structure-basic-command, eshell-rewrite-while-command)
13893 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13894 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13895 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13896 (eshell-do-pipelines-synchronously, eshell-eval-command):
13897 Use backquotes and prefer setq to set.
13898 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13899 (eshell-macrop): Use functionp.
13900 (eshell-do-eval): Handle multiple expressions in `while' body.
13901
13902 2011-10-30 Chong Yidong <cyd@gnu.org>
13903
13904 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13905 instead of set-mark (Bug#9810).
13906
13907 2011-10-30 Chong Yidong <cyd@gnu.org>
13908
13909 * window.el (split-window-below, split-window-right): Rename from
13910 split-window-above-each-other and split-window-side-by-side
13911 respectively. All callers changed.
13912 (split-window-sensibly, split-window-sensibly): Use them.
13913 (split-window-keep-point): Doc fix.
13914
13915 * isearch.el: Add isearch-scroll property to split-window-below
13916 and split-window-right.
13917
13918 * follow.el (follow-mode):
13919 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13920 * progmodes/ada-xref.el (ada-gdb-application):
13921 * emulation/vip.el (vip-buffer-in-two-windows):
13922 * image-dired.el (image-dired-dired-with-window-configuration):
13923 * dired-x.el (dired-do-find-marked-files):
13924 * dired.el (dired-pop-to-buffer):
13925 * bs.el (bs--show-with-configuration):
13926 * vc/emerge.el (emerge-setup-windows):
13927 * textmodes/two-column.el (2C-two-columns):
13928 * textmodes/reftex-toc.el (reftex-toc):
13929 * progmodes/gdb-mi.el (gdb-setup-windows):
13930 * progmodes/fortran.el (fortran-window-create):
13931 * net/newst-treeview.el (newsticker--treeview-window-init):
13932 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13933 * emulation/tpu-edt.el (tpu-gold-map):
13934 * emulation/crisp.el (crisp-mode-map):
13935 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13936
13937 2011-10-29 Chong Yidong <cyd@gnu.org>
13938
13939 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13940
13941 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13942
13943 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13944 forged Ispell output (Bug#7904).
13945
13946 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13947
13948 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13949
13950 * doc-view.el: Avoid ugly errors about not finding nil.
13951 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13952 (doc-view-dvipdf-program, doc-view-unoconv-program)
13953 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13954 Avoid nil or absolute file name as default value.
13955 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13956
13957 2011-10-28 Alan Mackenzie <acm@muc.de>
13958
13959 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13960
13961 2011-10-28 Alan Mackenzie <acm@muc.de>
13962
13963 Amend the handling of c-beginning/end-of-defun in nested declaration
13964 scopes.
13965
13966 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13967 cc-langs.el. Change it to a defcustom.
13968
13969 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13970 cc-vars.el.
13971
13972 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13973 Prevent "class foo : bar" being spuriously recognized as a label.
13974
13975 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13976 Add parameter `inclusive' (to include enclosing braces in the region).
13977 (c-widen-to-enclosing-decl-scope): New function.
13978 (c-while-widening-to-decl-block): New macro.
13979 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13980 outward for defun boundaries, and correspondingly change symbol
13981 `respect-enclosure' to `go-outward'.
13982 (c-declaration-limits): Change algorithm to report only the "innermost"
13983 defun's boundaries.
13984
13985 2011-10-28 Deniz Dogan <deniz@dogan.se>
13986
13987 * net/rcirc.el (rcirc-mode): Use hard newlines.
13988
13989 2011-10-28 Alan Mackenzie <acm@muc.de>
13990
13991 Amend to indent and fontify macros "which include their own semicolon"
13992 correctly, using the "virtual semicolon" mechanism.
13993
13994 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13995
13996 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13997 Recode to scan one line at a time rather than having \n and \r
13998 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13999 (c-forward-label): Amend for virtual semicolons.
14000 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
14001
14002 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14003 of the new C macros.
14004
14005 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
14006 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14007 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
14008 (c-opt-cpp-macro-define): Make into a full language variable.
14009 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14010 AWK Mode (including \n, \r) removed, no longer needed.
14011
14012 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14013 Invoke c-make-macro-with-semi-re.
14014
14015 * progmodes/cc-vars.el (c-macro-with-semi-re):
14016 (c-macro-names-with-semicolon): New variables.
14017 (c-make-macro-with-semi-re): New function.
14018
14019 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14020
14021 * vc/log-edit.el: Fill empty field rather than adding new one.
14022 (log-edit-add-field): New function.
14023 (log-edit-insert-changelog): Use it.
14024
14025 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14026
14027 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14028
14029 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14030
14031 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14032 (gdb--check-interpreter): New function.
14033 (gdb): Use it.
14034
14035 2011-10-27 Glenn Morris <rgm@gnu.org>
14036
14037 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14038 (least-positive-float, least-negative-float)
14039 (least-positive-normalized-float, least-negative-normalized-float)
14040 (float-epsilon, float-negative-epsilon):
14041 Remove unnecessary declarations.
14042
14043 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14044 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14045 (least-positive-float, least-negative-float)
14046 (least-positive-normalized-float, least-negative-normalized-float)
14047 (float-epsilon, float-negative-epsilon): Add doc-strings,
14048 based on those in cl.texi.
14049
14050 * files.el (set-visited-file-name): If the major-mode changed,
14051 reload the local variables. (Bug#9796)
14052
14053 2011-10-27 Chong Yidong <cyd@gnu.org>
14054
14055 * subr.el (change-major-mode-after-body-hook): New hook.
14056 (run-mode-hooks): Run it.
14057
14058 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14059 Use change-major-mode-before-body-hook.
14060
14061 * simple.el (fundamental-mode):
14062 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14063 change introducing fundamental-mode-hook.
14064
14065 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
14066
14067 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14068
14069 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
14070
14071 * ido.el (ido-file-name-all-completions-1): Do not require
14072 tramp.el explicitly. (Bug#7583)
14073
14074 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14075
14076 * progmodes/octave-mod.el:
14077 * progmodes/octave-inf.el: Update maintainer.
14078
14079 2011-10-26 Chong Yidong <cyd@gnu.org>
14080
14081 * subr.el (with-wrapper-hook): Rewrite doc.
14082
14083 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
14084
14085 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14086 filenames "/method:foo:". (Bug#9793)
14087
14088 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14089
14090 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14091 (bug#9865).
14092
14093 2011-10-24 Glenn Morris <rgm@gnu.org>
14094
14095 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14096
14097 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
14098
14099 * notifications.el: Add the requirement of a running D-Bus session
14100 bus to the Commentary.
14101
14102 2011-10-24 Juri Linkov <juri@jurta.org>
14103
14104 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14105 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14106 (Bug#9364)
14107
14108 2011-10-24 Juri Linkov <juri@jurta.org>
14109
14110 * info.el (Info-following-node-name-re): Add newline to the list
14111 of allowed characters for leading space. (Bug#9824)
14112
14113 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14114
14115 * progmodes/octave-inf.el (inferior-octave-mode-map):
14116 Fix C-c C-h binding.
14117 * progmodes/octave-mod.el (octave-help): Remove.
14118
14119 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
14120
14121 Sync with Tramp 2.2.3.
14122
14123 * net/tramp-cache.el (top): Pacify byte-compiler using
14124 `init-file-user' and `site-run-file'.
14125
14126 * net/trampver.el: Update release number.
14127
14128 2011-10-23 Chong Yidong <cyd@gnu.org>
14129
14130 * files.el (toggle-read-only): Remove obsolete comment about
14131 version control.
14132
14133 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14134 for toggle-read-only. Note that this hasn't called vc-next-action
14135 since 2008-05-02, though it wasn't documented at the time.
14136
14137 * vc/ediff-init.el (ediff-toggle-read-only-function):
14138 Use toggle-read-only.
14139
14140 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14141
14142 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14143 of c-parse-state.
14144
14145 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14146 correct faulty logical expression.
14147 (c-parse-state-state, c-record-parse-state-state):
14148 (c-replay-parse-state-state): New defvar/defuns.
14149 (c-debug-parse-state): Use new functions.
14150
14151 2011-10-22 Martin Rudalics <rudalics@gmx.at>
14152
14153 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14154 last fix. Use window-in-direction correctly.
14155
14156 2011-10-21 Chong Yidong <cyd@gnu.org>
14157
14158 * progmodes/idlwave.el (idlwave-mode):
14159 * progmodes/vera-mode.el (vera-mode): No need to set
14160 require-final-newline; that's done in prog-mode.
14161 Suggested by Stefan Monnier.
14162
14163 2011-10-21 Martin Rudalics <rudalics@gmx.at>
14164
14165 * mouse.el (mouse-drag-window-above)
14166 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14167 (mouse-drag-mode-line-1, mouse-drag-header-line)
14168 (mouse-drag-vertical-line-rightward-window): Remove.
14169 (mouse-drag-line): New function.
14170 (mouse-drag-mode-line, mouse-drag-header-line)
14171 (mouse-drag-vertical-line): Call mouse-drag-line.
14172 * window.el (window-at-side-p, windows-at-side): New functions.
14173
14174 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
14175
14176 * tar-mode.el (tar-grind-file-mode):
14177 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14178
14179 2011-10-21 Chong Yidong <cyd@gnu.org>
14180
14181 * progmodes/idlwave.el (idlwave-mode):
14182 * progmodes/vera-mode.el (vera-mode):
14183 Use mode-require-final-newline.
14184
14185 2011-10-20 Glenn Morris <rgm@gnu.org>
14186
14187 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
14188
14189 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14190
14191 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14192
14193 2011-10-20 Chong Yidong <cyd@gnu.org>
14194
14195 * emulation/cua-base.el (cua-mode):
14196 * mail/footnote.el (footnote-mode):
14197 * mail/mailabbrev.el (mail-abbrevs-mode):
14198 * net/xesam.el (xesam-minor-mode):
14199 * progmodes/bug-reference.el (bug-reference-mode):
14200 * progmodes/cap-words.el (capitalized-words-mode):
14201 * progmodes/compile.el (compilation-minor-mode)
14202 (compilation-shell-minor-mode):
14203 * progmodes/gud.el (gud-tooltip-mode):
14204 * progmodes/hideif.el (hide-ifdef-mode):
14205 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14206 * progmodes/subword.el (subword-mode):
14207 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14208 * progmodes/which-func.el (which-function-mode):
14209 * term/tvi970.el (tvi970-set-keypad-mode):
14210 * term/vt100.el (vt100-wide-mode):
14211 * textmodes/flyspell.el (flyspell-mode):
14212 * textmodes/ispell.el (ispell-minor-mode):
14213 * textmodes/nroff-mode.el (nroff-electric-mode):
14214 * textmodes/paragraphs.el (use-hard-newlines):
14215 * textmodes/refill.el (refill-mode):
14216 * textmodes/reftex.el (reftex-mode):
14217 * textmodes/rst.el (rst-minor-mode):
14218 * textmodes/sgml-mode.el (html-autoview-mode)
14219 (sgml-electric-tag-pair-mode):
14220 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14221 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14222 * emulation/crisp.el (crisp-mode):
14223 * emacs-lisp/eldoc.el (eldoc-mode):
14224 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14225 minor mode behavior.
14226
14227 2011-10-19 Juri Linkov <juri@jurta.org>
14228
14229 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14230 the list of hard-coded chars with escape-glyph face.
14231
14232 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14233
14234 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14235
14236 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
14237
14238 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14239 running process.
14240
14241 2011-10-19 Glenn Morris <rgm@gnu.org>
14242
14243 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14244 Ignore ignored files. (Bug#9726)
14245
14246 2011-10-19 Chong Yidong <cyd@gnu.org>
14247
14248 Doc fix for minor modes, stating that an omitted argument enables
14249 the mode unconditionally when called from Lisp.
14250
14251 * abbrev.el (abbrev-mode):
14252 * allout.el (allout-mode):
14253 * autoinsert.el (auto-insert-mode):
14254 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14255 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14256 (global-auto-revert-mode):
14257 * battery.el (display-battery-mode):
14258 * composite.el (global-auto-composition-mode)
14259 (auto-composition-mode):
14260 * delsel.el (delete-selection-mode):
14261 * desktop.el (desktop-save-mode):
14262 * dired-x.el (dired-omit-mode):
14263 * dirtrack.el (dirtrack-mode):
14264 * doc-view.el (doc-view-minor-mode):
14265 * double.el (double-mode):
14266 * electric.el (electric-indent-mode, electric-pair-mode):
14267 * emacs-lock.el (emacs-lock-mode):
14268 * epa-hook.el (auto-encryption-mode):
14269 * follow.el (follow-mode):
14270 * font-core.el (font-lock-mode):
14271 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14272 * help.el (temp-buffer-resize-mode):
14273 * hilit-chg.el (highlight-changes-mode)
14274 (highlight-changes-visible-mode):
14275 * hi-lock.el (hi-lock-mode):
14276 * hl-line.el (hl-line-mode, global-hl-line-mode):
14277 * icomplete.el (icomplete-mode):
14278 * ido.el (ido-everywhere):
14279 * image-file.el (auto-image-file-mode):
14280 * image-mode.el (image-minor-mode):
14281 * iswitchb.el (iswitchb-mode):
14282 * jka-cmpr-hook.el (auto-compression-mode):
14283 * linum.el (linum-mode):
14284 * longlines.el (longlines-mode):
14285 * master.el (master-mode):
14286 * mb-depth.el (minibuffer-depth-indicate-mode):
14287 * menu-bar.el (menu-bar-mode):
14288 * minibuf-eldef.el (minibuffer-electric-default-mode):
14289 * mouse-sel.el (mouse-sel-mode):
14290 * msb.el (msb-mode):
14291 * mwheel.el (mouse-wheel-mode):
14292 * outline.el (outline-minor-mode):
14293 * paren.el (show-paren-mode):
14294 * recentf.el (recentf-mode):
14295 * reveal.el (reveal-mode, global-reveal-mode):
14296 * rfn-eshadow.el (file-name-shadow-mode):
14297 * ruler-mode.el (ruler-mode):
14298 * savehist.el (savehist-mode):
14299 * scroll-all.el (scroll-all-mode):
14300 * scroll-bar.el (scroll-bar-mode):
14301 * server.el (server-mode):
14302 * shell.el (shell-dirtrack-mode):
14303 * simple.el (auto-fill-mode, transient-mark-mode)
14304 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14305 (line-number-mode, column-number-mode, size-indication-mode)
14306 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14307 * strokes.el (strokes-mode):
14308 * time.el (display-time-mode):
14309 * t-mouse.el (gpm-mouse-mode):
14310 * tool-bar.el (tool-bar-mode):
14311 * tooltip.el (tooltip-mode):
14312 * type-break.el (type-break-mode-line-message-mode)
14313 (type-break-query-mode):
14314 * view.el (view-mode):
14315 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14316 (global-whitespace-mode, global-whitespace-newline-mode):
14317 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14318
14319 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14320 Fix autogenerated docstring.
14321
14322 2011-10-19 Juri Linkov <juri@jurta.org>
14323
14324 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14325 by checking environment variables "DESKTOP_SESSION" and
14326 "XDG_CURRENT_DESKTOP". (Bug#9779)
14327
14328 2011-10-19 Juri Linkov <juri@jurta.org>
14329
14330 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14331 (browse-url-chromium-program, browse-url-chromium-arguments):
14332 New defcustoms.
14333 (browse-url-default-browser): Check for `browse-url-chromium' and
14334 call `browse-url-chromium-program'.
14335 (browse-url-chromium): New command. (Bug#9779)
14336
14337 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
14338
14339 * facemenu.el (list-colors-duplicates): On Windows, detect more
14340 duplicates by assuming that only colors matching "^System" are
14341 special "system colors". (Bug#9722)
14342
14343 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14344
14345 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14346 to distinguish the author from the committer.
14347
14348 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
14349
14350 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14351
14352 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14353
14354 * international/mule.el (sgml-html-meta-auto-coding-function):
14355 Add support for detecting encoding in HTML5 specified only as
14356 <meta charset="UTF-8">. Implementation just makes http-equiv and
14357 content-type parts from HTML4 encoding string optional. (Bug#9716)
14358
14359 2011-10-18 Glenn Morris <rgm@gnu.org>
14360
14361 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14362
14363 2011-10-18 Chong Yidong <cyd@gnu.org>
14364
14365 * faces.el (cursor): Doc fix.
14366
14367 2011-10-17 Chong Yidong <cyd@gnu.org>
14368
14369 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14370
14371 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
14372
14373 * dirtrack.el (dirtrack): Support shell buffers with path
14374 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14375
14376 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14377
14378 * json.el: Bump version to 1.3 and note change in History.
14379 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14380
14381 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14382
14383 * comint.el (comint-insert-input, comint-send-input)
14384 (comint-get-old-input-default, comint-backward-matching-input)
14385 (comint-next-prompt): Use nil instead of `input' for field property of
14386 past user input (bug#114).
14387
14388 * minibuffer.el (completion--replace): Inherit surrounding properties
14389 (bug#114).
14390 (minibuffer-complete-and-exit): Use it.
14391
14392 * comint.el (comint--table-subvert): Quote the all-completions output
14393 (bug#9160).
14394
14395 2011-10-17 Martin Rudalics <rudalics@gmx.at>
14396
14397 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14398
14399 * menu-bar.el (menu-bar-file-menu): Add entry for making new
14400 window on right of selected. (Bug#9350) Reword other window
14401 entries and separate them from frame entries.
14402
14403 2011-10-15 Glenn Morris <rgm@gnu.org>
14404
14405 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14406 Doc fixes.
14407
14408 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
14409
14410 * net/network-stream.el (network-stream-open-starttls):
14411 Improve detection of failure due to lack of TLS support.
14412
14413 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14414 putting the input text in front and in bold.
14415
14416 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14417
14418 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14419
14420 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14421 empty buffer.
14422
14423 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14424 unread-command-events rather than pushing yet-another event.
14425
14426 2011-10-14 Eli Zaretskii <eliz@gnu.org>
14427
14428 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14429 the explanation of the possible choices. Make the options passed
14430 to completing-read shorter.
14431
14432 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14433
14434 * textmodes/flyspell.el (flyspell-large-region): Make sure
14435 extended character mode is used if defined (Bug#1339).
14436
14437 2011-10-13 Eli Zaretskii <eliz@gnu.org>
14438
14439 * simple.el (what-cursor-position): Fix the display of the
14440 character info for LRE, LRO, RLE, and RLO characters by appending
14441 an invisible PDF.
14442
14443 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14444
14445 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14446 even in case of error; add debug spec; simplify data flow.
14447 (with-timeout-handler): Remove.
14448
14449 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
14450
14451 Fix Bug#6019, Bug#9315.
14452
14453 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14454 complete `buffer-file-name', the local file name part could look
14455 remotely (for example on VMS).
14456
14457 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14458 `tramp-run-real-handler'.
14459 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14460 already quoted by '"'.
14461
14462 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14463 Let `file-name-handler-alist' be nil, the local file name part
14464 could look remotely (for example on VMS).
14465
14466 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14467
14468 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14469 from here...
14470 (flyspell-post-command-hook): ...to here.
14471
14472 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14473
14474 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14475 if not needed.
14476 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14477 using completion. Protect against "slow" callers.
14478 Remove the "message hack".
14479
14480 2011-10-11 Juri Linkov <juri@jurta.org>
14481
14482 * isearch.el (isearch-lazy-highlight-word): New variable.
14483 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14484 Use it. (Bug#9727)
14485
14486 2011-10-11 Glenn Morris <rgm@gnu.org>
14487
14488 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14489 like f90-previous-statement does.
14490
14491 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14492
14493 * eshell/eshell.el (eshell-command): History should be saved
14494 only in interactive use, to avoid error.
14495
14496 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14497
14498 * minibuffer.el (completion-file-name-table): Fix last change,
14499 i.e. ignore normal errors but not the other ones.
14500
14501 2011-10-10 Martin Rudalics <rudalics@gmx.at>
14502
14503 * window.el (special-display-buffer-names)
14504 (special-display-regexps): Remove some remnants of earlier
14505 changes from doc-strings.
14506 (quit-windows-on): New function.
14507
14508 * vc/vc.el (vc-revert, vc-rollback):
14509 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14510 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
14511 (Bug#6183) (Bug#7074) (Bug#7447)
14512
14513 2011-10-09 Martin Rudalics <rudalics@gmx.at>
14514
14515 * window.el (frame-auto-hide-function): Add version tag.
14516 (Bug#9699)
14517
14518 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
14519
14520 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14521 condition.
14522
14523 2011-10-09 Leo Liu <sdl.web@gmail.com>
14524
14525 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14526 (Bug#9701)
14527
14528 2011-10-08 Glenn Morris <rgm@gnu.org>
14529
14530 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14531 before the first code statement zero indent. (Bug#9690)
14532
14533 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
14534
14535 * simple.el (count-words-region): Always count in the region.
14536 Report the number of lines and characters too.
14537 (count-words): New command, which counts in the buffer if the
14538 region is inactive, as count-words-region used to.
14539 (count-words--message): New function. Handle plurals.
14540 (count-lines-region): Make it an alias for count-words-region.
14541
14542 * bindings.el (esc-map): Replace count-lines-region with
14543 count-words-region.
14544
14545 2011-10-08 Martin Rudalics <rudalics@gmx.at>
14546
14547 * window.el (window--delete): Delete dedicated frame
14548 unconditionally when argument KILL is non-nil. (Bug#9699)
14549 (switch-to-buffer): Fix doc-string typo.
14550
14551 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14552
14553 * eshell/eshell.el (eshell-command): Avoid using hooks.
14554
14555 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
14556
14557 * bindings.el ([M-left],[M-right]): Bind to left-word and
14558 right-word respectively.
14559
14560 2011-10-07 Glenn Morris <rgm@gnu.org>
14561
14562 * cus-start.el (debug-on-quit): Fix custom type.
14563
14564 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14565
14566 * subr.el (define-key-after): Clarify that the function is not
14567 useful for non-menu keymaps.
14568
14569 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14570
14571 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14572
14573 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14574 in current minibuffer (Fix bug with recursive minibuffers).
14575
14576 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
14577
14578 * progmodes/gdb-mi.el (gdb): Doc fix.
14579
14580 2011-10-05 Martin Rudalics <rudalics@gmx.at>
14581
14582 * window.el (frame-auto-hide-function): New option replacing
14583 frame-auto-delete. Suggested by Stefan Monnier.
14584 (window--delete): Call frame-auto-hide-function instead of
14585 investigating frame-auto-delete.
14586 (window-point-1, set-window-point-1): New functions.
14587 (window-in-direction, record-window-buffer, window-state-get-1)
14588 (display-buffer-record-window): Use window-point-1 instead of
14589 window-point.
14590 (set-window-buffer-start-and-point): Use set-window-point-1.
14591
14592 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14593
14594 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14595
14596 2011-10-05 Glenn Morris <rgm@gnu.org>
14597
14598 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14599 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14600
14601 2011-10-05 Leo Liu <sdl.web@gmail.com>
14602
14603 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14604 works with buffer object.
14605
14606 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14607
14608 * mpc.el (mpc-tool-bar-map): Add labels.
14609
14610 2011-10-04 Glenn Morris <rgm@gnu.org>
14611
14612 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14613
14614 2011-10-04 Martin Rudalics <rudalics@gmx.at>
14615
14616 * window.el (window--delete): New function.
14617 (frame-auto-delete): Resuscitate option.
14618 (bury-buffer, replace-buffer-in-windows)
14619 (quit-window): Rewrite using window--delete.
14620 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14621 Pass display-buffer-mark-dedicated to window--display-buffer-2
14622 (Bug#9639).
14623
14624 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14625
14626 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14627 returns a list (bug#9554). Add remote file name completion.
14628 * comint.el (comint--table-subvert): Curry and get quote&unquote
14629 functions as arguments.
14630 (comint--complete-file-name-data): Adjust call accordingly.
14631 * pcomplete.el (pcomplete--table-subvert): Remove.
14632 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14633
14634 * minibuffer.el (completion-table-case-fold): Use currying.
14635 (completion--styles-type, completion--cycling-threshold-type):
14636 New constants.
14637 (completion-styles, completion-category-overrides)
14638 (completion-cycle-threshold): Use them.
14639 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14640 completion-table-case-fold.
14641
14642 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
14643
14644 * minibuffer.el (completion-category-overrides): Fix type of styles
14645 and add more user friendly tags (bug#9660).
14646
14647 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14648
14649 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14650 (mule-input-method-string): New widget.
14651 (default-input-method, language-info-custom-alist): Use it.
14652
14653 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14654
14655 * pcomplete.el: Require comint.
14656 (pcomplete--common-suffix): Remove.
14657 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14658 (pcomplete--table-subvert): Sync with comint--table-subvert.
14659 (pcomplete--entries): Use comint-completion-file-name-table.
14660 * comint.el (comint-unquote-filename): Simplify.
14661 (comint-completion-file-name-table): New function (bug#9616).
14662 (comint--complete-file-name-data): Use it.
14663
14664 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14665 (pcmpl-gnu-tar-buffer): Remove.
14666 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14667 around. Make sure pcomplete-suffix-list is only changed temporarily.
14668 Don't look inside the tar's file if it's too large.
14669
14670 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
14671
14672 * cus-edit.el (custom-mode-map):
14673 * epa.el (epa-key-list-mode-map):
14674 * man.el (Man-mode-map):
14675 * startup.el (splash-screen-keymap):
14676 * simple.el (special-mode-map): Use scroll-up-command and
14677 scroll-down-command.
14678
14679 * progmodes/idlw-help.el (idlwave-help-mode-map):
14680 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14681 * net/newst-plainview.el (newsticker-mode-map):
14682 * emulation/ws-mode.el (wordstar-mode-map):
14683 * emulation/vi.el (vi-com-map):
14684 * calc/calc-graph.el (calc-graph-show-dumb):
14685 * term/sun.el (terminal-init-sun):
14686 * term/ns-win.el (global-map):
14687 * progmodes/grep.el (grep-mode-map):
14688 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14689 * mail/rmail.el (rmail-mode-map):
14690 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14691
14692 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14693 custom-safe-themes as special.
14694
14695 2011-10-01 Julien Danjou <julien@danjou.info>
14696
14697 * notifications.el (notifications-notify): Fix docstring.
14698
14699 2011-10-01 Per Starbäck <per@starback.se>
14700
14701 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14702
14703 2011-09-30 Martin Rudalics <rudalics@gmx.at>
14704
14705 * startup.el (command-line-1): Fix last fix by inserting
14706 initial-scratch-message into *scratch* before displaying it.
14707 (Bug#9605) and (Bug#9636)
14708
14709 2011-09-29 Eli Zaretskii <eliz@gnu.org>
14710
14711 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14712 window is hscrolled, move by logical lines. (Bug#9607)
14713 (line-move-visual): Update the doc string to the above effect.
14714
14715 2011-09-29 Martin Rudalics <rudalics@gmx.at>
14716
14717 * window.el (display-buffer-record-window): When WINDOW is the
14718 selected window use `point' instead of `window-point'. (Bug#9626)
14719
14720 * startup.el (command-line-1): Use insert-before-markers when
14721 inserting initial-scratch-message. (Bug#9605)
14722
14723 * help.el (help-window): Remove variable.
14724
14725 2011-09-29 Glenn Morris <rgm@gnu.org>
14726
14727 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14728
14729 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
14730
14731 * descr-text.el (describe-char-categories): Accept category
14732 descriptions more than one line long.
14733
14734 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14735
14736 * simple.el (delete-trailing-whitespace): Fix last change.
14737
14738 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14739 Don't confuse "y => 3" as the beginning of a `y' operation.
14740
14741 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14742 object has more than 4 slots (bug#9613).
14743
14744 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
14745
14746 * subr.el (with-output-to-temp-buffer):
14747 * net/quickurl.el (quickurl, quickurl-browse-url):
14748 Fix typos in docstrings.
14749
14750 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14751
14752 * minibuffer.el (completion-styles)
14753 (completion-category-overrides): Cross reference each other in doc
14754 strings.
14755
14756 2011-09-27 Glenn Morris <rgm@gnu.org>
14757
14758 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14759 to split-string. (Bug#9606)
14760
14761 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14762
14763 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14764 (bug#9615).
14765
14766 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
14767
14768 * emacs-lisp/package.el (list-packages): Fix echo area message.
14769
14770 2011-09-27 Leo Liu <sdl.web@gmail.com>
14771
14772 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14773
14774 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
14775
14776 * net/dbus.el (dbus-unregister-object): Don't release services for
14777 registered signals. (Bug#9581)
14778
14779 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14780
14781 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14782 function that picks between cfengine 2 and 3 support
14783 automatically. Update docs accordingly.
14784
14785 2011-09-22 Kenichi Handa <handa@m17n.org>
14786
14787 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14788 ZERO.
14789 (indian-itrans-v5-table-for-tamil): New variable.
14790 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14791
14792 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14793
14794 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14795 that's true if the current command involved collapsing of text.
14796 It's reset to false at the beginning of the next command.
14797 (allout-post-command-business): Move the cursor to the beginning
14798 of entry if the cursor is hidden and collapsing activity just
14799 happened.
14800
14801 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
14802
14803 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14804 tracking (Bug#9541).
14805
14806 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
14807
14808 * net/newst-reader.el (newsticker-html-renderer)
14809 (newsticker-show-news): Automatically load html rendering package
14810 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14811 because w3m-fill-column is let-bound" and the error "Symbol's value
14812 as variable is void: w3m-fill-column".
14813
14814 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
14815
14816 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14817 Release services only if they are defined. (Bug#9581)
14818
14819 2011-09-23 Richard Stallman <rms@gnu.org>
14820
14821 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14822 distinguish start of paragraph from start of its text.
14823
14824 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14825
14826 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14827 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14828 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14829
14830 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14831
14832 * international/mule-diag.el (mule-diag): Insert a newline after
14833 each fontset description.
14834
14835 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14836
14837 * simple.el (delete-trailing-whitespace):
14838 Document last change; simplify.
14839
14840 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14841
14842 * simple.el (delete-trailing-whitespace): Also delete
14843 extra newlines at the end of the buffer.
14844
14845 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14846 (picture-newline): Use forward-line so as to ignore fields.
14847
14848 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14849
14850 * subr.el (with-wrapper-hook): Fix edebug spec.
14851
14852 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14853
14854 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14855 (bug#4538).
14856
14857 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14858
14859 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14860 Fix nasty bug using wrong cached values.
14861
14862 2011-09-23 Alan Mackenzie <acm@muc.de>
14863
14864 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14865
14866 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14867
14868 * window.el (pop-to-buffer): Ensure right window is selected if we
14869 chose another frame.
14870
14871 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14872
14873 * simple.el (what-cursor-position): Use get-char-property-change
14874 and next-single-char-property-change, to be able to show display
14875 properties that come from overlays as well as text properties.
14876
14877 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14878
14879 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14880
14881 * cmuscheme.el (run-scheme, switch-to-scheme):
14882 * cus-edit.el (customize-group, custom-buffer-create)
14883 (customize-browse):
14884 * info.el (info):
14885 * shell.el (shell):
14886 * mail/sendmail.el (mail):
14887 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14888
14889 2011-09-22 Richard Stallman <rms@gnu.org>
14890
14891 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14892 move back only to line beg, don't move back over blank lines.
14893
14894 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14895
14896 * files.el (copy-directory): Set directory attributes only in case
14897 they could be retrieved from the source directory. (Bug#9565)
14898
14899 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14900
14901 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14902 (hs-find-block-beginning, hs-hide-level-recursive):
14903 Ignore strings as well as comments. (Bug#9502)
14904
14905 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14906
14907 * progmodes/sql.el (sql-comint-postgres):
14908 Convert port number to a string. (Bug#9566)
14909
14910 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14911
14912 * window.el (quit-window): Undedicate window when switching to
14913 previous buffer. Reported by Thierry Volpiatto
14914 <thierry.volpiatto@gmail.com>.
14915 (special-display-popup-frame): When popping up a new frame reset
14916 its previous buffers to nil. Simplify code.
14917
14918 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14919
14920 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14921 and process filter, as done also in `shell-command'.
14922
14923 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14924
14925 * window.el (set-window-buffer-start-and-point):
14926 Call set-window-start with NOFORCE argument t.
14927 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14928 (quit-window): Reword doc-string. Handle new format of
14929 quit-restore parameter. Don't delete window if it has a
14930 previous buffer we can show instead of the present one.
14931 (display-buffer-record-window): Rewrite using a new format for
14932 the quit-restore window parameter
14933 (special-display-popup-frame, display-buffer-same-window)
14934 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14935 (display-buffer-pop-up-window, display-buffer-use-some-window):
14936 Adapt symbol passed to display-buffer-record-window.
14937 * help.el (help-window-setup): Handle new format of quit-restore
14938 parameter.
14939
14940 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14941
14942 * faces.el (face-list): Fix docstring (bug#9564).
14943
14944 * window.el (display-buffer--action-function-custom-type):
14945 Don't include internal functions in the Custom interface.
14946
14947 2011-09-20 Juri Linkov <juri@jurta.org>
14948
14949 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14950 (Info-forward-node, Info-backward-node, Info-next-preorder)
14951 (Info-last-preorder): Use it. (Bug#9528)
14952
14953 2011-09-20 Juri Linkov <juri@jurta.org>
14954
14955 * info.el (Info-last-preorder): Visit last menu item only when
14956 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14957
14958 2011-09-20 Julien Danjou <julien@danjou.info>
14959
14960 * password-cache.el (password-cache-remove): Remove entries even if the
14961 value is nil, so that password with a nil value (negative caching) is
14962 possible to invalidate.
14963
14964 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14965
14966 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14967 all whitespace around breakpoint. (Bug#9553)
14968 (f90-find-breakpoint): Only break at whitespace inside a comment.
14969
14970 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14971
14972 * minibuffer.el (completion-file-name-table): Keep track of errors.
14973 (completion-table-with-predicate): Handle the case where pred1 is nil.
14974 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14975
14976 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14977
14978 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14979 (debugger-return-value): Signal an error if the debugging context does
14980 not await any return value.
14981
14982 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14983 * image-mode.el (image-toggle-display-text)
14984 (image-toggle-display-image): Stay away from evil `intangible'.
14985
14986 2011-09-19 Leo Liu <sdl.web@gmail.com>
14987
14988 * replace.el (occur-revert-arguments): Make it permanent-local.
14989 (occur-mode): Don't call font-lock-defontify.
14990
14991 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14992
14993 * net/ldap.el (ldap-search-internal): Don't push empty search
14994 result (Bug#9508).
14995
14996 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14997
14998 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14999
15000 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
15001
15002 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15003 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15004
15005 2011-09-18 Juri Linkov <juri@jurta.org>
15006
15007 * buff-menu.el (Buffer-menu-mode-map):
15008 * dired.el (dired-mode-map):
15009 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15010 (lisp-interaction-mode-map):
15011 * emacs-lisp/package.el (package-menu-mode-map):
15012 * epa.el (epa-key-list-mode-map):
15013 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15014 (menu-bar-options-menu):
15015 * outline.el (outline-mode-menu-bar-map):
15016 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15017 * vc/vc-dir.el (vc-dir-menu-map):
15018 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15019 Capitalize non-function content words in menu item strings.
15020
15021 * dired.el (dired-mode-map): Add menu item for
15022 `image-dired-dired-toggle-marked-thumbs'.
15023
15024 2011-09-18 Juri Linkov <juri@jurta.org>
15025
15026 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15027 to `isearch-case-fold-search' and restore its original value
15028 after the `isearch-mode' call.
15029
15030 2011-09-18 Juri Linkov <juri@jurta.org>
15031
15032 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15033 because `zgrep' returns 1 for successful matches (bug#9226).
15034
15035 2011-09-18 Juri Linkov <juri@jurta.org>
15036
15037 * info.el (Info-extract-menu-node-name): Check the second match
15038 for empty string (second test-case of bug#9528).
15039 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15040 intermediate nodes to the history (first test-case of bug#9528).
15041
15042 2011-09-18 Juri Linkov <juri@jurta.org>
15043
15044 * info.el (Info-mode-syntax-table): New variable.
15045 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15046
15047 2011-09-18 Juri Linkov <juri@jurta.org>
15048
15049 * info.el (Info-file-supports-index-cookies):
15050 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15051 outputs one more line for long file names (bug#4142).
15052
15053 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15054
15055 * newcomment.el (comment-normalize-vars): If prompting for
15056 comment-start, set comment-start-skip too (Bug#8424).
15057
15058 2011-09-18 Johan Bockgård <bojohan@gnu.org>
15059
15060 * icomplete.el: Fix previous fix of Bug#5849.
15061 (icomplete-mode): Don't set completion-show-inline-help.
15062 (icomplete-minibuffer-setup): Set completion-show-inline-help
15063 locally during icompletion.
15064
15065 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15066
15067 * woman.el (woman2-process-escapes): Don't delete unrecognized
15068 escapes (Bug#7843).
15069
15070 * files.el (inhibit-first-line-modes-regexps): Add image files.
15071 (hack-local-variables-prop-line): Return nil for malformed
15072 prop-lines (Bug#9044).
15073
15074 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
15075
15076 * net/tramp.el (top): Don't require 'shell.
15077 (tramp-methods): Fix docstring.
15078 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15079 Return complete remote file name. Handle "smb" case.
15080 Use `tramp-tmpdir', if defined for the respective method.
15081 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15082
15083 * net/tramp-compat.el (top): Require 'shell.
15084
15085 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15086 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15087 `tramp-current-host'.
15088 (tramp-get-remote-tmpdir): Remove.
15089
15090 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15091 `tramp-tmpdir' entries.
15092 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15093 (tramp-smb-handle-file-attributes): Ignore errors.
15094 (tramp-smb-wait-for-output): Check also for process end.
15095
15096 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15097
15098 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15099 when sending QUIT (bug#9312).
15100
15101 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
15102
15103 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15104 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15105 occur-mode-display-occurrence.
15106 (occur-edit-mode): Add usage message.
15107 (occur-cease-edit): New command.
15108 (occur-after-change-function): Use text properties to find the
15109 position of the prefix text.
15110 (occur-engine): Set stickiness of prefix text properties.
15111
15112 2011-09-17 Glenn Morris <rgm@gnu.org>
15113
15114 * progmodes/etags.el (complete-tag):
15115 Fix call to completion-in-region. (Bug#9526)
15116
15117 2011-09-17 Juri Linkov <juri@jurta.org>
15118
15119 * textmodes/ispell.el (ispell-word): Add to the error message
15120 the word, ispell program name and current dictionary (bug#9121).
15121 (ispell-tex-arg-end): Capitalize "error" in the error message.
15122
15123 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15124
15125 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15126 check. (Bug#4251)
15127
15128 2011-09-17 Juri Linkov <juri@jurta.org>
15129
15130 * window.el (window-safe-min-height, window-safe-min-width):
15131 Fix typos (followup to bug#9522).
15132
15133 2011-09-17 Sven Joachim <svenjoac@gmx.de>
15134
15135 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15136
15137 2011-09-16 Eli Zaretskii <eliz@gnu.org>
15138
15139 * simple.el (line-move): If goal-column is set, move by logical
15140 lines, not by display lines. (Bug#971)
15141 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15142 to reflect the above change.
15143
15144 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15145
15146 * image.el (imagemagick-register-types): Use regexp-opt.
15147
15148 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15149
15150 * window.el (display-buffer-base-action): Rename from
15151 display-buffer-default-action. Make default value empty.
15152 (display-buffer-overriding-action): Convert to defvar.
15153 (display-buffer-fallback-action): New var.
15154
15155 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15156
15157 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15158 declaration.
15159 (package--add-to-archive-contents): If there is a duplicate entry
15160 with an older version, remove it.
15161 (package-menu-mark-delete, package-menu-mark-install)
15162 (package-menu-mark-unmark): Make unused args optional.
15163 (package-menu-mark-obsolete-for-deletion):
15164 Use package-menu-get-status instead of a regexp search.
15165 (package-menu-get-status): Use tabulated-list-entry.
15166 (package-menu-mark-upgrades): New command.
15167 (package-menu-mode-map): Bind it to U. Add it to menu bar.
15168 (package-menu-execute): Do installation before deletion.
15169 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15170 instead of checking major-mode.
15171 (package-menu--find-upgrades): New function.
15172
15173 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15174
15175 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15176 passwords in the log buffer.
15177 (smtpmail-process-filter): Update the process marker so that the
15178 "broken by peer" status message is inserted in the right place.
15179
15180 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15181
15182 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15183 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15184 bibtex-completion-at-point-function.
15185 (bibtex-completion-at-point-function): Use them.
15186
15187 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15188
15189 * mpc.el (mpc-constraints-tag-lookup): New function.
15190 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15191 also to browser "album|playlist".
15192
15193 2011-09-14 Juri Linkov <juri@jurta.org>
15194
15195 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15196 (isearch-edit-string): Use length of `isearch-string' when
15197 `isearch-fail-pos' returns nil.
15198 (isearch-message): Remove duplicate code and call
15199 `isearch-fail-pos' with arg `t'.
15200
15201 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
15202
15203 * replace.el (occur-mode-goto-occurrence): Don't force using other
15204 window (Bug#9499).
15205
15206 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15207
15208 2011-09-14 Martin Rudalics <rudalics@gmx.at>
15209
15210 * window.el (display-buffer-window): Remove.
15211 (display-buffer-record-window): Use help-setup window parameter
15212 instead of variable display-buffer-window.
15213 (display-buffer-function, special-display-buffer-names)
15214 (special-display-function): Mention help-setup parameter instead
15215 of display-buffer-window in doc-string.
15216 * help.el (help-window-setup): New argument help-window.
15217 Use help-window-setup parameter instead of display-buffer-window.
15218 Reword some messages.
15219 (with-help-window): Pass window used for displaying the buffer
15220 to help-window-setup. Don't set display-buffer-window.
15221
15222 2011-09-13 Glenn Morris <rgm@gnu.org>
15223
15224 * emacs-lisp/debug.el (debugger-make-xrefs):
15225 Preserve point. (Bug#9462)
15226
15227 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15228
15229 * window.el (window-deletable-p): Use next-frame.
15230
15231 2011-09-13 Martin Rudalics <rudalics@gmx.at>
15232
15233 * window.el (window-auto-delete): Remove.
15234 (window-deletable-p): Remove argument FORCE. Don't deal with
15235 dedication and previous buffers.
15236 (switch-to-prev-buffer): Don't delete window.
15237 (delete-windows-on): Delete a window's frame if and only if the
15238 window is dedicated.
15239 (replace-buffer-in-windows): Delete buffer's window or frame if
15240 and only if window is dedicated.
15241 (quit-window): Handle quit-restore as before last change.
15242 (bury-buffer): Delete window only if window-deletable-p returns t.
15243
15244 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15245
15246 * window.el (window-deletable-p): Never delete the last frame on a
15247 given terminal.
15248
15249 2011-09-13 Glenn Morris <rgm@gnu.org>
15250
15251 * help.el (describe-key-briefly): Copy previous standard-output change.
15252
15253 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
15254
15255 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15256
15257 2011-09-13 Glenn Morris <rgm@gnu.org>
15258
15259 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15260 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15261
15262 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
15263
15264 * dired-aux.el (dired-mark-read-string): Don't return default
15265 value on empty input (Bug#9361).
15266 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15267 Omit initial minibuffer contents.
15268 (dired-do-chmod): Signal an error on empty input.
15269 (dired-mark-read-string): Don't return default on empty input.
15270
15271 * files.el (file-modes-symbolic-to-number): Doc fix.
15272
15273 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15274
15275 * international/mule-cmds.el (ucs-completions): Remove.
15276 (read-char-by-name): Use complete-with-action instead; add metadata.
15277
15278 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15279
15280 * window.el (display-buffer--action-function-custom-type)
15281 (display-buffer--action-custom-type): New vars.
15282 (display-buffer-alist, display-buffer-default-action)
15283 (display-buffer-overriding-action): Add defcustom types.
15284
15285 * frame.el (delete-other-frames): Doc fix (Bug#276).
15286
15287 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15288
15289 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15290
15291 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15292
15293 Change modes that used same-window-* vars to use switch-to-buffer.
15294
15295 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15296 Use switch-to-buffer.
15297
15298 * cus-edit.el (customize-group, custom-buffer-create)
15299 (customize-browse, custom-buffer-create-other-window):
15300 Use switch-to-buffer or switch-to-buffer-other-window.
15301
15302 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15303 (Info-prev, Info-up, Info-speedbar-goto-node)
15304 (info-display-manual): Use switch-to-buffer.
15305 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15306
15307 * mail/sendmail.el (mail): Use switch-to-buffer.
15308 (mail-recover): Use switch-to-buffer-other-window.
15309
15310 * cmuscheme.el (run-scheme, switch-to-scheme):
15311 * ielm.el (ielm):
15312 * shell.el (shell):
15313 * net/rlogin.el (rlogin):
15314 * net/telnet.el (telnet, rsh):
15315 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15316
15317 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15318
15319 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15320
15321 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15322
15323 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15324 so don't mention it (bug#9301).
15325 (dired-sort-toggle-or-edit): Clarify string further.
15326
15327 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15328 match `x', `w32' and `ns', like the manual says (bug#9029).
15329
15330 * subr.el (eval-after-load): Doc string clarification (bug#9125).
15331 (process-kill-buffer-query-function): Mention the buffer name in
15332 the query.
15333
15334 * image-mode.el (image-next-line): The line parameter is mandatory
15335 (bug#9258).
15336
15337 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15338 which can be useful (bug#9301).
15339
15340 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15341
15342 * subr.el (match-string): Mention that the current buffer should
15343 be the same as the search was done in (bug#9282).
15344
15345 * facemenu.el: Disable the remove-* commands if the mark isn't
15346 active (bug#9162).
15347
15348 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15349
15350 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15351 of display-buffer.
15352 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15353
15354 * replace.el (occur-mode-goto-occurrence)
15355 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15356 and display-buffer.
15357
15358 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15359 display-buffer.
15360
15361 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15362 special-display and same-window variables.
15363 (mail-other-window): Use switch-to-buffer-other-window.
15364 (mail-other-frame): USe switch-to-buffer-other-frame.
15365
15366 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15367 Use display-buffer-other-frame.
15368 (gdb-display-gdb-buffer): Use pop-to-buffer.
15369
15370 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15371
15372 * progmodes/python.el: Don't set same-window-buffer-names.
15373
15374 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15375
15376 * window.el (display-buffer-alist): Add *Python*.
15377
15378 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15379
15380 * window.el (display-buffer-alist): Add entry for buffers
15381 previously handled same-window-*.
15382 (display-buffer-alist, display-buffer-default-action)
15383 (display-buffer-overriding-action): Mark as risky.
15384 (display-buffer-alist): Document action function changes.
15385 (display-buffer--same-window-action)
15386 (display-buffer--other-frame-action): New variables.
15387 (switch-to-buffer, display-buffer-other-frame): Use them.
15388 (display-buffer): Rename reuse-frame entry to reusable-frames.
15389 (display-buffer-reuse-selected-window): Function deleted.
15390 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15391 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15392 (display-buffer-special): New function.
15393 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15394 display-buffer-reuse-or-pop-window. Split off special-display
15395 part into display-buffer-special.
15396 (display-buffer-use-some-window): Don't perform any special
15397 pop-up-frames handling.
15398 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15399 (display-buffer--maybe-same-window): Rename from
15400 display-buffer-maybe-same-window.
15401
15402 * info.el: Don't set same-window-regexps.
15403 (info-setup): New function.
15404 (info-other-window, info): Call it.
15405
15406 * cus-edit.el: Don't set same-window-regexps.
15407 (customize-group): New argument.
15408 (customize-group-other-window): Use it.
15409 (customize-face, customize-face-other-window): Likewise.
15410 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15411
15412 * net/rlogin.el:
15413 * net/telnet.el:
15414 * progmodes/gud.el: Don't set same-window-regexps.
15415
15416 * cmuscheme.el:
15417 * ielm.el:
15418 * shell.el:
15419 * mail/sendmail.el:
15420 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15421
15422 2011-09-10 Juri Linkov <juri@jurta.org>
15423
15424 * isearch.el (isearch-edit-string): Remove obsolete mention of
15425 `C-w' (`isearch-yank-word-or-char') from docstring.
15426 (isearch-query-replace): Fix typo in docstring (bug#9466).
15427
15428 2011-09-10 Juri Linkov <juri@jurta.org>
15429
15430 * paren.el (show-paren-function): Don't show escaped parens.
15431 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15432
15433 2011-09-10 Eli Zaretskii <eliz@gnu.org>
15434
15435 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15436 (mm-default-file-encoding): Remove autoload forms, they are
15437 replaced with autoload cookies in mml.el and mm-encode.el.
15438 (mail-add-attachment): New command.
15439 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15440 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15441 the doc string.
15442 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15443
15444 2011-09-10 Reuben Thomas <rrt@sc3d.org>
15445
15446 * simple.el (count-words-region): Use buffer if there's no region
15447 (bug#9429).
15448
15449 2011-09-09 Juri Linkov <juri@jurta.org>
15450
15451 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15452 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15453 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15454
15455 2011-09-09 Alan Mackenzie <acm@muc.de>
15456
15457 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15458 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15459
15460 2011-09-09 Eli Zaretskii <eliz@gnu.org>
15461
15462 Fix for Savannah bug#9392.
15463 * simple.el (mail-encode-mml): New defvar.
15464
15465 * mail/rmail.el (mail-encode-mml): Add a defvar.
15466 (rmail-enable-mime-composing): Default to t.
15467 (rmail-forward): Use MIME method of forwarding only if both
15468 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15469 Set mail-encode-mml non-nil if the MIME method was used.
15470
15471 * mail/sendmail.el (mml-to-mime): Add autoload form.
15472 (mail-encode-mml): Add a defvar.
15473 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15474 to nil.
15475 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15476 message through mml-to-mime, and reset mail-encode-mml to nil.
15477
15478 2011-09-09 Glenn Morris <rgm@gnu.org>
15479
15480 * woman.el (woman-if-body): When processing an .el block,
15481 do not delete the next .el block as well. (Bug#9447)
15482 (woman-special-characters): Add oq, cq, and hy characters.
15483
15484 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15485
15486 * window.el (window-deletable-p): Make sure window is live before
15487 invoking window-prev-buffers.
15488
15489 2011-09-08 Leo Liu <sdl.web@gmail.com>
15490
15491 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15492
15493 2011-09-08 Juri Linkov <juri@jurta.org>
15494
15495 * progmodes/compile.el (compilation-environment): Make it
15496 a defcustom (bug#8340).
15497
15498 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15499
15500 * window.el (frame-auto-delete): Rename to window-auto-delete.
15501 Make it control auto-deletion of windows and/or frames.
15502 (window-deletable-p): New argument FORCE. Rewrite conditions
15503 for deleting window/frame. (Bug#9419)
15504 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15505 Rewrite handling of case when window/frame can be deleted.
15506 (delete-windows-on): Call window-deletable-p with new FORCE
15507 argument t. (Bug#9456)
15508
15509 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
15510
15511 * help-mode.el (help-mode): Restore autoload.
15512
15513 2011-09-07 Juri Linkov <juri@jurta.org>
15514
15515 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15516 `compilation-environment'. Set buffer-local
15517 `compilation-environment' to `thisenv' later after (funcall mode).
15518 (Bug#8340)
15519
15520 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15521 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15522 instead of replacing its value. (Bug#8340)
15523
15524 2011-09-07 Juri Linkov <juri@jurta.org>
15525
15526 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15527 based on text properties put by `grep-filter' instead of matching
15528 escape sequences.
15529 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15530 to the value of `grep-error-screen-columns' (bug#9438).
15531
15532 2011-09-07 Juri Linkov <juri@jurta.org>
15533
15534 * simple.el (next-error-highlight, next-error-highlight-no-select):
15535 Doc fix (bug#9432).
15536
15537 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15538
15539 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15540 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15541
15542 2011-09-07 Leo Liu <sdl.web@gmail.com>
15543
15544 * net/rcirc.el (rcirc-mode): Conditionally initialize
15545 rcirc-input-ring.
15546
15547 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15548
15549 * emacs-lisp/find-func.el (find-function-C-source): Only set
15550 find-function-C-source-directory after checking that we found a source
15551 file there (bug#9440).
15552
15553 2011-09-06 Alan Mackenzie <acm@muc.de>
15554
15555 * isearch.el (isearch-other-meta-char): Wherever a key list is
15556 unread, "unread" the prefix arg, too. This fixes bug #8901.
15557
15558 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15559
15560 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15561
15562 2011-09-05 Juri Linkov <juri@jurta.org>
15563
15564 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15565
15566 2011-09-05 Juri Linkov <juri@jurta.org>
15567
15568 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15569 keeping point where processing of grep matches begins, and
15570 continue to delete remaining escape sequences from the same point.
15571 (grep-filter): Make leading zero optional in "0?1;31m" because
15572 git-grep emits "\033[1;31m" escape sequences unlike expected
15573 "\033[01;31m" as GNU Grep does (bug#9408).
15574 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15575
15576 2011-09-05 Juri Linkov <juri@jurta.org>
15577
15578 * subr.el (y-or-n-p): Capitalize "yes".
15579
15580 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
15581
15582 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15583 `tramp-cache-unload-hook' where appropriate.
15584 (tramp-methods): Rename `tramp-remote-sh' to
15585 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15586 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15587
15588 * net/tramp-sh.el (top): Don't require 'shell.
15589 (tramp-methods): Add `tramp-remote-shell' and
15590 `tramp-remote-shell-args' entries.
15591 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15592 (tramp-sh-handle-shell-command): Remove.
15593 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15594 Use `tramp-remote-shell'.
15595
15596 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
15597
15598 * mail/sendmail.el (sendmail-query-once-function): Delete.
15599 (sendmail-query-once): Save directly to send-mail-function.
15600 Update message-send-mail-function too.
15601
15602 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15603
15604 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15605
15606 * progmodes/python.el (python-mode-map): Use correct function to
15607 start python interpreter from menu-bar (as reported by Geert
15608 Kloosterman).
15609 (inferior-python-mode-map): Fix typo.
15610 (python-shell-map): Remove.
15611
15612 2011-09-03 Deniz Dogan <deniz@dogan.se>
15613
15614 * net/rcirc.el (rcirc-print): Simplify code for
15615 rcirc-scroll-show-maximum-output. There is no need to walk
15616 through all windows to find the right one.
15617
15618 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15619
15620 * help.el (help-return-method): Doc fix.
15621
15622 2011-09-03 Martin Rudalics <rudalics@gmx.at>
15623
15624 * window.el (window-deletable-p): Don't return a non-nil value
15625 when there's a buffer that was shown in the window before.
15626 (Bug#9419)
15627 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15628 Set window's previous buffers to nil.
15629
15630 2011-09-03 Eli Zaretskii <eliz@gnu.org>
15631
15632 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15633 newline before and after the tag line, so it doesn't interfere
15634 with determining the paragraph direction of bidirectional text.
15635
15636 2011-09-03 Leo Liu <sdl.web@gmail.com>
15637
15638 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15639
15640 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15641
15642 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15643 (pop-to-buffer): Change interactive spec. Pass second argument
15644 directly to display-buffer.
15645 (display-buffer): Fix interactive spec. Use functionp to
15646 distinguish between a function and a list of functions.
15647
15648 * abbrev.el (edit-abbrevs):
15649 * arc-mode.el (archive-extract):
15650 * autoinsert.el (auto-insert):
15651 * bookmark.el (bookmark-bmenu-list):
15652 * files.el (find-file):
15653 * view.el (view-buffer):
15654 * progmodes/compile.el (compilation-goto-locus):
15655 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15656
15657 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15658
15659 * window.el (display-buffer-alist): Doc fix.
15660 (display-buffer): Add docstring. Don't treat
15661 display-buffer-default specially.
15662 (display-buffer-reuse-selected-window)
15663 (display-buffer-same-window, display-buffer-maybe-same-window)
15664 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15665 (display-buffer-pop-up-window)
15666 (display-buffer-reuse-or-pop-window)
15667 (display-buffer-use-some-window): New functions.
15668 (display-buffer-default-action): Use them.
15669 (display-buffer-default): Delete.
15670 (pop-to-buffer-1): Fix choice of actions.
15671
15672 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15673
15674 * minibuffer.el (completion--insert-strings): Don't get confused by
15675 completion entries that end with an LF char.
15676
15677 2011-09-01 Eli Zaretskii <eliz@gnu.org>
15678
15679 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15680
15681 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
15682
15683 * window.el (display-buffer): Restore interactive spec.
15684 (display-buffer-same-window, display-buffer-other-window):
15685 New functions.
15686 (pop-to-buffer-1): New function. Use the above.
15687 (pop-to-buffer, pop-to-buffer-same-window): Use it.
15688 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15689
15690 * view.el (view-buffer-other-window, view-buffer-other-frame):
15691 Just use pop-to-buffer.
15692
15693 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15694
15695 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15696
15697 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15698
15699 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15700
15701 2011-08-31 Richard Stallman <rms@gnu.org>
15702
15703 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15704 of the separation of rmail-view-buffer from rmail-buffer.
15705 If you say no to "replace original", the decrypt is in the
15706 view buffer. If you say yes, the decrypt goes into the
15707 rmail buffer also.
15708
15709 2011-08-31 Martin Rudalics <rudalics@gmx.at>
15710
15711 * window.el (display-buffer-window): Rewrite doc-string.
15712 (display-buffer-record-window): New function.
15713 (display-buffer-macro-specifiers)
15714 (display-buffer-even-window-sizes, display-buffer-set-height)
15715 (display-buffer-set-width, display-buffer-in-window)
15716 (display-buffer-reuse-window, display-buffer-split-specifiers)
15717 (display-buffer-side-specifiers, display-buffer-split-window-1)
15718 (display-buffer-split-window, display-buffer-split-atom-window)
15719 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15720 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15721 (display-buffer-other-window-means-other-frame)
15722 (display-buffer-normalize-special)
15723 (display-buffer-normalize-default)
15724 (display-buffer-normalize-argument)
15725 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15726 (display-buffer-normalize-specifiers, display-buffer-frame)
15727 (display-buffer-same-window, display-buffer-same-frame)
15728 (display-buffer-other-window)
15729 (display-buffer-same-frame-other-window)
15730 (display-buffer-other-frame, pop-to-buffer-same-window)
15731 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15732 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15733 (switch-to-buffer-same-frame)
15734 (switch-to-buffer-other-window-same-frame)
15735 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15736 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15737 (display-buffer-alist-set): Remove.
15738 (display-buffer-function, special-display-buffer-names)
15739 (special-display-regexps, special-display-function):
15740 In doc-string refer to display-buffer-window and quit-restore
15741 parameter.
15742 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15743 (special-display-frame-alist, special-display-popup-frame)
15744 (same-window-buffer-names, same-window-regexps, same-window-p)
15745 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15746 (split-window-preferred-function, split-height-threshold)
15747 (split-width-threshold, window-splittable-p)
15748 (split-window-sensibly, window--try-to-split-window)
15749 (window--frame-usable-p, even-window-heights)
15750 (window--even-window-heights, window--display-buffer-1)
15751 (window--display-buffer-2, display-buffer-other-frame):
15752 Restore old Emacs 23 code, order and doc-strings where applicable.
15753 (display-buffer-default, display-buffer-assq-regexp): New functions.
15754 (display-buffer-alist): Rewrite doc-string.
15755 (display-buffer-default-action)
15756 (display-buffer-overriding-action): New variables.
15757 (display-buffer, switch-to-buffer): Rewrite.
15758 (pop-to-buffer): Restore Emacs 23 behavior but use
15759 window-normalize-buffer-to-display.
15760 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15761 Restore Emacs 23 behavior but use
15762 window-normalize-buffer-to-switch-to.
15763 (pop-to-buffer-same-window): Rewrite.
15764 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15765 Rewrite using Emacs 23 options.
15766
15767 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
15768
15769 * net/tramp.el (tramp-root-regexp): Remove.
15770 (tramp-completion-file-name-regexp-unified)
15771 (tramp-completion-file-name-regexp-separate)
15772 (tramp-completion-file-name-regexp-url): Don't use leading volume
15773 letter on w32 systems. (Bug#5303, Bug#9311)
15774 (tramp-drop-volume-letter): Simplify definition.
15775 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15776
15777 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15778
15779 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15780 (bug#9356).
15781
15782 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15783
15784 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15785
15786 2011-08-29 Juri Linkov <juri@jurta.org>
15787
15788 * isearch.el (isearch-done): Don't display message "Mark saved"
15789 when arg `edit' is non-nil to prevent its flicker in the echo area.
15790
15791 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15792
15793 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15794 obsolete packages for deletion.
15795
15796 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15797
15798 * help-mode.el (help-mode-map): Add special-mode-map to parent.
15799 (help-mode): Derive help-mode from special-mode. Don't invoke
15800 view-mode from help-mode.
15801 (help-xref-override-view-map): Remove.
15802 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15803 view-mode is not used anymore.
15804
15805 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15806
15807 * server.el (server-port): Doc fix.
15808
15809 * cus-theme.el (custom-theme-choose-mode): Inherit from
15810 special-mode (Bug#9124).
15811 (custom-theme-choose-mode-map): Add special-mode to parent.
15812
15813 2011-08-28 Alan Mackenzie <acm@muc.de>
15814
15815 * progmodes/cc-fonts.el
15816 (c-make-font-lock-BO-decl-search-function): New function.
15817 (c-basic-matchers-after - "Fontify the clauses after various
15818 keywords"): Extract the three keyword lists for the 3 erroneous
15819 constructs from the list of four, and use the new function above
15820 in place of an old one.
15821
15822 2011-08-28 Deniz Dogan <deniz@dogan.se>
15823
15824 * net/rcirc.el (rcirc-insert-prev-input)
15825 (rcirc-insert-next-input): Remove unused argument.
15826
15827 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15828
15829 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15830
15831 2011-08-27 Alan Mackenzie <acm@muc.de>
15832
15833 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15834 handle function pointer parameters properly.
15835
15836 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15837
15838 * window.el (display-buffer-reuse-window): Fix case where
15839 selected window was reused with non-nil OTHER-WINDOW argument.
15840 (Bug#9381)
15841
15842 2011-08-27 Deniz Dogan <deniz@dogan.se>
15843
15844 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15845 oftc's NickServ messages.
15846
15847 2011-08-27 Glenn Morris <rgm@gnu.org>
15848
15849 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15850
15851 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15852
15853 * emacs-lisp/package.el (package-install): Call package-initialize
15854 if called interactively.
15855
15856 2011-08-26 Leo Liu <sdl.web@gmail.com>
15857
15858 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15859
15860 2011-08-25 Juri Linkov <juri@jurta.org>
15861
15862 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15863 `search-whitespace-regexp' (bug#9364).
15864
15865 2011-08-25 Juri Linkov <juri@jurta.org>
15866
15867 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15868 `regexp-search-ring' to their global values to protect from
15869 updating by `read-from-minibuffer' (bug#9185).
15870
15871 2011-08-25 Juri Linkov <juri@jurta.org>
15872
15873 * textmodes/ispell.el (ispell-command-loop): Add newline
15874 at the end of the "Use option `i'..." line.
15875
15876 2011-08-25 Juri Linkov <juri@jurta.org>
15877
15878 * battery.el (display-battery-mode): If `battery-status-function'
15879 or `battery-mode-line-format' is nil, display the message and set
15880 `display-battery-mode' to nil (bug#9363).
15881
15882 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15883
15884 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15885 bidi-string-mark-left-to-right; they are unnecessary now.
15886
15887 2011-08-25 Deniz Dogan <deniz@dogan.se>
15888
15889 * net/quickurl.el: Documentation typo fixes.
15890
15891 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15892
15893 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15894
15895 2011-08-25 Glenn Morris <rgm@gnu.org>
15896
15897 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15898
15899 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15900 (smtpmail-via-smtp): Handle nil response from smtp.
15901
15902 2011-08-24 Juri Linkov <juri@jurta.org>
15903
15904 * proced.el (proced-marked): Inherit from `error' instead of
15905 `font-lock-warning-face'.
15906
15907 * ibuffer.el (ibuffer-marked-face): Change default face from
15908 `font-lock-warning-face' to `warning'.
15909 (ibuffer-deletion-face): Change default face from
15910 `font-lock-type-face' to `error'.
15911
15912 * battery.el (battery-update): Use the face `error' instead of
15913 `font-lock-warning-face' (bug#6117).
15914
15915 2011-08-24 Juri Linkov <juri@jurta.org>
15916
15917 * faces.el (success): Change face color from "Green3" to
15918 "ForestGreen" on light background (bug#9353).
15919
15920 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15921
15922 * window.el (quit-window): Rename from quit-restore-window.
15923 Use same arglist as old quit-window.
15924 (frame-auto-delete): Doc fix.
15925
15926 * view.el (view-mode-exit): Use quit-window.
15927
15928 2011-08-24 Juri Linkov <juri@jurta.org>
15929
15930 * isearch.el (isearch-ring-adjust1): Start visiting previous
15931 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15932 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15933 for empty search string (when the last search string is reused
15934 automatically) to adjust the isearch ring to the last element and
15935 prepare the correct index for further M-p commands (bug#9185).
15936
15937 2011-08-24 Kenichi Handa <handa@m17n.org>
15938
15939 * international/ucs-normalize.el: If decomposition property of
15940 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15941 nil.
15942 (nfd, nfkd): Likewise.
15943
15944 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15945
15946 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15947 from process filters aren't reliably transmitted to the surrounding
15948 accept-process-output.
15949 (mpc-proc-check): New function.
15950 (mpc-proc-sync): Use it (bug#8293)
15951
15952 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15953
15954 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15955 Add compatibility functions (bug#9313).
15956
15957 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15958
15959 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15960
15961 * international/uni-bidi.el: Regenerate.
15962
15963 2011-08-23 Kenichi Handa <handa@m17n.org>
15964
15965 * international/charprop.el:
15966 * international/uni-bidi.el:
15967 * international/uni-category.el:
15968 * international/uni-combining.el:
15969 * international/uni-comment.el:
15970 * international/uni-decimal.el:
15971 * international/uni-decomposition.el:
15972 * international/uni-digit.el:
15973 * international/uni-lowercase.el:
15974 * international/uni-mirrored.el:
15975 * international/uni-name.el:
15976 * international/uni-numeric.el:
15977 * international/uni-old-name.el:
15978 * international/uni-titlecase.el:
15979 * international/uni-uppercase.el: Regenerate.
15980
15981 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15982
15983 * help.el (help-window-setup): Fix message displayed when other
15984 window is reused. (Bug#9341)
15985
15986 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15987
15988 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15989 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15990
15991 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15992 Mark obsolete.
15993 * shell.el (shell-parse-pcomplete-arguments): New function.
15994 (shell-completion-vars): Use it instead (bug#9160).
15995
15996 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15997
15998 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15999 strings and comments (bug#9333).
16000
16001 * emacs-lisp/debug.el (debug-arglist): New function.
16002 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16003 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16004
16005 2011-08-22 Juri Linkov <juri@jurta.org>
16006
16007 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16008 Revert regexp that highlights output switches to its old
16009 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16010
16011 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16012 to check for empty output (bug#9226).
16013
16014 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
16015
16016 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16017 symbol-constituent as the default, as that stops font-lock from
16018 working properly (Bug#8843).
16019
16020 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16021
16022 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16023 `coding-system-for-*' around the process open call to avoid
16024 auth-source side effects.
16025 (smtpmail-try-auth-methods): Expand the secret password.
16026 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16027 probe hangs.
16028
16029 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16030
16031 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16032
16033 * emacs-lisp/find-func.el (find-function-noselect): New arg
16034 lisp-only.
16035
16036 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16037 signal an error for built-in functions (Bug#6664).
16038
16039 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16040
16041 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16042 (smtpmail-try-auth-methods): Use it.
16043
16044 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16045
16046 * font-lock.el (font-lock-fontify-region)
16047 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16048 (font-lock-default-unfontify-buffer)
16049 (font-lock-default-fontify-region)
16050 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16051
16052 * progmodes/compile.el (compilation-error-properties):
16053 Fix confusion between file struct and message struct (Bug#9319).
16054 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16055 `ant' regexp.
16056
16057 * net/browse-url.el (browse-url-firefox): Don't call
16058 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16059
16060 2011-08-20 Glenn Morris <rgm@gnu.org>
16061
16062 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16063
16064 * tutorial.el (tutorial--default-keys): Update some default bindings.
16065
16066 * files.el (hack-local-variables): Fully ignore case for "mode:".
16067
16068 2011-08-20 Alan Mackenzie <acm@muc.de>
16069
16070 Resolve invalid use of a regexp in regexp-opt.
16071
16072 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16073 detection for a java annotation.
16074
16075 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16076 detection for a java annotation.
16077
16078 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16079 handling for java.
16080 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16081
16082 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
16083
16084 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16085 (Bug#9274).
16086
16087 2011-08-20 Alan Mackenzie <acm@muc.de>
16088
16089 Fontify CPP expressions correctly when starting in the middle of
16090 such a construct. Mainly for when jit-lock etc. starts a chunk
16091 here.
16092
16093 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16094 variable.
16095 (c-make-font-lock-search-form): New function, extracted from
16096 c-make-font-lock-search-function.
16097 (c-make-font-lock-search-function): Use the above function.
16098 (c-make-font-lock-context-search-function): New function.
16099 (c-cpp-matchers): Enhance the preprocessor expression case with
16100 the above function
16101 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16102 which takes an expression.
16103
16104 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16105
16106 2011-08-20 Martin Rudalics <rudalics@gmx.at>
16107
16108 * window.el (display-buffer-reuse-window)
16109 (display-buffer-pop-up-window): Don't reuse or split a side
16110 window.
16111
16112 2011-08-19 Glenn Morris <rgm@gnu.org>
16113
16114 * files.el (hack-local-variables-prop-line, hack-local-variables):
16115 Downcase "Mode:". (Bug#9331)
16116
16117 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
16118
16119 * international/characters.el: Add L and R categories.
16120
16121 * subr.el (bidi-string-mark-left-to-right): Rename from
16122 string-mark-left-to-right. Use category search.
16123
16124 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16125
16126 2011-08-18 Juri Linkov <juri@jurta.org>
16127
16128 * faces.el (error, warning, success): New faces with definitions
16129 copied from old default values of `font-lock-warning-face',
16130 `compilation-warning', `compilation-info' (bug#6117).
16131
16132 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16133
16134 * progmodes/compile.el (compilation-error): Inherit from `error'.
16135 (compilation-warning): Inherit from `warning'.
16136 (compilation-info): Inherit from `success'.
16137
16138 * dired.el (dired-marked): Inherit from `warning'.
16139 (dired-flagged): Inherit from `error'.
16140
16141 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16142
16143 * mail/smtpmail.el (auth-source): Require to avoid problems with
16144 binding variables (bug#9298). Also clean up some unused
16145 autoloads.
16146
16147 * net/network-stream.el (network-stream-open-starttls):
16148 Support using starttls.el without using gnutls-cli.
16149
16150 2011-08-17 Juri Linkov <juri@jurta.org>
16151
16152 * progmodes/grep.el (rgrep): Handle the case when
16153 `grep-find-command' is a cons cell (bug#9278).
16154
16155 2011-08-17 Martin Rudalics <rudalics@gmx.at>
16156
16157 * window.el (display-buffer-pop-up-frame): Run frame creation
16158 function with BUFFER current (as special-display-popup-frame
16159 does). Reported by Drew Adams.
16160
16161 2011-08-17 Daiki Ueno <ueno@unixuser.org>
16162
16163 * epa-mail.el: Simplify GnuPG group expansion using
16164 epg-expand-group.
16165 (epa-mail-group-alist, epa-mail-group-modtime)
16166 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16167 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16168 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16169 Remove.
16170
16171 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
16172
16173 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16174
16175 2011-08-16 Alan Mackenzie <acm@muc.de>
16176
16177 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16178 Correct, to avoid the inside of macros.
16179
16180 2011-08-16 Richard Stallman <rms@gnu.org>
16181
16182 * epa-mail.el: Handle GnuPG group definitions.
16183 (epa-mail-group-alist, epa-mail-group-modtime)
16184 (epa-mail-gnupg-conf-file): New variables.
16185 (epa-mail-parse-groups, epa-mail-sync-groups)
16186 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16187 (epa-mail-expand-recipients): New functions.
16188 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16189
16190 * mail/rmail.el (rmail-epa-decrypt): New command.
16191
16192 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16193 Don't bind buffer-read-only, just inhibit-read-only.
16194 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16195 (epa-decrypt-armor-in-region): Make error message clearer.
16196
16197 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16198
16199 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16200 and "a2b" to "ab" for `prefix'.
16201
16202 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
16203
16204 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16205 filter groups.
16206 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16207 Fourquet (Bug#8804).
16208
16209 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
16210
16211 * startup.el (argi): Declare as global variable (bug#9275).
16212
16213 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
16214
16215 * subr.el (string-mark-left-to-right): Search the entire string
16216 for RTL script, not just the terminating character. Doc fix.
16217
16218 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16219
16220 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16221 New function.
16222 (js--regexp-literal, js-syntax-propertize-function): Remove.
16223 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16224 (js-mode-map): Don't rebind electric keys.
16225 (js-insert-and-indent): Remove.
16226 (js-mode): Setup electric-layout and electric-indent instead.
16227
16228 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16229
16230 2011-08-12 Daiki Ueno <ueno@unixuser.org>
16231
16232 * epa.el (epa-progress-callback-function): Fix the logic of
16233 displaying progress.
16234 * epa-file.el (epa-file-insert-file-contents): Make progress
16235 display more user-friendly.
16236 (epa-file-write-region): Ditto.
16237
16238 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
16239
16240 * subr.el (string-mark-left-to-right): New function.
16241
16242 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16243 Use string-mark-left-to-right.
16244 (list-buffers-noselect): Caller changed.
16245
16246 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16247 Use string-mark-left-to-right.
16248 (tabulated-list-print): Recenter after moving point.
16249
16250 2011-08-10 Juri Linkov <juri@jurta.org>
16251
16252 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16253 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16254 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16255
16256 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
16257
16258 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16259 (Bug#7554).
16260
16261 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
16262
16263 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16264 character. (Bug#6594)
16265
16266 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
16267
16268 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16269 (image-dired--with-db-file): New macro.
16270 (image-dired-write-tags, image-dired-remove-tag)
16271 (image-dired-create-gallery-lists, image-dired-write-comments)
16272 (image-dired-get-comment, image-dired-mark-tagged-files)
16273 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16274 (image-dired-gallery-generate): Use insert-file-contents.
16275
16276 * time.el (display-time-world-list, display-time-world-display):
16277 * time-stamp.el (time-stamp-string):
16278 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16279 set-time-zone-rule (Bug#7337).
16280
16281 2011-08-08 Daiki Ueno <ueno@unixuser.org>
16282
16283 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16284 (epg-error-to-string, epg-errors-to-string): New function.
16285 (epg-wait-for-completion): Reverse errors list.
16286 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16287 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16288 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16289 (epg-sign-keys, epg-generate-key-from-file)
16290 (epg-generate-key-from-string): Format errors by using
16291 epg-errors-to-string (bug#9255).
16292 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16293
16294 2011-08-07 Juri Linkov <juri@jurta.org>
16295
16296 * faces.el (list-faces-display): Remove extra angle bracket
16297 from `help-mode-map'.
16298
16299 * info.el (Info-history-toc-nodes): Doc fix.
16300
16301 * longlines.el (longlines-mode): Doc fix.
16302
16303 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16304
16305 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16306 of statements and in a few more cases (bug#9183).
16307
16308 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16309 New functions.
16310 (cl-transform-lambda): Use them (bug#9239).
16311
16312 2011-08-05 Martin Rudalics <rudalics@gmx.at>
16313
16314 * window.el (display-buffer-same-window)
16315 (display-buffer-same-frame, display-buffer-other-window)
16316 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16317 (pop-to-buffer-other-window)
16318 (pop-to-buffer-same-frame-other-window)
16319 (pop-to-buffer-other-frame): Make them defuns.
16320 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16321
16322 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16323
16324 * subr.el (make-composed-keymap): Move from C. Change calling
16325 convention, and improve docstring to bring attention to a subtle point.
16326 * minibuffer.el (completing-read-default): Adjust accordingly.
16327
16328 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
16329
16330 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16331 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16332
16333 * net/trampver.el: Update release number.
16334
16335 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16336
16337 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16338 "in" (bug#9190).
16339
16340 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16341
16342 * mail/sendmail.el (sendmail-query-once): Restore the current
16343 buffer after querying (bug#9074).
16344
16345 * dired.el (dired-flagged): Use different faces for marked and
16346 flagged files (bug#6117).
16347
16348 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16349 (bug#4433).
16350
16351 * ido.el (ido-mode): Switch off the message if called
16352 non-interactively.
16353
16354 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16355 before 587, since it appears that that's more likely to work for
16356 more people.
16357
16358 * cus-edit.el (custom-file): When running under emacs -q, always
16359 refuse to save the customizations, even if the .emacs file doesn't
16360 exist.
16361
16362 * info.el: Remove the `Info-beginning-of-buffer' function
16363 (bug#8325).
16364
16365 * net/network-stream.el (network-stream-open-starttls):
16366 Use `starttls-available-p' to see whether starttls.el can be used.
16367
16368 2011-08-01 Martin Rudalics <rudalics@gmx.at>
16369
16370 * window.el (display-buffer-in-window): Don't set dedicated status
16371 of window here (Bug#9215).
16372 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16373 (display-buffer-pop-up-side-window)
16374 (display-buffer-in-side-window): Set dedicated status of window here.
16375
16376 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16377
16378 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16379 before binding generated-autoload-file.
16380
16381 2011-08-01 Deniz Dogan <deniz@dogan.se>
16382
16383 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16384
16385 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
16386
16387 Sync with Tramp 2.2.2.
16388
16389 * net/trampver.el: Update release number.
16390
16391 2011-07-30 Juri Linkov <juri@jurta.org>
16392
16393 * dired-aux.el (dired-touch-initial): Remove function.
16394 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16395 current time, and `default' to the last modification time of the
16396 current marked file (bug#6887).
16397
16398 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16399
16400 * simple.el (goto-line): Use string-to-number to provide a
16401 numeric argument to read-number (bug#9163).
16402
16403 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
16404
16405 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16406 connection process, it could be nil.
16407
16408 2011-07-27 Leo Liu <sdl.web@gmail.com>
16409
16410 Simplify url handling in rcirc-mode.
16411
16412 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16413 (rcirc-browse-url-at-mouse): Remove.
16414 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16415
16416 2011-07-26 Alan Mackenzie <acm@muc.de>
16417
16418 Fontify bitfield declarations properly.
16419
16420 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16421 (c-symbol-chars): Now exported as a lang variable.
16422 (c-not-primitive-type-keywords): New lang variable.
16423
16424 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16425 QT keyword "more" to prevent "more slots: ...." being spuriously
16426 parsed as a bitfield declaration.
16427
16428 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16429 Refactor and enhance to handle bitfield declarations.
16430 (c-punctuation-in): New function.
16431 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16432 declarations properly.
16433
16434 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
16435
16436 * calendar/icalendar.el (icalendar--all-events): Take care of
16437 multiple vcalendars in a single file.
16438 (icalendar--convert-float-to-ical): Checkdoc fixes.
16439
16440 2011-07-25 Deniz Dogan <deniz@dogan.se>
16441
16442 * image.el (insert-image): Clarifying docstring.
16443
16444 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
16445
16446 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16447 `tramp-send-command-and-check' if there is no error.
16448 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16449
16450 2011-07-22 Alan Mackenzie <acm@muc.de>
16451
16452 Prevent cc-langs.elc being loaded at run time.
16453
16454 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16455 cc-langs.
16456
16457 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16458 "(require 'cc-langs)". Quote a form so it will evaluate at
16459 (cc-mode's) compilation time.
16460
16461 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
16462
16463 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16464 loading. (Bug#9114)
16465
16466 2011-07-21 Martin Rudalics <rudalics@gmx.at>
16467
16468 * window.el (display-buffer-pop-up-window)
16469 (display-buffer-pop-up-side-window)
16470 (display-buffer-in-side-window): Call display-buffer-set-height
16471 and display-buffer-set-width after setting the new window's
16472 buffer so `fit-window-to-buffer' and friends work on the right buffer.
16473
16474 2011-07-20 Sam Steingold <sds@gnu.org>
16475
16476 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16477 (etags-tags-included-tables): Call `convert-standard-filename' on
16478 the file names contained in TAGS so that windows Emacs can handle
16479 TAGS files created by cygwin ctags.
16480
16481 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16482
16483 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16484 which apparently didn't work.
16485
16486 2011-07-19 Roland Winkler <winkler@gnu.org>
16487
16488 * proced.el (proced-send-signal): For *Marked Processes* buffer
16489 put point at beginning of buffer.
16490
16491 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
16492
16493 * proced.el (proced-format): Make header lines align with the text
16494 (bug#1779).
16495
16496 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16497
16498 * view.el (view-buffer): Allow running in `special' modes if we're
16499 visiting a file (bug#8615).
16500
16501 2011-07-19 Martin Rudalics <rudalics@gmx.at>
16502
16503 * window.el (display-buffer-alist-of-strings-p)
16504 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16505 New functions.
16506 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16507 more accurately.
16508
16509 2011-07-18 Alan Mackenzie <acm@muc.de>
16510
16511 Fontify declarators properly when, e.g., a jit-lock chunk begins
16512 inside a declaration.
16513
16514 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16515
16516 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16517 New function.
16518 (c-complex-decl-matchers): Insert reference to
16519 c-font-lock-enclosing-decls.
16520
16521 * progmodes/cc-engine.el (c-backward-single-comment):
16522 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16523 to nil around calls to (forward-comment -1).
16524
16525 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16526
16527 * image.el (put-image): Doc typo fix.
16528
16529 * progmodes/etags.el (tags-search): Doc typo fix.
16530
16531 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16532 password if we get errors 550 to 554.
16533
16534 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16535
16536 * net/gnutls.el (gnutls-log-level): Remove.
16537
16538 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16539 indentation character (bug#6380).
16540
16541 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16542
16543 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16544 to clarify what the problem is (bug#4291).
16545
16546 * simple.el (current-kill): Clarify what
16547 `interprogram-paste-function' does (bug#7500).
16548 (auto-fill-mode): Document `auto-fill-function' in relation to
16549 `auto-fill-mode' (bug#2470).
16550
16551 2011-07-16 Lawrence Mitchell <wence@gmx.li>
16552
16553 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16554 method if slot is read-only (bug#9035).
16555
16556 2011-07-16 Martin Rudalics <rudalics@gmx.at>
16557
16558 * frame.el (select-frame-set-input-focus): New argument NORECORD.
16559 * window.el (pop-to-buffer): Select window used even if it was
16560 selected before, see discussion of (Bug#8615), (Bug#6954).
16561 Pass argument NORECORD on to select-frame-set-input-focus.
16562
16563 2011-07-15 Glenn Morris <rgm@gnu.org>
16564
16565 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
16566 Respect help-form.
16567
16568 2011-07-09 Lawrence Mitchell <wence@gmx.li>
16569
16570 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16571 (gnutls-negotiate): Use it.
16572
16573 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16574
16575 * net/gnutls.el (gnutls-negotiate):
16576 Upcase `gnutls-algorithm-priority'.
16577
16578 2011-07-15 Glenn Morris <rgm@gnu.org>
16579
16580 * jka-compr.el (jka-compr-verbose): Move from here...
16581 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16582 Add missing :version tag.
16583 * info.el: No need to require jka-compr when compiling.
16584
16585 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16586
16587 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16588 (gnutls-negotiate): Use it.
16589
16590 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16591
16592 * info.el (Info-beginning-of-buffer): New command.
16593 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16594 announcing `b' as the key (bug#8325).
16595 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16596
16597 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16598
16599 * international/mule-cmds.el
16600 (describe-specified-language-support): Make the error message
16601 clearer (bug#8905).
16602
16603 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16604
16605 * isearch.el (isearch-barrier): Add a doc string, since it's
16606 mentioned in a function doc string (bug#8678).
16607
16608 2011-07-15 Martin Rudalics <rudalics@gmx.at>
16609
16610 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16611 buffer argument (Bug#9083) and self-identifying label argument.
16612
16613 2011-07-15 Glenn Morris <rgm@gnu.org>
16614
16615 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16616
16617 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16618
16619 * man.el (Man-fontify-manpage): Fix message when formatting the
16620 man page (bug#7929).
16621
16622 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16623
16624 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16625 argument LRM; if non-nil, append an invisible LRM character to the
16626 buffer name.
16627 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16628 last argument non-nil, when formatting buffer names.
16629 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16630 paragraph direction.
16631
16632 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16633
16634 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16635 the man page name (bug#7929).
16636
16637 * image.el (put-image): Mention the `put-image' overlay property
16638 (bug#7834).
16639
16640 * scroll-bar.el (set-scroll-bar-mode): Mention that
16641 `scroll-bar-mode' lists the values (bug#7772).
16642
16643 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16644 command (bug#7729).
16645
16646 * rect.el (apply-on-rectangle): Return the point after the last
16647 operation.
16648 (string-rectangle): Go to the point after the last operation
16649 (bug#7522).
16650
16651 * printing.el (pr-toggle-region): Clarify the documentation
16652 slightly (bug#7493).
16653
16654 * time.el (display-time-update):
16655 Allow `display-time-mail-function' to return nil (bug#7158).
16656 Fix suggested by Detlev Zundel.
16657
16658 * vc/diff.el (diff): Clarify the order the file names are read
16659 (bug#7111).
16660
16661 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16662 the doc string (bug#7015).
16663
16664 * font-lock.el (font-lock-maximum-decoration): Mention what
16665 numeric levels mean (bug#6935).
16666
16667 * startup.el (initial-buffer-choice): Don't mention the `none'
16668 selection, which is against policy.
16669
16670 2011-07-14 Martin Rudalics <rudalics@gmx.at>
16671
16672 * window.el (display-buffer-normalize-special):
16673 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16674
16675 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16676
16677 * subr.el (version<, version<=, version=): Mention "-CVS" and
16678 "-12345" alpha version numbers.
16679
16680 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16681
16682 * bindings.el: Add advertised binding for set-mark-command
16683 (Bug#5772).
16684
16685 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16686
16687 * bindings.el (mode-line-other-buffer):
16688 * bookmark.el (bookmark-bmenu-2-window):
16689 * bs.el (bs-cycle-next, bs-cycle-previous):
16690 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16691 switch-to-buffer.
16692
16693 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16694 Delete.
16695
16696 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
16697
16698 * follow.el (follow-debug-message, follow-redisplay):
16699 * jka-cmpr-hook.el (with-auto-compression-mode):
16700 Fix typos in docstrings.
16701
16702 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16703
16704 * subr.el (with-silent-modifications): Clarify somewhat what the
16705 macro inhibits (bug#6525).
16706
16707 * simple.el (eval-expression): Note what it does if called
16708 interactively (bug#6495).
16709
16710 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16711
16712 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16713 Use pop-to-buffer buffer-or-name if it is nil.
16714
16715 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16716 Remove switch-to-buffer.
16717
16718 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16719
16720 * files.el (make-directory): Clarify that an error will be raised
16721 if there's an error (bug#6397).
16722
16723 * startup.el (initial-buffer-choice): Add `none' as a choice
16724 (bug#6234).
16725
16726 * subr.el (add-hook): Clarify section about buffer-local hooks
16727 (bug#6218).
16728
16729 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16730
16731 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16732
16733 * tabify.el (untabify): Preserve the current column so that point
16734 doesn't move (bug#6032).
16735
16736 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16737
16738 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16739 Rewrite to avoid awkward possessive "s" (bug#5986).
16740
16741 2011-07-13 Glenn Morris <rgm@gnu.org>
16742
16743 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16744 (dired-insert-directory): Give a message the first time
16745 if ls is found not to support --dired.
16746
16747 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16748
16749 * simple.el (toggle-truncate-lines): Clarify what is toggled
16750 (bug#5580). Text by Drew Adams.
16751
16752 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16753
16754 * simple.el (blink-matching-open): Make the error message from the
16755 last change less verbose.
16756
16757 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16758
16759 * font-lock.el (font-lock-comment-face): Use the high contrast
16760 "yellow" color for font-lock-comment-face on low color terminals
16761 using a dark background color (bug#4221).
16762
16763 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16764
16765 * dired.el (dired-insert-set-properties): Make the doc string
16766 reflect what it does now (bug#5325).
16767
16768 * simple.el (blink-matching-open): Say that we were unable to find
16769 the match within the limit, if we're limited (bug#5122).
16770
16771 * international/mule-cmds.el (prefer-coding-system): Add an
16772 example (bug#4869).
16773
16774 * progmodes/etags.el (tags-search): Document `file-list-form'
16775 (bug#4731).
16776
16777 2011-07-13 Lawrence Mitchell <wence@gmx.li>
16778
16779 * net/browse-url.el (browse-url-default-browser)
16780 (browse-url-browser-function): Make the default browser choice a
16781 bit more logical (bug#4300). Also clean up the doc string.
16782
16783 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16784
16785 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16786 binary endings (bug#4440).
16787
16788 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16789
16790 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16791 which can be pretty annoying (bug#8971).
16792
16793 * jka-compr.el (jka-compr-verbose): New variable, and use
16794 throughout (bug#8971).
16795
16796 * info.el (Info-find-file): Fall back on the installation
16797 directory if we can't find the info node anywhere else.
16798
16799 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16800
16801 * vc/vc.el (vc-revert-file):
16802 Don't set file time-stamp in the past. (Bug#5181)
16803
16804 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16805
16806 * files.el (after-find-file): Give a better error message when
16807 trying to find a symlink that points to a file that doesn't exist
16808 (bug#4398).
16809
16810 * progmodes/cc-vars.el: Remove (probably) misleading comment
16811 (bug#4396).
16812
16813 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16814
16815 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16816
16817 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16818
16819 * mouse-sel.el: Hack restoring functionality, while keeping
16820 compatibility with 2010-07-03 changes to mouse selection.
16821 (mouse-sel-primary-overlay): New var.
16822 (mouse-sel-selection-alist): Use it.
16823 (mouse-sel-mode): Doc fix; remove points that are default features
16824 of mouse.el.
16825
16826 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16827
16828 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16829 Fix previous fix (bug#2490).
16830
16831 2011-07-12 Roland Winkler <winkler@gnu.org>
16832
16833 * textmodes/bibtex.el (bibtex-initialize):
16834 Use pop-to-buffer-same-window.
16835 (bibtex-search-entries): Fix interactive call.
16836
16837 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16838
16839 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16840 Fontise bytecomp Error lines more correctly (bug#2490).
16841 Fix suggested by Johan Bockgård.
16842
16843 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16844
16845 * dired-x.el (dired-guess-default): Use `delete-dups'.
16846
16847 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16848
16849 * dired.el (dired-mark-prompt):
16850 * dired-aux.el (dired-read-shell-command): Doc fix.
16851
16852 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16853
16854 * mail/sendmail.el (sendmail-query-once):
16855 Use `customize-save-variable' unconditionally, now that it works under
16856 emacs -Q.
16857
16858 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16859
16860 * cus-edit.el (custom-file): Take an optional no-error variable.
16861 (customize-save-variable): Set the variable, and give a warning if
16862 running under "emacs -q".
16863
16864 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16865
16866 * loadhist.el (unload-feature-special-hooks):
16867 Add `auto-coding-functions', `fill-nobreak-predicate' and
16868 `find-directory-functions' (bug#5327).
16869
16870 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16871
16872 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16873
16874 * cus-edit.el (custom-guess-name-alist): -alist variables should
16875 use the `alist' type (bug#3120). Suggested by Drew Adams.
16876
16877 * printing.el: Add documentation to all the `pr-toggle-' commands.
16878
16879 2011-07-11 Leo Liu <sdl.web@gmail.com>
16880
16881 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16882 backends where it makes sense (bug#2623).
16883
16884 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16885
16886 * dired-x.el (dired-guess-default): Remove duplicate shell command
16887 entries (bug#2028).
16888 (dired-guess-default): Fix grammar in doc string (bug#2028).
16889 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16890
16891 * subr.el (remove-duplicates): New conveniency function.
16892
16893 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16894
16895 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16896 (bug#1526).
16897
16898 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16899
16900 * window.el (display-buffer-normalize-default): Don't invert
16901 meaning of even-window-heights. Reported by Eli Zaretskii
16902 <eliz@gnu.org>.
16903
16904 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16905
16906 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16907
16908 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16909
16910 * window.el (display-buffer): Fix arguments to
16911 display-buffer-reuse-window in last change.
16912
16913 * faces.el (link): Use a less saturated blue on light backgrounds.
16914
16915 * startup.el (fancy-startup-text, fancy-about-text)
16916 (fancy-startup-tail): Use font-lock faces, for background safety.
16917
16918 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16919
16920 * emulation/viper-cmd.el (viper-change-state-to-vi):
16921 Limit triggering of abbrev expansion (Bug#9038).
16922
16923 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16924
16925 * window.el (display-buffer-default-specifiers): Remove.
16926 (display-buffer-macro-specifiers): Remove default specifiers.
16927 (display-buffer-alist): Default to nil.
16928 (display-buffer-reuse-window): New optional argument other-window.
16929 (display-buffer-pop-up-window): Allow splitting internal
16930 windows. Check whether a live window was created.
16931 (display-buffer-other-window-means-other-frame)
16932 (display-buffer-normalize-arguments): Rename to
16933 display-buffer-normalize-argument and rewrite. Set the
16934 other-window specifier.
16935 (display-buffer-normalize-special): New function.
16936 (display-buffer-normalize-options): Rename to
16937 display-buffer-normalize-default and rewrite.
16938 (display-buffer-normalize-options-inhibit): Remove.
16939 (display-buffer-normalize-specifiers): Rewrite.
16940 (display-buffer): Process other-window specifier and call
16941 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16942 more faithfully.
16943 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16944 (display-buffer-alist-set): Don't handle 'unset default values.
16945 (display-buffer-in-window, display-buffer-alist-set):
16946 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16947 <tassilo@member.fsf.org>.
16948
16949 2011-07-09 Leo Liu <sdl.web@gmail.com>
16950
16951 * register.el (insert-register): Restore accidental change on
16952 2011-06-26. (Bug#9028)
16953
16954 2011-07-09 Glenn Morris <rgm@gnu.org>
16955
16956 * subr.el (remq): Handle the empty list. (Bug#9024)
16957
16958 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16959
16960 * mail/sendmail.el (send-mail-function): No longer delay custom
16961 initialization.
16962 * custom.el (custom-initialize-delay): Doc fix.
16963
16964 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16965
16966 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16967
16968 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16969
16970 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16971 human-friendly prompt.
16972
16973 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16974
16975 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16976 provided by a particular plugin.
16977
16978 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16979
16980 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16981 save customizations (with "emacs -Q"), just set the variable
16982 instead of erroring out.
16983
16984 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16985
16986 2011-07-08 Juri Linkov <juri@jurta.org>
16987
16988 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16989 (archive-zip-update-case): Use 7z if found by `executable-find'.
16990 The order of searching the available programs is the same as in
16991 `archive-zip-extract' (bug#8968).
16992
16993 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16994
16995 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16996 (menu-bar-options-menu): Tweak descriptions.
16997
16998 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16999
17000 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17001 menu items into verb phrases (bug#1421). Also refill to fit under
17002 80 columns.
17003
17004 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17005
17006 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17007 (Info-read-node-name): Doc fix (Bug#1084).
17008
17009 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17010 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17011 (end-of-sexp, beginning-of-sexp)
17012 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17013 (forward-symbol, forward-same-syntax, word-at-point)
17014 (sentence-at-point): Doc fix (Bug#1144).
17015
17016 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17017
17018 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17019 should cover it (bug#1281).
17020
17021 * cus-edit.el (custom-show): Mark as obsolete.
17022
17023 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
17024 negotiation fails, then possibly try again with a non-encrypted
17025 connection (bug#9017).
17026
17027 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17028 be used.
17029
17030 2011-07-07 Richard Stallman <rms@gnu.org>
17031
17032 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17033 property, and handle its changed format.
17034 Look for the correct line number.
17035 Use file's line contents (but not past first =) to find
17036 correct line in message.
17037
17038 2011-07-07 Kenichi Handa <handa@m17n.org>
17039
17040 * international/characters.el (build-unicode-category-table):
17041 Delete it.
17042 (unicode-category-table): Set it by unicode-property-table-internal.
17043
17044 * international/mule-cmds.el (char-code-property-alist): Move to
17045 to src/chartab.c.
17046 (get-char-code-property): Call unicode-property-table-internal to
17047 load a file. Call get-unicode-property-internal where necessary.
17048 (put-char-code-property): Call unicode-property-table-internal to
17049 load a file. Call put-unicode-property-internal where necessary.
17050 put-unicode-property-internal where necessary.
17051 (char-code-property-description):
17052 Call unicode-property-table-internal to load a file.
17053
17054 * international/charprop.el:
17055 * international/uni-bidi.el:
17056 * international/uni-category.el:
17057 * international/uni-combining.el:
17058 * international/uni-comment.el:
17059 * international/uni-decimal.el:
17060 * international/uni-decomposition.el:
17061 * international/uni-digit.el:
17062 * international/uni-lowercase.el:
17063 * international/uni-mirrored.el:
17064 * international/uni-name.el:
17065 * international/uni-numeric.el:
17066 * international/uni-old-name.el:
17067 * international/uni-titlecase.el:
17068 * international/uni-uppercase.el: Regenerate.
17069
17070 * loadup.el: Load international/charprop.el before
17071 international/characters.
17072
17073 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17074
17075 * window.el (next-buffer, previous-buffer): Signal an error if
17076 called from a minibuffer window.
17077
17078 * bindings.el: Revert 2011-07-04 change.
17079
17080 2011-07-06 Richard Stallman <rms@gnu.org>
17081
17082 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17083 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17084 Treat markers like ints.
17085 (rmail-mime-entity): Doc fix.
17086
17087 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17088
17089 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17090 defcustom again for backwards compatibility.
17091
17092 * simple.el (shell-command-on-region): Fill.
17093
17094 * dired-aux.el (dired-kill-line): Add a doc string.
17095
17096 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17097 to "\\sw\\|\\s_" (bug#358).
17098
17099 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17100 (dired-unmark-backward): Ditto.
17101 (dired-flag-backup-files): Ditto.
17102
17103 * dired-x.el (dired-mark-sexp): Ditto.
17104
17105 2011-07-06 Richard Stallman <rms@gnu.org>
17106
17107 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17108 (rmail-mime-entity): New arg TRUNCATED.
17109 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17110 New functions.
17111 (rmail-mime-save): Warn if entity is truncated.
17112 (rmail-mime-toggle-hidden): Likewise, for showing.
17113 (rmail-mime-process-multipart): Record when an entity is truncated.
17114
17115 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17116 if ENTITY is a string.
17117
17118 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17119
17120 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17121 of faces when `M-C-x'-ing their definitions (bug#8378).
17122 Also clean up the code slightly.
17123
17124 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17125 because that makes the colors go away.
17126
17127 * mail/sendmail.el (send-mail-function): Change the default to
17128 `sendmail-query-once'.
17129 (sendmail-query-once): Add an autoload cookie.
17130
17131 * net/network-stream.el (network-stream-open-starttls): Try using
17132 a plain connection even if the server offered STARTTLS, and we
17133 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17134 capability. This should make smtpmail.el work in slightly more
17135 configurations.
17136
17137 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
17138
17139 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17140 New defun.
17141 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17142
17143 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17144
17145 * progmodes/sql.el: Version 3.0
17146 (sql-product-alist): Add product :completion-object,
17147 :completion-column, and :statement attributes.
17148 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17149 (sql-mode-syntax-table): Mark all punctuation.
17150 (sql-font-lock-keywords-builder): Temporarily remove fallback on
17151 ansi keywords.
17152 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17153 (sql-mode-oracle-font-lock-keywords): Improve.
17154 (sql-oracle-show-reserved-words): New function for development.
17155 (sql-product-font-lock): Simplify for source code buffers.
17156 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17157 New functions.
17158 (sql-highlight-product): Set product specific syntax table.
17159 (sql-mode-map): Add statement movement functions.
17160 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17161 New variable.
17162 (sql-statement-regexp, sql-beginning-of-statement)
17163 (sql-end-of-statement, sql-signum): New functions.
17164 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17165 (sql-show-sqli-buffer): Bug fix.
17166 (sql-interactive-mode): Store connection data as buffer local.
17167 (sql-connect): Add NEW-NAME parameter. Redesign interaction
17168 with sql-interactive-mode.
17169 (sql-save-connection): Save buffer local settings.
17170 (sql-connection-menu-filter): Change menu entry name.
17171 (sql-product-interactive): Bug fix.
17172 (sql-preoutput-hold): New variable.
17173 (sql-interactive-remove-continuation-prompt): Bug fixes.
17174 (sql-debug-redirect): New variable.
17175 (sql-str-literal): New function.
17176 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17177 Redesign.
17178 (sql-oracle-save-settings, sql-oracle-restore-settings)
17179 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17180 (sql-completion-object, sql-completion-column)
17181 (sql-completion-sqlbuf): New variables.
17182 (sql-build-completions-1, sql-build-completions)
17183 (sql-try-completion): New functions.
17184 (sql-read-table-name): Use them.
17185 (sql-contains-names): New buffer local variable.
17186 (sql-list-all, sql-list-table): Use it.
17187 (sql-oracle-completion-types): New variable.
17188 (sql-oracle-completion-object, sql-sqlite-completion-object)
17189 (sql-postgres-completion-object): New functions.
17190
17191 2011-07-06 Glenn Morris <rgm@gnu.org>
17192
17193 * window.el (pop-to-buffer): Doc fix.
17194
17195 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
17196
17197 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17198
17199 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
17200
17201 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17202
17203 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17204
17205 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
17206
17207 * button.el (button): Inherit from link face. Suggested by Dan
17208 Nicolaescu.
17209
17210 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17211
17212 * progmodes/gdb-mi.el: Fit in 80 columns.
17213 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17214 switch-to-buffer.
17215
17216 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17217 if imenu is simply not configured (bug#8941).
17218
17219 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17220
17221 * allout.el (allout-post-undo-hook): New allout outline-change
17222 event hook to signal undo activity.
17223 (allout-post-command-business): Run allout-post-undo-hook if an
17224 undo just occurred.
17225 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17226 * allout-widgets.el (allout-widgets-after-undo-function):
17227 Ensure the integrity of the current item's decoration after it has been
17228 in the vicinity of an undo.
17229 (allout-widgets-mode): Include allout-widgets-after-undo-function
17230 on the new allout-post-undo-hook.
17231
17232 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17233
17234 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17235 Let define-derived-mode define it.
17236 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17237 cycles of abbrev-table inheritance (bug#8998).
17238
17239 2011-07-05 Roland Winkler <winkler@gnu.org>
17240
17241 * textmodes/bibtex.el: Add support for biblatex.
17242 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17243 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17244 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17245 (bibtex-entry-alist, bibtex-field-alist): New variables.
17246 (bibtex-entry-field-alist): Obsolete alias for
17247 bibtex-BibTeX-entry-alist.
17248 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17249 (bibtex-set-dialect): New command.
17250 (bibtex-entry-type, bibtex-entry-head)
17251 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17252 Bind via bibtex-set-dialect.
17253 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17254 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17255 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17256 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17257 Define via bibtex-set-dialect.
17258 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17259 Obey bibtex-no-opt-remove-re.
17260 (bibtex-vec-push, bibtex-vec-incr): New functions.
17261 (bibtex-format-entry, bibtex-field-list)
17262 (bibtex-print-help-message, bibtex-validate)
17263 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17264
17265 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17266
17267 * progmodes/compile.el (compilation-goto-locus):
17268 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17269 * bs.el (bs-cycle-next, bs-cycle-previous):
17270 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17271 * bindings.el (mode-line-other-buffer):
17272 * autoinsert.el (auto-insert):
17273 * arc-mode.el (archive-extract):
17274 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17275
17276 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17277
17278 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17279 Fix check of `emacs-lock-unlockable-modes'.
17280 Coerce true values of `emacs-lock--try-unlocking' to t.
17281
17282 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17283
17284 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17285 * emacs-lock.el: New file.
17286
17287 2011-07-05 Julien Danjou <julien@danjou.info>
17288
17289 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17290 than `boundp' to check if face is set.
17291
17292 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17293
17294 * register.el (registerv-make):
17295 * window.el (window-min-height): Fix typos in docstrings.
17296
17297 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17298
17299 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17300 Update doc string.
17301
17302 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17303
17304 * server.el (server-execute): Catch quit and call
17305 `server-return-error' to pass the error back to emacsclient and
17306 close the connection (bug#8942).
17307
17308 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17309
17310 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17311 insecure exception for current topic. Also note that auto-saves
17312 are handled differently.
17313
17314 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17315 State variables for tracking auto-save inhibition situation.
17316
17317 (allout-write-contents-hook-handler): Rename from
17318 'allout-write-file-hook-handler', and describe how it depends on
17319 write-contents-functions sensitivity to non-nil value to prevent
17320 file write.
17321
17322 (allout-auto-save-hook-handler): Remove. auto-save does not check
17323 this in individual buffers, only in the starting buffer, so this
17324 is not the right way for us to inhibit auto-save in a buffer
17325 according to its condition.
17326
17327 (allout-mode): Use new allout-write-contents-hook-handler, and
17328 only with write-contents-functions. Remove auto-save provisions -
17329 they're implemented elsewhere.
17330
17331 (allout-before-change-handler): If undo is in progress, note that
17332 for attention of allout-post-command-business.
17333
17334 (allout-post-command-business): If the command we're following was
17335 an undo, check for change in the status of encrypted items and
17336 adjust auto-save inhibitions accordingly.
17337
17338 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17339 according to whether there are or aren't any plain-text topics
17340 pending encryption.
17341
17342 (allout-inhibit-auto-save-info-for-decryption):
17343 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17344 if there are plain-text topics pending encryption.
17345
17346 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17347 buffer-saved-size and some allout state to not inhibit auto-saves
17348 if there are no longer any plain-text topics pending encryption.
17349
17350 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17351 No longer provide for exemption of the current topic.
17352
17353 2011-07-04 Juri Linkov <juri@jurta.org>
17354
17355 Add 7z operations to delete and save changed members (bug#8968).
17356 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17357 New defcustoms.
17358 (archive-7z-write-file-member): New function.
17359 (archive-7z-summarize): Fix the number of dashes in the
17360 listing output.
17361
17362 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17363
17364 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17365 (bug#8958).
17366
17367 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
17368
17369 * bindings.el: Ignore next-buffer and previous-buffer in
17370 minibuffer-local-map.
17371
17372 * font-lock.el (font-lock-builtin-face): Change light background
17373 color to dark slate blue (Bug#6693).
17374
17375 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17376
17377 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17378
17379 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17380
17381 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17382 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17383 Add switch-to-buffer.
17384
17385 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17386
17387 * isearch.el (isearch-search-fun-function): Clarify further the
17388 meaning of the function returned.
17389
17390 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
17391
17392 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17393
17394 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17395 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17396 Use it.
17397 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17398 `tramp-default-remote-path' does not exist.
17399 (tramp-send-command-and-read): New optional argument NOERROR.
17400 (tramp-open-connection-setup-interactive-shell)
17401 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17402 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17403 (tramp-process-sentinel): Flush also process' connection property.
17404 (tramp-sh-handle-start-file-process): Do not set process
17405 sentinel. It is done now ...
17406 (tramp-maybe-open-connection): ... here. (Bug#8929)
17407
17408 2011-07-04 MON KEY <monkey@sandpframing.com>
17409
17410 * play/animate.el (animate-string): Doc fixes and allow changing
17411 the buffer name (bug#5417).
17412
17413 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17414
17415 * play/animate.el (animation-buffer-name): Rename from *animate*.
17416
17417 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17418
17419 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17420 This is simpler and helps future-proof the code.
17421 (timer-until): Use time-subtract and float-time.
17422 (timer--time-less-p): Use time-less-p.
17423
17424 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17425
17426 * type-break.el (timep): Use the value of `float-time' to avoid a
17427 byte-compiler warning.
17428
17429 * server.el (server-eval-and-print): Return any result, even nil.
17430
17431 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17432
17433 * type-break.el: Accept time formats that the builtins accept.
17434 (timep, type-break-time-difference): Accept any format that
17435 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17436 This is simpler and helps future-proof the code.
17437 (type-break-time-difference): Round rather than ignoring
17438 subseconds components.
17439
17440 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17441
17442 * info.el (Info-apropos-matches): Make non-interactive, since it
17443 doesn't seem to do anything useful as a command (bug#8829).
17444
17445 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
17446
17447 * frame.el (frame-background-mode, frame-set-background-mode):
17448 Move from faces.el.
17449 (frame-default-terminal-background): New function.
17450
17451 * custom.el (custom-push-theme): Don't record faces in `changed'
17452 theme; this doesn't work correctly for per-frame face settings.
17453 (disable-theme): Use face-set-after-frame-default to reset faces.
17454 (custom--frame-color-default): New function.
17455
17456 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17457
17458 * dired.el (dired-flagging-regexp): Remove unused variable
17459 (bug#8769).
17460
17461 2011-03-29 Kevin Ryde <user42@zip.com.au>
17462
17463 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17464 `perl-Test2' extend to match possible "fail #N" rep count
17465 (bug#8377).
17466
17467 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17468
17469 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17470 `smtpmail-via-smtp' now returns the error instead of nil.
17471
17472 * isearch.el (isearch-search-fun-function): Clarify the doc string
17473 (bug#8101).
17474
17475 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
17476
17477 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17478 unnecessary spaces (bug#8987).
17479
17480 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17481
17482 * net/network-stream.el (open-network-stream): Use the
17483 :end-of-capability command thoughout.
17484
17485 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17486
17487 * net/network-stream.el (open-network-stream): Add the
17488 :end-of-capability command parameter, used by pop3.el.
17489
17490 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17491
17492 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17493
17494 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17495 for list)" (bug#6475).
17496
17497 * files.el (file-expand-wildcards): Ignore non-readable
17498 sub-directories while trying to find matches instead of signaling
17499 an error (bug#6297).
17500
17501 * man.el (Man-reference-regexp): Allow matching possible
17502 word-wrapped references (bug#6289).
17503
17504 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17505 for consistency with the other vc buffers (bug#6197).
17506 (vc-checkin): Ditto.
17507
17508 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17509
17510 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17511
17512 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17513
17514 * custom.el (defcustom): Clarify that :set is only used in the
17515 Customize user interface (bug#6089).
17516
17517 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17518 associated with a file, refuse to run instead of erroring out
17519 (bug#6084).
17520
17521 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17522 the doc string, since it appears that using `fill-column' always
17523 controls the width (bug#7845).
17524
17525 * simple.el (shell-command-on-region): Say where the error output
17526 went if `shell-command-default-error-buffer' is set (bug#6857).
17527
17528 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17529
17530 * allout.el (allout-yank-processing): Adjust cursor position for
17531 backwards-deleted space.
17532
17533 (allout-rebullet-heading): Register changes with
17534 allout-exposure-changed-hook, so the modified topic is properly
17535 decorated.
17536
17537 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17538
17539 * minibuffer.el (completion-in-region): Document PREDICATE
17540 (bug#7136).
17541
17542 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17543 of keyword/argument pairs (bug#6904).
17544
17545 * replace.el (multi-occur):
17546 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17547
17548 2011-07-02 Drew Adams <drew.adams@oracle.com>
17549
17550 * dired.el (dired-mark-if): Make the message about whether it's
17551 marking or unmarking clearer (bug#8523).
17552
17553 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17554
17555 * disp-table.el (display-table-print-array): New function.
17556 (describe-display-table): Use it to print the vectors more pretty
17557 (Bug#8859).
17558
17559 2011-07-02 Martin Rudalics <rudalics@gmx.at>
17560
17561 * window.el (window-state-get-1): Don't assign clone numbers.
17562 Add clone-of item to list of window parameters.
17563 (window-state-put-2): Don't process clone numbers.
17564 (display-buffer-alist): Fix doc-string.
17565
17566 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17567
17568 * subr.el (remq): Don't allocate if it's not needed.
17569 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17570 (keymap--merge-bindings): New functions.
17571 (keymap-canonicalize): Use them to refine the canonicalization.
17572 * minibuffer.el (minibuffer-local-completion-map)
17573 (minibuffer-local-must-match-map): Move initialization from C.
17574 (minibuffer-local-filename-completion-map): Move initialization from C;
17575 don't inherit from anything here.
17576 (minibuffer-local-filename-must-match-map): Make obsolete.
17577 (completing-read-default): Use make-composed-keymap to combine
17578 minibuffer-local-filename-completion-map with either
17579 minibuffer-local-must-match-map or
17580 minibuffer-local-filename-completion-map.
17581
17582 2011-07-01 Glenn Morris <rgm@gnu.org>
17583
17584 * type-break.el (type-break-time-sum): Use dolist.
17585
17586 * textmodes/flyspell.el (flyspell-word-search-backward):
17587 Replace CL function.
17588
17589 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17590
17591 * mouse.el (mouse--strip-first-event): New function.
17592 (function-key-map): Use it to map fringe clicks to normal clicks
17593 by default.
17594
17595 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17596 (vc-bzr-revision-completion-table): Add support for annotate and date.
17597
17598 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17599 inherit from parent.
17600
17601 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17602
17603 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17604 (dired-show-file-type): Doc fixup (bug#8818).
17605
17606 * dired.el (dired-mode): Fix up the doc string as suggested by
17607 Drew Adams (bug#8817).
17608
17609 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17610 cookie, since the manual says that it should be possible to add
17611 this function to `find-file-hook' (bug#8709).
17612
17613 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17614
17615 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17616 here. Noted Ted Zlatanov as the maintainer.
17617 (cfengine-common-settings, cfengine-common-syntax): New functions
17618 to set up common things between `cfengine-mode' and
17619 `cfengine3-mode'.
17620 (cfengine3-mode): New mode.
17621 (cfengine3-defuns cfengine3-defuns-regex
17622 (cfengine3-class-selector-regex cfengine3-category-regex)
17623 (cfengine3-vartypes cfengine3-font-lock-keywords)
17624 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17625 (cfengine3-indent-line): Add from cfengine3.el.
17626
17627 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
17628
17629 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17630
17631 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17632
17633 2011-07-01 Martin Rudalics <rudalics@gmx.at>
17634
17635 * window.el (same-window-buffer-names, same-window-regexps)
17636 (same-window-p, special-display-frame-alist)
17637 (special-display-popup-frame, special-display-function)
17638 (special-display-buffer-names, special-display-regexps)
17639 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17640 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17641 (split-window-preferred-function, split-height-threshold)
17642 (split-width-threshold, even-window-heights)
17643 (display-buffer-mark-dedicated, window-splittable-p)
17644 (split-window-sensibly, window-safely-shrinkable-p):
17645 Un-obsolete.
17646 (display-buffer): Don't spread args with function specifier
17647 because special-display-popup-frame won't like it.
17648
17649 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17650
17651 Time-stamp simplifications and fixes.
17652 These improve accuracy slightly, and future-proof the code
17653 against some potential changes to current-time format.
17654
17655 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17656 by using time-since and float-time.
17657
17658 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17659 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17660 + NNN microseconds".
17661
17662 * type-break.el (type-break-time-sum): Rewrite using time-add.
17663
17664 * play/hanoi.el (hanoi-current-time-float): Remove.
17665 All uses replaced by float-time.
17666
17667 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17668 This yields a more-accurate answer.
17669 (rng-time-to-float): Remove; no longer needed.
17670
17671 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17672
17673 * calendar/timeclock.el (timeclock-seconds-to-time):
17674 Defalias to seconds-to-time, since they're the same thing.
17675
17676 * emacs-lisp/elp.el (elp-elapsed-time):
17677 * emacs-lisp/benchmark.el (benchmark-elapse):
17678 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17679
17680 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17681
17682 * window.el (bury-buffer): Don't iconify the only frame.
17683 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17684 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17685
17686 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
17687
17688 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17689 Add mouse-yank-primary.
17690
17691 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17692
17693 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17694
17695 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17696
17697 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17698 (find-library-name): Use it to find relative load names when provided
17699 absolute file name (bug#8803).
17700
17701 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17702
17703 * textmodes/flyspell.el (flyspell-word): Consider words that
17704 differ only in case as potential doublons (bug#5687).
17705
17706 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17707 Remove two rather uninteresting debugging-like messages to make
17708 debbugs.el more silent.
17709
17710 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17711 a password-like phrase.
17712
17713 2011-06-30 Masatake YAMATO <yamato@redhat.com>
17714
17715 * progmodes/cc-guess.el: New file.
17716
17717 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17718
17719 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17720 derived from `c-basic-common-init'.
17721
17722 * progmodes/cc-mode.el (top-level): Require cc-guess.
17723 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17724
17725 2011-06-30 Lawrence Mitchell <wence@gmx.li>
17726
17727 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17728
17729 2011-06-30 Alan Mackenzie <acm@muc.de>
17730
17731 * progmodes/cc-engine.el (c-guess-continued-construct):
17732 Correct the handling of template-args-cont, particularly for when font
17733 lock is disabled. Name this case as "CASE G".
17734
17735 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17736
17737 * allout.el (allout-yank-processing): Fix injection of extra space
17738 between bullet and non-whitespace character in first topic when
17739 pasting, ensuring that the actual spacing in the pasted topic
17740 following the bullet char is preserved. This extra space was
17741 causing pasted encrypted topics to get a decrypted status even
17742 when the content was actually still encrypted. Now the decryption
17743 status from before the paste is preserved.
17744
17745 (allout-flag-region): Set all allout overlays so they evaporate
17746 when reduced to zero length (evanescent), to prevent overlay
17747 leakage.
17748
17749 2011-06-30 Glenn Morris <rgm@gnu.org>
17750
17751 * w32-fns.el (w32-charset-info-alist): Declare.
17752
17753 * find-dired.el (find-grep-options): Simplify.
17754
17755 * term/ns-win.el (ns-set-resource): Declare.
17756
17757 * ses.el (row, col): Declare dynamic variables honestly.
17758
17759 * textmodes/reftex-parse.el (index-tags): Declare.
17760
17761 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
17762
17763 * cus-edit.el (customize-push-and-save): New function.
17764
17765 * files.el (hack-local-variables-confirm): Use it.
17766
17767 * custom.el (load-theme): New arg NO-CONFIRM.
17768 Use customize-push-and-save (Bug#8720).
17769 (custom-enabled-themes): Doc fix.
17770
17771 * cus-theme.el (customize-create-theme)
17772 (custom-theme-merge-theme): Callers to load-theme changed.
17773
17774 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17775
17776 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17777 short URLs have at least one dot in them (bug #7614).
17778
17779 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17780 nil, because using a pty is apparently too slow (bug #895).
17781
17782 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17783
17784 * mail/sendmail.el (sendmail-query-once): New function.
17785 (sendmail-query-once-function): New variable.
17786
17787 2011-06-29 Glenn Morris <rgm@gnu.org>
17788
17789 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17790
17791 * ses.el (top-level): Require cl when compiling.
17792 (ses-set-localvars): Fix error statement.
17793 Call it at compile time to silence a storm of warnings.
17794
17795 2011-06-29 Martin Rudalics <rudalics@gmx.at>
17796
17797 * window.el (normalize-live-buffer): Rename to
17798 window-normalize-buffer.
17799 (normalize-live-frame): Rename to window-normalize-frame.
17800 (normalize-any-window): Rename to window-normalize-any-window.
17801 (normalize-live-window): Rename to window-normalize-live-window.
17802 (make-window-atom): Rename to window-make-atom.
17803 (window-resize-reset): Rename to window--resize-reset.
17804 (window-resize-reset-1): Rename to window--resize-reset-1.
17805 (resize-mini-window): Rename to window--resize-mini-window.
17806 (resize-subwindows-skip-p): Rename to
17807 window--resize-subwindows-skip-p.
17808 (resize-subwindows-normal): Rename to
17809 window--resize-subwindows-normal.
17810 (resize-subwindows): Rename to window--resize-subwindows.
17811 (resize-other-windows): Rename to window--resize-siblings.
17812 (resize-this-window): Rename to window--resize-this-window.
17813 (resize-root-window): Rename to window--resize-root-window.
17814 (resize-root-window-vertically): Rename to
17815 window--resize-root-window-vertically.
17816 (normalize-buffer-to-display): Rename to
17817 window-normalize-buffer-to-display.
17818 (normalize-buffer-to-switch-to): Rename to
17819 window-normalize-buffer-to-switch-to.
17820 Correspondingly update all callers of the functions listed
17821 above.
17822 (display-buffer-alist, display-buffer-normalize-arguments)
17823 (display-buffer-normalize-options, display-buffer)
17824 (display-buffer-alist-set): Use "function" instead of
17825 "fun-with-args".
17826
17827 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17828
17829 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17830 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17831 debbugs.gnu.org. Mention acknowledgment email.
17832
17833 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17834
17835 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17836 buffer multibyteness, since it shouldn't matter.
17837
17838 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17839
17840 * window.el (display-buffer-in-side-window): Handle dedicated
17841 windows as in display-buffer-reuse-window.
17842 (display-buffer-normalize-alist): Use value of override
17843 specifier.
17844 (display-buffer-normalize-specifiers): Use value of
17845 other-window-means-other-frame specifier.
17846 (display-buffer-alist): Rewrite some texts in widgets.
17847 (display-buffer): Spread arguments when calling function
17848 specified by fun-with-args.
17849
17850 2011-06-28 Deniz Dogan <deniz@dogan.se>
17851
17852 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17853 Unnest `let'.
17854
17855 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17856 selectors (Bug#5732).
17857 (css-proprietary-nmstart-re): Use `regexp-opt'.
17858
17859 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17860
17861 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17862 (eshell-ls-date-format): New defcustom.
17863 (eshell-ls-file): Use it.
17864
17865 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17866
17867 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17868
17869 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17870
17871 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17872 (ange-ftp-make-tmp-name): New arg.
17873 (ange-ftp-file-local-copy): Use it.
17874
17875 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17876
17877 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17878 no-conversion (Bug#8870).
17879
17880 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17881
17882 * window.el (window-right, window-left, window-child)
17883 (window-child-count, window-last-child)
17884 (window-iso-combination-p, walk-window-tree-1)
17885 (window-atom-check-1, window-tree-1, delete-window)
17886 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17887 new naming conventions - window-vchild, window-hchild,
17888 window-next and window-prev are now called window-top-child,
17889 window-left-child, window-next-sibling and window-prev-sibling
17890 respectively.
17891 (resize-window-reset): Rename to window-resize-reset.
17892 (resize-window-reset-1): Rename to window-resize-reset-1.
17893 (resize-window): Rename to window-resize.
17894 (window-min-height, window-min-width)
17895 (resize-mini-window, resize-this-window, resize-root-window)
17896 (resize-root-window-vertically, adjust-window-trailing-edge)
17897 (enlarge-window, shrink-window, maximize-window)
17898 (minimize-window, delete-window, quit-restore-window)
17899 (split-window, balance-windows, balance-windows-area-adjust)
17900 (balance-windows-area, window-state-put-2)
17901 (display-buffer-even-window-sizes, display-buffer-set-height)
17902 (display-buffer-set-width, set-window-text-height)
17903 (fit-window-to-buffer): Rename all "resize-window" prefixed
17904 calls to use the "window-resize" prefix convention.
17905 (display-buffer-alist): Fix symbol for label specifier.
17906 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17907 corresponding specifier.
17908 Reported by Juanma Barranquero <lekktu@gmail.com>.
17909
17910 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17911
17912 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17913 convention.
17914 (ses-call-printer): Does not pass an empty string to formatter when the
17915 cell is empty to keep from barking printer Calc math-format-value.
17916
17917 2011-06-27 Richard Stallman <rms@gnu.org>
17918
17919 * battery.el (battery-mode-line-limit): New variable.
17920 (battery-update): Handle it.
17921
17922 * mail/rmailmm.el (rmail-mime-process-multipart):
17923 Handle truncated messages.
17924
17925 2011-06-27 Glenn Morris <rgm@gnu.org>
17926
17927 * progmodes/flymake.el (flymake-err-line-patterns):
17928 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17929
17930 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17931
17932 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17933 (ses--clean-!, ses--clean-_): New functions.
17934 (ses-range): Add configurability of readout order, and conversion
17935 to Calc vector.
17936
17937 * ses.el (ses-repair-cell-reference-all): New function.
17938 (ses-cell-symbol): Set macro as safe, so that it can be used in
17939 formulas.
17940
17941 * ses.el: Update cycle detection algorithm.
17942 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17943 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17944 (ses-set-localvars): New function.
17945 (ses-make-cell): Add property-list as a cell element.
17946 (ses-cell-property-get-fun, ses-cell-property-get)
17947 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17948 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17949 New functions.
17950 (ses-cell-property-set, ses-cell-property-pop)
17951 (ses-cell-property-get-handle): New macro.
17952 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17953 New aliases, used for code readability.
17954 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17955 cycle detection.
17956 (ses-self-reference-early-detection): New defcustom.
17957 (ses-formula-references): Robustify against self-referring cells.
17958 (ses-mode): Use ses-set-localvars.
17959 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17960 before lauching the update processing.
17961 (ses-initialize-Dijkstra-attempt): New function.
17962 (ses-recalculate-cell): Update for cycle detection based on
17963 Dijkstra algorithm.
17964
17965 * ses.el: Fix commenting and indenting convention.
17966
17967 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17968
17969 * bs.el (bs-cycle-next): Complete last change.
17970
17971 2011-06-27 Drew Adams <drew.adams@oracle.com>
17972
17973 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17974
17975 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17976
17977 * net/network-stream.el (network-stream-open-starttls):
17978 Don't re-get capabilities unless we've reestablished connection.
17979 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17980
17981 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17982 to binary to possibly avoid line encoding issues on Windows (among
17983 other things).
17984
17985 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17986
17987 * net/network-stream.el (open-network-stream): Return an :error
17988 saying what the problem was, if possible.
17989
17990 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17991 server.
17992
17993 * net/network-stream.el (network-stream-open-starttls): If we
17994 wanted to use STARTTLS, and the server offered it, but we weren't
17995 able to because we had no STARTTLS support, then close the connection.
17996 (open-network-stream): Return an :error element, if present.
17997
17998 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17999
18000 * hl-line.el (hl-line-sticky-flag): Doc fix.
18001 (global-hl-line-sticky-flag): New option (Bug#8323).
18002 (global-hl-line-highlight): Obey it.
18003
18004 * vc/vc.el (vc-revert-show-diff): Default to t.
18005
18006 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18007
18008 * allout-widgets.el (allout-widgets-post-command-business):
18009 Stop decorating intermediate isearch matches. They're not being
18010 undecorated when an isearch is continued past, and isearch
18011 automatically collapses them. This leads to "widget leaks", where
18012 decorated items accumulate in collapsed areas. Lines with lots of
18013 hidden widgets can slow down cursor travel, substantially.
18014 Too much complicated machinery would be needed to ensure undecoration,
18015 so we're doing without this nicety.
18016
18017 (allout-widgets-tally-string): Don't try to do a hash-table-count
18018 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18019 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18020 *Messages* when allout-widgets-maintain-tally is t.
18021
18022 2011-06-26 Martin Rudalics <rudalics@gmx.at>
18023
18024 * window.el (display-buffer-normalize-argument): Rename to
18025 display-buffer-normalize-arguments. Handle special meaning of
18026 LABEL argument. Respect special-display-function when popping up
18027 a new frame. Fix code searching for a window showing the buffer
18028 on another frame.
18029 (display-buffer-normalize-specifiers):
18030 Call display-buffer-normalize-arguments.
18031 (display-buffer-in-window): Don't undedicate the window if its
18032 buffer remains the same.
18033 Reported by Drew Adams <drew.adams@oracle.com>.
18034 (display-buffer-alist): Add choice for same-window macro
18035 specfier.
18036 (display-buffer): Mention special meaning of LABEL argument in
18037 doc-string. Fix quoting. Don't pop up a new frame even as
18038 fallback.
18039
18040 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
18041
18042 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18043 avoid deleting the current window in some cases (bug#8911).
18044
18045 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18046
18047 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18048 (Bug#8934)
18049
18050 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18051
18052 * net/network-stream.el (network-stream-open-starttls):
18053 Use built-in TLS support if `gnutls-available-p' is true.
18054 (network-stream-open-tls): Ditto.
18055
18056 2011-06-26 Leo Liu <sdl.web@gmail.com>
18057
18058 * register.el (registerv): New struct.
18059 (registerv-make): New function.
18060 (jump-to-register, describe-register-1, insert-register):
18061 Support the jump-func, print-func and insert-func slot of a registerv
18062 struct. (Bug#8415)
18063
18064 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18065
18066 * vc/vc.el (vc-revert-show-diff): New defcustom.
18067 (vc-diff-internal): New arg specifying diff buffer.
18068 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18069 reuse an existing *vc-diff* buffer (Bug#8927).
18070
18071 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18072
18073 2011-06-26 Glenn Morris <rgm@gnu.org>
18074
18075 * progmodes/f90.el (f90-critical-indent): New option.
18076 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18077 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18078 (f90-mode): Doc fix.
18079 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18080 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18081 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18082 (f90-match-end): Handle block, critical.
18083
18084 2011-06-25 Glenn Morris <rgm@gnu.org>
18085
18086 * calendar/diary-lib.el (diary-included-files): Doc fix.
18087 (diary-include-files): New function, extracted from
18088 diary-include-other-diary-files and diary-mark-included-diary-files.
18089 (diary-include-other-diary-files, diary-mark-included-diary-files):
18090 Just call diary-include-files.
18091 (diary-mark-entries): Reset diary-included-files on first call.
18092
18093 * calendar/diary-lib.el (diary-mark-entries)
18094 (diary-mark-included-diary-files):
18095 Visit included diary-files in temp buffers.
18096
18097 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18098 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18099 (f90-start-block-re, f90-imenu-generic-expression)
18100 (f90-looking-at-program-block-start, f90-no-block-limit):
18101 Add support for submodules.
18102
18103 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18104 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18105
18106 2011-06-25 Eli Zaretskii <eliz@gnu.org>
18107
18108 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18109 buffer-file-type before setting its value, to avoid disastrous
18110 global effects on decoding files for DOS/Windows systems. (Bug#8780)
18111
18112 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18113
18114 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18115
18116 * ses.el (ses-unload-function):
18117 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18118
18119 * proced.el (proced-unload-function):
18120 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18121
18122 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18123
18124 * server.el (server-create-window-system-frame): Add parameters arg.
18125 (server-process-filter): Doc fix. Handle frame-parameters.
18126
18127 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18128
18129 Fix bug#8730, bug#8781.
18130
18131 * loadhist.el (unload--set-major-mode): New function.
18132 (unload-feature): Use it.
18133
18134 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18135 (python-unload-function): New function.
18136
18137 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18138
18139 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18140
18141 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18142
18143 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18144 the candidates list.
18145
18146 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
18147
18148 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18149
18150 2011-06-23 Richard Stallman <rms@gnu.org>
18151
18152 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18153 (rmail-variables): Set next-error-move-function.
18154 (rmail-what-message): Take argument POS.
18155 (rmail-next-error-move): New function.
18156
18157 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18158
18159 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18160 messages for adjacent non-terminals.
18161
18162 2011-06-23 Richard Stallman <rms@gnu.org>
18163
18164 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18165 (rmail-show-message-1): Preserve buffer modified flag.
18166 (rmail-start-mail): Don't specify use of rmail-mail-return;
18167 that's done by mail-bury now.
18168 (rmail-mail-return): Handle arg NEWBUF.
18169
18170 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
18171
18172 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18173 SIZE is a number.
18174
18175 2011-06-23 Martin Rudalics <rudalics@gmx.at>
18176
18177 * window.el (get-lru-window, get-mru-window)
18178 (get-largest-window): Never return a minibuffer window.
18179 (display-buffer-pop-up-window): Fix a bug that could lead to
18180 reusing the minibuffer window.
18181 (display-buffer): Pass original specifier argument to
18182 display-buffer-function instead of the normalized one.
18183 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18184
18185 2011-06-22 Leo Liu <sdl.web@gmail.com>
18186
18187 * minibuffer.el (completing-read-function)
18188 (completing-read-default): Move from minibuf.c.
18189
18190 2011-06-22 Richard Stallman <rms@gnu.org>
18191
18192 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18193 to Rmail even if not started by a special Rmail command.
18194
18195 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18196 Copy the buffer currently showing just one message.
18197
18198 2011-06-22 Roland Winkler <winkler@gnu.org>
18199
18200 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18201 (bibtex-clean-entry): First delete the old key so that a
18202 customized algorithm for generating the new key does not get
18203 confused by the old key.
18204 (bibtex-url): Obey regexp of first step.
18205 (bibtex-search-entries): Do not use add-to-list with local
18206 list-var.
18207
18208 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18209
18210 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18211 stored a user name, then query for the password first, instead of
18212 waiting for SMTP to give an error message and the trying again.
18213
18214 2011-06-22 Lawrence Mitchell <wence@gmx.li>
18215
18216 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18217 BUFFER in call-process.
18218
18219 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18220
18221 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18222 QUIT twice.
18223 (smtpmail-try-auth-methods): Require user name and password from
18224 auth-source.
18225
18226 2011-06-22 Martin Rudalics <rudalics@gmx.at>
18227
18228 * window.el (display-buffer-default-specifiers)
18229 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18230 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18231 (split-window): Normalize SIDE argument (Bug#8916).
18232
18233 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18234 (special-display-frame-alist, special-display-popup-frame):
18235 Remove duplicate declarations. These are now in window.el.
18236
18237 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18238
18239 * mail/smtpmail.el (smtpmail-via-smtp):
18240 Set :use-starttls-if-possible so that we always use STARTTLS if the
18241 server supports it. SMTP servers that support STARTTLS commonly
18242 require it.
18243
18244 * net/network-stream.el (network-stream-open-starttls): Support
18245 upgrading to STARTTLS always, even if we don't have built-in support.
18246 (open-network-stream): Add the :always-query-capabilities keyword.
18247
18248 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18249 upgrades with `open-network-stream', and rely solely on
18250 auth-source for all credentials. Big changes throughout the file,
18251 but in particular:
18252 (smtpmail-auth-credentials): Remove.
18253 (smtpmail-starttls-credentials): Remove.
18254 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18255 MAIL FROM, too.
18256
18257 * net/network-stream.el (network-stream-open-starttls):
18258 Provide support for client certificates both for external and built-in
18259 STARTTLS.
18260 (auth-source): Require.
18261 (open-network-stream): Document the :client-certificate keyword.
18262 (network-stream-certificate): Change cert-cert to cert and
18263 cert-key to key.
18264
18265 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
18266
18267 * net/tramp-cache.el (top): Don't load the persistency file when
18268 "emacs -Q" has been called.
18269
18270 2011-06-21 Tim Harper <timcharper@gmail.com>
18271
18272 * term/ns-win.el (ns-initialize-window-system):
18273 Set application-specific `ApplePressAndHoldEnabled' system
18274 resource to NO as it is not yet supported by the NS port.
18275
18276 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
18277
18278 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18279 (list-dynamic-libraries): ...not here.
18280
18281 2011-06-21 Leo Liu <sdl.web@gmail.com>
18282
18283 * subr.el (sha1): Implement sha1 using secure-hash.
18284
18285 2011-06-21 Martin Rudalics <rudalics@gmx.at>
18286
18287 * window.el (display-buffer-alist): In default value do not
18288 enforce searching a window on any but the selected frame.
18289 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18290 (display-buffer-select-window): Remove function.
18291 (display-buffer-in-window): When a window on another frame gets
18292 reused, do not select it any more but just raise its frame if
18293 necessary (Bug#8851) and (Bug#8856).
18294 (display-buffer-normalize-options): Handle pop-up-frames related
18295 options more faithfully.
18296 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18297 window if it is on another frame.
18298 (display-buffer-alist, display-buffer-default-specifiers):
18299 Don't make new frame unsplittable by default.
18300 (display-buffer-normalize-argument): Fix doc-string typo and use
18301 'same-frame-other-window instead of 'other-window when associating
18302 with display-buffer-macro-specifiers.
18303
18304 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18305
18306 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18307 New functions.
18308 (5x5-mode-map, 5x5-mode-menu): Bind them.
18309 (5x5-draw-grid): Tweak the solver's rendering.
18310
18311 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18312
18313 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18314 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18315
18316 2011-06-21 Drew Adams <drew.adams@oracle.com>
18317
18318 * menu-bar.el: Use function variable instead of switch-to-buffer.
18319 (menu-bar-select-buffer-function): New variable.
18320 (menu-bar-update-buffers): Use it (bug#8876).
18321
18322 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18323
18324 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18325 variable's status.
18326
18327 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18328
18329 * x-dnd.el (x-dnd-version-from-flags)
18330 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18331 and long as number (Bug#8899).
18332 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18333
18334 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18335
18336 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18337 (completion-try-completion, completion-all-completions): Compute the
18338 metadata argument if it's missing; make it optional (bug#8795).
18339
18340 * wid-edit.el: Use lex-bind and move towards completion-at-point.
18341 (widget-complete): Use new :completion-function property.
18342 (widget-completions-at-point): New function.
18343 (default): Use :completion-function instead of :complete.
18344 (widget-default-completions): Rename from widget-default-complete;
18345 Rewrite.
18346 (widget-string-complete, widget-file-complete, widget-color-complete):
18347 Remove functions.
18348 (file, symbol, function, variable, coding-system, color):
18349 * international/mule-cmds.el (default-input-method, charset)
18350 (language-info-custom-alist):
18351 * cus-edit.el (face): Use new property :completions.
18352
18353 * progmodes/pascal.el (pascal-completions-at-point): New function.
18354 (pascal-mode): Use it.
18355 (pascal-mode-map): Use completion-at-point.
18356 (pascal-toggle-completions): Make obsolete.
18357 (pascal-complete-word, pascal-show-completions):
18358 * progmodes/octave-mod.el (octave-complete-symbol):
18359 Redefine as obsolete alias.
18360 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18361 Signal absence of completion info for old Octave,
18362 (inferior-octave-complete): Redefine as obsolete alias.
18363 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18364 (meta-completions-at-point): Rename from meta-complete-symbol and
18365 adapt it for use on completion-at-point-functions.
18366 (meta-common-mode): Use it.
18367 (meta-looking-at-backward, meta-match-buffer): Remove.
18368 (meta-complete-symbol): Redefine as obsolete alias.
18369 (meta-common-mode-map): Use completion-at-point.
18370 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18371 (makefile-mode-map): Use completion-at-point.
18372 (makefile-completions-at-point): Rename from makefile-complete and
18373 adapt it for use on completion-at-point-functions.
18374 (makefile-mode): Use it.
18375 (makefile-complete): Redefine as obsolete alias.
18376
18377 2011-06-20 Deniz Dogan <deniz@dogan.se>
18378
18379 * net/rcirc.el: Delete trailing whitespaces once and for all.
18380
18381 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18382
18383 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18384
18385 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
18386
18387 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18388
18389 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18390
18391 2011-06-19 Martin Rudalics <rudalics@gmx.at>
18392
18393 * window.el (display-buffer-other-window-means-other-frame):
18394 Call display-buffer-normalize-alist.
18395 (display-buffer-normalize-specifiers-1): Rename to
18396 display-buffer-normalize-argument. New argument other-frame.
18397 Rewrite.
18398 (display-buffer-normalize-specifiers-2): Rename to
18399 display-buffer-normalize-options.
18400 (display-buffer-normalize-alist-1): New function.
18401 (display-buffer-normalize-specifiers-3): Rename to
18402 display-buffer-normalize-alist.
18403 Call display-buffer-normalize-alist-1.
18404 (display-buffer-normalize-options-inhibit): New variable.
18405 (display-buffer-normalize-specifiers): Rewrite calling
18406 display-buffer-normalize-alist,
18407 display-buffer-normalize-argument, and
18408 display-buffer-normalize-options. Don't call the latter if
18409 display-buffer-normalize-options-inhibit is non-nil.
18410 (frame-auto-delete): New option.
18411 (window-deletable-p): Use frame-auto-delete.
18412 (window-list-no-nils, window-state-ignored-parameters)
18413 (window-state-get-1, window-state-get, window-state-put-list)
18414 (window-state-put-1, window-state-put-2, window-state-put):
18415 New functions.
18416 (display-buffer-normalize-options): Move special-display-p group
18417 after pop-up-frame group (Bug#8851) and (Bug#8856).
18418
18419 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
18420
18421 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18422 groups (Bug#8776).
18423 (rx-submatch-n): New function.
18424 (rx): Document it.
18425
18426 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18427 (Bug#8768).
18428
18429 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18430
18431 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18432
18433 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18434 anytime existing face settings are present (Bug#8889).
18435
18436 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18437 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18438 Remove unused argument.
18439
18440 2011-06-18 Martin Rudalics <rudalics@gmx.at>
18441
18442 * window.el (display-buffer-default-specifiers):
18443 Remove pop-up-frame. Add pop-up-window-min-height,
18444 pop-up-window-min-width, and another reuse-window specifier
18445 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
18446 (display-buffer-normalize-specifiers-2):
18447 Handle split-height-threshold and split-width-threshold also when
18448 pop-up-windows is unset. Add a reuse-window specifier for the
18449 case popping up a new window fails.
18450 (special-display-popup-frame): Remove double quoting.
18451 (display-buffer-normalize-specifiers-1): Fix thinko.
18452
18453 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18454
18455 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18456 according to comint-completion-addsuffix.
18457
18458 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18459 (pcomplete-suffix-list): Mark as obsolete.
18460 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18461 pcomplete-seen in the closure.
18462 (pcomplete-comint-setup): Setup completion-at-point as well.
18463 (pcomplete--entries): New function.
18464 (pcomplete--env-regexp): New var.
18465 (pcomplete-entries): Rewrite to work with partial-completion and
18466 without relying on pcomplete-suffix-list.
18467 (pcomplete-pare-list): Remove, unused.
18468
18469 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18470
18471 * window.el (display-buffer-alist): Set pop-up-window-min-height
18472 and pop-up-window-min-width in default value. Reported by
18473 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18474 other-window-means-other-frame.
18475 (display-buffer-macro-specifiers): Comment out entry for
18476 other-window specifier.
18477 (display-buffer-other-window-means-other-frame): New function.
18478 (display-buffer-normalize-specifiers-1): New arguments
18479 buffer-name and label. Treat other-window case specially.
18480 (display-buffer-normalize-specifiers-2): Treat other-window case
18481 specially.
18482 (display-buffer-normalize-specifiers-3): New function.
18483 (display-buffer-normalize-specifiers):
18484 Call display-buffer-normalize-specifiers-3.
18485
18486 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18487
18488 * window.el (same-window-p): Fix two typos introduced when
18489 adding with-no-warnings.
18490 (display-buffer-normalize-specifiers-1): Don't check
18491 pop-up-frames for 'unset initialization.
18492 (display-buffer-normalize-specifiers-2): Major rewrite using
18493 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18494 (pop-up-frames, display-buffer-reuse-frames)
18495 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18496 Suggested by David Engster <deng@randomsample.de>.
18497 (even-window-heights): Initialize to 'unset.
18498 (display-buffer-alist-set): Handle new 'unset initializations.
18499 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18500 other window case.
18501
18502 2011-06-16 Martin Rudalics <rudalics@gmx.at>
18503
18504 * window.el (display-buffer-normalize-specifiers-1):
18505 Respect current value of pop-up-frames for most reasonable values of
18506 second argument of display-buffer (Bug#8865).
18507 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18508 (switch-to-buffer-other-window-same-frame)
18509 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18510 Adams (Bug#8875).
18511 (display-buffer): Don't check noninteractive when calling
18512 display-buffer-pop-up-frame.
18513 (display-buffer-pop-up-frame): Never pop up a frame in
18514 noninteractive mode (Bug#8857).
18515 (enlarge-window, shrink-window): Don't report an error when the
18516 window can't be resized as requested (Bug#8862).
18517
18518 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18519
18520 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18521
18522 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18523
18524 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18525
18526 2011-06-15 Alan Mackenzie <acm@muc.de>
18527
18528 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18529 for declarators, disable knr checking to speed up for normal files.
18530 2: Refactor, replacing a sequence of nested if forms by a cond form.
18531
18532 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18533
18534 * net/network-stream.el (open-network-stream): Add the keyword
18535 :always-query-capabilities for the case where you want to force a
18536 `plain' network connection, but the protocol still requires the
18537 capabilitiy command (i.e., SMTP and EHLO).
18538
18539 * subr.el (process-live-p): Rename from `process-alive-p' for
18540 consistency with other `-live-p' functions.
18541
18542 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18543
18544 * window.el (same-window-buffer-names, same-window-regexps)
18545 (special-display-frame-alist, special-display-popup-frame)
18546 (special-display-function, special-display-buffer-names)
18547 (special-display-regexps, pop-up-frame-alist)
18548 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18549 (pop-up-windows, split-window-preferred-function)
18550 (split-height-threshold, split-width-threshold, even-window-heights)
18551 (display-buffer-mark-dedicated): Don't encourage the use of
18552 display-buffer-alist from Elisp code.
18553
18554 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18555
18556 * progmodes/python.el (python-mode): Derive from prog-mode.
18557 * progmodes/ps-mode.el (ps-mode):
18558 * progmodes/mixal-mode.el (mixal-mode):
18559 * progmodes/cfengine.el (cfengine-mode):
18560 * progmodes/ld-script.el (ld-script-mode): Likewise.
18561
18562 2011-06-15 Martin Rudalics <rudalics@gmx.at>
18563
18564 * window.el (display-buffer-alist): Trim default value to avoid
18565 popping up a new frame (Bug#8857) or reusing an arbitrary window
18566 on another frame.
18567 (display-buffer): Do not fall back on popping up a new frame in
18568 batch mode (Bug#8857).
18569
18570 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
18571
18572 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18573 (custom-theme-summary): New function.
18574 (customize-themes): Use it.
18575
18576 2011-06-13 Glenn Morris <rgm@gnu.org>
18577
18578 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18579
18580 2011-06-13 Martin Rudalics <rudalics@gmx.at>
18581
18582 * help.el (help-window): Remove variable.
18583 (help-window-point-marker, temp-buffer-max-height)
18584 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18585 (help-print-return-message): Don't set help-window.
18586 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18587 (help-window-setup-finish): Remove.
18588 (help-window-display-message, help-window-setup)
18589 (with-help-window): Major rewrite based on new
18590 display-buffer-window variable.
18591
18592 * help-mode.el (help-mode-finish): Remove help-window related
18593 code.
18594
18595 * view.el (view-exits-all-viewing-windows): Remove reference to
18596 view-return-to-alist in doc-string.
18597 (view-return-to-alist): Make obsolete.
18598 (view-buffer): Call pop-to-buffer-same-window and remove
18599 undo-window code.
18600 (view-buffer-other-window): Call pop-to-buffer-other-window and
18601 simplify code. Ignore second argument.
18602 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18603 simplify code. Ignore second argument.
18604 (view-return-to-alist-update): Make obsolete.
18605 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18606 Rewrite using quit-restore window parameters.
18607 (view-mode-exit): Rename second argument to EXIT-ONLY.
18608 Rewrite using quit-restore-window.
18609 (View-exit, View-exit-and-edit, View-leave, View-quit)
18610 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18611 appropriate arguments.
18612 (view-end-message): Use quit-restore window parameter.
18613
18614 * window.el (display-buffer-function): Rewrite doc-string.
18615 (display-buffer-window, display-buffer-alist): New variables.
18616 (display-buffer-split-specifiers)
18617 (display-buffer-side-specifiers)
18618 (display-buffer-macro-specifiers): New constants.
18619 (display-buffer-even-window-sizes, display-buffer-set-height)
18620 (display-buffer-set-width, display-buffer-select-window)
18621 (display-buffer-in-window, display-buffer-reuse-window)
18622 (display-buffer-split-window-1, display-buffer-split-window)
18623 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18624 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18625 (display-buffer-in-side-window, normalize-buffer-to-display)
18626 (display-buffer-normalize-specifiers-1)
18627 (display-buffer-normalize-specifiers-2)
18628 (display-buffer-normalize-specifiers, display-buffer-frame):
18629 New functions.
18630 (display-buffer): Major rewrite.
18631 (display-buffer-other-window, display-buffer-other-frame)
18632 (pop-to-buffer, switch-to-buffer-other-window)
18633 (switch-to-buffer-other-frame): Rewrite.
18634 (display-buffer-same-window, display-buffer-same-frame)
18635 (display-buffer-same-frame-other-window)
18636 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18637 (pop-to-buffer-other-window)
18638 (pop-to-buffer-same-frame-other-window)
18639 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18640 (switch-to-buffer-other-window-same-frame): New functions.
18641 (same-window-p, special-display-p): Rewrite disabling warnings.
18642 Make obsolete.
18643 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18644 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18645 Make obsolete
18646 (same-window-buffer-names, same-window-regexps)
18647 (special-display-frame-alist, special-display-popup-frame)
18648 (special-display-function, special-display-buffer-names)
18649 (special-display-regexps, pop-up-frame-alist)
18650 (pop-up-frame-function, split-window-preferred-function)
18651 (split-height-threshold, split-width-threshold)
18652 (even-window-heights): Make obsolete.
18653
18654 2011-06-12 Glenn Morris <rgm@gnu.org>
18655
18656 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
18657 Misc simplifications.
18658
18659 2011-06-12 Martin Rudalics <rudalics@gmx.at>
18660
18661 * window.el (window-safely-shrinkable-p): Restore function which
18662 was inadvertently removed in change from 2011-06-11. Declare as
18663 obsolete.
18664
18665 * calendar/calendar.el (calendar-generate-window):
18666 Use window-iso-combined-p instead of combination of one-window-p and
18667 window-safely-shrinkable-p.
18668
18669 2011-06-12 Glenn Morris <rgm@gnu.org>
18670
18671 * progmodes/fortran.el (fortran-mode-syntax-table):
18672 * progmodes/f90.el (f90-mode-syntax-table):
18673 Set % to punctuation. (Bug#8820)
18674 (f90-find-tag-default): Remove, no longer needed.
18675
18676 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18677
18678 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18679
18680 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
18681
18682 * image.el (image-animated-p): Return animation delay in seconds.
18683 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18684 (image-animate-timeout): Remove DELAY argument. Don't assume
18685 every subimage has the same delay; get it from image-animated-p.
18686 (image-animate): Caller changed.
18687
18688 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
18689
18690 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18691 to ignored backtrace functions.
18692
18693 2011-06-11 Glenn Morris <rgm@gnu.org>
18694
18695 * calendar/appt.el (appt-disp-window-function): Doc fix.
18696 (appt-check): Handle overlapping appointments. (Bug#8337)
18697
18698 2011-06-11 Martin Rudalics <rudalics@gmx.at>
18699
18700 * window.el (window-tree-1, window-tree): New functions, moving
18701 the latter to window.el.
18702 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18703 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18704 (bw-refresh-edges): Remove.
18705 (balance-windows-1, balance-windows-2): New functions.
18706 (balance-windows): Rewrite in terms of window tree functions,
18707 balance-windows-1 and balance-windows-2.
18708 (bw-adjust-window): Remove.
18709 (balance-windows-area-adjust): New function with functionality of
18710 bw-adjust-window but using resize-window.
18711 (set-window-text-height): Rewrite doc-string.
18712 Use normalize-live-window and resize-window.
18713 (enlarge-window-horizontally, shrink-window-horizontally):
18714 Rename argument to DELTA.
18715 (window-buffer-height): New function.
18716 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18717 Rewrite using new window resize routines.
18718 (kill-buffer-and-window, mouse-autoselect-window-select):
18719 Use ignore-errors instead of condition-case.
18720 (quit-window): Call delete-frame instead of delete-windows-on
18721 for the only buffer on frame.
18722
18723 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18724
18725 * loadup.el (top-level): Load window before files for the sake
18726 of replace-buffer-in-windows.
18727
18728 * files.el (read-buffer-to-switch)
18729 (switch-to-buffer-other-window)
18730 (switch-to-buffer-other-frame, display-buffer-other-frame):
18731 Move to window.el.
18732
18733 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18734 (previous-buffer): Move to window.el.
18735
18736 * bindings.el (unbury-buffer): Move to window.el.
18737
18738 * window.el (delete-other-windows-vertically): Move after
18739 definition of delete-other-windows.
18740 (other-window, delete-windows-on, replace-buffer-in-windows):
18741 Move here from window.c.
18742 (record-window-buffer, unrecord-window-buffer)
18743 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18744 (switch-to-next-buffer): New functions.
18745 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18746 from simple.el. Call switch-to-next-buffer.
18747 (previous-buffer): Move here from simple.el.
18748 Call switch-to-prev-buffer.
18749 (bury-buffer): Move here from buffer.c. Switch to previous
18750 buffer when window cannot be deleted.
18751 (unbury-buffer): Move here from bindings.el.
18752 (ctl-x-map): Move binding for other-window from window.c to
18753 here.
18754 (read-buffer-to-switch, switch-to-buffer-other-window)
18755 (switch-to-buffer-other-frame): Move here from files.el.
18756 (normalize-buffer-to-switch-to): New functions.
18757 (switch-to-buffer): Move here from buffer.c.
18758 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18759
18760 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18761
18762 * window.el (window-min-height, window-min-width): Move here
18763 from window.c. Add defcustoms and rewrite doc-strings.
18764 (resize-mini-window, resize-window): New functions.
18765 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18766 Move here from window.c.
18767 (maximize-window, minimize-window): New functions.
18768 (delete-window, delete-other-windows, split-window): Move here
18769 from window.c.
18770 (window-split-min-size): New function.
18771 (split-window-keep-point): Mention split-window-above-each-other
18772 instead of split-window-vertically.
18773 (split-window-above-each-other, split-window-vertically):
18774 Rename split-window-vertically to split-window-above-each-other
18775 and provide defalias for old definition.
18776 (split-window-side-by-side, split-window-horizontally):
18777 Rename split-window-horizontally to split-window-side-by-side
18778 and provide defalias for the old definition.
18779 (ctl-x-map): Move bindings for delete-window,
18780 delete-other-windows and enlarge-window here from window.c.
18781 Replace bindings for split-window-vertically and
18782 split-window-horizontally by bindings for
18783 split-window-above-each-other and split-window-side-by-side.
18784
18785 * cus-start.el (all): Remove entries for window-min-height and
18786 window-min-width. Add entries for window-splits and
18787 window-nest.
18788
18789 2011-06-09 Glenn Morris <rgm@gnu.org>
18790
18791 * calendar/appt.el (appt-mode-line): New function.
18792 (appt-check, appt-disp-window): Use it.
18793
18794 * files.el (hack-one-local-variable-eval-safep):
18795 Allow minor-modes with explicit +/-1 arguments.
18796
18797 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18798
18799 * term/xterm.el (xterm): Add defgroup.
18800 (xterm-extra-capabilities): Add defcustom to supply known xterm
18801 capabilities, skip querying them, or query them (default).
18802 (terminal-init-xterm): Use it.
18803 (terminal-init-xterm-modify-other-keys): New function to set up
18804 modifyOtherKeys support to simplify `terminal-init-xterm'.
18805
18806 2011-06-09 Martin Rudalics <rudalics@gmx.at>
18807
18808 * window.el (resize-window-reset, resize-window-reset-1)
18809 (resize-subwindows-skip-p, resize-subwindows-normal)
18810 (resize-subwindows, resize-other-windows, resize-this-window)
18811 (resize-root-window, resize-root-window-vertically)
18812 (window-deletable-p, window-or-subwindow-p)
18813 (frame-root-window-p): New functions.
18814
18815 2011-06-09 Glenn Morris <rgm@gnu.org>
18816
18817 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18818 (ange-ftp-get-files): Use it.
18819
18820 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18821
18822 * mail/sendmail.el (mail-recover-1, mail-recover):
18823 * files.el (recover-file, recover-session):
18824 Handle dired-listing-switches not being just a single short option.
18825
18826 2011-06-09 Glenn Morris <rgm@gnu.org>
18827
18828 * calendar/appt.el (appt-display-message, appt-disp-window):
18829 Handle lists of appointments.
18830
18831 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18832
18833 * window.el (one-window-p): Move down in code.
18834 Rewrite doc-string.
18835 (window-current-scroll-bars): Rewrite doc-string.
18836 Normalize live window argument.
18837 (walk-windows, get-window-with-predicate, count-windows):
18838 Rewrite doc-string. Use window-list-1.
18839 (window-in-direction-2, window-in-direction, get-mru-window):
18840 New functions.
18841
18842 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18843
18844 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18845 Doc fix (Bug#8713).
18846
18847 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18848
18849 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18850
18851 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18852
18853 * loadhist.el (unload-feature-special-hooks):
18854 Add `comint-output-filter-functions'.
18855
18856 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18857
18858 * calendar/appt.el (appt-check): Move some initializations into the let.
18859
18860 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18861
18862 * window.el (window-height): Defalias to window-total-height.
18863 (window-width): Defalias to window-body-width.
18864
18865 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18866
18867 * image-mode.el (image-toggle-animation): New command.
18868 (image-mode-map): Bind it to RET.
18869 (image-mode): Update message.
18870 (image-toggle-display-image): Avoid a spurious cache flush.
18871 (image-transform-rotation): Doc fix.
18872 (image-transform-properties): Return quickly in the normal case.
18873 (image-animate-loop): Rename from image-animate-max-time.
18874
18875 * image.el (image-animate-max-time): Move to image-mode.el.
18876 (create-animated-image): Remove unnecessary function.
18877 (image-animate): Rename from image-animate-start. New arg.
18878 (image-animate-stop): Remove; just use image-animate-timer.
18879 (image-animate-timer): Use car-safe.
18880 (image-animate-timeout): Rename argument.
18881
18882 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18883
18884 * window.el (get-lru-window, get-largest-window): Move here from
18885 window.c. Rename first argument to ALL-FRAMES.
18886 Rephrase doc-strings.
18887 (get-buffer-window-list): Rewrite using window-list-1.
18888 Rephrase doc-string.
18889 (window-safe-min-height, window-safe-min-width): New constants.
18890 (window-size-ignore, window-min-size, window-min-size-1)
18891 (window-sizable, window-sizable-p, window-size-fixed-1)
18892 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18893 (window-max-delta-1, window-max-delta, window-resizable)
18894 (window-resizable-p, window-total-height, window-total-width)
18895 (window-body-width): New functions.
18896 (window-full-height-p, window-full-width-p): Rewrite using
18897 window-total-size.
18898 (window-body-height): Rewrite using window-body-size.
18899
18900 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18901
18902 * window.el (window-right, window-left, window-child)
18903 (window-child-count, window-last-child, window-any-p)
18904 (normalize-live-buffer, normalize-live-frame)
18905 (normalize-any-window, normalize-live-window)
18906 (window-iso-combination-p, window-iso-combined-p)
18907 (window-iso-combinations)
18908 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18909 (windows-with-parameter, window-with-parameter)
18910 (window-atom-root, make-window-atom, window-atom-check-1)
18911 (window-atom-check, window-side-check, window-check):
18912 New functions.
18913 (ignore-window-parameters, window-sides, window-sides-vertical)
18914 (window-sides-slots): New variables.
18915 (window-size-fixed): Move down in code. Minor doc-string fix.
18916
18917 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18918
18919 * comint.el (comint-dynamic-complete-as-filename)
18920 (comint-dynamic-complete-filename): Correctly call
18921 completion-in-region.
18922
18923 2011-06-05 Deniz Dogan <deniz@dogan.se>
18924
18925 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18926 in last change.
18927
18928 2011-06-05 Deniz Dogan <deniz@dogan.se>
18929
18930 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18931 (rcirc): Use it to prompt for encryption.
18932
18933 2011-06-05 Roland Winkler <winkler@gnu.org>
18934
18935 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18936 (bibtex-search-entries): New command bound to C-c C-a.
18937 (bibtex-display-entries): New function.
18938
18939 2011-06-05 Roland Winkler <winkler@gnu.org>
18940
18941 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18942 (bibtex-insert-kill): After yanking insert newline if necessary.
18943 (bibtex-initialize): Call bibtex-string-files-init only once.
18944 (bibtex-mode): Do not call easy-menu-add.
18945 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18946 (bibtex-yank): Set arg properly if nil.
18947
18948 2011-06-05 Roland Winkler <winkler@gnu.org>
18949
18950 * textmodes/bibtex.el (bibtex-search-entry-globally):
18951 New variable.
18952 (bibtex-search-entry): Use it.
18953
18954 2011-06-05 Roland Winkler <winkler@gnu.org>
18955
18956 * textmodes/bibtex.el (bibtex-entry-format): New option
18957 sort-fields.
18958 (bibtex-format-entry, bibtex-reformat): Honor this option.
18959 (bibtex-parse-entry): Return fields in proper order.
18960
18961 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18962
18963 * doc-view.el (doc-view-remove-if): Move computation of result out
18964 of `dolist' to silence misleading lexical-binding warning.
18965
18966 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18967
18968 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18969 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18970
18971 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18972
18973 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18974 "SunOS 5.10".
18975
18976 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18977
18978 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18979 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18980 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18981 (tramp-parse-putty):
18982 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18983 (tramp-completion-function-alist-ssh)
18984 (tramp-completion-function-alist-telnet)
18985 (tramp-completion-function-alist-su)
18986 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18987 cookie.
18988
18989 * net/tramp-ftp.el:
18990 * net/tramp-sh.el:
18991 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18992 load "tramp.el" `tramp-set-completion-function'.
18993
18994 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18995
18996 * shell.el: Require and use pcomplete.
18997 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18998 (shell-completion-vars): Set pcomplete-default-completion-function.
18999
19000 2011-06-04 Deniz Dogan <deniz@dogan.se>
19001
19002 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19003 `memq' (Bug#8799).
19004
19005 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19006
19007 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19008
19009 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
19010
19011 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19012 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19013 * vc/log-view.el (log-view-beginning-of-defun):
19014 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19015 (smerge-refine-forward, smerge-refine-chopup-region):
19016 Silence warning for unused `dotimes' counter variables.
19017
19018 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19019
19020 * net/tramp.el (tramp-with-progress-reporter): Rename from
19021 with-progress-reporter. Use `declare'.
19022 * net/tramp-smb.el:
19023 * net/tramp-sh.el:
19024 * net/tramp-gvfs.el: Update all uses.
19025
19026 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19027
19028 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19029 buffer isn't killed before making it current.
19030
19031 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19032
19033 Silence various byte-compiler warnings.
19034 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19035 `access-type' and new obsolescence format.
19036 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19037 new format.
19038 (byte-compile-check-variable): New `access-type' argument.
19039 Only warn if the access-type is obsolete.
19040 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19041 (byte-compile-variable-set): Adjust callers.
19042 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19043 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19044 setting it as obsolete.
19045 * simple.el (minibuffer-completing-symbol):
19046 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19047 access as obsolete.
19048 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19049 obsolete yet.
19050 * international/quail.el (quail-mouse-choose-completion): Remove unused
19051 code referring to obsolete var.
19052 (quail-choose-completion-string): Remove.
19053 * server.el (server-clients-with, server-kill-buffer-query-function)
19054 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19055 * proced.el (proced-send-signal):
19056 * emacs-lisp/lisp.el (lisp-complete-symbol):
19057 Replace completion-annotate-function with completion-extra-properties.
19058
19059 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19060
19061 * simple.el (goto-line): Use read-number.
19062 (overriding-map-is-bound): Remove.
19063 (saved-overriding-map): Change default.
19064 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19065 Take the map as argument.
19066 (universal-argument, negative-argument, digit-argument): Use it.
19067 (restore-overriding-map): Adjust.
19068 (do-auto-fill): Use fill-forward-paragraph.
19069 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19070
19071 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19072 (minibuffer-inactive-mode): New major mode.
19073 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19074 the *Messages* buffer" hack.
19075 (mouse-popup-menubar): Don't burp if the event is a normal key.
19076
19077 Miscellaneous tweaks.
19078 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19079 lexical scoping as in subr.el's dolist and dotimes.
19080 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19081 Silence compiler warning.
19082 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19083 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19084 * international/ccl.el (ccl-compile): Trivial simplification.
19085 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19086 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19087 `printflag' argument.
19088 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19089 Purecopy the whole obsolescence data.
19090
19091 2011-06-01 Leo Liu <sdl.web@gmail.com>
19092
19093 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19094 improve doc-string as suggested by Marco Pessotto
19095 <melmothx@gmail.com>.
19096 (rcirc-print): Fix last change.
19097
19098 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19099
19100 * minibuffer.el (complete-with-action): Return nil for the metadata and
19101 boundaries of non-functional tables.
19102 (completion-table-dynamic): Return nil for the metadata.
19103 (completion-table-with-terminator): Add default case, using
19104 complete-with-action.
19105 (completion--metadata): New function.
19106 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19107 to try and avoid pathological performance problems.
19108 (completion--embedded-envvar-table): Return `category' metadata.
19109
19110 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19111
19112 * subr.el (process-alive-p): New tiny convenience function.
19113
19114 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19115
19116 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19117 content but also its previous major mode.
19118
19119 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
19120
19121 * emacs-lisp/debug.el (debug): Restore the previous content of the
19122 *Backtrace* buffer when we exit with C-M-c.
19123
19124 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19125
19126 * minibuffer.el: Add metadata method to completion tables.
19127 (completion-category-overrides): New defcustom.
19128 (completion-metadata, completion--field-metadata)
19129 (completion-metadata-get, completion--styles)
19130 (completion--cycle-threshold): New functions.
19131 (completion-try-completion, completion-all-completions):
19132 Add `metadata' argument to choose completion-styles.
19133 (completion--do-completion): Use metadata to choose cycling.
19134 (completion-all-sorted-completions): Use metadata for sorting.
19135 Remove :completion-cycle-penalty which is not needed any more.
19136 (completion--try-word-completion): Add `metadata' argument.
19137 (minibuffer-completion-help): Check metadata for annotation function
19138 and sorting.
19139 (completion-file-name-table): Return `category' metadata.
19140 (minibuffer-completing-file-name): Make obsolete.
19141 * simple.el (minibuffer-completing-symbol): Make obsolete.
19142 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19143 completion-try-completion.
19144
19145 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19146
19147 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19148
19149 2011-05-30 Leo Liu <sdl.web@gmail.com>
19150
19151 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19152 (rcirc-print): Decode all incoming messages (bug#8744).
19153 (rcirc-decode-coding-system): Allow value nil for automatic coding
19154 system detection.
19155
19156 2011-06-01 Glenn Morris <rgm@gnu.org>
19157
19158 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19159
19160 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19161
19162 * image.el (image-animate-max-time): Allow nil and t values.
19163 Default to nil.
19164 (create-animated-image): Doc fix.
19165 (image-animate-start): Remove second arg; just use
19166 image-animate-max-time.
19167 (image-animate-timeout): Doc fix. Args changed.
19168
19169 * image-mode.el (image-toggle-display-image): Ensure that the
19170 image spec passed to the animate timer is the same object as in
19171 the buffer's display property (Bug#6981).
19172 (image-transform-properties): Doc fix.
19173
19174 * image.el (image-animate-max-time): Default to nil.
19175
19176 2011-05-29 Martin Rudalics <rudalics@gmx.at>
19177
19178 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19179 entire buffer list (Bug#8184).
19180
19181 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19182
19183 * image.el (imagemagick-types-inhibit)
19184 (imagemagick-register-types): Doc fix.
19185
19186 2011-05-29 Deniz Dogan <deniz@dogan.se>
19187
19188 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19189 default.
19190
19191 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19192
19193 * select.el: Don't perform clipboard-manager saving in hooks;
19194 leave the hooks empty.
19195
19196 2011-05-28 Leo Liu <sdl.web@gmail.com>
19197
19198 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19199 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19200 (occur-edit-mode): New major mode (Bug#8463).
19201 (occur-after-change-function): New function.
19202 (occur-engine): Give Occur tags a read-only property.
19203
19204 2011-05-28 Kevin Ryde <user42@zip.com.au>
19205
19206 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19207
19208 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19209
19210 * bindings.el (help-echo): Make the initial non-indicator dash
19211 empty on graphical terminals (Bug#7295).
19212
19213 * files.el (auto-mode-alist): Move config rule after the
19214 in-stripping one (Bug#8547).
19215
19216 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19217
19218 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19219 setting (Bug#8740).
19220
19221 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19222
19223 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19224 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19225 (Bug#8539).
19226
19227 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19228
19229 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19230
19231 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19232
19233 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19234 (hs-hide-block-at-point, hs-find-block-beginning)
19235 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19236 (Bug#8279).
19237
19238 2011-05-28 Glenn Morris <rgm@gnu.org>
19239
19240 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19241
19242 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19243
19244 * help-fns.el (describe-function-1): If the function is a derived
19245 major mode, print the parent mode.
19246
19247 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19248 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19249
19250 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19251
19252 * minibuffer.el (completion--capf-wrapper): Check applicability before
19253 returning non-nil for non-exclusive completion data.
19254 * progmodes/etags.el (tags-completion-at-point-function):
19255 * info-look.el (info-lookup-completions-at-point): Mark as
19256 non-exclusive.
19257 (info-complete): Adjust accordingly.
19258
19259 * info-look.el: Convert to lexical-binding and completion-at-point.
19260 (info-lookup-completions-at-point): New function.
19261 (info-complete): Use it and completion-in-region.
19262
19263 2011-05-28 Drew Adams <drew.adams@oracle.com>
19264
19265 * isearch.el: Let M-e start with point at the first mismatched char.
19266 (isearch-fail-pos): New function.
19267 (isearch-edit-string): Use it.
19268
19269 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19270
19271 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19272
19273 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
19274
19275 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19276 traversal functions for avl-trees.
19277 (avl-tree--stack): New struct.
19278 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19279 (avl-tree-enter): Add optional `updatefun' arg.
19280 (avl-tree--do-enter): Add optional `updatefun' arg.
19281 Change return value.
19282 (avl-tree-delete): Add optional `test' and `nilflag' args.
19283 (avl-tree--do-delete): Add `test' and `nilflag' args.
19284 Change return value.
19285 (avl-tree-member): Add optional `nilflag'
19286 (avl-tree-member-p): New function.
19287 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19288 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19289 (avl-tree-stack-empty-p): New functions.
19290
19291 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19292 avl-tree--del-balance1 and make it work both ways.
19293 (avl-tree--del-balance2): Remove.
19294 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19295 make it work both ways.
19296 (avl-tree--enter-balance2): Remove.
19297 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19298 New macros.
19299 (avl-tree--mapc, avl-tree-map): Add direction argument.
19300
19301 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
19302
19303 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19304
19305 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
19306
19307 * select.el: Support clipboard managers with built-in function
19308 x-clipboard-manager-save, via delete-frame-functions and
19309 kill-emacs-hook.
19310 (xselect-convert-to-targets): Add MULTIPLE target to list.
19311 (xselect-convert-to-save-targets): New function.
19312
19313 2011-05-27 Kenichi Handa <handa@m17n.org>
19314
19315 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19316 let-binding rfc2047-encode-encoded-words to nil.
19317
19318 2011-05-27 Glenn Morris <rgm@gnu.org>
19319
19320 * mail/emacsbug.el: Don't require url-util.
19321
19322 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19323
19324 * files.el (set-auto-mode):
19325 Also respect mode: entries at the end of the file. (Bug#8586)
19326
19327 2011-05-26 Glenn Morris <rgm@gnu.org>
19328
19329 * files.el (hack-local-variables-prop-line, hack-local-variables):
19330 Downcase mode names, as seems to be traditional.
19331 (hack-local-variables, hack-local-variables-apply): Doc fixes.
19332
19333 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19334 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19335
19336 2011-05-25 Julien Danjou <julien@danjou.info>
19337
19338 * textmodes/rst.el (rst-define-level-faces): Do not define face
19339 symbol if it is already defined.
19340
19341 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19342
19343 * play/5x5.el (5x5-new-game, 5x5-randomize):
19344 Reset 5x5-solver-output to nil when a new grid is cast.
19345 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19346 these debugging traces, as defmacro breaks the compiled code.
19347
19348 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19349
19350 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19351
19352 2011-05-24 Leo Liu <sdl.web@gmail.com>
19353
19354 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19355 (vc-bzr-sha1): Adapt.
19356
19357 * sha1.el: Remove. Function `sha1' is now builtin.
19358
19359 * bindings.el: Provide sha1 feature.
19360
19361 2011-05-24 Kenichi Handa <handa@m17n.org>
19362
19363 * mail/sendmail.el: Require `rfc2047'.
19364 (mail-insert-from-field): Do not perform RFC2047 encoding.
19365 (mail-encode-header): New function.
19366 (sendmail-send-it): Set buffer-file-coding-system of the work
19367 buffer to the return value of select-message-coding-system.
19368 Call mail-encode-header.
19369
19370 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19371
19372 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
19373
19374 * mail/supercite.el (sc-default-cite-frame):
19375 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19376
19377 2011-05-24 Glenn Morris <rgm@gnu.org>
19378
19379 * progmodes/python.el (brm-menu): Declare.
19380
19381 * emulation/viper.el (viper-set-hooks): Declare.
19382
19383 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19384 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19385 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19386 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19387 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19388 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19389
19390 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19391
19392 Add an :exit-function for completion-at-point.
19393
19394 * minibuffer.el (completion--done): New fun.
19395 (completion--do-completion): Use it. New arg `expect-exact'.
19396 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19397 since completion--do-completion does it for us now.
19398 (minibuffer-force-complete): Use completion--done and
19399 completion--replace. Handle sole-completion case with more care.
19400 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19401 (completion-extra-properties): New var.
19402 (completion-annotate-function): Make obsolete.
19403 (minibuffer-completion-help): Adjust accordingly.
19404 Use completion-list-insert-choice-function.
19405 (completion-at-point, completion-help-at-point):
19406 Bind completion-extra-properties.
19407 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19408 * simple.el (completion-list-insert-choice-function): New var.
19409 (completion-setup-function): Preserve it.
19410 (choose-completion): Pay attention to it, shuffle the code a bit.
19411 (choose-completion-string): New arg `insert-function'.
19412
19413 * textmodes/bibtex.el: Convert to lexical binding.
19414 (bibtex-mode-map): Use completion-at-point.
19415 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19416 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19417 (bibtex-complete): Define as obsolete alias.
19418 (bibtex-complete-internal): Remove.
19419 (bibtex-format-entry): Remove unused sub-group in regexp.
19420 * shell.el (shell--command-completion-data)
19421 (shell-environment-variable-completion):
19422 * pcomplete.el (pcomplete-completions-at-point):
19423 * comint.el (comint--complete-file-name-data): Use :exit-function
19424 instead of completion-table-with-terminator so it also works for
19425 choose-completion.
19426
19427 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19428
19429 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19430
19431 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19432 (bug#8710).
19433
19434 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19435
19436 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19437
19438 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19439 customization variable and implement: If non-nil, auto-fill will
19440 be inhibited while on topic's header line.
19441
19442 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19443
19444 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19445 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
19446 always have a solution in grid size = 5 cases.
19447 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19448 (5x5-solver-output, 5x5-log-buffer): New vars.
19449 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19450 Make these variables buffer local to achieve 5x5 multi-session-ness.
19451 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19452 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19453 (5x5-solve-suggest): New funs.
19454 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19455 randomize a grid so that we ensure that there is always a solution.
19456 (5x5-make-random-grid): Allow other movement than flipping.
19457
19458 2011-05-23 Kevin Ryde <user42@zip.com.au>
19459
19460 * emacs-lisp/advice.el (ad-read-advised-function):
19461 Use `function-called-at-point' as the default, if it has
19462 advice and passes PREDICATE.
19463
19464 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19465
19466 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19467 byte-compile-lambda if it's actually a lambda.
19468
19469 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19470 Fix function quoting. Use backquote better.
19471
19472 2011-05-22 Yuanle Song <sylecn@gmail.com>
19473
19474 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19475 matching (Bug#8516).
19476
19477 2011-01-22 Jari Aalto <jari.aalto@cante.net>
19478
19479 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19480 different face (Bug#8178).
19481
19482 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
19483
19484 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19485 defface (Bug#8144).
19486
19487 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19488
19489 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19490 funcall as well (bug#8712). Warn when performing those conversions.
19491 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19492
19493 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19494
19495 2011-05-22 Glenn Morris <rgm@gnu.org>
19496
19497 * files.el (hack-local-variables-prop-line): Small simplifications.
19498 (hack-local-variables, hack-local-variables-prop-line):
19499 If MODE-ONLY, return the mode, rather than just `t'.
19500
19501 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19502
19503 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19504
19505 2011-05-21 Glenn Morris <rgm@gnu.org>
19506
19507 * files.el (hack-local-variables-prop-line, hack-local-variables):
19508 If only interested in the mode, don't bother doing the other stuff.
19509
19510 * image-mode.el (image-after-revert-hook):
19511 Redraw all frames on which the image is visible. (Bug#8567)
19512
19513 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19514
19515 * wid-edit.el (widget-checklist-match-inline):
19516 Fix 2011-04-19 change. (Bug#8649)
19517
19518 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19519
19520 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19521 Also allow singlespace after single-letter capitals followed by a dot.
19522
19523 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19524 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19525
19526 2011-05-20 Nix <nix@esperi.org.uk>
19527
19528 * files.el (basic-save-buffer-2):
19529 Fix handling of break-hardlink-on-save with non-existent files.
19530
19531 2011-05-19 Deniz Dogan <deniz@dogan.se>
19532
19533 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19534 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19535
19536 2011-05-19 Glenn Morris <rgm@gnu.org>
19537
19538 * progmodes/f90.el (f90-type-def-re):
19539 Handle "type, bind(c)". (Bug#8691)
19540
19541 * emacs-lisp/autoload.el (batch-update-autoloads):
19542 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19543
19544 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
19545
19546 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19547 property for the correct connection in case of multihops.
19548
19549 2011-05-18 Glenn Morris <rgm@gnu.org>
19550
19551 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19552 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19553
19554 Rationalize calendar handling of day and month abbrev-arrays.
19555 * calendar/calendar.el (calendar-customized-p): New function.
19556 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19557 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19558 Add :set function.
19559 (calendar-abbrev-length, calendar-day-abbrev-array)
19560 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19561 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19562 Elements may no longer be nil.
19563 (calendar-day-name, calendar-month-name):
19564 Update for changed nature of abbrev arrays.
19565 * calendar/diary-lib.el (diary-name-pattern):
19566 Update for changed nature of abbrev arrays.
19567 (diary-mark-entries-1): Update calendar-make-alist calls.
19568 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19569 * calendar/cal-html.el (cal-html-day-abbrev-array):
19570 Simply inherit from calendar-day-abbrev-array.
19571
19572 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19573
19574 * progmodes/grep.el (grep-mode): Disable default
19575 compilation-directory-matcher setting (bug#8684).
19576
19577 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
19578
19579 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19580 instead of "head" and "tail". There were problems with SunOS 5.9,
19581 and it performs better.
19582
19583 2011-05-17 Glenn Morris <rgm@gnu.org>
19584
19585 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19586
19587 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19588 Replace obsolete function.
19589
19590 * shell.el (pcomplete-parse-arguments-function): Declare.
19591
19592 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19593 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19594 (appt-check): Doc fixes.
19595 (appt-disp-window-function, appt-delete-window-function):
19596 Remove needless special case in custom :type.
19597 (appt-display-count): Default to 0, not nil.
19598 (appt-check): Reset appt-display-count to 0, not nil.
19599
19600 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
19601
19602 * progmodes/python.el (python-font-lock-keywords):
19603 Add the Python 3.X keyword "nonlocal" (bug#8639).
19604
19605 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19606
19607 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19608
19609 2011-05-16 Kevin Ryde <user42@zip.com.au>
19610
19611 * info-look.el (makefile-automake-mode): New setups, looking in
19612 automake manual, then makefile-mode.
19613 (makefile-mode): Remove automake manual, have it just in
19614 makefile-automake-mode since there's various things different or
19615 not relevant to plain make.
19616 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19617 believe a hypothetical automake-mode would go to makefile-mode,
19618 not the other way around.
19619
19620 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
19621
19622 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19623 hunk-end tags (Bug#8672).
19624
19625 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19626 vc-annotate-show-diff-revision-at-line (Bug#8671).
19627
19628 2011-05-14 Glenn Morris <rgm@gnu.org>
19629
19630 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19631 in the middle of an existing one with multiple authors. (Bug#8645)
19632 (change-log-font-lock-keywords): Also handle multiple author lines
19633 with leading tabs. (Bug#8644)
19634
19635 * calendar/appt.el (appt-check): Rename some local variables.
19636 Some simplification/reordering.
19637
19638 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19639 (feedmail-sendmail-f-doesnt-sell-me-out)
19640 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19641 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19642 (feedmail-queue-runner-message-sender): Set :version.
19643 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19644 (bbdb-dwim-net-address, vm-mail): Declare.
19645 (feedmail-binmail-gnulinuxish-template):
19646 Rename from feedmail-binmail-linuxish-template.
19647 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19648 Use insert-buffer-substring.
19649
19650 2011-05-14 Bill Carpenter <bill@carpenter.org>
19651
19652 * mail/feedmail.el (feedmail-patch-level): Increase.
19653 (feedmail-debug): New custom group.
19654 (feedmail-confirm-outgoing-timeout)
19655 (feedmail-sendmail-f-doesnt-sell-me-out)
19656 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19657 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19658 (feedmail-sender-line, feedmail-from-line)
19659 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19660 (feedmail-spray-this-address)
19661 (feedmail-spray-address-fiddle-plex-list)
19662 (feedmail-queue-use-send-time-for-date)
19663 (feedmail-queue-use-send-time-for-message-id)
19664 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19665 (feedmail-buffer-eating-function):
19666 Doc fixes.
19667 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19668 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19669 (feedmail-message-action-scroll-down): New functions.
19670 (feedmail-queue-directory, feedmail-queue-draft-directory):
19671 Use expand-file-name.
19672 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19673 Remove C-v help entry.
19674 (feedmail-queue-buffer-file-name): New variable.
19675 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19676 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19677 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19678 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19679 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19680 (feedmail-message-action-toggle-spray)
19681 (feedmail-run-the-queue-no-prompts)
19682 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19683 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19684 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19685 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19686 (feedmail-envelope-deducer, feedmail-fiddle-from)
19687 (feedmail-fiddle-sender, feedmail-default-date-generator)
19688 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19689 (feedmail-fiddle-spray-address)
19690 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19691 (feedmail-fiddle-list-of-fiddle-plexes)
19692 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19693 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19694 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19695 Change default. Doc fix.
19696 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19697 (feedmail-binmail-linuxish-template): New constant.
19698 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19699 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19700 (feedmail-send-it): Add debug call.
19701 Use feedmail-queue-buffer-file-name, and
19702 feedmail-send-it-immediately-wrapper.
19703 (feedmail-message-action-send): Add debug call.
19704 Use feedmail-send-it-immediately-wrapper.
19705 (feedmail-queue-express-to-queue): Add debug call.
19706 Run feedmail-queue-express-hook.
19707 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19708 (feedmail-message-action-help-blat):
19709 Rename from feedmail-queue-send-edit-prompt-help-first.
19710 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19711 Check line-endings. Handle errors better.
19712 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19713 Doc fix. Add debug call.
19714 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19715 Use feedmail-queue-send-edit-prompt-inner.
19716 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19717 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19718 from feedmail-queue-send-edit-prompt.
19719 (feedmail-queue-send-edit-prompt-help)
19720 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19721 (feedmail-tidy-up-slug): Add debug call.
19722 Respect feedmail-queue-slug-suspect-regexp.
19723 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19724 (feedmail-dump-message-to-queue): Add debug call.
19725 Expand queue-directory.
19726 (feedmail-dump-message-to-queue): Change message slightly.
19727 Use feedmail-say-chatter.
19728 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19729 (feedmail-send-it-immediately-wrapper): New function.
19730 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19731 Insert empty string rather than newline. Handle full-frame case.
19732 Use catch/throw. Use feedmail-say-chatter.
19733 (feedmail-fiddle-from): Try mail-host-address.
19734 (feedmail-default-message-id-generator): Doc fix.
19735 Bind system-time-locale. Handle missing end.
19736 (feedmail-fiddle-x-mailer): Add debug call.
19737 Handle feedmail-x-mailer-line being nil.
19738 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19739 Add debug call. Use buffer-substring-no-properties.
19740 (feedmail-say-debug, feedmail-say-chatter): New functions.
19741 (feedmail-find-eoh): Give an explicit error.
19742
19743 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
19744
19745 * net/newst-treeview.el (newsticker-treeview-face): Change default
19746 family from helvetica to sans.
19747 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19748 etc/images/newsticker.
19749
19750 * net/newst-reader.el (newsticker-feed-face): Change default
19751 family from helvetica to sans.
19752
19753 * net/newst-plainview.el (newsticker-new-item-face)
19754 (newsticker-old-item-face, newsticker-immortal-item-face)
19755 (newsticker-obsolete-item-face, newsticker-date-face)
19756 (newsticker-statistics-face): Change default family from
19757 helvetica to sans.
19758 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19759 etc/images/newsticker.
19760
19761 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19762 (newsticker--process-auto-mark-filter-match): Tell user about
19763 auto-marking.
19764
19765 2011-05-13 Didier Verna <didier@xemacs.org>
19766
19767 Common Lisp indentation improvements on defmethod and lambda-lists.
19768 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19769 TODO entries.
19770 (lisp-lambda-list-keyword-parameter-indentation)
19771 (lisp-lambda-list-keyword-parameter-alignment)
19772 (lisp-lambda-list-keyword-alignment): New customizable user options.
19773 (lisp-indent-defun-method): Improve docstring.
19774 (extended-loop-p): Fix comment.
19775 (lisp-indent-lambda-list-keywords-regexp): New variable.
19776 (lisp-indent-lambda-list): New function.
19777 (lisp-indent-259): Use it.
19778 (lisp-indent-defmethod): Support for more than one
19779 method qualifier and properly indent methods lambda-lists.
19780 (defgeneric): Provide a missing common-lisp-indent-function property.
19781
19782 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19783
19784 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19785 bounds for the empty string (bug#8667).
19786
19787 2011-05-13 Glenn Morris <rgm@gnu.org>
19788
19789 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19790
19791 * mail/sendmail.el (sendmail-program): Try executable-find first.
19792 (sendmail-send-it): `sendmail-program' cannot be unbound.
19793
19794 * calendar/appt.el (appt-make-list): Simplify.
19795 (appt-time-msg-list): Doc fix.
19796 (appt-check): Change mode-line message at the time of the appointment.
19797
19798 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19799
19800 * progmodes/ld-script.el (ld-script-keywords)
19801 (ld-script-builtins): Update keywords list.
19802
19803 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19804
19805 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19806
19807 * shell.el (shell-completion-vars): New function.
19808 (shell-mode):
19809 * simple.el (read-shell-command): Use it.
19810 (blink-matching-open): No need for " [...]" in minibuffer-message.
19811
19812 2011-05-12 Glenn Morris <rgm@gnu.org>
19813
19814 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19815 (appt-check): Simplify.
19816
19817 2011-05-12 Eli Zaretskii <eliz@gnu.org>
19818
19819 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19820 literal "/dev/null".
19821
19822 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19823
19824 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19825 Fix typo.
19826
19827 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19828
19829 * progmodes/which-func.el (which-function):
19830 Use add-log-current-defun instead of add-log-current-defun-function,
19831 which might not be defined (Bug#8260).
19832
19833 2011-05-12 Glenn Morris <rgm@gnu.org>
19834
19835 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19836 Let byte-compile-initial-macro-environment always take precedence.
19837
19838 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19839
19840 * net/rcirc.el: Add support for SSL/TLS connections.
19841 (rcirc-server-alist): New field `encryption'.
19842 (rcirc): Check `encryption' settings.
19843 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19844 Merge make-local-variable into `set'.
19845 (rcirc--connection-open-p): New function.
19846 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19847 the process is not a network process (e.g. running gnutls-cli).
19848 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19849 Make rcirc-(en|de)code-coding-system local here.
19850 (rcirc-mode): Merge make-local-variable into `set'.
19851 (rcirc-parent-buffer): Make permanent buffer-local.
19852 (rcirc-multiline-minor-mode): Don't do it here.
19853 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19854 there's no server buffer.
19855
19856 2011-05-11 Glenn Morris <rgm@gnu.org>
19857
19858 * newcomment.el (comment-kill): Prefix "unused" local.
19859
19860 * term/w32console.el (get-screen-color): Declare.
19861
19862 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19863 Handle symbol elements of byte-compile-initial-macro-environment.
19864
19865 2011-05-10 Leo Liu <sdl.web@gmail.com>
19866
19867 * bookmark.el (bookmark-bmenu-mode-map):
19868 Bind bookmark-bmenu-search to `/'.
19869
19870 * mail/footnote.el: Convert to utf-8 encoding.
19871 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19872 (Footnote-unicode): New function.
19873 (footnote-style-alist): Add unicode style to the list.
19874 (footnote-style): Doc fix.
19875
19876 2011-05-10 Jim Meyering <meyering@redhat.com>
19877
19878 Fix doubled-word typos.
19879 * international/quail.el (quail-insert-kbd-layout): and and -> and
19880 * kermit.el: and and -> and
19881 * net/ldap.el (ldap-search-internal): to to -> to
19882 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19883 * progmodes/js.el (js-mode): and and -> and
19884 * textmodes/artist.el (artist-move-to-xy): at at -> at
19885 (artist-draw-region-trim-line-endings): if if -> if
19886 And Safetyc -> Safety.
19887 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19888
19889 2011-05-10 Glenn Morris <rgm@gnu.org>
19890 Stefan Monnier <monnier@iro.umontreal.ca>
19891
19892 * files.el (hack-one-local-variable-eval-safep):
19893 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19894
19895 2011-05-10 Glenn Morris <rgm@gnu.org>
19896
19897 * calendar/diary-lib.el (diary-list-entries-hook)
19898 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19899 (diary-nongregorian-marking-hook, diary-list-entries)
19900 (diary-include-other-diary-files, diary-mark-entries)
19901 (diary-mark-included-diary-files): Doc fixes.
19902
19903 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19904
19905 * misc.el: Require tabulated-list.el during compilation.
19906
19907 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19908
19909 * progmodes/compile.el (compilation-start):
19910 Run compilation-filter-hook for the async case too.
19911 (compilation-filter-hook): Doc fix.
19912
19913 2011-05-09 Deniz Dogan <deniz@dogan.se>
19914
19915 * wdired.el: Remove outdated installation comment. Fix usage
19916 comment.
19917
19918 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19919
19920 * misc.el: Implement new command `list-dynamic-libraries'.
19921 (list-dynamic-libraries--loaded-only-p): New variable.
19922 (list-dynamic-libraries--refresh): New function.
19923 (list-dynamic-libraries): New command.
19924
19925 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19926
19927 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19928 Fix the ant regexp to handle end-line and end-column info from jikes.
19929 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19930 higher priority to avoid clobbering by gnu.
19931
19932 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19933
19934 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19935 if the face has existing theme settings (Bug#8454).
19936
19937 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19938
19939 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19940 Only match variables declared via `my' or `our' (Bug#8261).
19941
19942 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19943 special file names `.' and `..' (Bug#8259).
19944
19945 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19946
19947 * progmodes/grep.el (grep-mode-font-lock-keywords):
19948 Remove buffer-changing entries.
19949 (grep-filter): New function.
19950 (grep-mode): Add it to compilation-filter-hook.
19951
19952 * progmodes/compile.el (compilation-filter-hook)
19953 (compilation-filter-start): New defvars.
19954 (compilation-filter): Call compilation-filter-hook prior to
19955 updating the process mark.
19956
19957 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19958
19959 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19960
19961 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19962
19963 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19964 mailclient-send-it even if window-system is nil. (Bug#8595)
19965
19966 * term/w32console.el (terminal-init-w32console):
19967 Call get-screen-color and use its output to set the frame
19968 background-mode. (Bug#8597)
19969
19970 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19971
19972 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19973 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19974 New functions.
19975 (defgeneric, eieio--defmethod): Use them.
19976 (eieio-defgeneric): Remove.
19977 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19978
19979 2011-05-07 Glenn Morris <rgm@gnu.org>
19980
19981 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19982 Use let rather than let*.
19983 (timeclock-find-discrep): Remove unused local.
19984
19985 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19986
19987 * calendar/appt.el (appt-time-msg-list): Doc fix.
19988
19989 2011-05-06 Noah Friedman <friedman@splode.com>
19990
19991 * apropos.el (apropos-print-doc): Only use
19992 emacs-lisp-docstring-fill-column when it is bound to an integer,
19993 per that variable's documentation.
19994
19995 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19996
19997 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19998 and warnings are not silently discarded (e.g. use -d instead of -P).
19999
20000 2011-05-06 Glenn Morris <rgm@gnu.org>
20001
20002 * calendar/appt.el (appt-message-warning-time): Doc fix.
20003 (appt-warning-time-regexp): New option.
20004 (appt-make-list): Respect appt-message-warning-time.
20005
20006 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20007 New options.
20008 (diary-add-to-list): Strip comments from the displayed string.
20009 (diary-mode): Set comment-start and comment-end.
20010
20011 * vc/diff-mode.el (smerge-refine-subst): Declare.
20012 (diff-refine-hunk): Don't require smerge-mode when compiling.
20013
20014 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
20015
20016 * simple.el (list-processes): Return nil as the docstring says.
20017
20018 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20019
20020 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20021 to "".
20022 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20023 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20024 determining of binary transfer. (Bug#7383)
20025
20026 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20027
20028 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20029 Fix port computation bug. (Bug#8618)
20030
20031 2011-05-05 Glenn Morris <rgm@gnu.org>
20032
20033 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20034
20035 * simple.el (shell-dynamic-complete-functions)
20036 (comint-dynamic-complete-functions): Declare.
20037
20038 * net/network-stream.el (gnutls-negotiate):
20039 * simple.el (tabulated-list-print): Fix declarations.
20040
20041 * progmodes/gud.el (syntax-symbol, syntax-point):
20042 Remove unnecessary and incorrect declarations.
20043
20044 * emacs-lisp/check-declare.el (check-declare-scan):
20045 Handle byte-compile-initial-macro-environment in bytecomp.el.
20046
20047 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20048
20049 Fix earlier half-done eieio-defmethod change (bug#8338).
20050 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20051 Streamline and change calling convention.
20052 (defmethod): Adjust accordingly and simplify.
20053 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20054 new eieio--defmethod.
20055 (slot-boundp): Minor CSE simplification.
20056
20057 2011-05-05 Milan Zamazal <pdm@zamazal.org>
20058
20059 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20060 (glasses-make-readable): Use glasses-separate-capital-groups.
20061
20062 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
20063
20064 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20065 (warning-series): Doc fix.
20066 (display-warning): Don't try to create the buffer if we just found it.
20067
20068 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
20069
20070 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20071 (autoload-find-generated-file): New function.
20072 (generate-file-autoloads): Bind generated-autoload-file to
20073 buffer-file-name.
20074 (update-file-autoloads, update-directory-autoloads):
20075 Use autoload-find-generated-file. If called interactively, prompt for
20076 output file (Bug#7989).
20077 (batch-update-autoloads): Doc fix.
20078
20079 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
20080
20081 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20082
20083 2011-05-04 Glenn Morris <rgm@gnu.org>
20084
20085 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20086 function, so it follows changes in calendar-date-style.
20087 (diary-fancy-date-matcher): New function.
20088 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20089 (diary-fancy-font-lock-fontify-region-function):
20090 Use diary-fancy-date-pattern as a function.
20091
20092 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20093 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20094
20095 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20096
20097 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20098 instead of positional arguments. Allow :keylist and :crlfiles
20099 arguments.
20100 (open-gnutls-stream): Call it.
20101
20102 * net/network-stream.el (network-stream-open-starttls): Adjust to
20103 call `gnutls-negotiate' with :process and :hostname arguments.
20104
20105 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20106
20107 * minibuffer.el (completion--message): New function.
20108 (completion--do-completion, minibuffer-complete)
20109 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20110 (completion--do-completion): Don't ignore completion-auto-help when in
20111 icomplete-mode.
20112
20113 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20114 internal encoding (e.g. tibetan zero is not whitespace).
20115 (global-whitespace-mode): Prefer save-current-buffer.
20116 (whitespace-trailing-regexp): Remove useless save-match-data.
20117 (whitespace-empty-at-bob-regexp): Minor simplification.
20118
20119 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
20120
20121 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20122
20123 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20124
20125 * textmodes/ispell.el (ispell-add-per-file-word-list):
20126 Use `concat' to create string for insertion.
20127
20128 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20129
20130 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20131 Avoid open-line which runs post-self-insert-hook.
20132 (bibtex-fill-entry): Remove unused `end' var.
20133
20134 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20135
20136 * textmodes/ispell.el (ispell-add-per-file-word-list):
20137 Protect against `nil' value of `comment-start' (Bug#8579).
20138
20139 2011-05-03 Leo Liu <sdl.web@gmail.com>
20140
20141 * isearch.el (isearch-yank-pop): New command.
20142 (isearch-mode-map): Bind it to `M-y'.
20143 (isearch-forward): Mention it.
20144
20145 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20146
20147 * simple.el (minibuffer-complete-shell-command): Remove.
20148 (minibuffer-local-shell-command-map): Use completion-at-point.
20149 (read-shell-command): Setup completion vars here instead.
20150 (read-expression-map): Bind TAB to symbol completion.
20151
20152 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20153 error directly rather via storing it into `results'.
20154
20155 2011-05-02 Leo Liu <sdl.web@gmail.com>
20156
20157 * vc/diff.el: Fix description.
20158
20159 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20160
20161 * server.el (server-eval-at): New function.
20162
20163 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20164
20165 * net/network-stream.el (open-network-stream): Take a :nowait
20166 parameter and pass it on to `make-network-process'.
20167 (network-stream-open-plain): Ditto.
20168
20169 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20170
20171 * faces.el (face-spec-set-match-display): Don't match toolkit
20172 options on terminal frames.
20173
20174 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20175
20176 * progmodes/pascal.el: Use lexical binding.
20177 (pascal-mode-map): Remove author preferences.
20178
20179 * pcomplete.el (pcomplete-std-complete): Don't abuse
20180 completion-at-point.
20181
20182 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20183
20184 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20185 removing code that has been dead since 1991 or so.
20186
20187 * startup.el (command-line): When warning about "_emacs", use a
20188 delayed warning to allow the user to filter it out.
20189
20190 2011-04-28 Deniz Dogan <deniz@dogan.se>
20191
20192 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20193 user has not joined.
20194
20195 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20196
20197 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20198 aren't any completions at point.
20199
20200 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20201
20202 * subr.el (display-delayed-warnings): New function.
20203 (delayed-warnings-hook): New variable.
20204
20205 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20206
20207 * minibuffer.el (completion-at-point, completion-help-at-point):
20208 Don't presume that a given completion-at-point-function will always
20209 use the same calling convention.
20210
20211 * pcomplete.el (pcomplete-completions-at-point):
20212 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20213 pcomplete-seen is non-nil.
20214 (pcomplete-comint-setup): Also recognize the new comint/shell
20215 completion functions.
20216 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20217 pcomplete-seen is non-nil.
20218
20219 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
20220
20221 * calendar/icalendar.el (diary-lib): Add require statement.
20222 (icalendar--create-uid): Read out a uid from a text-property on
20223 the first character in the entry. This allows for code to add its
20224 own uid to the entry.
20225 (icalendar--convert-float-to-ical): Add export of
20226 `diary-float'-entries save for those with the optional DAY
20227 argument.
20228
20229 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20230
20231 * subr.el (shell-quote-argument): Use alternate escaping strategy
20232 when we spot a variable reference in a string.
20233
20234 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20235
20236 * cus-start.el (all): Define customization for debug-on-event.
20237
20238 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20239
20240 * subr.el (shell-quote-argument): Escape correctly under Windows.
20241
20242 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20243
20244 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20245
20246 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
20247
20248 * net/tramp.el (tramp-process-actions): Add POS argument.
20249 Delete region between POS and (pos).
20250
20251 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20252 Use `nil' position in `tramp-process-actions' call.
20253 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20254
20255 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20256 position in `tramp-process-actions' call.
20257
20258 * net/trampver.el: Update release number.
20259
20260 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20261
20262 * custom.el (defcustom): Obey lexical-binding.
20263
20264 Fix octave-inf completion problems reported by Alexander Klimov.
20265 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20266 Inherit from octave-mode-syntax-table.
20267 (inferior-octave-mode): Set info-lookup-mode.
20268 (inferior-octave-completion-at-point): New function.
20269 (inferior-octave-complete): Use it and completion-in-region.
20270 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20271 comint-filename-completion.
20272 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20273 symbol elements which shouldn't be word elements.
20274 (octave-font-lock-keywords, octave-beginning-of-defun)
20275 (octave-function-header-regexp): Adjust regexps accordingly.
20276 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20277
20278 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
20279
20280 * net/gnutls.el (gnutls-errorp): Declare before first use.
20281
20282 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20283
20284 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20285 verify-error, and verify-hostname-error parameters. Check whether
20286 default trustfile exists before going to use it. Add missing
20287 argument to gnutls-message-maybe call. Return value.
20288 Reported by Claudio Bley <claudio.bley@gmail.com>.
20289 (open-gnutls-stream): Add usage example.
20290
20291 * net/network-stream.el (network-stream-open-starttls): Give host
20292 parameter to `gnutls-negotiate'.
20293 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20294 * subr.el (shell-quote-argument): Escape correctly under Windows.
20295
20296 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
20297
20298 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20299 Use correct match group (bug#8438).
20300
20301 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20302
20303 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20304 (package-menu--generate): New arg specifying packages to show.
20305 (package-menu-refresh, package-menu-execute, list-packages):
20306 Callers changed.
20307 (package-show-package-list): New function, replacing deleted
20308 package--list-packages (renamed because it is non-internal).
20309
20310 * finder.el (finder-list-matches): Use package-show-package-list
20311 instead of deleted package--list-packages.
20312
20313 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20314 Based on a previous implementation by Juanma Barranquero (Bug#8366).
20315 (vc-annotate-mode-map): Bind it to RET.
20316
20317 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20318
20319 * progmodes/etags.el (next-file): Don't use set-buffer to change
20320 buffers (Bug#8478).
20321
20322 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20323
20324 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20325
20326 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20327 (apropos-accumulator): Doc fix.
20328 (apropos-function, apropos-macro, apropos-command)
20329 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20330 (apropos-plist): Add face property.
20331 (apropos-symbols-internal): Fix indentation.
20332 (apropos-print): Simplify help, and recognize apropos-multi-type.
20333 (apropos-print-doc): Use button-type-get to extract the button's
20334 face property. Fill docstring (Bug#8352).
20335
20336 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
20337
20338 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20339
20340 * play/mpuz.el (mpuz-silent): Doc fix.
20341 (mpuz-mode-map): Use mapc.
20342 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20343 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20344 Fix typos in docstrings.
20345
20346 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20347 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20348
20349 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20350
20351 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
20352
20353 * minibuffer.el (completion--do-completion): Avoid the "Next char
20354 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20355
20356 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20357 mouse-2 into unread-command-events, it is interpreted correctly.
20358
20359 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20360 (image-toggle-display): Doc fix.
20361
20362 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
20363
20364 * textmodes/page.el (what-page): Use line-number-at-pos to
20365 calculate line number (Bug#6825).
20366
20367 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20368
20369 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20370 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20371 Pass argument NO-DEFAULT to `find-tag-interactive'.
20372
20373 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20374
20375 Lexical-binding cleanup.
20376
20377 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20378 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20379 * progmodes/ada-prj.el (ada-prj-initialize-values)
20380 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20381 (ada-prj-show-value):
20382 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20383 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20384 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20385 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20386 * progmodes/bug-reference.el (bug-reference-push-button):
20387 * progmodes/fortran.el (fortran-line-length):
20388 * progmodes/glasses.el (glasses-change):
20389 * progmodes/octave-mod.el (octave-fill-paragraph):
20390 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20391 (python-pdbtrack-grub-for-buffer, python-sentinel):
20392 * progmodes/sql.el (sql-save-connection):
20393 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20394 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20395 Mark unused parameters.
20396
20397 * progmodes/compile.el (compilation--flush-directory-cache)
20398 (compilation--flush-parse, compile-internal): Mark unused parameters.
20399 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20400 (compilation-next-error-function): Remove unused variable `timestamp'.
20401
20402 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20403 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20404
20405 * progmodes/dcl-mode.el (dcl-end-of-command):
20406 Remove unused variable `start'.
20407 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20408 (dcl-option-value-basic, dcl-option-value-offset)
20409 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20410 Mark unused parameters.
20411 (dcl-save-local-variable): Remove unused variable `val'.
20412 (mode): Declare.
20413
20414 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20415 Mark unused parameters.
20416 (delphi-ignore-changes): Move before first use.
20417 (delphi-charset-token-at): Remove unused variable `start'.
20418 (delphi-else-start): Remove unused variable `if-count'.
20419 (delphi-comment-block-start, delphi-comment-block-end):
20420 Remove unused variable `kind'.
20421 (delphi-indent-line): Remove unused variable `new-point'.
20422
20423 * progmodes/ebrowse.el (ebrowse-files-list)
20424 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20425 Mark unused parameters. Don't quote `lambda'.
20426 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20427 Don't quote `lambda'.
20428 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20429 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20430 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20431 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20432 Use `ignore-errors'.
20433 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20434 (ebrowse-view/find-file-and-search-pattern)
20435 (ebrowse-view/find-member-declaration/definition):
20436 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20437 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20438 Rename parameter PREFIX-ARG to PREFIX.
20439 (ebrowse-tags-read-name): Remove unused variables `start' and
20440 `member-info'.
20441 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20442 to `tags-file'.
20443
20444 * progmodes/etags.el (local-find-tag-hook): Declare.
20445 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20446 Mark unused parameters.
20447
20448 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20449 (executable-interpret): Mark unused parameter.
20450
20451 * progmodes/flymake.el (flymake-process-sentinel)
20452 (flymake-after-change-function)
20453 (flymake-create-temp-with-folder-structure)
20454 (flymake-get-include-dirs-dot): Mark unused parameters.
20455 (flymake-safe-delete-directory): Remove unused variable `err'.
20456
20457 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20458 (speedbar-timer-fn, speedbar-line-text)
20459 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20460 (speedbar-center-buffer-smartly): Declare functions.
20461 (gdb-find-watch-expression): Remove unused variable `array'.
20462 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20463 (gdb-starting): Mark unused parameters.
20464 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20465 (gdb-table-string): Remove unused variable `res'.
20466 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20467 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20468 (gdb-display-buffer): Remove unused variable `cur-size'.
20469
20470 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20471 allow lexical-binding compilation.
20472 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20473 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20474 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20475 Mark unused parameters.
20476 (gud-gdb-marker-filter): Remove unused variable `match'.
20477 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20478 lambda expressions and funcall them, instead of using `fset'.
20479
20480 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20481 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20482
20483 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20484 variable `header-beg'; use `let'.
20485
20486 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20487 `restart', `last-sexp' and `at-do'.
20488
20489 * progmodes/js.el (js--debug): Mark unused parameter.
20490 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20491 (js--splice-into-items): Remove unused variable `item'.
20492 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20493
20494 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20495 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20496 (makefile-complete): Remove unused variable `try'.
20497 (makefile-fill-paragraph, makefile-match-function-end):
20498 Mark unused parameters.
20499
20500 * progmodes/octave-inf.el (inferior-octave-complete):
20501 Remove unused variable `proc'.
20502 (inferior-octave-output-digest): Mark unused parameter.
20503
20504 * progmodes/perl-mode.el (perl-calculate-indent):
20505 Remove unused variable `err'.
20506
20507 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20508 (prolog-indent-line): Mark unused parameters.
20509 (prolog-indent-line): Remove unused variable `beg'.
20510
20511 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20512 (reporter-dont-compact-list): Declare.
20513
20514 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20515 Remove unused variable `char'.
20516 (sh-debug): Mark unused parameter.
20517 (sh-get-indent-info): Remove unused variable `start'.
20518 (sh-calculate-indent): Remove unused variable `var'.
20519
20520 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20521 (simula-electric-keyword): Remove unused variable `null'.
20522 (simula-search-backward, simula-search-forward): Remove unused
20523 variables `begin' and `end'.
20524
20525 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20526 Remove unused variable `pos'.
20527 (vera-electric-tab, vera-comment-uncomment-region):
20528 Mark unused parameters.
20529 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20530
20531 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
20532
20533 * emacs-lisp/package.el (package--builtins, package-alist)
20534 (package-load-descriptor, package-built-in-p, package-activate)
20535 (define-package, package-installed-p)
20536 (package-compute-transaction, package-buffer-info)
20537 (package--push): Doc fix. Distinguish more clearly between
20538 version strings and version lists.
20539
20540 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
20541
20542 Lexical-binding cleanup.
20543
20544 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20545 (5x5-make-mutate-best):
20546 * play/fortune.el (fortune-in-buffer):
20547 * play/gomoku.el (gomoku-init-display):
20548 * play/solitaire.el (solitaire, solitaire-do-check):
20549 * play/tetris.el (tetris-default-update-speed-function):
20550 Mark unused parameters.
20551
20552 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20553 (bubbles--shift): Remove unused variable `char-org'.
20554 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20555 (bubbles--show-images): Remove unused variable `char'.
20556
20557 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20558 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20559 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20560 (decipher-analyze-buffer): Use ?\s.
20561 (decipher-make-checkpoint): Remove unused variable `mapping'.
20562
20563 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20564
20565 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20566 Remove unused variable `result'; use `let'.
20567
20568 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20569 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20570 (gametree-children-shown-p, gametree-compute-reduced-score):
20571 Use `ignore-errors'.
20572
20573 * play/handwrite.el (ps-lpr-switches): Declare.
20574 (handwrite): Remove unused variables `pmin' and `lastp'.
20575
20576 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20577
20578 * play/landmark.el (landmark-init-display)
20579 (landmark-update-naught-weights): Mark unused parameters.
20580 (landmark-y): Remove unused variable `noise'. Simplify.
20581 (landmark-human-plays): Remove unused variable `score'.
20582
20583 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20584 (mpuz-try-proposal): Remove unused variable `game'.
20585
20586 * play/zone.el (life-patterns): Declare.
20587
20588 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
20589
20590 * vc/vc.el (ediff-vc-internal): Declare function.
20591
20592 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20593
20594 * shell.el: Use lexical-binding and std completion UI.
20595 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20596 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20597 comint-preoutput-filter-functions rather than on
20598 comint-output-filter-functions.
20599 (shell-command-completion, shell--command-completion-data)
20600 (shell-filename-completion, shell-environment-variable-completion)
20601 (shell-c-a-p-replace-by-expanded-directory): New functions.
20602 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20603 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20604 (shell-dynamic-complete-environment-variable): Use them.
20605 (shell-dynamic-complete-as-environment-variable)
20606 (shell-dynamic-complete-as-command): Remove.
20607 (shell-match-partial-variable): Match past point.
20608 * comint.el: Clean up use of completion-at-point-functions.
20609 (comint-completion-at-point): New function.
20610 (comint-mode): Use it completion-at-point-functions.
20611 (comint-dynamic-complete): Make it obsolete.
20612 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20613 (comint-c-a-p-replace-by-expanded-history): New function.
20614 (comint-dynamic-complete-functions)
20615 (comint-replace-by-expanded-history): Use it.
20616 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20617 termination strings. Try harder to avoid second try-completion.
20618 (completion-in-region-mode-map): Disable bindings that don't work yet.
20619
20620 * comint.el: Use lexical-binding. Require CL.
20621 (comint-dynamic-complete-functions): Use comint-filename-completion.
20622 (comint-completion-addsuffix): Tweak custom type.
20623 (comint-filename-completion, comint--common-suffix)
20624 (comint--common-quoted-suffix, comint--table-subvert)
20625 (comint--complete-file-name-data): New functions.
20626 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20627 (comint-dynamic-list-filename-completions): Use them.
20628 (comint-dynamic-simple-complete): Make obsolete.
20629
20630 * minibuffer.el (completion-in-region-mode):
20631 Keep completion-in-region-mode--predicate global.
20632 (completion-in-region--postch):
20633 Assume completion-in-region-mode--predicate is not null.
20634
20635 * progmodes/flymake.el (flymake-start-syntax-check-process):
20636 Obey `dir'. Simplify.
20637
20638 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20639 we're in VC after all.
20640
20641 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20642
20643 * vc/vc.el (vc-diff-build-argument-list-internal)
20644 (vc-version-ediff, vc-ediff): New commands.
20645 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20646
20647 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20648
20649 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20650 add sanity check.
20651
20652 * obsolete/erc-hecomplete.el: Make obsolete.
20653 * obsolete/: Standardize obsolescence info in the header.
20654
20655 2011-04-20 Glenn Morris <rgm@gnu.org>
20656
20657 * calendar/solar.el (solar-horizontal-coordinates):
20658 Use the longitude argument rather than `calendar-longitude'.
20659 (solar-date-next-longitude): Remove unused locals.
20660
20661 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20662
20663 * whitespace.el: New version 13.2.1.
20664
20665 2011-04-20 felix <EmacsWiki> (tiny change)
20666
20667 * whitespace.el (global-whitespace-mode): Keep highlight when
20668 switching between major modes on a file.
20669
20670 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20671
20672 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20673 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20674 multi-line comments as well.
20675
20676 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
20677
20678 Lexical-binding cleanup.
20679
20680 * arc-mode.el (archive-mode-revert):
20681 * cmuscheme.el (scheme-interactively-start-process):
20682 * custom.el (custom-initialize-delay):
20683 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20684 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20685 * emacs-lock.el (emacs-lock-clear-sentinel):
20686 * ezimage.el (defezimage):
20687 * follow.el (follow-avoid-tail-recenter):
20688 * fringe.el (set-fringe-mode-1):
20689 * generic-x.el (bat-generic-mode-compile):
20690 * help-mode.el (help-info-variable, help-do-xref)
20691 (help-mode-revert-buffer):
20692 * help.el (view-emacs-todo):
20693 * iswitchb.el (iswitchb-completion-help):
20694 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20695 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20696 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20697 * locate.el (locate-update):
20698 * longlines.el (longlines-encode-region)
20699 (longlines-after-change-function):
20700 * outline.el (outline-isearch-open-invisible):
20701 * ps-def.el (declare-function, charset-dimension, char-width)
20702 (encode-char):
20703 * ps-mule.el (ps-mule-plot-string):
20704 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20705 (recentf-edit-list-select, recentf-edit-list-validate)
20706 (recentf-open-files-action):
20707 * rect.el (delete-whitespace-rectangle-line)
20708 (rectangle-number-line-callback):
20709 * register.el (window-configuration-to-register)
20710 (frame-configuration-to-register):
20711 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20712 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20713 (xselect-convert-to-targets, xselect-convert-to-delete)
20714 (xselect-convert-to-filename, xselect-convert-to-charpos)
20715 (xselect-convert-to-lineno, xselect-convert-to-colno)
20716 (xselect-convert-to-os, xselect-convert-to-host)
20717 (xselect-convert-to-user, xselect-convert-to-class)
20718 (xselect-convert-to-name, xselect-convert-to-integer)
20719 (xselect-convert-to-atom, xselect-convert-to-identity):
20720 * subr.el (declare, ignore, process-kill-without-query)
20721 (text-clone-maintain):
20722 * terminal.el (te-get-char, te-tic-sentinel):
20723 * tool-bar.el (tool-bar-make-keymap):
20724 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20725 * type-break.el (type-break-mode, type-break-noninteractive-query):
20726 * view.el (View-back-to-mark):
20727 * wid-browse.el (widget-browse-action, widget-browse-widget)
20728 (widget-browse-widgets, widget-browse-sexp):
20729 * widget.el (define-widget-keywords):
20730 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20731 Mark unused parameters.
20732
20733 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20734 (align-areas): Remove unused variable `look'.
20735 (align-region): Remove unused variables `real-end' and `pos-list'.
20736
20737 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20738
20739 * bindings.el (mode-line-modified, mode-line-remote):
20740 Mark unused parameters.
20741 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20742
20743 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20744 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20745
20746 * comint.el (comint-history-isearch-pop-state)
20747 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20748 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20749 (comint-substitute-in-file-name): Doc fix.
20750
20751 * completion.el (cmpl-statistics-block): Mark unused parameter.
20752 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20753 (save-completions-to-file, load-completions-from-file):
20754 Remove unused local variable `e'.
20755
20756 * composite.el (compose-chars): Remove unused variable `len'.
20757 (lgstring-insert-glyph): Remove unused variable `g'.
20758 (compose-glyph-string): Remove unused variables `ascent',
20759 `descent', `lbearing' and `rbearing'.
20760 (compose-glyph-string-relative): Remove unused variables
20761 `lbearing', `rbearing' and `wadjust'.
20762 (compose-gstring-for-graphic): Remove unused variables `header',
20763 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20764 (compose-gstring-for-terminal): Remove unused variables `header'
20765 and `nchars'. Use `let', not `let*'.
20766
20767 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20768 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20769 (Custom-buffer-done, custom-buffer-create-internal)
20770 (custom-browse-visibility-action, custom-browse-group-tag-action)
20771 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20772 (widget-magic-mouse-down-action, custom-toggle-parent)
20773 (custom-add-parent-links, custom-toggle-hide-variable)
20774 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20775 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20776 (custom-face-menu-create, custom-variable-menu-create, get)
20777 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20778 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20779 (customize-apropos): Remove unused variable `tests'.
20780 (custom-group-value-create): Remove unused variable `hidden-p'.
20781 (sort-fold-case): Declare.
20782
20783 * cus-theme.el (custom-reset-standard-faces-list)
20784 (custom-reset-standard-variables-list): Declare.
20785 (customize-create-theme, custom-theme-revert, custom-theme-write)
20786 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20787 Mark unused parameters.
20788
20789 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20790
20791 * delim-col.el (delimit-columns-max): Move defvar before first use.
20792
20793 * descr-text.el (describe-char-categories): Don't quote `lambda'.
20794 (describe-char): Don't quote `lambda'. Mark unused parameter.
20795
20796 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20797 (auto-insert): Declare.
20798 (desktop-restore-file-buffer): Rename desktop-* parameters;
20799 mark unused ones.
20800 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20801 (desktop-buffer): Rename desktop-* parameters.
20802
20803 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20804 (dframe-reposition-frame-xemacs, dframe-help-echo)
20805 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20806 Mark unused parameters.
20807
20808 * dired-aux.el (backup-extract-version-start, overwrite-query)
20809 (overwrite-backup-query, rename-regexp-query)
20810 (rename-non-directory-query): Declare.
20811 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20812 (dired-add-entry): Remove unused variable `orig-file-name'.
20813 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20814 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20815 `dired-copy-preserve-time' directly.
20816 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20817 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20818
20819 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20820 (dired-virtual-revert, dired-make-relative-symlink):
20821 Mark unused parameters.
20822 (manual-program): Declare.
20823 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20824 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20825 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20826
20827 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20828
20829 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20830
20831 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20832 Declare.
20833
20834 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20835
20836 * electric.el (Electric-command-loop): Rename parameter
20837 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20838
20839 * expand.el (expand-in-literal): Remove unused variable `here'.
20840
20841 * facemenu.el (facemenu-add-new-color):
20842 Remove unused variable `docstring'.
20843
20844 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20845 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20846 (face-attr-construct): Mark unused parameter. Doc fix.
20847 (read-color): Remove unused variable `hex-string'.
20848
20849 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20850 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20851 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20852 (display-buffer-other-frame): Remove unused variable `old-window'.
20853 (kill-buffer-hook): Declare.
20854 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20855 Mark unused parameters.
20856 (after-find-file): Pass 1 to `auto-save-mode', not t.
20857
20858 * files-x.el (auto-insert): Declare.
20859 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20860
20861 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20862 variable `buf'. Mark unused parameter.
20863 (find-lisp-insert-directory): Mark unused parameter.
20864
20865 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20866 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20867 (format-common-tail): Remove, unused.
20868 (format-deannotate-region): Remove unused variable `loc'.
20869 (format-annotate-region): Remove unused variable `p'.
20870 (format-annotate-single-property-change): Remove unused variables
20871 `default' and `tail'.
20872
20873 * forms.el (read-file-filter): Declare.
20874 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20875
20876 * frame.el (frame-creation-function-alist): Mark unused parameter.
20877 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20878
20879 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20880 Remove unused parameters.
20881 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20882 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20883
20884 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20885 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20886 (hfy-prepare-tag-map): Mark unused parameters.
20887 (htmlfontify-buffer): Use `called-interactively-p'.
20888
20889 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20890 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20891 (ibuffer-do-occur): Mark unused parameters.
20892 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20893 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20894
20895 * ibuffer.el: Don't quote `lambda'.
20896 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20897 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20898 Mark unused parameters.
20899
20900 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20901 (ido-completing-read): Mark unused parameters.
20902 (ido-copy-current-word): Mark unused parameters;
20903 remove unused variable `name'.
20904 (ido-sort-merged-list): Remove unused parameter `dirs'.
20905
20906 * ielm.el (ielm-input-sender): Mark unused parameter.
20907 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20908 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20909 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20910 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20911 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20912
20913 * image-dired.el (image-dired-display-thumbs): Remove unused
20914 variables `curr-file' and `count'.
20915 (image-dired-remove-tag): Remove unused variable `start'.
20916 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20917 variable `curr-file'
20918 (image-dired-rotate-original): Remove unused variable `temp-file'.
20919 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20920 Remove unused variable `file'.
20921 (image-dired-gallery-generate): Remove unused variable `curr'.
20922 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20923
20924 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20925
20926 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20927
20928 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20929
20930 * isearch.el (minibuffer-history-symbol): Declare.
20931 (isearch-edit-string): Remove unused variable `err'.
20932 (isearch-message-prefix, isearch-message-suffix):
20933 Mark unused parameters.
20934
20935 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20936
20937 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20938
20939 * makesum.el (double-column): Remove unused variable `cnt'.
20940
20941 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20942 (ido-ignore-item-temp-list): Declare.
20943
20944 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20945 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20946 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20947 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20948 `mouse-col-delta'.
20949
20950 * mouse-sel.el (mouse-extend-internal):
20951 Remove unused variable `orig-window-frame'.
20952
20953 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20954 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20955 Move declarations before first use.
20956 (pcomplete-opt): Mark unused parameters; doc fix.
20957
20958 * proced.el (proced-revert): Mark unused parameter.
20959 (proced-send-signal): Remove unused variable `err'.
20960
20961 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20962 Rename parameter PREFIX-ARG to ARG.
20963 (ps-basic-plot-string, ps-basic-plot-whitespace):
20964 Mark unused parameters.
20965
20966 * replace.el (replace-count): Define.
20967 (occur-revert-function): Mark unused parameters.
20968 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20969 (isearch-case-fold-search, isearch-string): Declare.
20970 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20971 bind `case-fold-search'. Remove unused variables `beg' and `end',
20972 and simplify.
20973 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20974 COUNT and bind `replace-count'.
20975 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20976 to COUNT.
20977
20978 * savehist.el (print-readably, print-string-length): Declare.
20979
20980 * shadowfile.el (shadow-expand-cluster-in-file-name):
20981 Remove unused variable `cluster'.
20982 (shadow-copy-file): Remove unused variable `i'.
20983 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20984 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20985 (shadow-define-literal-group, shadow-define-regexp-group)
20986 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20987
20988 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20989 (shell): Use `called-interactively-p'.
20990 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20991
20992 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20993 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20994 (delete-backward-char): Remove unused variable `ocol'.
20995 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20996 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20997 (event-apply-hyper-modifier, event-apply-shift-modifier)
20998 (event-apply-control-modifier, event-apply-meta-modifier):
20999 Mark unused parameters.
21000 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21001 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21002
21003 * speedbar.el (speedbar-ignored-directory-expressions)
21004 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21005 (speedbar-find-file, speedbar-dir-follow)
21006 (speedbar-directory-buttons-follow, speedbar-tag-find)
21007 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21008 (speedbar-buffers-line-directory, speedbar-buffer-click):
21009 Mark unused parameters.
21010 (speedbar-tag-file): Remove unused variable `mode'.
21011 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21012
21013 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21014
21015 * talk.el (talk): Remove unused variable `display'.
21016
21017 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21018 (tar-write-region-annotate): Mark unused parameter.
21019
21020 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21021 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21022 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21023 warning by another.
21024
21025 * time-stamp.el (time-stamp-string-preprocess):
21026 Remove unused variable `require-padding'.
21027
21028 * tree-widget.el (widget-glyph-enable): Declare.
21029 (tree-widget-action): Mark unused parameter.
21030
21031 * w32-fns.el (x-get-selection): Mark unused parameter.
21032 (autoload-make-program, generated-autoload-file): Declare.
21033
21034 * wdired.el (wdired-revert): Mark unused parameters.
21035 (wdired-xcase-word): Remove unused variable `err'.
21036
21037 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21038 (whitespace-help-scroll): Remove unused variable `data-help'.
21039
21040 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21041 (widget-image-insert, widget-after-change, default)
21042 (widget-default-format-handler, widget-default-notify)
21043 (widget-default-prompt-value, widget-info-link-action)
21044 (widget-url-link-action, widget-function-link-action)
21045 (widget-variable-link-action, widget-file-link-action)
21046 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21047 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21048 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21049 (widget-insert-button-action, widget-delete-button-action, visibility)
21050 (widget-documentation-link-action, widget-documentation-string-action)
21051 (widget-const-prompt-value, widget-regexp-match, symbol)
21052 (widget-coding-system-prompt-value)
21053 (widget-key-sequence-value-to-external, sexp)
21054 (widget-sexp-value-to-internal, character, vector, cons)
21055 (widget-choice-prompt-value, widget-boolean-prompt-value)
21056 (widget-color--choose-action): Mark unused parameters.
21057 (widget-item-match-inline, widget-choice-match-inline)
21058 (widget-checklist-match, widget-checklist-match-inline)
21059 (widget-group-match): Rename parameter VALUES to VALS.
21060 (widget-field-value-set): Remove unused variable `size'.
21061 (widget-color-action): Remove unused variables `value' and `start'.
21062
21063 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21064 variable `dir'. Doc fix.
21065 (windmove-find-other-window): Don't pass it.
21066
21067 * window.el (count-windows): Mark unused parameter.
21068 (bw-adjust-window): Remove unused variable `err'.
21069
21070 * woman.el (woman-file-name): Remove unused variable `default'.
21071 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21072 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21073 (global-font-lock-mode): Declare.
21074 (woman-decode-region): Mark unused parameter.
21075 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21076
21077 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21078 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21079 (x-dnd-handle-moz-url): Remove unused variable `title'.
21080 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21081
21082 * xml.el (xml-parse-tag, xml-parse-attlist):
21083 Remove unused variable `pos'.
21084
21085 2011-04-19 Glenn Morris <rgm@gnu.org>
21086
21087 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21088 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21089 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21090 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21091 * calendar/cal-html.el (cal-html-insert-minical):
21092 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21093 (calendar-mark-date-pattern):
21094 Prefix "unused" locals.
21095
21096 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21097 optional argument `style'.
21098
21099 * calendar/appt.el (appt-make-list):
21100 * calendar/cal-china.el (calendar-chinese-date-string):
21101 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21102 (diary-hebrew-yahrzeit):
21103 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21104 * calendar/calendar.el (calendar-generate-window):
21105 * calendar/time-date.el (time-to-days):
21106 Remove unused local variables.
21107
21108 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
21109
21110 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21111 glyphless-char-display table.
21112 (tabulated-list-glyphless-char-display): New var.
21113
21114 2011-04-18 Sam Steingold <sds@gnu.org>
21115
21116 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21117 to acknowledgments.
21118
21119 2011-04-17 Glenn Morris <rgm@gnu.org>
21120
21121 * calendar/diary-lib.el (diary-sexp-entry):
21122 * calendar/holidays.el (holiday-sexp):
21123 Set debug-on-error rather than the removed stack-trace-on-error.
21124
21125 2011-04-16 Glenn Morris <rgm@gnu.org>
21126
21127 * progmodes/f90.el: Use lexical-binding.
21128 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21129
21130 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21131
21132 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21133 (mail-mode): Setup mailalias completion here instead.
21134 * mail/mailalias.el: Use lexical-binding.
21135 (pattern, mailalias-done): Declare dynamic.
21136 (mail-completion-at-point-function): New function, from mail-complete.
21137 (mail-complete): Use it.
21138 (mail-completion-expand): New function.
21139 (mail-get-names): Use it.
21140 (mail-directory, mail-directory-process, mail-directory-stream):
21141 Don't use `pattern' for lexically bound arg.
21142
21143 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21144
21145 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21146 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21147 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21148
21149 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21150 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21151 (byte-interactive-p): Define them again, for use when inlining
21152 old code.
21153
21154 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
21155
21156 * loadup.el: Use `string-to-number', not `string-to-int'.
21157
21158 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21159
21160 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21161 gud-gdb-complete-command.
21162 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21163 (gud-gdb-completion-at-point): New function.
21164 (gud-gdb-completions): Remove.
21165
21166 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
21167
21168 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21169 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21170 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21171 whether `executable-find' is bound.
21172
21173 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21174
21175 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21176
21177 * minibuffer.el (completion-in-region-mode-predicate)
21178 (completion-in-region-mode--predicate): New vars.
21179 (completion-in-region, completion-in-region--postch)
21180 (completion-in-region-mode): Use them.
21181 (completion--capf-wrapper): Also return the hook function.
21182 (completion-at-point, completion-help-at-point):
21183 Adjust and provide a predicate.
21184
21185 Preserve arg names for advice of subr and lexical functions (bug#8457).
21186 * help-fns.el (help-function-arglist): Consolidate the subr and
21187 new-byte-code cases. Add argument `preserve-names' to extract names
21188 from the docstring when needed.
21189 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21190 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21191 (ad-arglist): Use help-function-arglist's new arg.
21192 (ad-definition-type): Use cond.
21193
21194 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
21195
21196 * autorevert.el (auto-revert-handler):
21197 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21198 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21199 Don't quote lambda.
21200
21201 * image-mode.el (image-transform-set-scale):
21202 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21203
21204 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21205
21206 * net/network-stream.el (network-stream-open-starttls): Only do
21207 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21208 Upgrades via gnutls-cli are too slow to be done opportunistically.
21209
21210 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
21211
21212 * dframe.el (dframe-current-frame): Remove spurious quote.
21213
21214 2011-04-12 Glenn Morris <rgm@gnu.org>
21215
21216 * calendar/cal-tex.el (cal-tex-end-document):
21217 Try to automatically use latin1 input if needed.
21218
21219 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21220 Don't try to cons a mark onto an empty element.
21221
21222 2011-04-11 Leo Liu <sdl.web@gmail.com>
21223
21224 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21225 buffers.
21226 (ido-kill-buffer-at-head): Support killing virtual buffers.
21227
21228 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
21229
21230 * minibuffer.el (completion-show-inline-help): New var.
21231 (completion--do-completion, minibuffer-complete)
21232 (minibuffer-force-complete, minibuffer-complete-word):
21233 Inhibit minibuffer messages if completion-show-inline-help is nil.
21234
21235 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21236 to avoid interference from inline help (Bug#5849).
21237
21238 2011-04-10 Leo Liu <sdl.web@gmail.com>
21239
21240 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21241 Fix typo.
21242
21243 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
21244
21245 * image-mode.el (image-toggle-display-image): Signal an error if
21246 not in Image mode.
21247 (image-transform-mode, image-transform-resize)
21248 (image-transform-set-rotation): Doc fix.
21249 (image-transform-set-resize): Delete.
21250 (image-transform-set-scale, image-transform-fit-to-height)
21251 (image-transform-fit-to-width): Handle image-toggle-display-image
21252 and image-transform-resize directly.
21253
21254 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
21255
21256 * doc-view.el (doc-view-fit-width-to-window)
21257 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21258 New functions for fitting the shown image to the Emacs window size.
21259 (doc-view-mode-map): Add bindings for the new functions.
21260
21261 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
21262
21263 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21264 Fix typo in docstring.
21265
21266 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21267
21268 * files.el (file-size-human-readable): Produce one digit after
21269 decimal, like "ls -lh" does.
21270
21271 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21272 the file size representation.
21273
21274 * simple.el (list-processes): If async subprocesses are not
21275 available, error out with a clear error message.
21276
21277 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
21278
21279 * help.el (help-form-show): New function, to be called from C.
21280 Put help-form output in a buffer named differently than *Help*.
21281
21282 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21283
21284 * files.el (file-size-human-readable): New function.
21285
21286 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21287 computing the representation inline. Don't require `cl'.
21288
21289 2011-04-08 Glenn Morris <rgm@gnu.org>
21290
21291 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21292
21293 * net/browse-url.el (browse-url-firefox):
21294 Test system-type, not system-configuration.
21295
21296 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21297 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21298 Use log-edit-empty-buffer-p. (Bug#7598)
21299
21300 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21301 (rlogin-mode-map): Initialize in the defvar.
21302 (rlogin): Use ignore-errors.
21303
21304 * replace.el (occur-mode-map): Some fixes for menu items.
21305
21306 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21307
21308 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21309
21310 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21311
21312 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21313 issuing unused warnings.
21314
21315 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21316 macro directly.
21317
21318 * simple.el: Lisp reimplement of list-processes. Based on an
21319 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21320 (process-menu-mode): New major mode.
21321 (list-processes--refresh, list-processes):
21322 (process-menu-visit-buffer): New functions.
21323
21324 * files.el (save-buffers-kill-emacs): Don't assume any return
21325 value of list-processes, which is undocumented anyway.
21326
21327 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21328
21329 * emacs-lisp/tabulated-list.el: New file.
21330
21331 * emacs-lisp/package.el: Use Tabulated List mode.
21332 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21333 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21334 table format using Tabulated List mode variables.
21335 (package--push): New macro, replacing package-list-maybe-add.
21336 (package-menu--generate): Use package--push. Renamed from
21337 package--generate-package-list.
21338 (package-menu-refresh, list-packages): Use it.
21339 (package-menu--print-info): Rename from package-print-package.
21340 Return insertion data instead of inserting it directly.
21341 (package-menu-describe-package, package-menu-execute):
21342 Use tabulated-list-get-id.
21343 (package-menu-mark-delete, package-menu-mark-install)
21344 (package-menu-mark-unmark, package-menu-backup-unmark)
21345 (package-menu-mark-obsolete-for-deletion):
21346 Use tabulated-list-put-tag.
21347 (package--list-packages, package-menu-revert)
21348 (package-menu-get-package, package-menu-get-version)
21349 (package-menu-sort-by-column): Functions deleted.
21350 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21351 (package-menu--status-predicate, package-menu--version-predicate)
21352 (package-menu--name-predicate)
21353 (package-menu--description-predicate): Handle arguments in the
21354 Tabulated List format.
21355 (package-list-packages-no-fetch): Call list-packages.
21356
21357 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
21358
21359 * files.el (after-find-file-from-revert-buffer): Remove variable.
21360 (after-find-file): Don't bind it.
21361 (revert-buffer-in-progress-p): New variable.
21362 (revert-buffer): Bind it.
21363 Pass nil for `after-find-file-from-revert-buffer'.
21364
21365 * saveplace.el (save-place-find-file-hook): Use new variable
21366 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21367
21368 2011-04-06 Glenn Morris <rgm@gnu.org>
21369
21370 * Makefile.in (AUTOGEN_VCS): New variable.
21371 (autoloads): Use $AUTOGEN_VCS.
21372
21373 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21374 * calendar/calendar.el (calendar-mode-map):
21375 Check for toolkit scroll bars. (Bug#8305)
21376
21377 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21378
21379 * minibuffer.el (completion-in-region--postch)
21380 (completion-in-region-mode): Remove unnecessary messages.
21381
21382 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
21383
21384 * font-lock.el (font-lock-refresh-defaults):
21385 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21386 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21387
21388 * info.el (Info-directory-list, Info-read-node-name-2)
21389 (Info-split-parameter-string): Doc fixes.
21390 (Info-virtual-nodes): Reflow docstring.
21391 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21392 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21393 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21394 Fix typos in docstrings.
21395 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21396 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21397 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21398 (Info-restore-desktop-buffer): Mark unused parameters.
21399 (Info-directory-find-file, Info-directory-find-node)
21400 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21401 (Info-virtual-index-find-node, Info-apropos-find-file)
21402 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21403 Mark unused parameters; fix typos in docstrings.
21404 (Info-virtual-index): Remove unused local variable `nodename'.
21405
21406 2011-04-05 Deniz Dogan <deniz@dogan.se>
21407
21408 * net/rcirc.el: Update my e-mail address.
21409 (rcirc-mode-map): Remove M-o binding.
21410
21411 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21412
21413 * startup.el (command-line): Save the cursor's theme-face
21414 directly, instead of using face-override-spec.
21415
21416 * custom.el (load-theme): Minor optimization in assigning faces.
21417
21418 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21419
21420 * help-fns.el (describe-variable): Complete all variables having
21421 documentation, including keywords.
21422 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21423
21424 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21425
21426 Convert to lexical-binding.
21427
21428 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21429 (bs--get-marked-string, bs--get-modified-string)
21430 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21431 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21432 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21433
21434 * ehelp.el (electric-help-execute-extended)
21435 (electric-help-ctrl-x-prefix):
21436 * hexl.el (hexl-revert-buffer-function):
21437 * linum.el (linum-after-change, linum-after-scroll):
21438 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21439
21440 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21441
21442 2011-04-04 Daiki Ueno <ueno@unixuser.org>
21443
21444 * epa-dired.el:
21445 * epa-mail.el:
21446 * epa-hook.el:
21447 * epa-file.el:
21448 * epa.el:
21449 * epg.el: Use lexical binding.
21450
21451 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
21452
21453 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21454
21455 * textmodes/flyspell.el (flyspell-word): Recognize default
21456 dictionary case for flyspell-mark-duplications-exceptions.
21457 Use regexp matching for languages.
21458 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21459 default dictionary (Bug#7926).
21460
21461 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
21462
21463 * emacs-lisp/package.el (package--with-work-buffer):
21464 Recognize https URLs.
21465
21466 * net/network-stream.el: Move from gnus/proto-stream.el.
21467 Change prefix to network-stream throughout.
21468 (open-protocol-stream): Merge into open-network-stream, leaving
21469 open-protocol-stream as an alias. Handle nil BUFFER args.
21470
21471 * subr.el (open-network-stream): Move to net/network-stream.el.
21472
21473 2011-04-02 Glenn Morris <rgm@gnu.org>
21474
21475 * find-dired.el (find-exec-terminator): New option.
21476 (find-ls-option): Test for -ls support.
21477 (find-ls-subdir-switches): Test for -b in find-ls-option.
21478 (find-dired, find-grep-dired): Doc fixes.
21479 (find-dired): Use find-exec-terminator.
21480
21481 * find-dired.el (find-ls-option, find-ls-subdir-switches)
21482 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21483 (find-name-arg): Remove purecopy.
21484
21485 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21486 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21487 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21488 accordingly. Don't add the null-device if not needed.
21489
21490 * files.el (save-some-buffers): Doc fix.
21491
21492 2011-04-02 Eli Zaretskii <eliz@gnu.org>
21493
21494 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21495
21496 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
21497
21498 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21499 Use `dolist' rather than `mapcar'.
21500
21501 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21502
21503 Add lexical binding.
21504
21505 * subr.el (apply-partially): Use new closures rather than CL.
21506 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21507 (dolist, dotimes): Use slightly different expansion for lexical code.
21508 (functionp): Move to C.
21509 (letrec): New macro.
21510 (with-wrapper-hook): Use it and apply-partially instead of CL.
21511 (eval-after-load): Preserve lexical-binding.
21512 (save-window-excursion, with-output-to-temp-buffer): Turn them
21513 into macros.
21514
21515 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21516
21517 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21518 than the arglist.
21519 (help-add-fundoc-usage): Don't add `Not documented'.
21520 (help-function-arglist): Handle closures, subroutines, and new
21521 byte-code-functions.
21522 (help-make-usage): Remove leading underscores.
21523 (describe-function-1): Handle closures.
21524 (describe-variable): Use special-variable-p for completion.
21525
21526 * files.el (lexical-binding): Declare safe.
21527
21528 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21529 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21530 (pcase): Add `let' pattern.
21531 Change memoization so it actually works.
21532 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21533 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21534 <let>: New case.
21535
21536 * emacs-lisp/macroexp.el: Use lexical binding.
21537 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21538 Don't convert ' to #' without checking that it's indeed quoting
21539 a lambda.
21540
21541 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21542 Use eval-sexp-add-defvars.
21543 (eval-sexp-add-defvars): New fun.
21544
21545 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21546
21547 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21548 Don't autoload.
21549 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21550 than the internal `byte-compile-lambda'.
21551 (defmethod): Don't hide code under quotes.
21552 (eieio-defmethod): New `code' argument.
21553
21554 * emacs-lisp/eieio-comp.el: Remove.
21555
21556 * emacs-lisp/edebug.el (edebug-eval-defun)
21557 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21558 (edebug-toggle): Avoid `eval'.
21559
21560 * emacs-lisp/disass.el (disassemble-internal): Handle new
21561 `closure' objects.
21562 (disassemble-1): Handle new byte codes.
21563
21564 * emacs-lisp/cl.el (pushnew): Silence warning.
21565
21566 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21567 (cl-byte-compile-throw): Remove.
21568 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21569
21570 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21571 closures.
21572
21573 * emacs-lisp/cconv.el: New file.
21574
21575 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21576 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21577 (byte-compile-initial-macro-environment):
21578 Handle declare-function here.
21579 (byte-compile--lexical-environment): New var.
21580 (byte-stack-ref, byte-stack-set, byte-discardN)
21581 (byte-discardN-preserve-tos): New lap codes.
21582 (byte-interactive-p): Don't use any more.
21583 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21584 New macros.
21585 (byte-compile-lapcode): Use them and handle new lap codes.
21586 (byte-compile-obsolete): Remove.
21587 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21588 (byte-compile-arglist-warn): Check late def of inlinable funs.
21589 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21590 since they should have been expanded by now.
21591 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21592 (byte-compile-from-buffer): Remove unused second arg.
21593 (byte-compile-preprocess): New function.
21594 (byte-compile-toplevel-file-form): New function to distinguish
21595 file-form calls from outside from file-form calls from hunk-handlers.
21596 (byte-compile-file-form): Simplify.
21597 (byte-compile-file-form-defsubst): Remove.
21598 (byte-compile-file-form-defmumble): Simplify now that
21599 byte-compile-lambda always returns a byte-code-function.
21600 (byte-compile): Preprocess.
21601 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21602 Remove, not used any more.
21603 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21604 (byte-compile-make-args-desc): New funs.
21605 (byte-compile-lambda): Handle lexical functions. Always return
21606 a byte-code-function.
21607 (byte-compile-reserved-constants): New var, to make up room for
21608 closed-over variables.
21609 (byte-compile-constants-vector): Obey it.
21610 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21611 (byte-compile-macroexpand-declare-function): New function.
21612 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21613 byte-code-functions.
21614 (byte-compile-form): Check obsolescence here.
21615 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21616 (byte-compile-variable-ref): Remove.
21617 (byte-compile-dynamic-variable-op): New fun.
21618 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21619 (byte-compile-variable-set): New funs.
21620 (byte-compile-discard): Add 2 args.
21621 (byte-compile-stack-ref, byte-compile-stack-set)
21622 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21623 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21624 macroexpand-all instead.
21625 (byte-compile-quote-form): Remove.
21626 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21627 (byte-compile-bind, byte-compile-unbind): New funs.
21628 (byte-compile-let): Handle let* and lexical binding.
21629 (byte-compile-let*): Remove.
21630 (byte-compile-catch, byte-compile-unwind-protect)
21631 (byte-compile-track-mouse, byte-compile-condition-case):
21632 Handle a new :fun-body form, used for lexical scoping.
21633 (byte-compile-save-window-excursion)
21634 (byte-compile-with-output-to-temp-buffer): Remove.
21635 (byte-compile-defun): Simplify.
21636 (byte-compile-stack-adjustment): New fun.
21637 (byte-compile-out): Use it.
21638 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21639
21640 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21641 handler any more.
21642
21643 * emacs-lisp/byte-opt.el: Use lexical binding.
21644 (byte-inline-lapcode): Remove (to bytecomp).
21645 (byte-compile-inline-expand): Pay attention to inlining to/from
21646 lexically bound code.
21647 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21648 any more.
21649 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21650 any more and don't call compiler-macros.
21651 (byte-compile-splice-in-already-compiled-code): Remove.
21652 (byte-code): Don't inline any more.
21653 (disassemble-offset): Receive `bytes' as argument rather than via
21654 dynamic scoping.
21655 (byte-compile-tag-number): Declare before first use.
21656 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21657 `return' even if make-spliceable.
21658 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21659 obsolete interactive-p.
21660 (byte-optimize-lapcode): Optimize new lap-codes.
21661 Don't trip up on new form of `byte-constant' lap code.
21662
21663 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21664
21665 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21666
21667 * custom.el (custom-initialize-default, custom-declare-variable):
21668 Use `defvar'.
21669
21670 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21671 New variables.
21672 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21673 (COMPILE_FIRST): Add macroexp and cconv.
21674 * makefile.w32-in: Mirror changes in Makefile.in.
21675
21676 * vc/cvs-status.el:
21677 * vc/diff-mode.el:
21678 * vc/log-edit.el:
21679 * vc/log-view.el:
21680 * vc/smerge-mode.el:
21681 * textmodes/bibtex-style.el:
21682 * textmodes/css-mode.el:
21683 * startup.el:
21684 * uniquify.el:
21685 * minibuffer.el:
21686 * newcomment.el:
21687 * reveal.el:
21688 * server.el:
21689 * mpc.el:
21690 * emacs-lisp/smie.el:
21691 * doc-view.el:
21692 * dired.el:
21693 * abbrev.el: Use lexical binding.
21694
21695 2011-04-01 Eli Zaretskii <eliz@gnu.org>
21696
21697 * info.el (info-display-manual): New function.
21698
21699 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21700
21701 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21702
21703 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21704
21705 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21706 an entry for that server in rcirc-authinfo. (Bug#8385)
21707
21708 2011-03-31 Glenn Morris <rgm@gnu.org>
21709
21710 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21711
21712 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21713
21714 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21715
21716 * progmodes/python.el (python-default-interpreter)
21717 (python-python-command-args, python-jython-command-args)
21718 (python-which-shell, python-which-args, python-which-bufname)
21719 (python-file-queue, python-comint-output-filter-function)
21720 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21721 variables and functions.
21722
21723 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21724
21725 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21726 (completion-in-region-mode): New minor mode.
21727 (completion-in-region): Use it.
21728 (completion-in-region--data, completion-in-region-mode-map): New vars.
21729 (completion-in-region--postch): New function.
21730 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21731 New vars.
21732 (completion--capf-wrapper): New function.
21733 (completion-at-point): Use it to track well-behavedness of
21734 hook functions.
21735 (completion-help-at-point): New command.
21736
21737 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21738
21739 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21740 syntax class to search for whitespace on a single line
21741 (Message-ID: <4D938140.4030905@redhat.com>).
21742
21743 2011-03-30 Leo Liu <sdl.web@gmail.com>
21744
21745 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21746 New commands.
21747 (edit-abbrevs-map): Bind them here.
21748 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21749
21750 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21751
21752 * allout.el (allout-hide-by-annotation, allout-flag-region):
21753 Reduce possibility of overlay leakage by making them volatile.
21754
21755 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21756 hash is not shared between buffers. Mode initialization is
21757 responsible for giving it a useful starting value.
21758 (allout-item-span): Reduce possibility of overlay leakage by
21759 making them volatile.
21760 (allout-widgets-count-buttons-in-region): Add diagnostic function
21761 for tracking down button overlay leaks.
21762
21763 2011-03-29 Leo Liu <sdl.web@gmail.com>
21764
21765 * ido.el (ido-read-internal): Use the default history var
21766 minibuffer-history if no HISTORY is specified.
21767
21768 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21769
21770 * net/imap.el (imap-shell-open, imap-process-connection-type):
21771 Use imap-process-connection-type for 'shell' streams as well as
21772 Kerberos, SSL, other subprocesses.
21773
21774 2011-03-28 Leo Liu <sdl.web@gmail.com>
21775
21776 * abbrev.el (abbrev-table-empty-p): New function.
21777 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21778 nonempty ones. (Bug#5937)
21779
21780 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21781
21782 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21783
21784 2011-03-27 Leo Liu <sdl.web@gmail.com>
21785
21786 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21787 for foreground and background colors.
21788 (ansi-color-make-color-map): Adapt.
21789
21790 2011-03-25 Leo Liu <sdl.web@gmail.com>
21791
21792 * midnight.el (midnight-time-float): Remove. Note it calculates
21793 the microsecond component incorrectly and seconds-to-time does the
21794 same job.
21795 Remove redundant (require 'timer).
21796
21797 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21798 (ido-completions): Remove unused arguments. (Bug#8329)
21799
21800 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21801
21802 * minibuffer.el (completion--flush-all-sorted-completions):
21803 Remove itself from hook.
21804 (completion-at-point): Let the functions perform the completion
21805 immediately and return nil or t.
21806 * comint.el (comint-dynamic-complete-functions): Now identical to
21807 completion-at-point-functions.
21808 (comint-dynamic-list-input-ring): Remove unused var `index'.
21809 (comint--match-partial-filename, comint--unquote&expand-filename):
21810 New funs, split from comint-match-partial-filename.
21811 (comint-dynamic-complete): Use completion-at-point.
21812 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21813
21814 2011-03-24 Drew Adams <drew.adams@oracle.com>
21815
21816 * thingatpt.el: Support `defun'.
21817
21818 2011-03-23 Leo Liu <sdl.web@gmail.com>
21819
21820 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21821
21822 * help-mode.el (help-mode-finish): Tweak regexp.
21823
21824 2011-03-23 Glenn Morris <rgm@gnu.org>
21825
21826 * eshell/esh-opt.el (eshell-eval-using-options):
21827 Do not bind unused local variable `eshell-option-stub'.
21828
21829 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21830
21831 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21832
21833 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21834 keymap variable in `with-no-warnings' to avoid a warning when the
21835 keymap has been already `defconst'ed.
21836
21837 2011-03-22 Leo Liu <sdl.web@gmail.com>
21838
21839 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21840 encode all chars in abbrevs; otherwise use emacs-mule or
21841 utf-8-emacs. (Bug#8308)
21842
21843 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21844
21845 * simple.el (backward-delete-char-untabify):
21846 Avoid warning about using `delete-backward-char'.
21847
21848 * image.el (image-type-file-name-regexps): Make it variable.
21849 `imagemagick-register-types' modifies it, and the user may want
21850 to add new extensions for known image types.
21851 (imagemagick-register-types): Throw error if not using ImageMagick.
21852
21853 2011-03-22 Leo Liu <sdl.web@gmail.com>
21854
21855 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21856 located before rcirc-prompt-end-marker.
21857 (rcirc-complete): Error if point is not after rcirc prompt.
21858 Handle the case when table is nil.
21859 (rcirc-user-authenticated): Define to fix compiler warning.
21860
21861 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21862
21863 * custom.el (custom--inhibit-theme-enable): Make it affect only
21864 custom-theme-set-variables and custom-theme-set-faces.
21865 (provide-theme): Ignore custom--inhibit-theme-enable.
21866 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21867 (custom-enabling-themes): Delete variable.
21868 (enable-theme): Accept only loaded themes as arguments.
21869 Ignore the special custom-enabled-themes variable.
21870 (custom-enabled-themes): Forbid themes from setting this.
21871 Eliminate use of custom-enabling-themes.
21872 (custom-push-theme): Quote "changed" custom var entry.
21873
21874 2011-03-21 Leo Liu <sdl.web@gmail.com>
21875
21876 * ido.el (ido-read-internal): Add ido-selected to history instead
21877 of user input.
21878
21879 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21880
21881 * subr.el (deferred-action-list, deferred-action-function):
21882 Mark obsolete.
21883
21884 2011-03-21 Leo Liu <sdl.web@gmail.com>
21885
21886 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21887 change on 2011-02-13 (bug#8309).
21888
21889 * minibuffer.el (read-file-name-function): Change default value.
21890 (read-file-name--defaults): Rename from read-file-name-defaults.
21891 (read-file-name-default): Rename from read-file-name.
21892 (read-file-name): Call read-file-name-function.
21893
21894 2011-03-21 Glenn Morris <rgm@gnu.org>
21895
21896 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21897 Doc fixes.
21898
21899 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21900
21901 * cus-theme.el: Add missing provide statement.
21902 (customize-create-theme): Extract theme value correctly.
21903 (custom-theme-visit-theme): Autoload.
21904 (customize-create-theme): Prompt before inserting default faces.
21905
21906 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21907
21908 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21909 units and musical notes.
21910
21911 2011-03-20 Leo Liu <sdl.web@gmail.com>
21912
21913 * ido.el (ido-read-internal): Use completing-read-default.
21914 (ido-completing-read): Fix compatibility with completing-read.
21915
21916 2011-03-20 Christian Ohler <ohler@gnu.org>
21917
21918 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21919 (ert-delete-all-tests): Use `called-interactively-p' rather than
21920 `interactive-p'.
21921 (ert--make-xrefs-region): Respect END.
21922
21923 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21924
21925 * dired-aux.el (dired-create-directory): Signal an error if the
21926 directory already exists (Bug#8246).
21927
21928 * facemenu.el (list-colors-display): Call list-faces-display
21929 inside with-help-window.
21930 (list-colors-print): Use display property to align the final
21931 column, instead of checking window-width.
21932
21933 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21934
21935 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21936 windows-nt systems.
21937 (emerge-protect-metachars): Quote correctly for ms-dos and
21938 windows-nt systems.
21939
21940 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21941
21942 * info.el (info-initialize): Replace all uses of `:' with
21943 path-separator for compatibility with non-Unix systems.
21944 Cache quoting of path-separator. (Bug#8258)
21945
21946 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21947
21948 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21949 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21950 (mouse-avoidance-mode): Fix typos in docstrings.
21951
21952 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21953
21954 * startup.el (package-subdirectory-regexp): Move from package.el.
21955 Omit \\` and \\', and let callers add them.
21956
21957 * emacs-lisp/package.el (package-strip-version)
21958 (package-load-all-descriptors): Add \\` and \\' to
21959 package-subdirectory-regexp before using it.
21960 (package-untar-buffer): New arg DIR; ensure that file untars only
21961 into this expected directory. Remove superfluous delete-region.
21962 (package-unpack): Caller changed.
21963 (package-tar-file-info): Use package-subdirectory-regexp.
21964
21965 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21966
21967 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21968 diff-mode-shared-map (bug#8284).
21969 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21970
21971 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21972
21973 * calendar/time-date.el (format-seconds): Use assoc instead of
21974 assoc-string, since assoc-string doesn't exist in XEmacs.
21975
21976 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21977
21978 * custom.el (custom-known-themes): Reflow docstring.
21979 (custom-theme-load-path): Fix typo in docstring.
21980 (load-theme): Fix typo in error message.
21981 (custom-available-themes, custom-variable-theme-value):
21982 Use `let', not `let*'.
21983
21984 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21985
21986 * calc/README: Mention inclusion of musical notes.
21987
21988 * calc/calc-units.el (calc-lu-quant): Rename from
21989 `calc-logunits-quantity'.
21990 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21991 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21992 (calc-db): Rename from `calc-dblevel'.
21993 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21994 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21995 (calc-np): Rename from `calc-nplevel'.
21996 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21997 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21998 (calc-lu-plus): Rename from `calc-logunits-add'.
21999 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22000 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22001 (calc-lu-minus): Rename from `calc-logunits-sub'.
22002 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22003 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22004 (calc-lu-times): Rename from `calc-logunits-mul'.
22005 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22006 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22007 (calc-lu-divide): Rename from `calc-logunits-div'.
22008 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22009 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22010
22011 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22012 functions being autoloaded.
22013
22014 * calc/calc.el (calc-lu-power-reference): Rename from
22015 `calc-logunits-power-reference'.
22016 (calc-lu-field-reference): Rename from
22017 `calc-logunits-field-reference'.
22018
22019 * calc/calc-help.el (calc-l-prefix-help):
22020 Mention musical note functions.
22021
22022 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22023
22024 * minibuffer.el (completion-all-sorted-completions):
22025 Use :completion-cycle-penalty text property if present.
22026
22027 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22028
22029 * allout.el (allout-yank-processing): Adjust for new rebulleting
22030 regime so bullet being yanked is used without prompting the user
22031 for a choice.
22032
22033 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22034
22035 * startup.el (command-line): Warn the user that _emacs is deprecated.
22036
22037 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22038
22039 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22040 (delphi-verbose, delphi-comment-face, delphi-string-face)
22041 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22042 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22043 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22044 (delphi-new-comment-line, delphi-font-lock-defaults)
22045 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22046 Fix typos in docstrings.
22047
22048 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22049
22050 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22051 Invert the roles of character and string values for INSTEAD, so a
22052 string is used for the more common case of a defaulting prompt.
22053
22054 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22055
22056 * progmodes/ruby-mode.el (ruby-backward-sexp):
22057 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22058 * play/gamegrid.el (gamegrid-make-face):
22059 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22060 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22061 * notifications.el (notifications-notify):
22062 * net/xesam.el (xesam-search-engines):
22063 * net/quickurl.el (quickurl-list-insert):
22064 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22065
22066 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
22067
22068 * startup.el (command-line): Update package subdirectory regexp.
22069
22070 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22071
22072 * allout.el (allout-abbreviate-flattened-numbering)
22073 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22074
22075 * subr.el (read-char-choice): Only show the cursor after the prompt,
22076 not after the answer.
22077
22078 2011-03-15 Kevin Ryde <user42@zip.com.au>
22079
22080 * help-fns.el (variable-at-point): Skip leading quotes, if any
22081 (bug#8253).
22082
22083 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22084
22085 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22086 warning message.
22087
22088 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
22089
22090 * shell.el (shell): When called interactively, offer to change the
22091 shell file name on remote hosts.
22092
22093 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22094
22095 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22096 integration for LDAP parameters. The host, base, user or binddn,
22097 and secret tokens can be specified in a netrc file, for instance.
22098 This is optional because an `auth-source' parameter must be
22099 specified in the search attributes.
22100
22101 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
22102
22103 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22104
22105 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22106
22107 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22108 into declaration. Remove redundant and harmful binding.
22109
22110 2011-03-12 Eli Zaretskii <eliz@gnu.org>
22111
22112 * files.el (file-ownership-preserved-p): Pass `integer' as an
22113 explicit 2nd argument to `file-attributes'. If the file's owner
22114 is the Administrators group on Windows, and the current user is
22115 Administrator, consider that a match.
22116
22117 * server.el (server-ensure-safe-dir): Consider server directory
22118 safe on MS-Windows if its owner is the Administrators group while
22119 the current Emacs user is Administrator. Use `=' to compare
22120 numerical UIDs, since they could be integers or floats.
22121
22122 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
22123
22124 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22125
22126 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
22127
22128 Sync with Tramp 2.2.1.
22129
22130 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22131
22132 * net/trampver.el: Update release number.
22133
22134 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22135
22136 * progmodes/compile.el (compilation--previous-directory): Fix up
22137 various nil/dead-marker mismatches (bug#8014).
22138 (compilation-directory-properties, compilation-error-properties):
22139 Don't call it at a position past the one we're about to change.
22140
22141 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22142 Disable obsolescence warnings in the file that declares it.
22143
22144 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22145
22146 * allout-widgets.el (allout-widgets-tally):
22147 Initialize allout-widgets-tally as a hash table rather than nil to
22148 prevent mode-line redisplay warnings. Also, clarify the module
22149 description and fix a comment typo.
22150
22151 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
22152
22153 * help-fns.el (describe-variable): Don't complete keywords.
22154 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22155
22156 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
22157
22158 * emacs-lisp/package.el (package-version-join): Impose a standard
22159 string representation for pre/alpha/beta version lists.
22160 (package-unpack-single): Standardize the directory name by passing
22161 it through package-version-join.
22162 (package-strip-rcs-id): Accept any version string that does not
22163 signal an error in version-to-list.
22164
22165 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
22166
22167 * simple.el (delete-trailing-whitespace): Return nil for the
22168 benefit of `write-file-functions'.
22169
22170 2011-03-10 Glenn Morris <rgm@gnu.org>
22171
22172 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22173
22174 * vc/vc-git.el (vc-git-program): New option.
22175 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22176 (vc-git--call): Use it.
22177
22178 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22179
22180 * cus-edit.el (Custom-newline): If no button at point, look
22181 for a subgroup button at start-of-line. (Bug#2298)
22182
22183 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22184
22185 2011-03-10 Julien Danjou <julien@danjou.info>
22186
22187 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22188 `cursor-type' is nil.
22189
22190 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22191
22192 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22193
22194 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22195
22196 * allout.el: Change so yank of distinctive-bullet items
22197 preserves the existing header prefix, rebulleting it if necessary,
22198 rather than replacing it. This is necessary for proper operation
22199 of cooperative addons like allout-widgets.
22200 (allout-make-topic-prefix, allout-rebullet-heading):
22201 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22202 value as alternate bullet to be used, instead of prompting the user
22203 for a bullet character.
22204
22205 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
22206
22207 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22208 Do not use `tramp-file-name-port', because this returns also
22209 `tramp-default-port'.
22210
22211 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22212
22213 * net/rcirc.el (rcirc-handler-001): Remove useless
22214 with-rcirc-process-buffer.
22215 (rcirc-check-auth-status): Swap arguments to string-match.
22216
22217 2011-03-09 Glenn Morris <rgm@gnu.org>
22218
22219 * shell.el (shell-mode):
22220 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22221
22222 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22223 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22224
22225 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22226
22227 * emacs-lisp/package.el (package-refresh-contents)
22228 (package-menu-execute): Use condition-case-no-debug.
22229
22230 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
22231
22232 * simple.el (shell-command-to-string): Use `process-file'.
22233
22234 * emacs-lisp/package.el (package-tar-file-info): Handle also
22235 remote files.
22236
22237 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22238 Use `equal' for upload base check.
22239
22240 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22241
22242 * textmodes/texinfo.el (texinfo-environments):
22243 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22244
22245 2011-03-08 Glenn Morris <rgm@gnu.org>
22246
22247 * cus-start.el (cursor-in-non-selected-windows):
22248 Fix :set quoting oddness. (Bug#8192)
22249
22250 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22251 in some setf expressions. (Bug#2159)
22252
22253 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22254
22255 * custom.el (custom-available-themes): Return themes in
22256 alphabetical order.
22257
22258 See ChangeLog.15 for earlier changes.
22259
22260 ;; Local Variables:
22261 ;; coding: utf-8
22262 ;; End:
22263
22264 Copyright (C) 2011-2012 Free Software Foundation, Inc.
22265
22266 This file is part of GNU Emacs.
22267
22268 GNU Emacs is free software: you can redistribute it and/or modify
22269 it under the terms of the GNU General Public License as published by
22270 the Free Software Foundation, either version 3 of the License, or
22271 (at your option) any later version.
22272
22273 GNU Emacs is distributed in the hope that it will be useful,
22274 but WITHOUT ANY WARRANTY; without even the implied warranty of
22275 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22276 GNU General Public License for more details.
22277
22278 You should have received a copy of the GNU General Public License
22279 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.