]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Rewrite and rename diff-delete-trailing-whitespace.
[gnu-emacs] / lisp / ChangeLog
1 2012-11-08 Chong Yidong <cyd@gnu.org>
2
3 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4 rename from diff-remove-trailing-whitespace (Bug#12831).
5
6 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
9 miscompilation of trace.el.
10
11 2012-11-08 Glenn Morris <rgm@gnu.org>
12
13 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
14
15 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
18 (bug#12812).
19
20 2012-11-07 Chong Yidong <cyd@gnu.org>
21
22 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
23 a defcustom with an appropriate :set function.
24 (minibuffer-default--in-prompt-regexps): New function.
25
26 2012-11-07 Glenn Morris <rgm@gnu.org>
27
28 * emacs-lisp/cl.el (define-setf-expander, defsetf)
29 (define-modify-macro): Doc fixes.
30
31 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
32 (gv-define-simple-setter): Update doc of `fix-return'.
33
34 2012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
35
36 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
37 twice when `fix-return' is set (bug#12813).
38
39 * emacs-lisp/cl.el (defsetf): Pass the third arg to
40 gv-define-simple-setter (bug#12812).
41
42 2012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
43
44 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
45 (bug#12756).
46
47 2012-11-06 Glenn Morris <rgm@gnu.org>
48
49 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
50
51 2012-11-05 Glenn Morris <rgm@gnu.org>
52
53 * emacs-lisp/cl-extra.el (cl-prettyexpand):
54 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
55 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
56 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
57
58 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
59
60 2012-11-03 Glenn Morris <rgm@gnu.org>
61
62 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
63 Rename handler properties back from cl-- to cl-. (Bug#12788)
64
65 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
66
67 2012-11-03 Eli Zaretskii <eliz@gnu.org>
68
69 * term/pc-win.el: Don't load term/internal from here.
70
71 * loadup.el: Load term/internal from here.
72
73 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
74
75 * progmodes/python.el (inferior-python-mode): Fix hang in
76 jit-lock (Bug#12645).
77
78 2012-11-03 Martin Rudalics <rudalics@gmx.at>
79
80 * window.el (switch-to-visible-buffer)
81 (switch-to-buffer-preserve-window-point): Fix doc-strings.
82
83 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
84
85 * play/gomoku.el (gomoku-display-statistics): Update mode line
86 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
87
88 2012-10-31 Martin Rudalics <rudalics@gmx.at>
89
90 * window.el (quit-restore-window): If the window has been
91 created on an existing frame and ended up as the sole window on
92 that frame, do not delete it (Bug#12764).
93
94 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
95
96 * progmodes/sh-script.el (sh--inside-noncommand-expression):
97 Rename from sh--inside-arithmetic-expression, handle more cases
98 (bug#11263).
99
100 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
101 (sh-font-lock-open-heredoc): Use it (bug#12770).
102
103 2012-10-30 Glenn Morris <rgm@gnu.org>
104
105 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
106
107 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
108
109 2012-10-29 Chong Yidong <cyd@gnu.org>
110
111 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
112 function key is stored in a keyboard macro (Bug#4894).
113
114 * thingatpt.el (number-at-point): Apply a thing-at-point property.
115
116 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
117
118 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
119 header comments".
120 (diff-unified->context, diff-context->unified)
121 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
122
123 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
124
125 * files.el (find-alternate-file): Only ask one question (bug#12487).
126
127 2012-10-29 Chong Yidong <cyd@gnu.org>
128
129 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
130 Suggested by Dan Nicolaescu (Bug#6326).
131
132 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
133
134 * startup.el (fancy-about-screen): Don't message (Bug#12680).
135
136 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
137
138 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
139
140 * face-remap.el (face-remap-add-relative): Handle the case where a
141 face-remapping-alist entry is a cons cell (Bug#12762).
142
143 2012-10-29 Kevin Ryde <user42@zip.com.au>
144
145 * woman.el (woman-parse-numeric-value): Handle picas correctly
146 (Bug#12639).
147
148 2012-10-29 Glenn Morris <rgm@gnu.org>
149
150 * emacs-lisp/cl.el (defsetf): Doc fix.
151
152 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
153
154 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
155 syntax to the matching opener, if any (bug#12547).
156 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
157 matching open as a "case-(".
158 (sh-smie-rc-grammar): Add a corresponding rule for it.
159
160 2012-10-28 Daniel Hackney <dan@haxney.org>
161
162 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
163 "PKGNAME-autoloads.el" in case we created it.
164
165 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
166
167 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
168 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
169 (completion--twq-all): Disable too-strict assertions.
170
171 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
172
173 2012-10-27 Eli Zaretskii <eliz@gnu.org>
174
175 * profiler.el (profiler-report-make-entry-part): Fix help-echo
176 text to match the real keybindings.
177
178 2012-10-27 Juri Linkov <juri@jurta.org>
179
180 * wdired.el (wdired-keep-marker-rename): New defcustom.
181 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
182 (Bug#11795)
183
184 * dired.el (dired-keep-marker-rename): Add reference to
185 `wdired-keep-marker-rename' in the docstring.
186 Add default character value ?R to display initially in
187 Customization UI instead of ?@.
188
189 2012-10-27 Martin Rudalics <rudalics@gmx.at>
190
191 * window.el (display-buffer): In doc-string describe
192 window-height and window-width alist entries.
193
194 * time.el (display-time-world): Restore fit-window-to-buffer
195 behavior.
196
197 2012-10-27 Chong Yidong <cyd@gnu.org>
198
199 * subr.el (insert-buffer-substring-as-yank): Doc fix.
200
201 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
202
203 * minibuffer.el (completion-category-overrides): New completion
204 category `bookmark' (bug#11131).
205
206 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
207
208 * emacs-lisp/advice.el (ad-assemble-advised-definition):
209 Silence bogus compiler warnings for ad-do-it.
210
211 * bookmark.el (bookmark-completing-read): Set the completion category
212 to `bookmark' (bug#11131).
213
214 2012-10-26 Bastien <bzg@altern.org>
215 Stefan Monnier <monnier@iro.umontreal.ca>
216
217 * face-remap.el: Use lexical-binding.
218 (text-scale-adjust): Improve docstring. Use itself for the temporary
219 overlay-map bindings, so as to repeat the "Use..." message each time.
220
221 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
222
223 * emacs-lisp/macroexp.el (macroexp--expand-all):
224 Obey byte-compile-warning-enabled-p (bug#12486).
225
226 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
227 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
228
229 2012-10-26 Martin Rudalics <rudalics@gmx.at>
230
231 * mouse.el (mouse-drag-line): Move last form into preceding when
232 clause (Bug#12731).
233
234 * help.el (resize-temp-buffer-window): Fix doc-string.
235
236 2012-10-25 David Engster <deng@randomsample.de>
237
238 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
239 Remove. This feature is already integrated in imenu.
240
241 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
242 always loaded. Require `speedbar' unconditionally.
243
244 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
247
248 * minibuffer.el (minibuffer-force-complete): Fix thinko.
249
250 * net/ldap.el (ldap-search-internal): The official ldif format starts
251 with a "version: 1" header (bug#12724).
252
253 * emacs-lisp/package.el (package-installed-p): Warn if not ready
254 (bug#12721).
255
256 2012-10-25 Glenn Morris <rgm@gnu.org>
257
258 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
259
260 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
261
262 * minibuffer.el (minibuffer-force-complete): Use one more marker
263 for the temporary-overlay-map command (bug#12619).
264
265 2012-10-24 Chong Yidong <cyd@gnu.org>
266
267 * time.el (display-time-world-mode): Derive from special-mode.
268 (display-time-world): Use display-buffer (Bug#12708).
269 (display-time-world-mode-map): Variable deleted.
270 (display-time-world-display): Wrap the final delete-char inside
271 inhibit-read-only.
272
273 2012-10-24 Chong Yidong <cyd@gnu.org>
274
275 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
276 Doc fix.
277
278 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
279
280 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
281
282 * minibuffer.el (completion--all-sorted-completions-location): New var.
283 (completion--cache-all-sorted-completions)
284 (completion--flush-all-sorted-completions): Use it.
285 (completion-in-region, completion-in-region--postch)
286 (completion-at-point, completion-help-at-point): Use markers in
287 completion-in-region--data (bug#12619).
288
289 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * progmodes/compile.el (compilation-start): Try to handle common
292 quoting of `cd' argument (bug#12640).
293
294 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
295 (bug#12671).
296
297 2012-10-23 Glenn Morris <rgm@gnu.org>
298
299 * progmodes/gud.el (gud-menu-map):
300 Check gdb-active-process is bound. (Bug#12358)
301
302 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
303
304 * repeat.el (repeat): Set real-this-command (bug#12232).
305
306 * htmlfontify.el (hfy-post-html-hook):
307 * filesets.el (filesets-cache-fill-content-hook):
308 * arc-mode.el (archive-extract-hook):
309 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
310 * net/rcirc.el (rcirc-sentinel-functions)
311 (rcirc-receive-message-functions, rcirc-activity-functions)
312 (rcirc-print-functions):
313 * net/dbus.el (dbus-event-error-functions):
314 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
315 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
316 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
317 * term/sun.el (sun-raw-prefix-hooks):
318 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
319
320 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
321
322 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
323 Set `tramp-chunksize' to 1. This improves the performance.
324 (tramp-smb-wait-for-output): Add timeout to
325 `tramp-accept-process-output' calls.
326
327 2012-10-23 Chong Yidong <cyd@gnu.org>
328
329 * faces.el (font-list-limit): Define as an obsolete variable.
330
331 * startup.el (command-line):
332 * cus-start.el: Don't refer to font-list-limit.
333
334 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
335
336 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
337
338 * subr.el (internal-temp-output-buffer-show): Rename from
339 temp-output-buffer-show, since previously compiled files expect this name.
340
341 2012-10-23 Glenn Morris <rgm@gnu.org>
342
343 * image.el (image-type-from-file-name): If multiple types match,
344 return the first one that is supported. (Bug#9045)
345
346 2012-10-22 Glenn Morris <rgm@gnu.org>
347
348 * image.el (imagemagick-enabled-types): Doc fix.
349
350 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
351
352 * progmodes/which-func.el (which-func-current): The hash-table may have
353 an explicit nil (bug#12338).
354
355 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
356
357 * electric.el (electric-pair-delete-selection-self-insert-function):
358 Rename to electric-pair-will-use-region, return a boolean.
359 (electric-pair-mode): Adjust accordingly. Don't require delsel.
360
361 * delsel.el (delete-selection-helper): Use a function instead of a hook.
362 (delete-selection-pre-hook): Use use-region-p.
363 (delete-selection-self-insert-function): Remove.
364 (self-insert-command): Obey self-insert-uses-region-functions.
365 (self-insert-iso): Revert to previous setting, since we don't actually
366 know what that command does.
367 (delete-selection-self-insert-hooks): Remove.
368
369 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
370
371 * delsel.el (delete-selection-helper): New function, extracted from
372 delete-selection-pre-hook.
373 (delete-selection-pre-hook): Use it.
374 (delete-selection-self-insert-function): New function.
375 (delete-selection-self-insert-hooks): New hook.
376 (self-insert-command, self-insert-iso): Use it.
377 * electric.el (electric-pair-syntax): New function, extracted from
378 electric-pair-post-self-insert-function.
379 (electric-pair-post-self-insert-function): Use it.
380 (electric-pair-delete-selection-self-insert-function): New function.
381 (electric-pair-mode): Require delsel and setup
382 delete-selection-self-insert-hooks (bug#11520).
383
384 2012-10-20 Chong Yidong <cyd@gnu.org>
385
386 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
387 no changes to show (Bug#12586).
388
389 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
390 list explicitly (Bug#12571).
391
392 2012-10-20 Arne Jørgensen <arne@arnested.dk>
393
394 * progmodes/flymake.el (flymake-create-temp-inplace):
395 Use file-truename.
396
397 2012-10-20 Eli Zaretskii <eliz@gnu.org>
398
399 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
400
401 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
402
403 * calc/calc-units.el (math-extract-units): Properly extract powers
404 of units.
405
406 2012-10-20 Daniel Colascione <dancol@dancol.org>
407
408 * frame.el (make-frame): Set x-display-name as we used to in order
409 to unbreak creating an X11 frame from an Emacs daemon started
410 without a display.
411
412 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * minibuffer.el (minibuffer-force-complete): Make the next completion use
415 the same completion-field (bug@12221).
416
417 2012-10-19 Martin Rudalics <rudalics@gmx.at>
418
419 * emacs-lisp/debug.el (debug): Record height of debugger window
420 also when debugger will be back (Bug#8789).
421
422 2012-10-18 Chong Yidong <cyd@gnu.org>
423
424 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
425 Convert to defcustom.
426 (gdb-get-source-file): Don't bind pop-up-windows.
427
428 * progmodes/gud.el (gud-display-line): Don't specially re-use
429 other frames for the gdb-mi case (Bug#12648).
430
431 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * emacs-lisp/advice.el: Clean up commentary a bit.
434 (ad-do-advised-functions, ad-with-originals): Use `declare'.
435 (byte-code-function-p): Never redefine.
436
437 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
438
439 2012-10-18 Glenn Morris <rgm@gnu.org>
440
441 * dired.el (dired-sort-toggle): Some ls implementations only allow
442 a single option string. (Bug#12666)
443
444 * minibuffer.el (completion-cycle-threshold): Doc fix.
445
446 2012-10-17 Kenichi Handa <handa@gnu.org>
447
448 * international/mule.el (set-keyboard-coding-system):
449 Recover input meta mode when the new coding system doesn not use 8-bit.
450 Supply TERMINAL arg to set-input-meta-mode.
451
452 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
453
454 * wdired.el (wdired-old-marks): New variable.
455 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
456 (wdired-do-renames): Move point with renamed file and don't lose
457 mark status (Bug#11795).
458
459 2012-10-16 Juri Linkov <juri@jurta.org>
460
461 * replace.el (query-replace-help): Mention multi-buffer replacement
462 keys in the Help message. (Bug#12655)
463
464 2012-10-15 Chong Yidong <cyd@gnu.org>
465
466 * emacs-lisp/byte-run.el (defsubst): Doc fix.
467
468 2012-10-14 Eli Zaretskii <eliz@gnu.org>
469
470 * window.el (display-buffer): Doc fix.
471
472 * progmodes/compile.el (compilation-error-regexp-alist-alist):
473 Adjust the msft regexp to the output of Studio 2010, and move msft
474 before edg-1. See the discussion on emacs-devel,
475 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
476 for the details.
477
478 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
481 (oset): Move uses of object-class-fast macro after its definition.
482
483 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
484
485 2012-10-13 Chong Yidong <cyd@gnu.org>
486
487 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
488 enabled, re-enable it (Bug#11963).
489
490 2012-10-13 Martin Rudalics <rudalics@gmx.at>
491
492 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
493 non-nil, restore window configuration (Bug#12623).
494
495 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
496
497 * help-fns.el (describe-variable, describe-function-1):
498 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
499
500 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
501
502 2012-10-12 Glenn Morris <rgm@gnu.org>
503
504 * mail/rmailsum.el (rmail-header-summary):
505 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
506
507 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
508
509 * progmodes/python.el (python-mode-map):
510 Replace subtitute-key-definition with proper command remapping.
511 (python-nav--up-list): Fix behavior for blocks on the same level.
512
513 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
516
517 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
518 changes to the format of load-history.
519
520 * international/mule-cmds.el (read-char-by-name): Move let-binding of
521 completion-ignore-case in case that var is buffer-local (bug#12615).
522
523 2012-10-11 Kenichi Handa <handa@gnu.org>
524
525 * international/eucjp-ms.el: Re-generated.
526
527 2012-10-10 Kenichi Handa <handa@gnu.org>
528
529 * select.el (xselect--encode-string): If a coding is specified for
530 selection, and that is compatible with COMPOUND_TEXT, use it.
531
532 2012-10-10 Martin Rudalics <rudalics@gmx.at>
533
534 * window.el (switch-to-buffer-preserve-window-point): New option.
535 (switch-to-buffer):
536 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
537
538 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
541 Don't document nil as a useful value (bug#12583).
542
543 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
544
545 * net/tramp.el (tramp-debug-message):
546 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
547 (with-tramp-progress-reporter): Rename from
548 `tramp-with-progress-reporter'.
549 (with-tramp-file-property, with-tramp-connection-property):
550 Move from tramp-cache.el, rename from `with-file-property' and
551 `with-connection-property', respectively.
552
553 * net/tramp-cache.el: Remove `with-file-property' and
554 `with-connection-property'.
555
556 * net/tramp.el:
557 * net/tramp-gvfs.el:
558 * net/tramp-sh.el:
559 * net/tramp-smb.el: Adapt callees.
560
561 * net/trampver.el: Update release number.
562
563 2012-10-09 Glenn Morris <rgm@gnu.org>
564
565 * w32-fns.el (set-message-beep):
566 * term/w32-win.el (set-message-beep): Update declarations.
567
568 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
569
570 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
571 (mode-line-widen, mode-line-input-method-map)
572 (mode-line-coding-system-map, mode-line-remote)
573 (mode-line-unbury-buffer, mode-line-bury-buffer)
574 (mode-line-next-buffer, mode-line-previous-buffer):
575 Replace save-selected-window+select-window => with-selected-window.
576
577 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
578 * progmodes/cc-vars.el (bq-process): Remove, unused.
579
580 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
581
582 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
583
584 Implemented `backward-up-list'-like navigation.
585 * progmodes/python.el (python-nav-up-list)
586 (python-nav-backward-up-list): New functions.
587 (python-mode-map): Define substitute key for backward-up-list to
588 python-nav-backward-up-list.
589
590 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
591
592 * progmodes/python.el (python-fill-paragraph): Rename from
593 python-fill-paragraph-function. Fixed fill-paragraph for
594 decorators (Bug#12605).
595
596 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
597
598 * progmodes/python.el (python-shell-output-filter): Handle extra
599 carriage return in OSX (Bug#12409).
600
601 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
602
603 Fix shell handling of unbalanced quotes and parens in output.
604 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
605 (python-syntax-propertize-function): Use it.
606 (python-shell-output-syntax-table): New var.
607 (inferior-python-mode): Prevent unbalanced parens/quotes from
608 previous output mess with current input context.
609
610 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
611
612 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
613 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
614
615 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
616
617 * ffap.el (ffap-replace-file-component): Support Tramp file name
618 syntax, not only ange-ftp's one.
619
620 2012-10-08 Glenn Morris <rgm@gnu.org>
621
622 * cus-start.el (message-log-max): Set :version.
623
624 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
625
626 2012-10-08 Martin Rudalics <rudalics@gmx.at>
627
628 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
629 the minibuffer window (Bug#10851).
630
631 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
632
633 Enhancements on forward-sexp movement.
634 * progmodes/python.el (python-nav-beginning-of-statement)
635 (python-nav-end-of-statement): Return point-marker.
636 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
637 (python-info-current-symbol)
638 (python-info-statement-starts-block-p): Rename from
639 python-info-beginning-of-block-p.
640 (python-info-statement-ends-block-p): Rename from
641 python-info-end-of-block-p.
642 (python-info-beginning-of-statement-p)
643 (python-info-end-of-statement-p)
644 (python-info-beginning-of-block-p, python-info-end-of-block-p):
645 New functions.
646
647 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
648
649 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
650 frame-selected-windows.
651
652 2012-10-08 Daniel Colascione <dancol@dancol.org>
653
654 * battery.el (battery-status-function): Check for
655 w32-battery-status itself, not system-time windows-nt.
656
657 * frame.el: Require cl-lib.
658 (display-format-alist): New variable mapping frame types to
659 functions that initialize them.
660 (window-system-for-display): New function: interprets
661 display-format-alist.
662 (make-frame-on-display): Remove existing display-selection logic
663 and just forward to make-frame, which will now DTRT.
664 (make-frame): Restructure to use window-system-for-display to
665 figure out how to create a frame on a given display.
666 (display-mouse-p): Look for frame-type w32, not a particular
667 system-type.
668
669 * loadup.el: Load w32 lisp code when we have the w32 feature.
670
671 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
672 system-type windows-nt.
673
674 * server.el (server-create-window-system-frame): Look for window
675 type.
676 (server-proces-filter): Only force a window system when windows-nt
677 _and_ w32. Explain why.
678
679 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
680 of window systems we configure for the mode.
681
682 * startup.el (command-line): Mark window system is initialized
683 after we've done it.
684
685 * common-win.el (x-select-text): Look for w32, not windows-nt.
686
687 * ns-win.el: Require cl-lib. Add ourselves to
688 display-format-alist.
689 (ns-initialize-window-system): Assert we're not initialized twice.
690
691 * w32-win.el: Enable lexical binding; require cl-lib; add
692 ourselves to display-format-alist.
693 (w32-handle-dropped-file): Convert incoming dropped files from
694 Windows paths to Cygwin ones before passing them on to the rest of
695 Emacs.
696 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
697 (w32-initialize-window-system): Assert we're not initialized twice.
698
699 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
700 (x-initialize-window-system): Assert we're not initialized twice.
701
702 * w32-common-fns.el: New File.
703 (w32-version, w32-using-nt, w32-get-clipboard-data)
704 (w32-set-clipboard-data, x-set-selection, x-get-selection)
705 (w32-charset-info-alist, x-last-selected, text)
706 (x-get-selection-value, x-selection-value): Move here.
707
708 * w32-fns.el: Require w32-common-fns.
709 (w32-version, w32-using-nt, w32-get-clipboard-data)
710 (w32-set-clipboard-data, x-set-selection, x-get-selection)
711 (w32-charset-info-alist, x-last-selected, text)
712 (x-get-selection-value, x-selection-value): Move to
713 w32-common-fns.
714
715 * w32-vars.el:
716 (w32-allow-system-shell, w32-system-shells): Define only in
717 non-cygwin case.
718
719 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
720
721 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
722 (read-passwd): Remove a few more potential sources of leaks.
723
724 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
725
726 * progmodes/python.el (inferior-python-mode)
727 (python-shell-make-comint): Fix initialization of local
728 variables copied from parent buffer.
729
730 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
731
732 * term/ns-win.el (ns-read-file-name): Update declaration to match
733 nsfns.m.
734 (ns-respond-to-change-font): Change fontsize separatly so we are sure
735 it is set when font is acted upon.
736
737 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
738
739 Enhancements to indentation.
740 * progmodes/python.el (python-indent-context): Give priority to
741 inside-string context. Make comments indentation markers.
742 (python-indent-region): Do not mess with strings, unless it's the
743 enclosing set of quotes.
744
745 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
746
747 * window.el (internal--before-save-selected-window)
748 (internal--after-save-selected-window): New functions extracted from
749 save-selected-window. Make sure we return the `alist' we construct.
750 (save-selected-window): Use them.
751
752 * textmodes/tex-mode.el (tex-recenter-output-buffer):
753 Use with-selected-window.
754
755 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
756 forms that define macros (bug#12593).
757
758 2012-10-07 Kenichi Handa <handa@gnu.org>
759
760 * international/mule-conf.el (compound-text-with-extensions):
761 Add :mime-charset property as x-ctext.
762
763 2012-10-07 Stefan Merten <smerten@oekonux.de>
764
765 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
766 (rst-indent-literal-normal, rst-indent-literal-minimized)
767 (rst-indent-comment): Correct :version tag.
768 (rst-official-cvs-rev): Correct version string.
769
770 2012-10-07 Glenn Morris <rgm@gnu.org>
771
772 * mail/rmailmm.el (rmail-mime-process-multipart):
773 Do not confuse a multipart message with an epilogue
774 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
775
776 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
777
778 Fix shell output retrieval and comint-prompt-regexp init.
779 * progmodes/python.el (inferior-python-mode):
780 (python-shell-make-comint): Fix initialization of
781 comint-prompt-regexp from copied file local variables.
782 (python-shell-fetched-lines): Remove var.
783 (python-shell-output-filter-in-progress): Rename from
784 python-shell-fetch-lines-in-progress.
785 (python-shell-output-filter-buffer): Rename from
786 python-shell-fetch-lines-string.
787 (python-shell-fetch-lines-filter): Delete function.
788 (python-shell-output-filter): New function.
789 (python-shell-send-string-no-output): Use them.
790
791 2012-10-07 Glenn Morris <rgm@gnu.org>
792
793 * hi-lock.el (hi-lock-process-phrase):
794 Try to make it less fragile. (Bug#7161)
795
796 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
797
798 2012-10-06 Glenn Morris <rgm@gnu.org>
799
800 * ehelp.el (electric-help-mode): Use help-mode rather than
801 non-existent mode `help'.
802 (electric-help-map): Use button-buffer-map. (Bug#10917)
803
804 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
805 (reftex-create-bibtex-footer): Fix custom types.
806
807 * progmodes/sh-script.el (sh-indent-after-continuation):
808 Add explicit :group.
809
810 * textmodes/rst.el (rst-preferred-decorations)
811 (rst-shift-basic-offset): Clarify obsolescence versions.
812
813 * profiler.el (profiler): Add missing group :version tag.
814 * avoid.el (mouse-avoidance-banish-position):
815 * proced.el (proced-renice-command):
816 * calc/calc.el (calc-ensure-consistent-units):
817 * calendar/icalendar.el (icalendar-import-format-uid):
818 * net/tramp.el (tramp-save-ad-hoc-proxies):
819 * progmodes/bug-reference.el (bug-reference-bug-regexp):
820 * progmodes/flymake.el (flymake-error-bitmap)
821 (flymake-warning-bitmap, flymake-fringe-indicator-position):
822 * progmodes/sh-script.el (sh-indent-after-continuation):
823 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
824 (verilog-before-save-font-hook, verilog-after-save-font-hook):
825 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
826 (vhdl-array-index-record-field-in-sensitivity-list)
827 (vhdl-indent-comment-like-next-code-line):
828 * textmodes/reftex-vars.el (reftex-ref-style-alist)
829 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
830 (reftex-cite-key-separator, reftex-create-bibtex-header)
831 (reftex-create-bibtex-footer):
832 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
833 (rst-indent-literal-normal, rst-indent-literal-minimized)
834 (rst-indent-comment): Add missing custom :version tags.
835
836 * calendar/timeclock.el (timeclock-modeline-display):
837 Add missing obsolete alias for renamed user option.
838
839 * strokes.el (strokes-modeline-string):
840 * emulation/crisp.el (crisp-mode-modeline-string):
841 * eshell/esh-mode.el (eshell-status-in-modeline):
842 Aliases to defcustoms must come before the defcustom.
843
844 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
845 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
846 (cal-tex-cursor-week-monday): Doc fixes.
847 (cal-tex-cursor-week2-summary): Doc fix.
848 Rename from cal-tex-cursor-week-at-a-glance.
849
850 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
851 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
852
853 * calendar/calendar.el (calendar-mode-map):
854 Add cal-tex-cursor-week2-summary.
855
856 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
857
858 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
859
860 * subr.el (read-passwd-map): New var.
861 (read-passwd): Use `read-string' again.
862 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
863
864 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
865
866 * register.el (append-to-register, prepend-to-register):
867 Deactivate mark, as does `copy-to-register' (bug#12389).
868
869 2012-10-06 Chong Yidong <cyd@gnu.org>
870
871 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
872
873 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
874
875 * international/characters.el: Fix simple mistake ((car chars) ->
876 elt), delete duplicated code.
877
878 2012-10-06 Glenn Morris <rgm@gnu.org>
879
880 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
881
882 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
883
884 * color.el (color-hsl-to-rgb): Fix incorrect results for
885 small and large hue values. (Bug#12559)
886
887 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
888
889 Enhancements to docstring formatting when filling paragraphs.
890 * progmodes/python.el (python-fill-docstring-style): Rename from
891 python-fill-string-style. Added new style.
892 (python-fill-string): Use new style. Better checks for
893 docstrings.
894
895 2012-10-05 Glenn Morris <rgm@gnu.org>
896
897 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
898
899 * color.el (color-name-to-rgb, color-rgb-to-hex)
900 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
901 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
902 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
903 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
904
905 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
906
907 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
908
909 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
910 to get the correct size across symlinks.
911
912 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
913
914 2012-10-04 Juri Linkov <juri@jurta.org>
915
916 * replace.el (query-replace-interactive): Declare obsolete.
917 (query-replace-read-from): Add the last incremental search string
918 to the list of default values accessible via M-n.
919 (map-query-replace-regexp): Use `read-regexp'.
920 (query-replace, query-replace-regexp, query-replace-regexp-eval)
921 (map-query-replace-regexp, replace-string, replace-regexp):
922 Fix docstrings to replace mentions of `query-replace-interactive'
923 with alternatives. (Bug#12526)
924
925 2012-10-04 Juri Linkov <juri@jurta.org>
926
927 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
928 (dired-pop-to-buffer): Declare obsolete.
929 (dired-mark-pop-up): Doc fix.
930
931 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
932
933 Allow user to set docstring style for fill-paragraph.
934 * progmodes/python.el
935 (python-fill-comment-function, python-fill-string-function)
936 (python-fill-decorator-function, python-fill-paren-function):
937 Remove :safe for defcustoms.
938 (python-fill-string-style): New defcustom
939 (python-fill-paragraph-function): Enhance context detection.
940 (python-fill-string): Honor python-fill-string-style settings.
941
942 2012-10-04 Martin Rudalics <rudalics@gmx.at>
943
944 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
945 after setting its buffer (Bug#10805).
946
947 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
948
949 Fix cornercase for string syntax.
950 * progmodes/python.el (python-syntax-propertize-function):
951 Simplify and enhance the regexp for unescaped quotes. Now it also
952 matches quotes in weird situations like the single quote in
953 "something\"'".
954 (python-syntax-stringify): Simplify num-quotes detecting code.
955
956 2012-10-03 Glenn Morris <rgm@gnu.org>
957
958 * help-macro.el (three-step-help):
959 Revert 2012-09-29 change. (Bug#12567)
960
961 2012-10-03 Martin Rudalics <rudalics@gmx.at>
962
963 * menu-bar.el (kill-this-buffer): Don't do anything when
964 `menu-frame' is not alive or visible (Bug#8184).
965
966 * emacs-lisp/debug.el (debug): When quitting the debugger window
967 restore current buffer (Bug#12502).
968
969 2012-10-02 Chong Yidong <cyd@gnu.org>
970
971 * progmodes/hideif.el (hif-lookup, hif-defined):
972 Handle semantic-c-takeover-hideif.
973
974 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
975
976 Change sampling interval units from ms to ns.
977 * profiler.el (profiler-sampling-interval): Change units
978 from ms to ns, multiplying the default by 1000000 so that
979 it remains 1 ms.
980 (profiler-report-cpu-line-format): Give enough room for
981 the maximum counters on 64-bit hosts.
982 (profiler-report-render-calltree-1): Call them "CPU samples",
983 not "Time (ms)", since they are not milliseconds now (and
984 never really were).
985
986 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
987
988 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
989 Fix querying BBDB for entries without a last name (Bug#11580).
990
991 2012-10-02 Chong Yidong <cyd@gnu.org>
992
993 * emacs-lisp/eieio.el: Restore Version header.
994
995 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
996
997 * vc/diff-mode.el (diff--auto-refine-data): New var.
998 (diff-hunk): Use it to delay refinement.
999 (diff-mode): Remove overlays when we turn off font-lock.
1000
1001 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1002 (table-initialize-table-fixed-width-mode)
1003 (table-set-table-fixed-width-mode): Remove functions.
1004 (table-command-list): Move initialization into declaration.
1005 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1006 (table-with-cache-buffer): Use `declare'.
1007 (table-span-cell): Simplify via CSE.
1008 (table-fixed-width-mode): Use define-minor-mode.
1009 (table-call-interactively, table-funcall, table-apply): Remove.
1010 (table-function): New function, to replace them.
1011
1012 * bookmark.el (bookmark-search-pattern): Remove var.
1013 (bookmark-read-search-input): Remove function.
1014 (bookmark-bmenu-search): Reimplement using a minibuffer.
1015
1016 * faces.el (modeline): Remove obsolete face name.
1017
1018 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1019 and give a non-nil default value.
1020 (add-change-log-entry): Simplify accordingly.
1021
1022 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1023
1024 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1025 (vc-git-log-edit-toggle-amend): New function.
1026 (vc-git-log-edit-toggle-signoff): New function.
1027 (vc-git-log-edit-mode): New major mode.
1028 (vc-git-log-edit-mode-map): Keymap for it.
1029 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1030
1031 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1032 header names.
1033 (log-edit-toggle-header): New function.
1034 (log-edit-extract-headers): Accept function values in HEADERS alist.
1035
1036 2012-10-01 David Engster <deng@randomsample.de>
1037
1038 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1039 from symbol property and change message to be more consistent with
1040 Emacs proper.
1041 (eieio-describe-generic): Add filename for each implementation.
1042 Fix indices for generic and normal methods.
1043 (eieio-method-def, eieio-class-def): New buttons.
1044 (eieio-help-find-method-definition)
1045 (eieio-help-find-class-definition): New functions.
1046 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1047 class, constructor and method definitions.
1048
1049 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1050 information in symbol property.
1051 (scoped-class): Remove.
1052 (eieio-slot-name-index, call-next-method): Check if it is bound.
1053
1054 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1055
1056 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1057 (eieio-custom-mode): New major mode.
1058 (eieio-customize-object): Use it.
1059
1060 2012-10-01 Eric Ludlam <zappo@gnu.org>
1061
1062 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1063 specifying the expected class, and whether subclassing is allowed.
1064 (eieio-persistent-convert-list-to-object):
1065 (eieio-persistent-validate/fix-slot-value)
1066 (eieio-persistent-slot-type-is-class-p): New functions.
1067 (eieio-named::slot-missing): Doc fix.
1068
1069 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1070 Stop using unused publd variable.
1071
1072 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1073 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1074 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1075 (eieio-speedbar-handle-click): Do not specify a class for the
1076 method. Fixes method invocation order problems with EDE.
1077
1078 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1081 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1082
1083 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1084
1085 * bookmark.el (bookmark-version-control): Give tags in the
1086 :type choices (Bug#12309), and improve doc string.
1087 (bookmark-write-file): Bind `print-circle' to `t' to allow
1088 circular custom bookmark types. (Bug#12503)
1089
1090 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1091
1092 Revert the FOLLOW-SYMLINKS change for file-attributes.
1093 * files.el (remote-file-name-inhibit-cache, after-find-file):
1094 * time.el (display-time-file-nonempty-p): Undo last change.
1095
1096 * profiler.el (profiler-sampling-interval): Change default back to 1.
1097 See Stefan Monnier in
1098 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1099
1100 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1101
1102 Shell output catching a la gud-gdb.
1103 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1104 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1105 New Vars.
1106 (python-shell-fetch-lines-filter): New function.
1107 (python-shell-send-string-no-output): Use them.
1108
1109 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1110
1111 * profiler.el (profiler-sampling-interval): Rename from
1112 profiler-sample-interval.
1113 (profiler-sampling-interval): Default to 10.
1114 (profiler-find-profile): New command (was profiler-find-log).
1115 (profiler-find-profile-other-window): New command.
1116 (profiler-find-profile-other-frame): New command.
1117 (profiler-profile): Introduce API-level data structure.
1118
1119 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1120
1121 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1122 * files.el (remote-file-name-inhibit-cache):
1123 * time.el (display-time-file-nonempty-p): Use it.
1124 * files.el (after-find-file): Don't chase links before calling
1125 file-exists-p, as file-exists-p already does the right thing.
1126
1127 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1128
1129 Merge from standalone RefTeX repository.
1130
1131 The following ChangeLog entries are shortened versions of the
1132 original ones with file paths adapted. A not so strongly edited
1133 version of the original ChangeLog can be found in the commit log.
1134
1135 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1136 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1137 Correctly handle new value type returned by `reftex-citation'.
1138
1139 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1140 that entries with whitespace at various places are found.
1141 Doc fix. Include entries that are cross-referenced from cited entries.
1142 Include @String definitions in the resulting bib file. Add header
1143 and footer defined in `reftex-create-bibtex-header' and
1144 `reftex-create-bibtex-footer'.
1145 (reftex-do-citation): Make it possible again to insert
1146 non-existent entries. Save match data when asking for optional
1147 arguments. Return all keys, not just the first one.
1148 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1149 all citations in the same line.
1150 (reftex-parse-bibtex-entry): Accept additional optional argument
1151 `raw' and keep quotes or braces if it is non-nil. Match fields
1152 containing hyphens besides word constituents.
1153 (reftex-get-string-refs): New function.
1154 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1155 and ask if it should be reread in case it did.
1156 (reftex-pop-to-bibtex-entry)
1157 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1158 entries with spaces or tabs in front of arguments.
1159 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1160 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1161 Match entries containing numbers and symbol constituents.
1162 (reftex-do-citation, reftex-figure-out-cite-format):
1163 Use `reftex-cite-key-separator'.
1164
1165 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1166 (reftex-mouse-view-crossref): Explain why point is set.
1167
1168 * textmodes/reftex-global.el: Whitespace changes.
1169
1170 * textmodes/reftex-index.el: Move provide statement to end of
1171 file.
1172 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1173 (reftex-index-visit-phrases-buffer): Set marker when visiting
1174 buffer. This allows for returning from the phrases file to the
1175 file one was just editing instead of the file where the last
1176 phrases was added from.
1177 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1178 punctuation syntax as it usually is not used as string quote in
1179 TeX-related modes and may occur unmatched. The change also
1180 prevents fontification of quoted content.
1181 (reftex-index-phrases-mode): Use it.
1182
1183 * textmodes/reftex-parse.el (reftex-parse-from-file):
1184 Move backward one char if a `\' was matched after a section macro.
1185 (reftex-parse-from-file): Use beginning of match instead of end as
1186 bound.
1187
1188 * textmodes/reftex-ref.el: Adapt creation of
1189 `reftex-<package>-<macro>' functions to new structure of
1190 `reftex-ref-style-alist'.
1191 (reftex-reference): Use `reftex-ref-style-list' function.
1192 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1193 reference macro if `reftex-ref-macro-prompt' is non-nil.
1194 (reftex-reference): Pass refstyle to `reftex-format-special'.
1195 Determine reference macro by looking at
1196 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1197 Use only one special format function.
1198 (reftex-varioref-vref, reftex-fancyref-fref)
1199 (reftex-fancyref-Fref): Remove definitions. The functions are now
1200 generated from `reftex-ref-style-alist'.
1201 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1202 Remove.
1203 (reftex-format-special): New function.
1204
1205 * textmodes/reftex-sel.el
1206 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1207 of `reftex-ref-style-alist'. Remove code for testing macro type.
1208 (reftex-select-toggle-varioref)
1209 (reftex-select-toggle-fancyref): Remove.
1210 (reftex-select-cycle-ref-style-internal)
1211 (reftex-select-cycle-ref-style-forward)
1212 (reftex-select-cycle-ref-style-backward): New functions.
1213 (reftex-select-label-map): Use `v' and `V' for general cycling
1214 through reference styles. Add `p' for switching between number
1215 and page reference types.
1216
1217 * textmodes/reftex-toc.el (reftex-re-enlarge):
1218 Call `enlarge-window' only if there is something to do because in Emacs
1219 the horizontal version throws an error even if the parameter is 0.
1220
1221 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1222 (reftex-plug-into-AUCTeX): Doc fix.
1223 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1224 string. Adapt to new name.
1225 (reftex-ref-style-alist): Change structure so that it is not
1226 possible to use multiple different package names within a style.
1227 Remove the symbols for symbols for macro type distinction.
1228 Add characters for macro selection.
1229 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1230 (reftex-create-bibtex-footer): New variables.
1231 (reftex-format-ref-function): Mention third argument of special
1232 format function.
1233 (reftex-ref-style-alist, reftex-ref-style-default-list):
1234 New variables.
1235 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1236 to new implementation. Mark as obsolete. Add compatibility code
1237 for honoring the variable values in case they are set.
1238 (reftex-cite-format-builtin, reftex-bibliography-commands):
1239 Add support for ConTeXt.
1240 (reftex-format-ref-function, reftex-format-cite-function):
1241 Fix custom type.
1242 (reftex-cite-key-separator): New variable.
1243
1244 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1245 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1246 `reftex-syntax-table' because parens have to retain their paren
1247 syntax in order for parsing of BibTeX entries like @book(...) to
1248 work.
1249 (reftex-in-comment): Do not error out if `comment-start-skip' is
1250 not set. Deal correctly with escaped comment characters.
1251 (reftex-tie-multifile-symbols): Add doc string.
1252 Initialize `reftex-ref-style-list'.
1253 (reftex-untie-multifile-symbols): Add doc string.
1254 (reftex-add-index-macros): Doc fix.
1255 (reftex-ref-style-activate, reftex-ref-style-toggle)
1256 (reftex-ref-style-list): New functions.
1257 (reftex-mode-menu): Use them. Adapt to new structure of
1258 `reftex-ref-style-alist'.
1259 (reftex-select-with-char): Kill the RefTeX Select buffer when
1260 done.
1261 (reftex-remove-if): New function.
1262 (reftex-erase-all-selection-and-index-buffers)
1263 (reftex-mode-menu): Reference styles are now computed from
1264 `reftex-ref-style-alist'. Fix typo.
1265 (reftex-report-bug): New function.
1266 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1267 algorithms with O(n log n). Introduce optional argument SORT (not
1268 yet used).
1269
1270 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1271
1272 Enhancements for triple-quote string syntax.
1273 * progmodes/python.el (python-syntax-propertize-function):
1274 Match both quote cases in one regexp.
1275 (python-syntax-stringify): Handle matches properly.
1276
1277 2012-09-30 Juri Linkov <juri@jurta.org>
1278
1279 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1280 to nil around the call to `insert' to prevent
1281 directory time modification by lock_file. (Bug#2295)
1282 * tar-mode.el (tar-summarize-buffer): Idem.
1283
1284 2012-09-30 Juri Linkov <juri@jurta.org>
1285
1286 * facemenu.el (list-colors-sort): Add option "Luminance".
1287 (list-colors-sort-key): Implement it.
1288
1289 * vc/diff-mode.el (diff-refine-removed):
1290 * vc/ediff-init.el (ediff-fine-diff-A):
1291 * vc/smerge-mode.el (smerge-refined-removed):
1292 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1293
1294 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1295
1296 * term/ns-win.el (x-file-dialog): New function.
1297
1298 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1299
1300 * ido.el (ido-max-directory-size): Default to nil; the current
1301 default is small for POSIX systems, and impractical on Windows 7
1302 now that lstat returns directory sizes for NTFS.
1303
1304 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1305
1306 In buffer display functions handle window-height/window-width
1307 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1308 * window.el (window--display-buffer): New argument ALIST.
1309 Obey window-height and window-width alist entries.
1310 (window--try-to-split-window): New argument ALIST.
1311 Bind window-combination-limit to t when the window's size shall be
1312 changed and window-combination-limit equals `window-size'.
1313 (display-buffer-in-atom-window)
1314 (display-buffer-in-major-side-window)
1315 (display-buffer-in-side-window, display-buffer-same-window)
1316 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1317 (display-buffer-pop-up-window, display-buffer-below-selected)
1318 (display-buffer-at-bottom, display-buffer-in-previous-window)
1319 (display-buffer-use-some-window): Adjust all callers of
1320 window--display-buffer and window--try-to-split-window.
1321 (fit-frame-to-buffer): New option.
1322 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1323 is non-nil.
1324 (display-buffer-in-major-side-window): Evaluate window-height /
1325 window-width alist entries.
1326
1327 * help.el (temp-buffer-resize-frames)
1328 (temp-buffer-resize-regexps): Remove options.
1329 (temp-buffer-resize-mode): Adjust doc-string.
1330 (resize-temp-buffer-window): Don't consult
1331 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1332 temp-buffer-resize-frames.
1333
1334 * dired.el (dired-mark-pop-up):
1335 Call display-buffer-below-selected with a fit-window-to-buffer alist
1336 entry.
1337
1338 2012-09-30 Chong Yidong <cyd@gnu.org>
1339
1340 * server.el (server-host): Document the security implications.
1341 (server-auth-key): Doc fix.
1342
1343 * startup.el (initial-buffer-choice): Doc fix.
1344
1345 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1346
1347 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1348 restriction change.
1349
1350 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1351
1352 * help-fns.el (help-fns--obsolete): Fix last change.
1353
1354 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1355
1356 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1357 (minor-mode-map-alist): Remove redundant code.
1358
1359 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1360 visited in a buffer.
1361 (cvs-insert-visited-file): New function.
1362 (find-file-hook): Use it.
1363
1364 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1365
1366 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1367 chose face.
1368 (log-edit-empty-buffer-p): Don't require a space after a header.
1369
1370 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1371
1372 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1373
1374 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1375 a proper minor-mode.
1376
1377 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1378
1379 2012-09-29 Glenn Morris <rgm@gnu.org>
1380
1381 * winner.el (winner-mode): Remove variable (let define-minor-mode
1382 handle it).
1383 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1384 Doc fixes.
1385 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1386 (winner-mode): Use define-minor-mode.
1387
1388 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1389 the full definition in loaddefs, rather than duplicating it.
1390
1391 * help-macro.el (three-step-help): No need to autoload defcustom.
1392
1393 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1394 (inferior-lisp-program, inferior-lisp-load-command)
1395 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1396 No need to autoload defcustoms.
1397
1398 * hippie-exp.el (hippie-expand-try-functions-list)
1399 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1400 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1401 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1402 (hippie-expand-only-buffers): No need to autoload defcustoms.
1403 * progmodes/vhdl-mode.el (vhdl-line-expand):
1404 Explicitly load hippie-exp, so it does not get autoloaded
1405 while hippie-expand-try-functions-list is let-bound.
1406
1407 2012-09-28 Glenn Morris <rgm@gnu.org>
1408
1409 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1410
1411 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1412 Only "cl.el" counts as cl these days.
1413
1414 2012-09-28 Juri Linkov <juri@jurta.org>
1415
1416 Display archive errors in the echo area instead of inserting
1417 to the file buffer.
1418
1419 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1420 to STDERR-TEST that can be a regexp matching a successful output.
1421 Create a temporary file and redirect stderr to it. Search for
1422 STDERR-TEST in the stderr output and display it in the echo area
1423 if no match is found.
1424 (archive-extract-by-file): New function like
1425 `archive-extract-by-stdout' but extracting archives to files
1426 and looking for successful matches in stdout. Function body is
1427 mostly copied from `archive-rar-extract'.
1428 (archive-rar-extract): Use `archive-extract-by-file'.
1429 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1430
1431 2012-09-28 Leo Liu <sdl.web@gmail.com>
1432
1433 * pcomplete.el (pcomplete-show-completions):
1434 Use minibuffer-message to make pcomplete usable in minibuffer.
1435
1436 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1437
1438 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1439
1440 * type-break.el: Use lexical-binding.
1441 (type-break-mode): Use define-minor-mode.
1442
1443 * emacs-lisp/pcase.el (pcase--mark-used): New.
1444 (pcase--u1): Use it (bug#12512).
1445
1446 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1447 in load-history with the right file name.
1448
1449 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1450
1451 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1452 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1453 (doc-view-get-bounding-box): Make bounding box slicing work for
1454 ODF and DVI documents.
1455
1456 2012-09-28 Glenn Morris <rgm@gnu.org>
1457
1458 * type-break.el (type-break-mode, type-break-interval)
1459 (type-break-good-rest-interval, type-break-keystroke-threshold):
1460 No need to autoload.
1461 (type-break-good-rest-interval, type-break-keystroke-threshold):
1462 Add :set-after.
1463
1464 2012-09-28 Chong Yidong <cyd@gnu.org>
1465
1466 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1467 Add :version tag.
1468
1469 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1470
1471 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1472
1473 2012-09-27 Glenn Morris <rgm@gnu.org>
1474
1475 * faces.el (x-display-name): Declare (for without-x builds).
1476
1477 * linum.el (linum-format): Don't autoload it. Improve :type.
1478
1479 * progmodes/tcl.el: Don't require outline when compiling.
1480 (outline-regexp, outline-level): Declare.
1481 * textmodes/sgml-mode.el: Don't require outline when compiling.
1482 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1483
1484 * term.el (term-ansi-reset):
1485 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1486
1487 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1488 files for RCS and SCCS. (Bug#9781)
1489
1490 2012-09-27 Chong Yidong <cyd@gnu.org>
1491
1492 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1493 change; value should be t.
1494
1495 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1496
1497 * image-mode.el: Use lexical-binding.
1498 (image-mode-winprops): Use t to stand for the window of
1499 a buffer that's not displayed.
1500 * doc-view.el (doc-view-new-window-function): Handle the new
1501 t in winprops.
1502 (doc-view-enlarge): Make it a real nop if the size is not changed.
1503 (doc-view-display): Handle the case where the buffer is not (yet?)
1504 displayed in any window.
1505 (doc-view-saved-settings): New var.
1506 (doc-view-mode): Use it.
1507 (doc-view-fallback-mode): Set it.
1508
1509 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1510 Set lexical-binding.
1511 (minibuffer-eldef-shorten-default): New var.
1512 (minibuffer-default-in-prompt-regexps): Use it for new default.
1513 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1514
1515 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1516
1517 * international/uni-bidi.el:
1518 * international/uni-category.el:
1519 * international/uni-name.el:
1520 * international/uni-numeric.el: Regenerate.
1521
1522 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1523 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * profiler.el: New file.
1526
1527 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1530 (testcover-reinstrument): Simplify with CSE.
1531
1532 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1533
1534 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1535
1536 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1537
1538 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1539 (verilog-auto-input, verilog-auto-insert-lisp)
1540 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1541 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1542 (verilog-auto-unused, verilog-auto-wire)
1543 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1544 newline. Reported by Andrew Jones.
1545 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1546 Reported by Brad Dobbie.
1547 (verilog-batch-delete-trailing-whitespace):
1548 Create verilog-batch-delete-trailing-whitespace.
1549 Reported by Brad Dobbie.
1550 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1551 parameters from another module. Reported by Dan Katz.
1552 (verilog-auto, verilog-auto-assign-modport)
1553 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1554 AUTOINOUTMODPORT for UVM interface module shell generation.
1555 Reported by Brad Dobbie.
1556 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1557 standard behavior.
1558 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1559 Reported by Matt Martin.
1560
1561 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1562
1563 * window.el (window--resize-child-windows): When resizing child
1564 windows proportionally, process them in reverse order to
1565 preserve the "when splitting a window the new one gets the odd
1566 line" behavior.
1567 (window--resize-root-window-vertically): When resizing the
1568 minibuffer window try to affect only windows at the bottom of the
1569 frame. (Bug#12419)
1570
1571 2012-09-25 Chong Yidong <cyd@gnu.org>
1572
1573 * subr.el (declare): Doc fix.
1574
1575 * help-fns.el (help-fns--obsolete): Handle macros properly.
1576
1577 2012-09-25 Chong Yidong <cyd@gnu.org>
1578
1579 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1580 this function obsolete.
1581
1582 * calendar/cal-x.el (calendar-two-frame-setup)
1583 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1584 * calendar/calendar.el (american-calendar, european-calendar)
1585 (calendar-for-loop):
1586 * comint.el (comint-dynamic-simple-complete)
1587 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1588 * desktop.el (desktop-load-default):
1589 * dired-x.el (dired-omit-here-always)
1590 (dired-hack-local-variables, dired-default-directory):
1591 * emacs-lisp/derived.el (derived-mode-class):
1592 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1593 * emacs-lock.el (toggle-emacs-lock):
1594 * epa.el (epa-display-verify-result):
1595 * epg.el (epg-sign-keys, epg-start-sign-keys)
1596 (epg-passphrase-callback-function):
1597 * eshell/esh-util.el (eshell-for):
1598 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1599 (eshell-add-to-window-buffer-names):
1600 * files.el (locate-file-completion):
1601 * imenu.el (imenu-example--create-c-index)
1602 (imenu-example--create-lisp-index)
1603 (imenu-example--lisp-extract-index-name)
1604 (imenu-example--name-and-position):
1605 * international/mule-cmds.el (princ-list):
1606 * international/mule-diag.el (decode-codepage-char):
1607 * international/mule-util.el (detect-coding-with-priority):
1608 * iswitchb.el (iswitchb-read-buffer):
1609 * mail/mailalias.el (mail-complete):
1610 * mail/sendmail.el (mail-sent-via):
1611 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1612 (mouse-major-mode-menu):
1613 * password-cache.el (password-read-and-add):
1614 * pcomplete.el (pcomplete-parse-comint-arguments):
1615 * progmodes/sh-script.el (sh-maybe-here-document):
1616 * replace.el (query-replace-regexp-eval):
1617 * savehist.el (savehist-load):
1618 * simple.el (choose-completion-delete-max-match):
1619 * term.el (term-dynamic-simple-complete):
1620 * vc/ediff-init.el (ediff-check-version):
1621 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1622 * vc/vc.el (vc-diff-switches-list):
1623 * view.el (view-return-to-alist-update): Likewise.
1624
1625 * subr.el (eval-next-after-load, makehash, insert-string)
1626 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1627 mark obsolete.
1628 (mode-line-inverse-video): Variable deleted.
1629
1630 * international/mule-util.el (string-to-sequence): Remove.
1631
1632 * calendar/calendar.el (calendar-version):
1633 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1634 (icalendar-convert-diary-to-ical):
1635 * cus-edit.el (custom-mode):
1636 * ansi-color.el (ansi-color-unfontify-region):
1637 * international/latin1-disp.el (latin1-char-displayable-p):
1638 * progmodes/cwarn.el (turn-on-cwarn-mode):
1639 * progmodes/which-func.el (which-func-update-1):
1640 Use define-obsolete-function-alias.
1641
1642 * net/newst-backend.el (newsticker-cache-filename):
1643 * net/newst-treeview.el (newsticker-groups-filename):
1644 Fix incorrect obsolescence declaration.
1645
1646 * allout.el (allout-passphrase-hint-string): Likewise.
1647 (allout-init): Use a declare form to mark obsolete.
1648
1649 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1650 this applies to functions.
1651
1652 * iswitchb.el (iswitchb-read-buffer): Move code of
1653 iswitchb-define-mode-map here, and delete that obsolete function.
1654
1655 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1656 font-lock-reference-face.
1657
1658 2012-09-25 Glenn Morris <rgm@gnu.org>
1659
1660 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1661 Doc fixes.
1662
1663 * eshell/em-term.el (eshell-term-name):
1664 Default to term-term-name. (Bug#12485)
1665
1666 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1667
1668 * progmodes/python.el (python-shell-send-buffer): Better handling
1669 of "if __name__ == '__main__':" conditionals when sending the buffer.
1670
1671 2012-09-24 Glenn Morris <rgm@gnu.org>
1672
1673 * eshell/esh-cmd.el (eshell-find-alias-function):
1674 Tighten up file-name regexp. (Bug#12499)
1675
1676 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1677
1678 Enhancements for triple-quote string syntax.
1679 * progmodes/python.el (python-quote-syntax): Remove.
1680 (python-syntax-propertize-function): New value.
1681 (python-syntax-count-quotes, python-syntax-stringify):
1682 New functions.
1683
1684 2012-09-24 Chong Yidong <cyd@gnu.org>
1685
1686 * mail/supercite.el (sc-version): Remove obsolete function.
1687 (sc-describe): Don't mark as obsolete, since it is bound.
1688 (sc-submit-bug-report): Remove.
1689
1690 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1691 (cvs-commit-buffer-require-final-newline): Remove.
1692 (log-edit-require-final-newline)
1693 (log-edit-changelog-full-paragraphs): Default to t.
1694
1695 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1696 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1697 * vc/vc.el (vc-checkout-carefully): Likewise.
1698
1699 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1700 (emerge-version): Remove.
1701
1702 * progmodes/compile.el (compile-internal): Remove.
1703 (compilation-parse-errors-function): Fix typo.
1704
1705 * international/mule.el (set-char-table-default): Remove.
1706 (set-coding-priority, make-coding-system, generic-char-p)
1707 (charset-list, charset-bytes, charset-id): Use declare to mark
1708 functions as obsolete.
1709
1710 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1711 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1712 * vc/vc-hooks.el (vc-default-registered): Don't use
1713 vc-master-templates.
1714
1715 * font-lock.el (font-lock-reference-face):
1716 Use define-obsolete-variable-alias.
1717
1718 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1719 * calendar/calendar.el (calendar-font-lock-keywords):
1720 * calendar/diary-lib.el (diary-font-lock-keywords)
1721 (diary-fancy-font-lock-keywords):
1722 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1723 * textmodes/reftex-index.el (reftex-insert-index):
1724 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1725 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1726 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1727 * progmodes/prolog.el (prolog-font-lock-keywords):
1728 * progmodes/idlwave.el (idlwave-idl-keywords):
1729 * progmodes/ada-mode.el (ada-font-lock-keywords):
1730 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1731
1732 2012-09-24 Glenn Morris <rgm@gnu.org>
1733
1734 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1735
1736 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1737
1738 * progmodes/python.el (python-indent-line): More consistent cursor
1739 movement behavior.
1740
1741 2012-09-23 Stefan Merten <smerten@oekonux.de>
1742
1743 * textmodes/rst.el: Fix compiler warning.
1744
1745 2012-09-23 Roland Winkler <winkler@gnu.org>
1746
1747 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1748 Transcribe also LaTeX hyphenation.
1749 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1750 bibtex-reformat-previous-options.
1751
1752 2012-09-23 Roland Winkler <winkler@gnu.org>
1753
1754 * proced.el (proced-renice-command): New variable.
1755 (proced-marked-processes): New function.
1756 (proced-with-processes-buffer): New macro.
1757 (proced-send-signal): Use them.
1758 (proced-renice): New command bound to r.
1759
1760 2012-09-23 Roland Winkler <winkler@gnu.org>
1761
1762 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1763 ibuffer-saved-filter-groups has one element, shortcut the call of
1764 completing-read. (Bug#12331)
1765
1766 2012-09-23 Chong Yidong <cyd@gnu.org>
1767
1768 * bindings.el (mode-line-toggle-read-only):
1769 * bs.el (bs-toggle-readonly):
1770 * buff-menu.el (Buffer-menu-toggle-read-only):
1771 * dired.el (dired-toggle-read-only):
1772 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1773
1774 2012-09-23 Chong Yidong <cyd@gnu.org>
1775
1776 * image.el (image-type-available-p): Adapt to init-image-library
1777 argument changes.
1778
1779 2012-09-22 Juri Linkov <juri@jurta.org>
1780
1781 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1782 `dired-toggle-read-only'. (Bug#12462)
1783
1784 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1785
1786 * subr.el (temp-output-buffer-show): New function.
1787 (with-output-to-temp-buffer): Call temp-output-buffer-show
1788 instead of internal-temp-output-buffer-show.
1789
1790 2012-09-22 Chong Yidong <cyd@gnu.org>
1791
1792 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1793 (Bug#12462).
1794
1795 * repeat.el (repeat): Doc fix (Bug#12348).
1796
1797 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1798 (Bug#10909).
1799
1800 * simple.el (shell-command-on-region): Doc fix.
1801 (read-only-mode): Doc fix.
1802
1803 2012-09-22 Eli Zaretskii <eliz@gnu.org>
1804
1805 * emacs-lisp/timer.el (run-with-idle-timer)
1806 (timer-activate-when-idle): Warn against reinvoking an idle timer
1807 from within its own timer action. (Bug#12447)
1808
1809 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1810
1811 * cus-start.el (window-combination-limit): Add new optional
1812 values.
1813 * window.el (temp-buffer-window-show)
1814 (window--try-to-split-window): Handle new values of
1815 window-combination-limit (Bug#1806).
1816 (split-window): Test window-combination-limit for t instead of
1817 non-nil.
1818 (display-buffer-at-bottom): New buffer display action function.
1819 * help.el (temp-buffer-resize-regexps): New option.
1820 (temp-buffer-resize-mode): Rewrite doc-string.
1821 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1822 Don't resize reused window. Suggested by Glenn Morris.
1823
1824 2012-09-22 Stefan Merten <smerten@oekonux.de>
1825
1826 * textmodes/rst.el: Revamp section title faces.
1827 (rst-official-version)
1828 (rst-package-emacs-version-alist): Sync with official version
1829 V1.4.0.
1830 (rst-faces-defaults, rst-set-level-default)
1831 (rst-level-face-max, rst-level-face-base-color)
1832 (rst-level-face-base-light, rst-level-face-format-light)
1833 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1834 (rst-adornment-faces-alist): Match new setup.
1835 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1836 (rst-level-5, rst-level-6): New faces.
1837
1838 2012-09-22 Chong Yidong <cyd@gnu.org>
1839
1840 * simple.el (undo): Handle indirect buffers (Bug#8207).
1841
1842 2012-09-21 Leo Liu <sdl.web@gmail.com>
1843
1844 IDO: Disable match re-ordering for buffer switching.
1845 * ido.el (ido-buffer-disable-smart-matches): New variable.
1846 (ido-set-matches-1): Use it. (Bug#2042)
1847
1848 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
1849
1850 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1851 Fix 2011-05-17 change. (Bug#12418)
1852
1853 2012-09-21 Leo Liu <sdl.web@gmail.com>
1854
1855 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1856
1857 2012-09-21 Glenn Morris <rgm@gnu.org>
1858
1859 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1860 Be more robust about locating simple.el.
1861
1862 2012-09-21 Glenn Morris <rgm@gnu.org>
1863
1864 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1865
1866 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1867
1868 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1869
1870 2012-09-20 Juri Linkov <juri@jurta.org>
1871
1872 * replace.el (query-replace-read-from): Use `read-regexp' instead
1873 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1874 (occur-read-primary-args): Use `read-regexp' instead of
1875 `read-string'.
1876 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1877 `read-from-minibuffer'.
1878 * isearch.el (isearch-occur): Use `read-regexp' instead of
1879 `read-string'.
1880 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1881 `read-from-minibuffer'.
1882 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1883 of `read-string'. (Bug#7567)
1884
1885 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1886 and allow accepting a list of strings prepended to a list of
1887 standard default values. Doc fix. (Bug#12321)
1888
1889 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1890
1891 * replace.el (read-regexp): Don't add ": " when PROMPT already
1892 ends with a colon and space. (Bug#12321)
1893
1894 2012-09-20 Tassilo Horn <tsdh@gnu.org>
1895
1896 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1897 error.
1898
1899 2012-09-20 Stefan Merten <smerten@oekonux.de>
1900
1901 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1902 Fixes feature request bug#11711.
1903 (rst-mode): Create `imenu-create-index-function'.
1904 (rst-get-stripped-line): Delete after refactoring.
1905 (rst-section-tree, rst-section-tree-rec)
1906 (rst-section-tree-point): Refactor and document properly.
1907 (rst-imenu-find-adornments-for-position)
1908 (rst-imenu-convert-cell, rst-imenu-create-index):
1909 New function.
1910
1911 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1914 (macroexp--expand-all): Use it.
1915 (macroexp--funcall-and-return): Remove by folding it into its sole
1916 caller (macroexp--warn-and-return).
1917 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1918 Use macroexp--obsolete-warning.
1919
1920 * calc/calc.el: Fix last change by removing the whole chunk, since it
1921 was only needed back when Calc was not bundled.
1922
1923 2012-09-20 Martin Rudalics <rudalics@gmx.at>
1924
1925 * emacs-lisp/debug.el (debug): Restore assignment to
1926 debugger-old-buffer removed on 2012-09-08.
1927
1928 2012-09-20 Juri Linkov <juri@jurta.org>
1929
1930 * dired-aux.el (dired-diff): Remove (require 'diff) since
1931 `diff-latest-backup-file' is now autoloaded.
1932
1933 2012-09-20 Chong Yidong <cyd@gnu.org>
1934
1935 * vc/diff.el (diff-latest-backup-file): Autoload.
1936
1937 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * calc/calc.el: Remove redundant autoload shape check.
1940 (sel-mode): Don't defvar.
1941 (calc-get-stack-element): Add `sel-mode' arg instead.
1942 (calc-top, calc-top-list): Pass it this additional argument.
1943 * calc/calc-store.el (calc-store-map):
1944 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1945 (calc-map-equation, calc-outer-product, calc-inner-product):
1946 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1947
1948 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1949
1950 2012-09-19 Juri Linkov <juri@jurta.org>
1951
1952 * dired-aux.el (dired-diff): Add (require 'diff) because
1953 `diff-latest-backup-file' is not autoloaded.
1954 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1955 of `dired-get-filename' to t to not report error when there is
1956 no default file on the current line.
1957
1958 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1960 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1961 macroexp--eval-if-compile.
1962 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1963 (macroexp--expand-all): Use them (bug#12371).
1964
1965 * doc-view.el (doc-view-guess-paper-size)
1966 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1967
1968 2012-09-19 Tassilo Horn <tsdh@gnu.org>
1969
1970 New feature: set optimal slice from BoundingBox information.
1971 * doc-view.el (doc-view-mode-map): Add keybinding.
1972 (doc-view-menu): Add menu entry.
1973 (doc-view-set-slice): Adapt docstring.
1974 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1975 (doc-view-scale-bounding-box)
1976 (doc-view-set-slice-from-bounding-box): New functions.
1977 (doc-view-paper-sizes): New defvar.
1978
1979 2012-09-19 Glenn Morris <rgm@gnu.org>
1980
1981 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1982 (byte-compile-log-warning): Autoload. (Bug#12371)
1983
1984 * calendar/calendar.el (calendar-american-month-header)
1985 (calendar-european-month-header, calendar-iso-month-header)
1986 (calendar-month-header): New options.
1987 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1988 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1989
1990 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1991
1992 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1993
1994 2012-09-18 Juri Linkov <juri@jurta.org>
1995
1996 * dired-aux.el (dired-diff): Restore original functionality of
1997 getting the default value, but keep new feature of using the
1998 latest existing backup file (`diff-latest-backup-file').
1999
2000 2012-09-18 Juri Linkov <juri@jurta.org>
2001
2002 * dired.el (dired-mark): If the region is active in Transient Mark
2003 mode, mark all files in the active region. Doc fix.
2004 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2005 Doc fix. (Bug#10624)
2006
2007 2012-09-18 Juri Linkov <juri@jurta.org>
2008
2009 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2010 attributes for M-n are pulled from the file at point.
2011 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2012 Suggested by Drew Adams. (Bug#10624)
2013
2014 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2015
2016 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2017 whitespace after "end".
2018 (ruby-do-end-to-brace): Collapse block to one line if it fits
2019 within fill-column.
2020
2021 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2022
2023 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2024 value.
2025 (debug): Don't remove debugger window when debugger is expected
2026 to be back.
2027
2028 2012-09-18 Chong Yidong <cyd@gnu.org>
2029
2030 * custom.el (defface): Doc fix.
2031
2032 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2033
2034 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2035
2036 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2037 to initialize query-on-exit; then test that instead (bug#12288).
2038
2039 2012-09-17 Stefan Merten <smerten@oekonux.de>
2040
2041 * textmodes/rst.el: Add support for `testcover'.
2042 (rst-defcustom-testcover, rst-testcover-add-compose)
2043 (rst-testcover-add-1value): New functions.
2044 (rst-portable-mark-active-p): Replace by `use-region-p'.
2045 (rst-update-section, rst-classify-adornment)
2046 (rst-find-title-line): Mark `1value' forms.
2047 (rst-classify-adornment): Remove superfluous form.
2048 (rst-update-section, rst-get-adornments-around)
2049 (rst-adornment-complete-p, rst-get-next-adornment)
2050 (rst-adjust, rst-promote-region)
2051 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2052 (rst-find-pfx-in-region, rst-section-tree-rec)
2053 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2054 (rst-toc-node, rst-toc, rst-forward-section)
2055 (rst-iterate-leftmost-paragraphs)
2056 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2057 (rst-bullet-list-region)
2058 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2059 (rst-compile-find-conf, rst-compile)
2060 (rst-repeat-last-character): Fix style.
2061
2062 2012-09-17 Chong Yidong <cyd@gnu.org>
2063
2064 * comint.el (comint--complete-file-name-data): Don't add a space
2065 if the status is `sole'; that adds a gratuitous space in the
2066 completion-cycling case (Bug#12092).
2067
2068 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2069
2070 2012-09-17 Richard Stallman <rms@gnu.org>
2071
2072 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2073 only in the mime-shown mode, not in raw mode.
2074 (rmail-mime): Toggle off mime by displaying the message without
2075 mime processing. (Bug#12305)
2076
2077 * mail/rmail.el (rmail-retry-failure):
2078 Turn off mime processing first. (Bug#12037)
2079
2080 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2081
2082 2012-09-17 Chong Yidong <cyd@gnu.org>
2083
2084 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2085 (shell-dynamic-complete-functions): Convert to defcustom.
2086 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2087
2088 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2089 * comint.el (comint-prompt-read-only):
2090 * custom.el (defcustom):
2091 * hi-lock.el (hi-lock-mode):
2092 * ibuffer.el (ibuffer-formats):
2093 * ielm.el (ielm-prompt-read-only):
2094 * novice.el (disable-command):
2095 * saveplace.el (toggle-save-place):
2096 * speedbar.el (speedbar-supported-extension-expressions):
2097 * startup.el (auto-save-list-file-prefix, init-file-user)
2098 (after-init-hook, inhibit-startup-echo-area-message):
2099 * strokes.el (strokes-help):
2100 * time-stamp.el (time-stamp):
2101 * calendar/calendar.el (calendar, diary-file):
2102 * calendar/diary-lib.el (diary-mail-entries, diary)
2103 (diary-list-entries-hook):
2104 * calendar/holidays.el (holidays, calendar-holidays):
2105 * calendar/lunar.el (lunar-phases):
2106 * calendar/solar.el (sunrise-sunset):
2107 * emulation/edt.el (edt-load-keys):
2108 * emulation/viper.el (viper-mode):
2109 * eshell/em-alias.el (eshell-command-aliases-list):
2110 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2111 * international/ogonek.el (ogonek-information):
2112 * net/tramp-cmds.el (tramp-bug):
2113 * net/quickurl.el (quickurl-reread-hook-postfix):
2114 * play/decipher.el (decipher-font-lock-keywords):
2115 * progmodes/cc-styles.el (c-set-style):
2116 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2117 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2118 * progmodes/octave-mod.el (octave-mode):
2119 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2120 * progmodes/verilog-mode.el (verilog-read-defines):
2121 * textmodes/two-column.el (2C-mode): Likewise.
2122
2123 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2124
2125 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2126 that holds many addresses.
2127
2128 2012-09-16 Chong Yidong <cyd@gnu.org>
2129
2130 * align.el (align-areas): Call the indication function with
2131 positions instead of markers for arguments (Bug#12343).
2132
2133 * files.el (parse-colon-path): Use split-string (Bug#12351).
2134
2135 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2136 (display-buffer-function): Mark as obsolete.
2137
2138 * progmodes/compile.el (compilation-parse-errors): Accept list
2139 values similar to font-lock-keywords (Bug#12136).
2140 Suggested by Oleksandr Manzyuk.
2141 (compilation-error-regexp-alist): Doc fix.
2142
2143 2012-09-15 Glenn Morris <rgm@gnu.org>
2144
2145 * version.el (emacs-bzr-version-bzr): New function.
2146 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2147
2148 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2149 checkouts, check the parent dirstate matches the branch.
2150 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2151 empty string.
2152
2153 * version.el (emacs-bzr-version): Doc fix.
2154 (emacs-bzr-version-dirstate): New function.
2155 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2156 is local try and check that it matches the branch. If not, just
2157 use dirstate information. (Bug#12441)
2158
2159 2012-09-14 Juri Linkov <juri@jurta.org>
2160
2161 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2162 (Bug#12399)
2163
2164 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2167
2168 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2169 Remove obsolete byte-compiler hack that tried to silence some warnings.
2170 (edebug-submit-bug-report): Remove.
2171 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2172 Remove aliases, use the un-prefixed name instead.
2173 (edebug-pop-to-buffer): Consider other frames.
2174 (edebug-original-read):: Make it more obvious that it's always defined.
2175 (edebug--make-form-data-entry, edebug--form-data-name)
2176 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2177 single-dashed name, and implement with cl-defstruct.
2178 (edebug-set-form-data-entry): Use the standard accessors.
2179 (edebug-make-top-form-data-entry): Use push.
2180 (edebug-no-match): Drop useless `funcall'.
2181 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2182 to functions.
2183 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2184 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2185 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2186 (easy-menu-define, with-custom-print): Remove redundant specs.
2187 (edebug-outside-overriding-local-map)
2188 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2189 (edebug--display): Bind unread-command-events directly to nil rather
2190 than binding it to unread-command-events and later setting it to nil.
2191 (edebug--display): Kill edebug-eval-buffer here...
2192 (edebug--recursive-edit): ...rather than here.
2193 Bind standard-output and standard-input.
2194 (edebug-eval): Check cl-macroexpand-all is fboundp.
2195 (edebug-temp-display-freq-count): Fix last change.
2196
2197 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2198 * subr.el (noreturn, 1value): Add `debug' spec.
2199 * emacs-lisp/advice.el: Require cl-lib.
2200 (ad-copy-tree): Remove, use copy-tree instead.
2201 (ad-dolist): Remove use dolist or cl-dolist instead.
2202 (ad-do-return): Remove, use cl-return instead.
2203 (defadvice): Add `debug' spec.
2204
2205 2012-09-13 Juri Linkov <juri@jurta.org>
2206
2207 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2208 (Bug#12399)
2209
2210 2012-09-13 Glenn Morris <rgm@gnu.org>
2211
2212 * calc/calc.el (math-compose-expr):
2213 * calc/calc-ext.el (math-compose-expr):
2214 * progmodes/cc-defs.el (cl-macroexpand-all):
2215 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2216 (cl-macroexpand-all): Update declarations.
2217
2218 * vc/vc.el: No need to require ediff.
2219 (ediff-load-version-control): Declare.
2220 (ediff-vc-internal): Fix declaration.
2221 (vc-version-ediff): Require ediff.
2222
2223 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2224
2225 Use a more backwards-compatible timer format (Bug#12430).
2226 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2227 being right after USECS, as that better supports old code that
2228 inadvisedly looked directly at the timer vector.
2229
2230 2012-09-13 Kenichi Handa <handa@gnu.org>
2231
2232 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2233 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2234 `coding-priority' property of these language environment.
2235
2236 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2237
2238 Fix glitches caused by addition of psec to timers (Bug#12430).
2239 * image.el (image-animate-timer):
2240 * time.el (display-time-world-timer):
2241 Use timer--function and timer--args rather than raw access to
2242 timer vector.
2243
2244 2012-09-13 Glenn Morris <rgm@gnu.org>
2245
2246 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2247 If not compiling a file, try using load-file-name.
2248
2249 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2250
2251 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2252 Fix last change.
2253 (edebug-update-eval-list): Use `push'.
2254
2255 * emacs-lisp/edebug.el: Use lexical-binding.
2256 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2257 Mark unused args with underscore.
2258 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2259 (edebug-form-data): Use defvar-local.
2260 (edebug-make-before-and-after-form, edebug-make-after-form):
2261 Use backquote.
2262 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2263 Not dynamically scoped any more.
2264 (edebug--enter-trace): Add arguments `function' and `args'.
2265 Rename from edebug-enter-trace.
2266 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2267 (edebug--update-coverage): Add `after-index' and `value' args.
2268 Rename from edebug-update-coverage.
2269 (edebug-slow-after): Call it accordingly.
2270 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2271 edebug-recursive-edit.
2272 (edebug--display): Call it accordingly. Add args `value',
2273 `offset-index', and `arg-mode'. Rename from edebug-display.
2274 (edebug-debugger, edebug): Call it accordingly.
2275 (edebug-eval-display-list): Use dolist.
2276
2277 2012-09-12 Juri Linkov <juri@jurta.org>
2278
2279 * info.el (Info-search): Don't check for isearch-mode and
2280 isearch-regexp before let-binding search-spaces-regexp to
2281 Info-search-whitespace-regexp.
2282 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2283 search-whitespace-regexp if isearch-lax-whitespace or
2284 isearch-regexp-lax-whitespace is non-nil.
2285 (Info-mode): Don't set local variable search-whitespace-regexp.
2286 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2287
2288 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2291 (debugger-env-macro): Remove support for unread-command-char.
2292
2293 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2294 the temporary map re-appearing on emulation-mode-map-alists.
2295
2296 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2297 since 22.1.
2298
2299 * ehelp.el (with-electric-help): Accept functions in
2300 electric-help-form-to-execute.
2301 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2302 And replace unread-command-char -> unread-command-events.
2303
2304 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2305
2306 Sync with Tramp 2.2.6.
2307
2308 * net/tramp.el (tramp-accept-process-output): Don't use
2309 JUST-THIS-ONE in the XEmacs case.
2310
2311 * net/trampver.el: Update release number.
2312
2313 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2314
2315 * emacs-lisp/debug.el (debugger-previous-window-height):
2316 New variable.
2317 (debug): When debugger-jumping-flag is non-nil try to restore
2318 height of debugger window. (Bug#8789)
2319
2320 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2321
2322 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2323 overriding-local-map and pre/post-command-hook here.
2324 (edebug-recursive-edit): Do it here instead (bug#12345).
2325 (edebug-outside-unread-command-char): Remove all uses of
2326 unread-command-char.
2327
2328 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2329 inhibit-debugger is bound instead.
2330
2331 2012-09-11 Bastien Guerry <bzg@gnu.org>
2332
2333 * subr.el (set-temporary-overlay-map): Add a docstring.
2334 (Bug#12346)
2335
2336 2012-09-11 Bastien Guerry <bzg@gnu.org>
2337
2338 * minibuffer.el (completion-table-subvert): Fix docstring.
2339 (Bug#12347)
2340
2341 2012-09-11 Bastien Guerry <bzg@gnu.org>
2342
2343 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2344
2345 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2346
2347 * progmodes/sql.el: Version 3.1
2348 (sql-db2-escape-newlines): New variable.
2349 (sql-escape-newlines-filter): Use it.
2350
2351 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2352
2353 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2354
2355 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2356
2357 * vc/diff-mode.el (diff-mode-menu):
2358 Bind diff-remove-trailing-whitespace.
2359
2360 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2363 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2364 (emacs-lisp-byte-code-mode): New functions.
2365 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2366 (eval-defun-2): Remove bogus interactive spec.
2367 (lisp-indent-line): Remove redundant whole-exp code, now done in
2368 indent-according-to-mode.
2369 (save-match-data): Remove redundant indent data.
2370
2371 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2372 Use `declare'.
2373
2374 2012-09-09 Juri Linkov <juri@jurta.org>
2375
2376 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2377 (replace-lax-whitespace, query-replace-regexp)
2378 (query-replace-regexp-eval, replace-regexp): Doc fix.
2379 (perform-replace, replace-highlight): Let-bind
2380 isearch-lax-whitespace to replace-lax-whitespace and
2381 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2382
2383 * isearch.el (isearch-query-replace): Let-bind
2384 replace-lax-whitespace to isearch-lax-whitespace and
2385 replace-regexp-lax-whitespace to
2386 isearch-regexp-lax-whitespace. (Bug#10885)
2387
2388 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2389
2390 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2391
2392 2012-09-09 Alan Mackenzie <acm@muc.de>
2393
2394 * progmodes/cc-engine.el (c-state-cache-init):
2395 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2396 (c-record-parse-state-state):
2397 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2398
2399 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2400
2401 * register.el (register-separator): Rename from
2402 separator-register. All uses changed. Doc fix.
2403 (register): Fix version.
2404
2405 2012-09-09 Chong Yidong <cyd@gnu.org>
2406
2407 * replace.el (query-replace-map): Bind four new symbols for
2408 requesting window scrolling.
2409
2410 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2411 query-replace-map (Bug#8948).
2412
2413 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2414
2415 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2416 since they are now in query-replace-map.
2417
2418 * window.el (scroll-other-window-down): Make the arg optional.
2419
2420 2012-09-09 Chong Yidong <cyd@gnu.org>
2421
2422 * files.el (hack-local-variables-confirm): Use quit-window to kill
2423 the *Local Variables* buffer.
2424
2425 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2426
2427 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2428 not just expect to be at its beginning. Adjust callees.
2429 Succeed when do-end block has no space before the pipe character.
2430 (ruby-brace-to-do-end): When the original block is one-liner,
2431 convert to multiline. Reindent the result.
2432
2433 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2434
2435 * register.el (register): New group.
2436 (separator-register): New user option.
2437 (increment-register): Route it to `append-to-register', if
2438 register contains text. Implication is that `C-x r +' can now be
2439 used for appending to a text register (bug#12217).
2440 (append-to-register, prepend-to-register): Add separator based on
2441 `separator-register'.
2442
2443 2012-09-08 Alan Mackenzie <acm@muc.de>
2444
2445 AWK Mode: make auto-newline work when there's "==" in the pattern.
2446 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2447 correctly.
2448 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2449 Test more rigorously for "=" token.
2450
2451 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2452
2453 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2454 Only fail when reached LIMIT.
2455
2456 2012-09-08 Chong Yidong <cyd@gnu.org>
2457
2458 * dired.el (dired-mode-map): Don't bind M-=.
2459
2460 * dired-aux.el (dired-diff): Use backup file as default.
2461
2462 2012-09-08 Drew Adams <drew.adams@oracle.com>
2463
2464 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2465
2466 2012-09-08 Chong Yidong <cyd@gnu.org>
2467
2468 * subr.el (syntax-after, syntax-class): Doc fix.
2469
2470 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2471
2472 * window.el (display-buffer-in-previous-window): New buffer
2473 display action function.
2474
2475 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2476 (debugger-previous-window): New variable.
2477 (debug): Rewrite using display-buffer-in-previous-window,
2478 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2479
2480 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2481
2482 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2483
2484 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2485
2486 * progmodes/python.el (python-shell-send-string):
2487 When default-directory is remote, create temp file on remote
2488 filesystem.
2489 (python-shell-send-file): When file is remote, pass local view of
2490 file paths to remote Python interpreter. (Bug#12340)
2491
2492 2012-09-07 Chong Yidong <cyd@gnu.org>
2493
2494 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2495
2496 * files.el (after-find-file): Don't fail on a read-only buffer if
2497 require-final-newline is `visit' or `visit-save' (Bug#11156).
2498
2499 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2500
2501 * userlock.el (ask-user-about-supersession-threat):
2502 Use read-char-choice (Bug#12093).
2503
2504 2012-09-07 Chong Yidong <cyd@gnu.org>
2505
2506 * subr.el (buffer-narrowed-p): New function.
2507
2508 * ses.el (ses-widen):
2509 * simple.el (count-words--buffer-message):
2510 * net/browse-url.el (browse-url-of-buffer): Use it.
2511
2512 * simple.el (count-words-region): Don't signal an error if there
2513 is a non-nil prefix arg and the mark is not set.
2514
2515 * help.el (describe-key-briefly): Allow the message to be seen
2516 when invoked from the minibuffer (Bug#7014).
2517
2518 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2519
2520 * progmodes/ruby-mode.el (ruby-end-of-defun)
2521 (ruby-beginning-of-defun): Simplify, allow indentation before
2522 block beginning and end keywords.
2523 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2524 (ruby-end-of-defun): Expect that the point is at the beginning of
2525 the defun.
2526
2527 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2528
2529 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2530 (bug#12367).
2531 (cl--make-usage-args): Strip _ from argument names.
2532
2533 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2534
2535 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2536 obsolete alias speedbar-key-map.
2537 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2538 (vhdl-index-menu-init): Don't use obsolete variable
2539 font-lock-maximum-size.
2540
2541 2012-09-06 Chong Yidong <cyd@gnu.org>
2542
2543 * frame.el (window-system-version): Mark as obsolete.
2544
2545 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2546 of obsolete variable speedbar-key-map.
2547
2548 2012-09-06 Juri Linkov <juri@jurta.org>
2549
2550 * replace.el (replace-lax-whitespace): New defcustom.
2551 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2552 (replace-string, replace-regexp): Mention it in docstrings.
2553 (perform-replace, replace-highlight): Let-bind
2554 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2555 to the values of replace-lax-whitespace and regexp-flag.
2556 Don't let-bind search-whitespace-regexp. (Bug#10885)
2557
2558 * isearch.el (isearch-query-replace): Let-bind
2559 replace-lax-whitespace instead of let-binding
2560 replace-search-function and replace-re-search-function.
2561 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2562 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2563 (isearch-toggle-symbol): Set isearch-regexp to nil
2564 in isearch-word mode (like in isearch-toggle-word).
2565
2566 2012-09-06 Juri Linkov <juri@jurta.org>
2567
2568 * replace.el (replace-search-function)
2569 (replace-re-search-function): Set default values to nil.
2570 (perform-replace): Let-bind isearch-related variables based on
2571 replace-related values, call `isearch-search-fun' and let-bind
2572 the result to `search-function'. Remove code that sets
2573 `search-function' and `search-string' separately for
2574 `delimited-flag'.
2575 (replace-highlight): Add new argument `delimited-flag' and
2576 rename other arguments to the names used in `perform-replace'.
2577 Let-bind `isearch-word' to the argument `delimited-flag'.
2578 (Bug#10885, bug#10887)
2579
2580 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2581
2582 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2583 ruby-beginning-of-indent, simplify, allow all keywords to have
2584 indentation before them.
2585 (ruby-beginning-of-indent): Adjust for above. Search until the
2586 found point is not inside a string or comment.
2587 (ruby-font-lock-keywords): Allow symbols to start with "@"
2588 character, give them higher priority than variables.
2589 (ruby-syntax-propertize-function)
2590 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2591 matchers. Expression expansions are not comments when inside a
2592 string, and there comment syntax status is irrelevant.
2593 (ruby-match-expression-expansion): New function. Check that
2594 expression expansion is inside a string, and it's not escaped.
2595 (ruby-font-lock-keywords): Use it.
2596
2597 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2598
2599 * help.el (temp-buffer-max-height): New default value.
2600 (temp-buffer-resize-frames): New option.
2601 (resize-temp-buffer-window): Optionally resize frame.
2602
2603 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2604 (fit-frame-to-buffer): New function.
2605
2606 2012-09-05 Glenn Morris <rgm@gnu.org>
2607
2608 * emulation/cua-rect.el (cua--init-rectangles):
2609 * textmodes/picture.el (picture-mode-map):
2610 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2611 like forward-char and backward-char. (Bug#12317)
2612
2613 2012-09-05 Leo Liu <sdl.web@gmail.com>
2614
2615 * progmodes/flymake.el (flymake-warning-re): New variable.
2616 (flymake-parse-line): Use it.
2617
2618 2012-09-05 Glenn Morris <rgm@gnu.org>
2619
2620 * calendar/holidays.el (holiday-christian-holidays):
2621 Rename an entry. (Bug#12289)
2622
2623 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2624
2625 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2626 (bug#12222).
2627
2628 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * loadup.el: Load macroexp. Remove hack.
2631 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2632 (macroexp--expand-all): Use it to get better warnings.
2633 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2634 (internal-macroexpand-for-load): New functions.
2635 (macroexp--pending-eager-loads): New var.
2636 (emacs-startup-hook): New hack to replace one in loadup.el.
2637 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2638 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2639 (cl-psetf): Simplify.
2640 (cl-defstruct): Add indent rule.
2641
2642 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2643
2644 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2645 over `user-mail-address' for the SMTP MAIL FROM envelope.
2646 (smtpmail-via-smtp): Ditto.
2647
2648 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2649
2650 * progmodes/ruby-mode.el: Clean up keybindings.
2651 (ruby-mode-map): Don't bind ruby-electric-brace,
2652 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2653 backward-kill-word, reindent-then-newline-and-indent.
2654 (ruby-mark-defun): Remove.
2655 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2656 (ruby-mode): Set local beginning-of-defun-function and
2657 end-of-defun-function values.
2658
2659 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2660
2661 * window.el (temp-buffer-window-setup-hook)
2662 (temp-buffer-window-show-hook): New hooks.
2663 (temp-buffer-window-setup, temp-buffer-window-show)
2664 (with-temp-buffer-window): New functions.
2665 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2666 (special-display-popup-frame): Make sure the window used shows BUFFER.
2667
2668 * help.el (temp-buffer-resize-mode): Fix doc-string.
2669 (resize-temp-buffer-window): New optional argument WINDOW.
2670
2671 * files.el (recover-file, save-buffers-kill-emacs):
2672 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2673
2674 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2675
2676 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2677 remote definition of `default-directory', ensure we can connect.
2678
2679 2012-09-02 Juri Linkov <juri@jurta.org>
2680
2681 Toggle whitespace matching mode with M-s SPC.
2682 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2683
2684 * isearch.el (search-whitespace-regexp): Doc fix.
2685 Remove cons cell customization.
2686 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2687 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2688 New variables.
2689 (isearch-forward, isearch-forward-regexp): Doc fix.
2690 (isearch-toggle-lax-whitespace): New command.
2691 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2692 (re-search-forward-lax-whitespace)
2693 (re-search-backward-lax-whitespace): New functions.
2694 (isearch-whitespace-regexp): Remove function.
2695 (isearch-query-replace): Let-bind replace-search-function and
2696 replace-re-search-function.
2697 (isearch-occur): Let-bind search-spaces-regexp according to the
2698 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2699 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2700 condition for C-q SPC.
2701 (isearch-search-fun-default): Use new functions mentioned above.
2702 (isearch-search-forward, isearch-search-backward): Remove functions.
2703 (isearch-search): Don't let-bind search-spaces-regexp.
2704 (isearch-lazy-highlight-space-regexp): Remove variable.
2705 (isearch-lazy-highlight-lax-whitespace)
2706 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2707 (isearch-lazy-highlight-new-loop): Use them.
2708 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2709
2710 2012-09-02 Chong Yidong <cyd@gnu.org>
2711
2712 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2713
2714 2012-09-02 Glenn Morris <rgm@gnu.org>
2715
2716 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2717
2718 2012-09-01 Glenn Morris <rgm@gnu.org>
2719
2720 * term.el: Tidy up menu definitions.
2721 (term-mode-map): Use easymenu for In/Out, Complete menus.
2722 (term-pager-break-map): Initialize in the defvar.
2723 (term-terminal-menu, term-signals-menu): Define with easymenu.
2724 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2725 (term-pager-menu): New, extracted from term-process-pager.
2726 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2727 (term-update-mode-line): Propertize line/char and page items.
2728 (term-process-pager): Move keymap initialization elsewhere.
2729
2730 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2731
2732 * window.el (switch-to-prev-buffer): Handle additional values of
2733 BURY-OR-KILL argument. Don't switch in minibuffer window.
2734 (switch-to-next-buffer): Don't switch in minibuffer window.
2735 (quit-restore-window): New function based on quit-window.
2736 Handle additional values of former KILL argument.
2737 (quit-window): Call quit-restore-window with appropriate
2738 interpretation of KILL argument.
2739 (display-buffer-below-selected): New buffer display action
2740 function.
2741
2742 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2743
2744 * minibuffer.el (completion-at-point-functions): Complete docstring
2745 (bug#12254).
2746
2747 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2748
2749 Better seed support for (random).
2750 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2751 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2752 * play/mpuz.el, play/tetris.el, play/zone.el:
2753 * calc/calc-comb.el (math-init-random-base):
2754 * play/blackbox.el (bb-init-board):
2755 * play/life.el (life):
2756 * server.el (server-use-tcp):
2757 * type-break.el (type-break):
2758 Remove unnecessary call to (random t).
2759 * net/sasl.el (sasl-unique-id-function):
2760 Change (random t) to (random), now that the latter is more random.
2761 * play/life.el (life-initialized): Remove no-longer-needed var.
2762
2763 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2764
2765 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2766 Consider frame's buffer predicate when choosing the buffer.
2767 (Bug#12081)
2768
2769 2012-08-30 Richard Stallman <rms@gnu.org>
2770
2771 * simple.el (special-mode-map): Delete binding for `z'.
2772
2773 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2774
2775 * progmodes/compile.el (compilation-always-kill): Doc fix.
2776
2777 2012-08-30 Chong Yidong <cyd@gnu.org>
2778
2779 * window.el (display-buffer-reuse-frames): Make the obsolescence
2780 message more informative.
2781
2782 2012-08-30 Glenn Morris <rgm@gnu.org>
2783
2784 * paren.el (show-paren-delay):
2785 Add a :set function. Doc fix. (Bug#12297)
2786
2787 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2788
2789 * progmodes/compile.el (compilation-always-kill): New var.
2790 (compilation-start): Use it.
2791
2792 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2795 * files.el (read-only-mode): Move to simple.el.
2796
2797 * files.el (read-only-mode): New minor mode.
2798 (toggle-read-only): Use it and mark obsolete.
2799 (find-file--read-only):
2800 * vc/vc.el (vc-next-action, vc-checkout):
2801 * vc/vc-cvs.el (vc-cvs-checkout):
2802 * obsolete/vc-mcvs.el (vc-mcvs-update):
2803 * ffap.el (ffap--toggle-read-only): Update callers.
2804
2805 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2806
2807 * eshell/esh-ext.el (eshell-external-command): Do not examine
2808 remote shell scripts.
2809 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2810
2811 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2812 "/usr/local/sbin".
2813
2814 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2815
2816 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2817
2818 2012-08-28 Leo Liu <sdl.web@gmail.com>
2819
2820 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2821 completion-at-point. (Bug#12220)
2822
2823 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2824
2825 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2826
2827 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2828
2829 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2830 be buffer-local; add delete-trailing-whitespace (bug#12259).
2831
2832 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2833
2834 * progmodes/hideif.el (hif-compress-define-list):
2835 Fix typo. (Bug#11951)
2836
2837 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2838
2839 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2840 buffer local setting.
2841
2842 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2843 rcirc-encode-coding-system.
2844
2845 2012-08-28 Leo Liu <sdl.web@gmail.com>
2846
2847 * net/rcirc.el (rcirc-split-message): New function.
2848 (rcirc-send-message): Use it. (Bug#12051)
2849
2850 2012-08-28 Juri Linkov <juri@jurta.org>
2851
2852 * info.el (Info-fontify-node): Hide empty lines at the end of
2853 the node. (Bug#12272)
2854
2855 2012-08-27 Drew Adams <drew.adams@oracle.com>
2856
2857 * dired.el (dired-pop-to-buffer): Make window start at beginning
2858 of buffer (Bug#12281).
2859
2860 2012-08-26 Chong Yidong <cyd@gnu.org>
2861
2862 * window.el (special-display-regexps, special-display-frame-alist)
2863 (special-display-buffer-names, special-display-function)
2864 (display-buffer-reuse-frames): Mark as obsolete.
2865
2866 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2867
2868 * help.el (help-print-return-message): Don't treat
2869 display-buffer-reuse-frames specially.
2870
2871 2012-08-26 Chong Yidong <cyd@gnu.org>
2872
2873 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2874 New variable, replacing gdb-frame-parameters.
2875 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2876 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2877 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2878 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2879 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2880 the functions directly with gdb-display-buffer-other-frame-action.
2881 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2882 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2883 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2884 (gdb-display-registers-buffer): Define directly.
2885 (def-gdb-display-buffer): Macro deleted.
2886 (gdb-display-buffer): Remove second and third args, callers don't
2887 use them. Defer to the default display-buffer behavior, apart
2888 from making windows dedicated.
2889 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2890
2891 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2892
2893 * window.el (display-buffer-pop-up-frame): Handle a
2894 pop-up-frame-parameters alist entry.
2895 (display-buffer): Document it.
2896
2897 2012-08-26 Chong Yidong <cyd@gnu.org>
2898
2899 * isearch.el (search-whitespace-regexp): Make string and nil
2900 values apply to both ordinary and regexp search. Allow a cons
2901 cell value to distinguish between the two.
2902 (isearch-whitespace-regexp, isearch-search-forward)
2903 (isearch-search-backward): New functions.
2904 (isearch-occur, isearch-search-fun-default, isearch-search)
2905 (isearch-lazy-highlight-new-loop): Use them.
2906 (isearch-forward, isearch-forward-regexp): Doc fix.
2907
2908 2012-08-26 Chong Yidong <cyd@gnu.org>
2909
2910 * faces.el (help-argument-name): Always inherit from italic
2911 (Bug#12213).
2912
2913 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2914
2915 * window.el (window--even-window-heights): Even heights when
2916 WINDOW and the selected window form a vertical combination.
2917 (display-buffer-use-some-window): Provide that window used gets
2918 sized back by quit-window. (Bug#11880) and (Bug#12091)
2919
2920 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2921
2922 Fix file time stamp problem with bzr and CVS (Bug#12001).
2923 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2924 in the file's time stamp, since the version control system loses
2925 that information.
2926
2927 2012-08-22 Juri Linkov <juri@jurta.org>
2928
2929 * info.el (Info-fontify-node): Hide the suffix of the
2930 Info file name in the header line. (Bug#12187)
2931
2932 2012-08-22 Glenn Morris <rgm@gnu.org>
2933
2934 * calendar/cal-tex.el (cal-tex-weekly-common):
2935 Restore leading blank page.
2936
2937 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2938
2939 * misc.el (forward-to-word, backward-to-word): Activate or extend
2940 the region under `shift-select-mode'. (Bug#12231)
2941
2942 2012-08-22 Bastien Guerry <bzg@gnu.org>
2943
2944 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2945 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2946 gives details on why the space is never needed.
2947
2948 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2949
2950 * window.el (walk-window-tree, window-with-parameter):
2951 New optional argument MINIBUF to control whether these functions
2952 should run on the minibuffer window.
2953 (window-at-side-list): Don't operate on minibuffer window.
2954 (window-in-direction): Simplify and rewrite doc-string.
2955 (window--size-ignore): Rename to window--size-ignore-p.
2956 Update callers.
2957 (display-buffer-in-atom-window, window--major-non-side-window)
2958 (window--major-side-window, display-buffer-in-major-side-window)
2959 (delete-side-window, display-buffer-in-side-window):
2960 New functions.
2961 (window--side-check, window-deletable-p, delete-window)
2962 (delete-other-windows, split-window): Handle side windows and
2963 atomic windows appropriately.
2964 (window--display-buffer): Call display-buffer-record-window also
2965 when the window buffer did not change.
2966
2967 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2968
2969 * help-fns.el (help-fns--key-bindings):
2970 Abbreviate non-symbol remap targets. (Bug#12174)
2971
2972 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2973
2974 * dired.el (dired-mark-remembered): Don't clobber point.
2975 (Bug#11795)
2976
2977 2012-08-22 Glenn Morris <rgm@gnu.org>
2978
2979 * progmodes/bug-reference.el (bug-reference): New custom group.
2980 (bug-reference-bug-regexp): Make it a defcustom.
2981
2982 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2983
2984 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2985 (js-paren-indent-offset, js-square-indent-offset)
2986 (js-curly-indent-offset): Add :safe (Bug#12257).
2987
2988 2012-08-22 Edward O'Connor <hober0@gmail.com>
2989
2990 * json.el (json-key-format): Add error properties.
2991 (json-encode-key): New function.
2992 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2993 Use json-encode-key.
2994
2995 2012-08-22 Glenn Morris <rgm@gnu.org>
2996
2997 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2998 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2999 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3000 Update for above change.
3001
3002 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3003
3004 * cus-face.el (custom-face-attributes): Fix customize type for the
3005 :underline attribute. (Bug#11805)
3006
3007 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3008
3009 * window.el (window-point-1, set-window-point-1): Remove.
3010 (window-in-direction, record-window-buffer)
3011 (set-window-buffer-start-and-point, split-window-below)
3012 (window--state-get-1, display-buffer-record-window):
3013 Replace calls to window-point-1 and set-window-point-1 by calls to
3014 window-point and set-window-point respectively.
3015
3016 2012-08-21 Glenn Morris <rgm@gnu.org>
3017
3018 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3019 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3020 Use it.
3021
3022 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3023 (cal-tex-shortday): New function.
3024 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3025 (cal-tex-cursor-filofax-daily): Use the above.
3026
3027 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3028 New functions.
3029 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3030 (cal-tex-cursor-filofax-week): Use them.
3031
3032 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3033 New constants.
3034 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3035 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3036
3037 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3038 (cal-tex-end-document): Don't rely on buffer name.
3039
3040 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3041 Use cal-tex-vspace.
3042 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3043 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3044 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3045 Use cal-tex-arg.
3046
3047 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3048 (cal-tex-cursor-week, cal-tex-cursor-week2)
3049 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3050 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3051 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3052 (cal-tex-insert-preamble, cal-tex-b-document)
3053 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3054 Improve cal-tex-cmd usage.
3055
3056 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3057 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3058 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3059 (cal-tex-weekly-paper): New function.
3060 (cal-tex-cursor-week, cal-tex-cursor-week2)
3061 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3062 (cal-tex-cursor-day): Use it.
3063
3064 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3065 (cal-tex-cursor-filofax-week): Remove leading blank page.
3066
3067 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3068 Add autoload cookie. For now at least, don't use color, since
3069 no other cal-tex function does.
3070
3071 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3072 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3073 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3074
3075 2012-08-21 Juri Linkov <juri@jurta.org>
3076
3077 * info.el (Info-file-attributes): New variable.
3078 (info-insert-file-contents): Add file attributes to
3079 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3080 `Info-toc-nodes' when previous modtime of the Info file is less
3081 than new modtime.
3082 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3083 of info.el. (Bug#12230)
3084
3085 2012-08-20 Glenn Morris <rgm@gnu.org>
3086
3087 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3088 * calendar/holidays.el (calendar-holiday-list):
3089 Report errors with display-warning rather than beep'n'sleep.
3090
3091 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3092
3093 * net/tramp.el (tramp-accept-process-output): Accept only output
3094 from PROC. Otherwise, process filters and sentinels might be
3095 confused. (Bug#12145)
3096
3097 2012-08-20 Chong Yidong <cyd@gnu.org>
3098
3099 * descr-text.el (describe-text-properties-1): Use overlays-in to
3100 report on empty overlays (Bug#3322).
3101
3102 2012-08-20 Glenn Morris <rgm@gnu.org>
3103
3104 * mail/rmailout.el (rmail-output-read-file-name):
3105 Trap and report errors in rmail-output-file-alist elements.
3106
3107 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3108 since most non-font-lock faces are not also variables).
3109
3110 2012-08-20 Edward Reingold <reingold@iit.edu>
3111
3112 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3113 New function. (Bug12160)
3114
3115 2012-08-19 Glenn Morris <rgm@gnu.org>
3116
3117 * mail/rmailout.el (rmail-output-read-file-name):
3118 Fix previous change (when the alist is nil or does not match).
3119
3120 2012-08-19 Chong Yidong <cyd@gnu.org>
3121
3122 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3123 (Bug#12228).
3124
3125 2012-08-18 Chong Yidong <cyd@gnu.org>
3126
3127 * simple.el (yank-handled-properties): New defcustom.
3128 (yank-excluded-properties): Add font-lock-face and category.
3129 (yank): Doc fix.
3130
3131 * subr.el (remove-yank-excluded-properties):
3132 Obey yank-handled-properties. The special handling of font-lock-face
3133 and category is now done this way, instead of being hard-coded.
3134 (insert-for-yank-1): Remove font-lock-face handling.
3135 (yank-handle-font-lock-face-property)
3136 (yank-handle-category-property): New function.
3137
3138 2012-08-17 Glenn Morris <rgm@gnu.org>
3139
3140 * mail/rmailout.el (rmail-output-read-file-name):
3141 Check rmail-output-file-alist against the full message body
3142 in the correct rmail buffer. (Bug#12214)
3143
3144 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3145
3146 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3147 Eliminate superfluous prompt. (Bug#12203)
3148
3149 2012-08-17 Chong Yidong <cyd@gnu.org>
3150
3151 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3152 font spec, set the font directly (Bug#3228).
3153
3154 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3155
3156 * window.el (delete-window): Fix last fix.
3157
3158 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3159
3160 * window.el (window-valid-p): Move to window.c.
3161 (window-child, window-child-count, window-last-child)
3162 (window-normalize-window, window-combined-p)
3163 (window-combinations, window-atom-root, window-min-size)
3164 (window-sizable, window-sizable-p, window-size-fixed-p)
3165 (window-min-delta, window-max-delta, window--resizable)
3166 (window--resizable-p, window-resizable, window-total-size)
3167 (window-full-height-p, window-full-width-p, window-body-size)
3168 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3169 (minimize-window, window-deletable-p, delete-window)
3170 (delete-other-windows, set-window-buffer-start-and-point)
3171 (next-buffer, previous-buffer, split-window, balance-windows-2)
3172 (set-window-text-height, window-buffer-height)
3173 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3174 (truncated-partial-width-window-p): Minor code adjustments.
3175 In doc-strings state whether the argument window has to denote a
3176 live, valid or any window.
3177
3178 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3179
3180 * progmodes/subword.el (subword-forward-function)
3181 (subword-backward-function, subword-forward-regexp)
3182 (subword-backward-regexp): New variables.
3183 (subword-forward, subword-forward-internal, subword-backward-internal):
3184 Use new variables, eg so that different "word" definitions
3185 can be easily used. (Bug#11411)
3186
3187 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3188
3189 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3190 for composite selectors.
3191 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3192 operation just because we can't find a previous revision.
3193
3194 2012-08-15 Chong Yidong <cyd@gnu.org>
3195
3196 * frame.el (set-frame-font): Accept font objects.
3197
3198 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3199
3200 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3201
3202 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3203
3204 * man.el (Man-overstrike-face, Man-underline-face)
3205 (Man-reverse-face): Remove variables.
3206 (Man-overstrike, Man-underline, Man-reverse): New faces.
3207 (Man-fontify-manpage): Use them instead of the variables.
3208 (Man-cleanup-manpage): Comment change.
3209 (Man-ansi-color-map): New variable.
3210 (Man-fontify-manpage): Use it.
3211 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3212
3213 Implement ANSI SGR parameters 22-27 (bug#12146).
3214 * ansi-color.el (ansi-colors): Doc fix.
3215 (ansi-color-context, ansi-color-context-region): Doc fix.
3216 (ansi-color--find-face): New function.
3217 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3218 Rename the local variable `face' to `codes' since it is now a list of
3219 ansi codes. Doc fix.
3220 (ansi-color-get-face): Remove.
3221 (ansi-color-parse-sequence): New function, derived from
3222 ansi-color-get-face.
3223 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3224 codes 22-27.
3225
3226 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3227
3228 * subr.el (read-passwd): Allow use from a minibuffer.
3229
3230 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3231
3232 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3233 inside comments and strings as identifiers.
3234
3235 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3236 expression to evaluate. This allows to evaluate expressions with
3237 embedded whitespace.
3238 (gud-tooltip-tips): Add a blank before the newline in the
3239 message-box text, for the benefit of message-box emulation on
3240 MS-Windows.
3241
3242 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3243 messages from GDB, pop them up in a tooltip to give feedback to
3244 user.
3245 (gdb-tooltip-print-1): Quote the expression to evaluate.
3246 This allows to evaluate expressions with embedded whitespace.
3247 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3248 if the TTY name is nil or empty (which happens when communicating
3249 with the inferior via pipes, e.g. on MS-Windows).
3250 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3251 don't send that to the GUD buffer.
3252
3253 2012-08-14 Glenn Morris <rgm@gnu.org>
3254
3255 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3256 Optimize away setq-default with no args, as for setq. (Bug#12195)
3257
3258 2012-08-14 Chong Yidong <cyd@gnu.org>
3259
3260 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3261
3262 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3263 (Bug#12085).
3264
3265 2012-08-14 Glenn Morris <rgm@gnu.org>
3266
3267 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3268
3269 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3270
3271 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3272 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3273 Use cached shell name.
3274
3275 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3276
3277 * progmodes/python.el (python-shell-send-string):
3278 (python-shell-send-setup-code): Do not use `format' with `message'.
3279
3280 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3281
3282 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3283 (ruby-percent-literal-beg-re): New constant.
3284 (ruby-syntax-general-delimiters-goto-beg): Rename to
3285 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3286 (ruby-syntax-propertize-general-delimiters): Rename to
3287 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3288 popular term. Adjust comments everywhere.
3289 (ruby-syntax-propertize-percent-literal): Only propertize when not
3290 inside a simple string or comment. When the literal is unclosed,
3291 leave the text after it unpropertized.
3292 (ruby-syntax-methods-before-regexp): New constant.
3293 (ruby-syntax-propertize-function): Use it to recognize regexps.
3294 Don't look at the text after regexp, just use the whitelist.
3295
3296 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3297
3298 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3299 non-nil always load the compiled file if it exists. (Bug#12197)
3300
3301 2012-08-14 Chong Yidong <cyd@gnu.org>
3302
3303 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3304 (hi-lock-set-pattern): When deciding whether to use font lock or
3305 overlays, look at font-lock-mode instead of font-lock-fontified
3306 (Bug#12168).
3307 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3308 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3309
3310 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3311
3312 * subr.el (internal--after-with-selected-window): Fix typo
3313 (Bug#12193).
3314
3315 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3316
3317 Use `completion-table-dynamic' for completion functions.
3318 * progmodes/python.el
3319 (python-shell-completion--do-completion-at-point)
3320 (python-shell-completion--get-completions):
3321 Remove functions.
3322 (python-shell-completion-complete-at-point): New function.
3323 (python-completion-complete-at-point): Use it.
3324
3325 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3326
3327 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3328 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3329
3330 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * subr.el (function-get): Refine `autoload' arg so it can also
3333 autoload functions for gv.el (bug#12191).
3334 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3335 autoloads macros.
3336
3337 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3338 Prefer pcase-let over destructuring-bind.
3339 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3340 Also, remove whitespace as we go, rather than after accumulating the
3341 various places.
3342
3343 * subr.el (internal--before-with-selected-window)
3344 (internal--after-with-selected-window): Fix typo seleted->selected.
3345 (with-selected-window): Adjust callers.
3346 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3347
3348 2012-08-13 Bastien Guerry <bzg@gnu.org>
3349
3350 * window.el (special-display-popup-frame): Minor docstring
3351 enhancement. (Bug#12172)
3352
3353 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3354
3355 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3356 type 1-6.
3357 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3358 extended headers.
3359
3360 * files.el (hack-local-variables-filter): Remove useless eval.
3361
3362 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3363
3364 * subr.el (with-selected-window): Fix last change.
3365
3366 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3367
3368 * subr.el (internal--before-with-seleted-window)
3369 (internal--after-with-seleted-window): New functions.
3370 (with-selected-window): Use them, to replace dependency on
3371 tty-top-frame.
3372
3373 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3374
3375 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3376 binding for `newline'.
3377 (ruby-move-to-block): When moving backward, stop at block opening,
3378 not indentation.
3379 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3380 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3381 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3382 `ruby-toggle-block'.
3383
3384 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3385
3386 * ibuffer.el (ibuffer-do-toggle-read-only):
3387 * dired.el (dired-toggle-read-only):
3388 * buff-menu.el (Buffer-menu-toggle-read-only):
3389 * bindings.el (mode-line-toggle-read-only):
3390 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3391
3392 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3393
3394 * descr-text.el (describe-char): Put the overlays over the
3395 "displayed as" character.
3396
3397 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3398
3399 * calc/calc-units.el (math-default-units-table): Give an
3400 initial value.
3401 (math-put-default-units): Add options to put composite units and
3402 unit systems in the default units table.
3403 (calc-convert-units): Send composite units to
3404 `math-put-default-units' when appropriate.
3405
3406 2012-08-11 Glenn Morris <rgm@gnu.org>
3407
3408 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3409
3410 * tutorial.el (help-with-tutorial):
3411 * emacs-lisp/copyright.el (copyright-update-directory):
3412 * emacs-lisp/autoload.el (autoload-find-generated-file)
3413 (autoload-find-file): Disable local eval: (for insurance).
3414
3415 * files.el (hack-local-variables-filter): If an eval: form is not
3416 known to be safe, and enable-local-variables is :safe, then ignore
3417 the form totally, as is done for non-eval forms. (Bug#12155)
3418 This is CVE-2012-3479.
3419
3420 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3421
3422 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3423 (rx-form): Simplify.
3424
3425 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3426
3427 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3428 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3429 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3430 (ruby-syntax-propertize-function): Adjust for changes in
3431 `ruby-syntax-propertize-heredoc'.
3432
3433 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3434
3435 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3436 binding (use `M-;' instead).
3437 (ruby-singleton-class-p): New function.
3438 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3439
3440 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3441
3442 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3443
3444 2012-08-10 Chong Yidong <cyd@gnu.org>
3445
3446 * progmodes/python.el (python-shell-get-process-name): Don't mess
3447 with same-window-buffer-names.
3448
3449 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3450 (eshell-remove-from-window-buffer-names): Make obsolete.
3451 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3452 (eshell): Just use pop-to-buffer-same-window instead.
3453
3454 2012-08-10 Chong Yidong <cyd@gnu.org>
3455
3456 * bindings.el: Bind M-= back to count-words-region.
3457
3458 * simple.el (count-words-region): Accept a prefix arg for acting
3459 on the entire buffer.
3460 (count-words--buffer-message): New helper function.
3461
3462 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3465 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3466 (event-start, event-end): Use posn-at-point to return a more
3467 informative posn.
3468 (posnp): New function.
3469 * mouse.el (popup-menu-normalize-position): Use it.
3470
3471 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3472
3473 * mouse.el (popup-menu-normalize-position): New function.
3474 (popup-menu): Use `popup-menu-normalize-position' to normalize
3475 the form for POSITION argument.
3476
3477 * term/x-win.el (x-menu-bar-open):
3478 Use the value returend from (posn-at-point) as position
3479 passed to `popup-menu'.
3480
3481 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3482
3483 * calc/calccomp.el (math-compose-expr): Add extra argument
3484 indicating that parentheses should be put around products in
3485 denominators. Give multiplication precedence over division during
3486 composition.
3487
3488 2012-08-09 Chong Yidong <cyd@gnu.org>
3489
3490 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3491 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3492 (Man-untabify-command, manual-program): Convert to defcustom
3493 (Bug#10429).
3494
3495 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3496
3497 * descr-text.el (describe-char): Don't insert extra newlines
3498 (Bug#10127).
3499
3500 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3501 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3502
3503 * align.el (align-region): Delete temporary markers (Bug#10047).
3504 Plus some code cleanups.
3505
3506 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3507
3508 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3509 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3510 (python-shell-internal-last-output): Use make-local-variable
3511 instead of make-variable-buffer-local.
3512
3513 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3514
3515 * progmodes/python.el: Enhancements to forward-sexp.
3516 (python-nav-forward-sexp): Rename from
3517 python-nav-forward-sexp-function.
3518 (python-nav--forward-sexp, python-nav--backward-sexp):
3519 New functions.
3520
3521 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3522
3523 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3524 modes and simplification modes.
3525
3526 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * delsel.el (delete-selection-pre-hook): Don't propagate the
3529 file-supersession signals (bug#12161).
3530
3531 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3532
3533 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3534 (cl-map-extents): Add compatibility aliases (bug#12135).
3535
3536 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3537
3538 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3539 tests by `ignore-error'.
3540 (tramp-find-shell): Open also a new shell, when cache is already
3541 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3542
3543 2012-08-08 Juri Linkov <juri@jurta.org>
3544
3545 * bookmark.el: Add `defaults' property to the bookmark record.
3546 (bookmark-current-buffer): Doc fix.
3547 (bookmark-make-record): Add `defaults' property with default values
3548 to the bookmark record.
3549 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3550 with `bookmark-insert-current-bookmark'.
3551 (bookmark-set): Get `defaults' property from the bookmark record
3552 and use it in `read-from-minibuffer'.
3553 (bookmark-insert-current-bookmark): Remove function.
3554
3555 * info.el (Info-bookmark-make-record): Add `defaults' property
3556 with values of canonical Info node name, the current Info file
3557 name and the current Info node name. (Bug#12107)
3558
3559 2012-08-08 Juri Linkov <juri@jurta.org>
3560
3561 * files.el (basic-save-buffer): Use `buffer-name' as the default
3562 of `read-file-name' when buffer is not visiting a file (bug#12128).
3563
3564 2012-08-08 Juri Linkov <juri@jurta.org>
3565
3566 * info.el (Info-isearch-search): Doc fix.
3567 (Info-search): Change search-failed message from "initial node" to
3568 "end of node" (bug#12078).
3569 (Info-isearch-search): Change `isearch-string-state' to
3570 `isearch--state-string'.
3571
3572 2012-08-08 Glenn Morris <rgm@gnu.org>
3573
3574 * language/persian.el: Remove file.
3575 * language/misc-lang.el: Move unique part of persian.el here.
3576 * loadup.el: Remove language/persian.
3577
3578 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3579
3580 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3581
3582 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3583
3584 * progmodes/python.el Fixed defsubst warning.
3585 (python-syntax-context) Rename from python-info-ppss-context.
3586 (python-syntax-context-type): Rename from
3587 python-info-ppss-context-type.
3588 (python-syntax-comment-or-string-p): Rename from
3589 python-info-ppss-comment-or-string-p.
3590
3591 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3592
3593 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3594
3595 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3596
3597 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3598 a defcustom that is quoted with backquote.
3599
3600 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3601 Fix handling of interactive spec when the body uses return.
3602 (math-do-arg-check, math-define-function-body): Use backquote forms.
3603 * calc/calc-ext.el (math-defcache): Likewise.
3604 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3605 * allout.el (allout-new-exposure): Likewise.
3606 * calc/calcalg2.el (math-tracing-integral): Likewise.
3607 * info.el (Info-last-menu-item): Likewise.
3608 * emulation/vip.el (vip-loop): Likewise.
3609 * textmodes/artist.el (artist-funcall): Likewise.
3610 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3611 Construct menu-item directly.
3612
3613 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3614 Don't declare.
3615
3616 2012-08-07 Chong Yidong <cyd@gnu.org>
3617
3618 * simple.el (deactivate-mark): Preserve text properties when
3619 saving the primary selection (Bug#8384).
3620
3621 2012-08-07 Kevin Ryde <user42@zip.com.au>
3622
3623 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3624 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3625 and continue processing (Bug#12110).
3626
3627 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3628
3629 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3630 syntax-propertize-function (bug#10095).
3631
3632 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3635 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3636 describe-function-1.
3637 (describe-function-1): Use them. Move compiler macro after sig.
3638 (help-fns--compiler-macro): Use function-get. Assume we're already in
3639 standard-output. Adjust layout to new call order.
3640
3641 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3642 re-binding a symbol that has a symbol-macro (bug#12119).
3643
3644 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3645
3646 * language/persian.el: New file. (Bug#11812)
3647 * loadup.el: Add language/persian.el.
3648
3649 2012-08-06 Chong Yidong <cyd@gnu.org>
3650
3651 * window.el (window--maybe-raise-frame): New function.
3652 (window--display-buffer): Split off from here.
3653 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3654 (display-buffer-pop-up-window, display-buffer-use-some-window):
3655 Obey an inhibit-switch-frame action alist entry.
3656 (display-buffer): Update doc.
3657
3658 * replace.el (occur-after-change-function): Avoid losing focus by
3659 using the inhibit-switch-frame display parameter (Bug#12139).
3660
3661 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3662
3663 Make internal shell process buffer names start with space.
3664 * progmodes/python.el (python-shell-make-comint): Add optional
3665 argument INTERNAL.
3666 (run-python-internal): Use it.
3667 (python-shell-internal-get-or-create-process): Check for new
3668 internal buffer names.
3669
3670 2012-08-06 Glenn Morris <rgm@gnu.org>
3671
3672 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3673 Do less getting and setting of environment variables.
3674
3675 2012-08-05 Chong Yidong <cyd@gnu.org>
3676
3677 * proced.el (proced): Add substitution string to docstring to
3678 trigger autoloading of the proced library on C-h f (Bug#1768).
3679
3680 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3681 Don't show defvars which have no second argument (Bug#8638).
3682
3683 * imenu.el (imenu-generic-expression): Move documentation here
3684 from imenu--generic-function.
3685 (imenu--generic-function): Refer to imenu-generic-expression.
3686
3687 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3688
3689 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3690 indentation declaration.
3691 (viper-loop): Add indentation declaration (Bug#7025).
3692
3693 2012-08-05 Chong Yidong <cyd@gnu.org>
3694
3695 * help-fns.el (describe-variable): Add hyperlink for
3696 directory-local variables files. Improve buffer-local and
3697 permanent-local reporting; suggested by MON KEY (Bug#6644).
3698
3699 * help-mode.el (help-dir-local-var-def): New button type.
3700
3701 * files.el (kill-buffer-hook): Provide a defvar.
3702
3703 2012-08-05 Glenn Morris <rgm@gnu.org>
3704
3705 * eshell/esh-ext.el (eshell/addpath):
3706 Also update eshell-path-env. (Bug#12013)
3707
3708 2012-08-05 Chong Yidong <cyd@gnu.org>
3709
3710 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3711
3712 * fringe.el (fringe-styles): Add docstring.
3713 (fringe--check-mode): New function.
3714 (set-fringe-mode, set-fringe-style): Use it.
3715 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3716
3717 * files.el (set-auto-mode): Fix invalid setq call.
3718
3719 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3720
3721 * isearch.el: Misc simplification; use defstruct.
3722 (isearch-mode-map): Dense maps now work like sparse ones.
3723 (isearch--state): New defstruct.
3724 (isearch-string-state, isearch-message-state, isearch-point-state)
3725 (isearch-success-state, isearch-forward-state)
3726 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3727 (isearch-wrapped-state, isearch-barrier-state)
3728 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3729 replaced by defstruct's accessors.
3730 (isearch--set-state): Rename from isearch-top-state and change
3731 calling convention.
3732 (isearch-push-state): Use new isearch--get-state.
3733 (isearch-toggle-word): Disable regexp when enabling word.
3734 (isearch-message-prefix): Remove unused arg _c-q-hack.
3735 (isearch-message-suffix): Remove unused arg _ellipsis.
3736
3737 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3738
3739 * simple.el (list-processes--refresh): For a server use :host or
3740 :local as the address.
3741 (list-processes): Doc fix.
3742
3743 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3744
3745 * lisp/mpc.el: Support password in host argument.
3746 (mpc--proc-connect): Parse and use new password element.
3747 Set mpc-proc variable instead of returning process.
3748 (mpc-proc): Adjust accordingly.
3749
3750 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3751
3752 * whitespace.el (whitespace-display-mappings): Use Unicode
3753 codepoints, instead of emacs-mule codepoints. See
3754 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3755 for the details.
3756
3757 * files.el (file-truename): Don't skip symlink-chasing part on
3758 windows-nt. Incorporate the resolution of 8+3 short aliases on
3759 Windows into the loop that recursively chases symlinks.
3760 Compare directory and its parent case-insensitively on MS-Windows and
3761 MS-DOS.
3762
3763 2012-08-03 Chong Yidong <cyd@gnu.org>
3764
3765 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3766
3767 * sort.el (sort-regexp-fields): Doc fix.
3768
3769 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3770
3771 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3772 labels regex position point at the expected place.
3773
3774 2012-08-03 MON KEY <monkey@sandpframing.com>
3775
3776 * net/imap.el (imap-interactive-login, imap-authenticate)
3777 (imap-mailbox-lsub, imap-mailbox-list)
3778 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3779 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3780 (imap-parse-response): Doc fix.
3781
3782 2012-08-03 João Távora <joaotavora@gmail.com>
3783
3784 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3785 if sexp scanning does not move point (Bug#5734).
3786
3787 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3788
3789 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3790 Add listings, minted, and ctable packages.
3791 (reftex-label-alist-builtin): Move listings, minted, and ctable
3792 entries before LaTeX.
3793 (reftex-label-alist): Docfix.
3794
3795 2012-08-02 Bastien Guerry <bzg@gnu.org>
3796
3797 * replace.el (occur): Fix docstring (bug#12122).
3798
3799 2012-08-02 Glenn Morris <rgm@gnu.org>
3800
3801 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3802
3803 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3804
3805 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3806 * international/mule-cmds.el: Create
3807 inactivate-current-input-method-function as an obsolete alias for
3808 deactivate-current-input-method-function. See Katsumi Yamaoka in
3809 <http://bugs.gnu.org/10150#46>.
3810
3811 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3812
3813 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3814 of nested `if's.
3815
3816 2012-08-01 Glenn Morris <rgm@gnu.org>
3817
3818 * progmodes/autoconf.el (autoconf-definition-regexp):
3819 Add AH_TEMPLATE, adjust submatch numbering.
3820 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3821 (autoconf-current-defun-function): Update for above change.
3822 (autoconf-current-defun-function): First skip to end of current word.
3823
3824 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3825
3826 * calendar/cal-html.el (cal-html-insert-agenda-days):
3827 Fix typo. (Bug#12018)
3828
3829 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3830
3831 Shell processes: enhancements to startup and CEDET compatibility.
3832 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3833 (python-shell-make-comint): accept-process-output at startup.
3834 (run-python-internal): Set inferior-python-mode-hook to nil.
3835 (python-shell-internal-get-or-create-process): call sit-for.
3836 (python-preoutput-result): Add obsolete alias.
3837 (python-shell-internal-send-string): Use it.
3838 (python-shell-send-setup-code): Remove call to
3839 accept-process-output.
3840
3841 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3842
3843 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3844 (Bug#12108)
3845
3846 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3847
3848 * calc-mode.el (calc-basic-simplification-mode): Rename from
3849 `calc-limited-simplification-mode'.
3850 (calc-alg-simplification-mode): New function.
3851 (calc-set-simplify-mode): Adjust message.
3852
3853 * calc.el (calc-set-mode-line): Adjust mode line display for
3854 basic simplification mode.
3855
3856 * calc-help.el (calc-m-prefix-help): Update help message.
3857
3858 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3859 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3860
3861 2012-07-31 Bastien Guerry <bzg@gnu.org>
3862
3863 * man.el (man): Fix comment. (bug#12101)
3864
3865 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3866
3867 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3868 Don't return a non-nil value when no suitable buffer was found.
3869
3870 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3871
3872 * progmodes/python.el (run-python-internal): Disable font lock for
3873 internal shells.
3874
3875 2012-07-30 Stefan Merten <smerten@oekonux.de>
3876
3877 * textmodes/rst.el: Silence `checkdoc-ispell'.
3878 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3879 (rst-official-version, rst-official-cvs-rev)
3880 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3881 (rst-mode-map): New key binding.
3882
3883 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3884
3885 Update .PHONY listings in makefiles.
3886 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3887 autoloads, update-subdirs, updates, bzr-update, update-authors,
3888 compile-onefile, compile-calc, backup-compiled-files,
3889 compile-after-backup, compile-one-process, mh-autoloads,
3890 bootstrap-clean, distclean, maintainer-clean.
3891
3892 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3893
3894 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3895 (calc-set-mode-line): Don't display "AlgSimp ".
3896
3897 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3898 (calc-lim-simplify-mode): New function.
3899 (calc-set-simplify-mode): Default to 'alg.
3900 (calc-default-simplify-mode): Make algebraic simplifications
3901 the default.
3902
3903 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3904 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3905
3906 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3907 indicate new simplification modes.
3908
3909 * calc/README: Mention new default simplification mode.
3910
3911 * calc/calc.el (math-normalize-error): New variable.
3912 (math-normalize): Set `math-normalize-error' to t
3913 when there's an error.
3914
3915 * calc/calc-alg.el (math-simplify): Don't simplify when
3916 `math-normalize' returns an error.
3917
3918 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3919
3920 * international/mule-cmds.el (set-locale-environment): Revert last
3921 change, since display-graphic-p returns nil when this function is
3922 called during startup. Instead...
3923
3924 * term/w32console.el (terminal-init-w32console): ...setup the
3925 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3926
3927 2012-07-29 Juri Linkov <juri@jurta.org>
3928
3929 * simple.el (goto-line): Don't display default line number in the
3930 prompt because it should be displayed by `read-number' (bug#9952).
3931 Add the current line number to the defaults of `goto-line' to
3932 allow its easier modification by users with `M-n' (bug#9201).
3933
3934 * subr.el (read-number): Support multiple default values like in
3935 other minibuffer reading functions. Replace `read' with
3936 `string-to-number' for consistency with `number-to-string'.
3937
3938 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3939
3940 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3941 * emulation/viper-init.el (viper-deactivate-input-method-action):
3942 Rename from viper-inactivate-input-method-action.
3943 (viper-deactivate-input-method):
3944 Rename from viper-inactivate-input-method.
3945 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3946 * international/mule-cmds.el (deactivate-input-method):
3947 Rename from inactivate-input-method.
3948 Also run input-method-deactivate-hook.
3949 (deactivate-current-input-method-function):
3950 Rename from inactivate-current-input-method-function.
3951 (input-method-deactivate-hook): New hook.
3952 (input-method-inactivate-hook): Mark obsolete.
3953 (inactivate-input-method): Mark obsolete.
3954
3955 * international/quail.el (quail-activate):
3956 Also run quail-deactivate-hook.
3957 (quail-deactivate): Rename from quail-inactivate.
3958 * international/robin.el (robin-activate):
3959 Also run robin-deactivate-hook.
3960 (robin-deactivate): Rename from robin-inactivate.
3961
3962 2012-07-29 Chong Yidong <cyd@gnu.org>
3963
3964 * simple.el (indicate-copied-region): New function.
3965 (kill-ring-save): Split off from here.
3966
3967 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3968 (kill-rectangle): Set deactivate-mark to t on read-only error.
3969
3970 * register.el (copy-to-register, copy-rectangle-to-register):
3971 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3972 (append-to-register, prepend-to-register): Call indicate-copied-region.
3973
3974 2012-07-29 Juri Linkov <juri@jurta.org>
3975
3976 * simple.el (async-shell-command-buffer): New defcustom.
3977 (shell-command): Use it. (Bug#4719)
3978
3979 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3980
3981 * international/mule-cmds.el (set-locale-environment): In a
3982 console session on MS-Windows, set up keyboard and terminal
3983 encoding from the OEM codepage, not the ANSI codepage.
3984 (Bug#12055)
3985
3986 2012-07-28 Chong Yidong <cyd@gnu.org>
3987
3988 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3989 gdb-get-location.
3990
3991 2012-07-28 Leo Liu <sdl.web@gmail.com>
3992
3993 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3994 the alist (bug#12029).
3995
3996 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3997
3998 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3999 (compile-always, compile-first)
4000 ($(lisp)/calendar/cal-loaddefs.el)
4001 ($(lisp)/calendar/diary-loaddefs.el)
4002 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4003 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4004 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4005 instead of on update-subdirs.
4006 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4007
4008 2012-07-28 Chong Yidong <cyd@gnu.org>
4009
4010 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4011 directory if vc-deduce-backend returns nil (Bug#7350).
4012
4013 * simple.el (delete-trailing-lines): New option.
4014 (delete-trailing-whitespace): Obey it (Bug#11879).
4015
4016 2012-07-28 David Engster <deng@randomsample.de>
4017
4018 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4019 Explanation of new 'symbol-qnames feature in doc-strings.
4020 (xml-maybe-do-ns): Return expanded names as plain symbols if
4021 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4022 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4023
4024 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4025
4026 Consistent completion in inferior python with emacs -nw.
4027 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4028 binding in inferior-python-mode-map with "\t".
4029 (python-shell-completion-complete-at-point)
4030 (python-completion-complete-at-point): Remove interactive spec.
4031
4032 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4033
4034 * calc/calccomp.el (math-compose-expr): Undo previous change.
4035
4036 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4037
4038 * progmodes/python.el (python-mode-map): Add keybinding for
4039 run-python.
4040 (python-shell-make-comint): Fix pop-to-buffer call.
4041 (run-python): Autoload. New arg SHOW.
4042 (python-shell-get-or-create-process): Do not pop python process
4043 buffer.
4044
4045 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4046
4047 * notifications.el (notifications-on-action-signal)
4048 (notifications-on-closed-signal): Use also the bus address for the map.
4049 (notifications-notify, notifications-close-notification)
4050 (notifications-get-capabilities): Add optional argument BUS.
4051
4052 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4053
4054 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4055 Add support for the lstlisting and minted environments, and for the
4056 ctable macro.
4057 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4058 labels written in keyvals syntax.
4059
4060 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4061
4062 * calc/calccomp.el (math-compose-expr): Use parentheses when
4063 there is a product in the denominator of a fraction.
4064
4065 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4066
4067 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4068 ($(lisp)/calendar/diary-loaddefs.el)
4069 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4070 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4071 Fixes failures in parallel bootstrap because subdirs.el is being
4072 rewritten while the autoload files are built at the same time,
4073 which needs to load subdirs.el.
4074
4075 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4076
4077 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4078 (mouse-drag-line): Don't exit tracking when a switch-frame or
4079 switch-window event occurs (Bug#12006).
4080
4081 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4082
4083 * mouse.el (popup-menu): Fix last change.
4084
4085 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4086
4087 Autoload from Lisp with more care. Follow aliases when looking for
4088 function properties.
4089 * subr.el (autoloadp): New function.
4090 (symbol-file): Use it.
4091 (function-get): New function.
4092 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4093 autoload-do-load.
4094 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4095 (lisp-indent-function):
4096 * emacs-lisp/gv.el (gv-get):
4097 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4098 * emacs-lisp/byte-opt.el (byte-optimize-form):
4099 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4100 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4101 Use function-get.
4102 * emacs-lisp/cl.el: Don't propagate function properties any more.
4103
4104 * speedbar.el (speedbar-add-localized-speedbar-support):
4105 * emacs-lisp/disass.el (disassemble-internal):
4106 * desktop.el (desktop-load-file):
4107 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4108 (describe-function-1):
4109 * emacs-lisp/find-func.el (find-function-noselect):
4110 * emacs-lisp/elp.el (elp-instrument-function):
4111 * emacs-lisp/advice.el (ad-has-proper-definition):
4112 * apropos.el (apropos-safe-documentation, apropos-macrop):
4113 * emacs-lisp/debug.el (debug-on-entry):
4114 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4115 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4116 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4117
4118 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4119
4120 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4121 function, not an obsolete variable (Bug#12046).
4122
4123 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4124
4125 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4126
4127 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4128
4129 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4130 window only if it is still live (Bug#12034).
4131
4132 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4133
4134 * subr.el (redirect-frame-focus): Add advertised calling
4135 convention (Bug#12030).
4136
4137 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4138
4139 Prefer typical American spelling for "acknowledgment".
4140 * vc/add-log.el (change-log-acknowledgment): Rename from
4141 change-log-acknowledgement, with an alias for the old name.
4142
4143 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4144
4145 * calc-alg.el (math-simplify-divide): Don't cross multiply
4146 in an equation when the lhs is a variable.
4147
4148 2012-07-24 Julien Danjou <julien@danjou.info>
4149
4150 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4151 Remove, unused.
4152
4153 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4154
4155 * startup.el (command-line): Don't display an empty user name in
4156 the error message about non-existent home directory, when
4157 init-file-user was set to an empty string. See
4158 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4159 for the details and context.
4160
4161 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4162
4163 * ses.el (ses-cell-formula-aset): New macro.
4164 (ses-cell-references-aset): New macro.
4165 (ses-cell-p): New function.
4166 (ses-rename-cell): Do no longer rely on complex operations like
4167 ses-cell-set-formula or ses-set-cell to change the cell and handle
4168 the undo at the same time, but rather use lower level new macros
4169 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4170 the undo directly. Refresh the mode line.
4171
4172 2012-07-21 Leo Liu <sdl.web@gmail.com>
4173
4174 * progmodes/cc-cmds.el (c-defun-name):
4175 Use match-string-no-properties instead for consistency.
4176
4177 2012-07-20 Leo Liu <sdl.web@gmail.com>
4178
4179 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4180 (Bug#7879)
4181
4182 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4183
4184 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4187 * progmodes/bug-reference.el, misearch.el: Provide themselves
4188 (bug#11915).
4189
4190 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4191 of narrowed buffer (bug#11966).
4192
4193 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4194
4195 * ses.el (ses-rename-cell): Set new name also in reference list of
4196 cells of which the renamed cell depends.
4197
4198 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4199
4200 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4201 to check whether menu-bar is shown or not. If not shown,
4202 show the menu-bar as a popup menu instead of using tmm.
4203 * mouse.el (popup-menu): Accept `point' as `position' argument.
4204
4205 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4206
4207 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4208 up inside string symbol literal (bug#11923).
4209
4210 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4211
4212 * startup.el (fancy-startup-text): Read the whole tutorial, not
4213 just its first 256 bytes. Prevents gibberish in display of the
4214 tutorial title.
4215
4216 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4217
4218 Drop idle buffer compaction due to an absence of the
4219 proved efficiency.
4220 * compact.el: Remove.
4221
4222 2012-07-19 Sam Steingold <sds@gnu.org>
4223
4224 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4225 vc-bzr-pull & vc-bzr-merge-branch.
4226 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4227 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4228 for consistency with compilation-error-regexp-alist.
4229 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4230 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4231 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4232 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4233
4234 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * emacs-lisp/chart.el: Use lexical-binding.
4237 (chart-emacs-storage): Don't hardcode the list of entries.
4238
4239 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4240
4241 Next round of tweaks caused by Fgarbage_collect changes.
4242 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4243
4244 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4245
4246 Compact buffers when idle.
4247 * compact.el: New file.
4248
4249 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * subr.el (eventp): Presume that if it looks vaguely like an event,
4252 it's an event (bug#10190).
4253
4254 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4255
4256 Enhancements to ppss related code (thanks Stefan).
4257 * progmodes/python.el (python-indent-context)
4258 (python-indent-calculate-indentation, python-indent-dedent-line)
4259 (python-indent-electric-colon, python-nav-forward-block)
4260 (python-mode-abbrev-table)
4261 (python-info-assignment-continuation-line-p): Simplify checks
4262 for ppss context.
4263 (python-info-continuation-line-p): Cleanup.
4264 (python-info-ppss-context): Do not catch 'quote.
4265 (python-info-ppss-context-type)
4266 (python-info-ppss-comment-or-string-p): Simplify.
4267
4268 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4269
4270 * progmodes/python.el: Enhancements to eldoc support.
4271 (python-info-current-symbol): New function.
4272 (python-eldoc-at-point): Use python-info-current-symbol.
4273 (python-info-current-defun): Fix cornercase on first defun scan.
4274 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4275 and signal error when no inferior python process is available.
4276
4277 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4278
4279 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4280 assume it's always t.
4281 (vc-git-registered): Remove caching, the function is only called
4282 once.
4283 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4284
4285 2012-07-18 Chong Yidong <cyd@gnu.org>
4286
4287 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4288
4289 * simple.el (count-words): Report on narrowing (Bug#9959).
4290
4291 * bindings.el: Bind M-= to count-words.
4292
4293 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4294
4295 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4296
4297 * progmodes/sh-script.el (sh-imenu-generic-expression):
4298 Capture a function with `function' keyword and without parentheses
4299 like "function FOO" (bug#11856).
4300
4301 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4302
4303 * window.el (split-window-sensibly): Make WINDOW argument
4304 optional.
4305
4306 2012-07-18 Chong Yidong <cyd@gnu.org>
4307
4308 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4309
4310 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4311 and make C-x 8 RET exit isearch (Bug#11439).
4312
4313 * international/iso-transl.el: Move isearch-mode-map key
4314 definitions to isearch.el.
4315
4316 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4319 (eieio-defclass): Use gv-define-setter when possible.
4320
4321 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4322
4323 Reflect recent changes in Fgarbage_collect.
4324 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4325 reflect new format of data returned by Fgarbage_collect.
4326
4327 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4328
4329 New utility functions + python-info-ppss-context fix (Bug#11910).
4330 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4331 (python-info-ppss-comment-or-string-p): New functions.
4332 (python-info-ppss-context): Small fix for string check.
4333
4334 2012-07-17 Juri Linkov <juri@jurta.org>
4335
4336 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4337 (dired-do-async-shell-command): Don't add `*' at the end of the
4338 command (Bug#11815).
4339 (dired-do-shell-command): Doc fix.
4340 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4341 Join the individual commands using either "&" or ";" as the
4342 separator depending on the values of these trailing characters.
4343 At the end re-add the trailing "&". (Bug#10598)
4344
4345 * simple.el (async-shell-command): Sync the interactive spec with
4346 `shell-command'. Doc fix.
4347 (shell-command): Doc fix.
4348
4349 2012-07-17 Juri Linkov <juri@jurta.org>
4350
4351 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4352
4353 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4354
4355 Final renames and doc fixes for movement commands (bug#11899).
4356 * progmodes/python.el (python-nav-beginning-of-statement):
4357 Rename from python-nav-statement-start.
4358 (python-nav-end-of-statement): Rename from
4359 python-nav-statement-end.
4360 (python-nav-beginning-of-block): Rename from
4361 python-nav-block-start.
4362 (python-nav-end-of-block): Rename from python-nav-block-end.
4363
4364 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4365
4366 * progmodes/python.el (python-shell-send-string-no-output):
4367 Allow accept-process-output to quit, keeping shell process ready for
4368 future interactions (Bug#11868).
4369
4370 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4373
4374 * emacs-lisp/elint.el (elint-find-args-in-code):
4375 Use help-function-arglist, so as to handle lexical byte-code.
4376
4377 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4378 change (bug#11826).
4379
4380 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4381
4382 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4383 Avoid spuriously marking the buffer as modified because of c-is-sws.
4384
4385 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4386 as not-a-comment (bug#11946).
4387
4388 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4389 for uninterned vars.
4390
4391 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4392 Use read-event since we don't really want to read chars but bytes.
4393
4394 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4395 $$..$$ but also $..$ using regexps (bug#11953).
4396 Use tex-verbatim for \url and \path.
4397 (tex-font-lock-keywords): Define as defconst like the others.
4398 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4399
4400 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4401
4402 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4403 alias for insert-char.
4404
4405 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4406
4407 * progmodes/python.el: Simplified imenu implementation.
4408 (python-nav-jump-to-defun): Remove command.
4409 (python-mode-map): Use `imenu' instead.
4410 (python-nav-list-defun-positions-cache)
4411 (python-imenu-include-defun-type, python-imenu-make-tree)
4412 (python-imenu-subtree-root-label, python-imenu-index-alist):
4413 Remove vars.
4414 (python-nav-list-defun-positions, python-nav-read-defun)
4415 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4416 (python-imenu-make-tree, python-imenu-create-index):
4417 Remove functions.
4418 (python-mode): Update to interact with imenu by setting
4419 `imenu-extract-index-name-function' only.
4420
4421 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4422
4423 * progmodes/python.el: Enhancements to navigation commands.
4424 (python-nav-backward-sentence)
4425 (python-nav-forward-sentence): Remove.
4426 (python-nav-backward-statement, python-nav-forward-statement)
4427 (python-nav-statement-start, python-nav-statement-end)
4428 (python-nav-backward-block, python-nav-forward-block)
4429 (python-nav-block-start, python-nav-block-end)
4430 (python-nav-forward-sexp-function)
4431 (python-info-current-line-comment-p)
4432 (python-info-current-line-empty-p): New functions.
4433 (python-indent-context): Use `python-nav-statement-start'.
4434
4435 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4436
4437 * eshell/em-ls.el (eshell/ls): Use `apply'.
4438
4439 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4440 multi-hops, instead of Tramp internals.
4441
4442 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4443
4444 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4445 when F1 and F2 are located on different hosts.
4446
4447 2012-07-14 Chong Yidong <cyd@gnu.org>
4448
4449 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4450 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4451 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4452 (xterm-mouse--read-event-sequence-1000)
4453 (xterm-mouse--read-event-sequence-1006): New functions. For old
4454 mouse protocol, handle M-mouse-X events correctly.
4455 (xterm-mouse-event): New arg specifying mouse protocol.
4456 (turn-on-xterm-mouse-tracking-on-terminal)
4457 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4458 sequence to toggle extended coordinates on newer XTerms.
4459 This appears to be harmless on terminals which do not support this.
4460
4461 2012-07-14 Leo Liu <sdl.web@gmail.com>
4462
4463 Add fringe bitmap indicators for flymake. (Bug#11253)
4464 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4465 (flymake-make-overlay): New arg BITMAP.
4466 (flymake-error-bitmap, flymake-warning-bitmap)
4467 (flymake-fringe-indicator-position): New user variables.
4468
4469 * fringe.el: New bitmap exclamation-mark.
4470
4471 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4472
4473 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4474 also (Bug#7879).
4475
4476 2012-07-14 Chong Yidong <cyd@gnu.org>
4477
4478 * electric.el (electric-pair-post-self-insert-function): Fix pair
4479 insertion in empty-region case (Bug#11520).
4480
4481 2012-07-14 Chong Yidong <cyd@gnu.org>
4482
4483 * bindings.el: Consolidate ctl-x-r-map bindings.
4484 Bind copy-rectangle-as-kill to C-x r w.
4485
4486 * rect.el, register.el: Move bindings to bindings.el.
4487
4488 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4489
4490 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4491
4492 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4493
4494 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4495
4496 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4497
4498 * bindings.el (top): Use `mapc' instead of `mapcar'.
4499
4500 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4501
4502 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4503
4504 * progmodes/sql.el (sql-comint): Suppress the check for program on
4505 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4506 (Bug#11908)
4507
4508 2012-07-13 Chong Yidong <cyd@gnu.org>
4509
4510 * bindings.el: Assign a non-nil permanent-local property to
4511 per-buffer variables which lack a default value (Bug#11930).
4512
4513 * help-fns.el (describe-variable): In the "automatically becomes
4514 local" notice, take note of permanent-local variables.
4515
4516 2012-07-13 Chong Yidong <cyd@gnu.org>
4517
4518 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4519 to allow printing the message when called from Lisp.
4520
4521 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4522 Remove toggle-read-only.
4523
4524 * bs.el (bs-toggle-readonly):
4525 * buff-menu.el (Buffer-menu-toggle-read-only):
4526 Remove with-no-warnings around toggle-read-only.
4527
4528 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4529 Remove with-no-warnings around toggle-read-only.
4530 (ffap-read-only, ffap-read-only-other-window)
4531 (ffap-read-only-other-frame): Callers changed.
4532
4533 * help-mode.el: Don't require view package.
4534 (help-mode-finish): Set buffer-read-only instead of calling
4535 toggle-read-only.
4536
4537 * bindings.el (mode-line-toggle-read-only):
4538 * dired.el (dired-toggle-read-only):
4539 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4540 with non-nil second arg.
4541
4542 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4543 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4544 directly.
4545
4546 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4547
4548 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4549 not incf.
4550
4551 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4552
4553 More CL cleanups and reduction of use of cl.el.
4554 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4555 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4556 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4557 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4558 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4559 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4560 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4561 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4562 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4563 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4564 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4565 * eshell/em-cmpl.el, eshell/em-banner.el:
4566 * calendar/parse-time.el: Use cl-lib.
4567 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4568 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4569 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4570 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4571 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4572 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4573 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4574 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4575 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4576 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4577 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4578 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4579 `lambda' rather than with `quote'.
4580 (eshell-do-opt): Adjust accordingly.
4581 (eshell-process-option): Simplify.
4582 * eshell/esh-var.el:
4583 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4584 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4585 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4586 to `pcase--dontcare'.
4587 * emacs-lisp/cl.el (labels): Mark obsolete.
4588 (cl--letf, letf): Move to cl-lib.
4589 (cl--letf*, letf*): Remove.
4590 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4591 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4592 (cl-progv): Rewrite.
4593 (cl--letf, cl-letf): Move from cl.el.
4594 (cl-letf*): New macro.
4595 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4596
4597 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4598
4599 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4600
4601 2012-07-11 Chong Yidong <cyd@gnu.org>
4602
4603 * vc/log-edit.el (log-edit-vc-backend): New variable.
4604 (log-edit): Doc fix.
4605
4606 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4607 argument of log-edit to set up all local variables.
4608 (vc-start-logentry): New optional arg specifying VC backend.
4609
4610 * vc/vc.el (vc-checkin): Use it.
4611 (vc-deduce-fileset): Handle Log Edit buffers.
4612 (vc-diff): Make first argument optional too.
4613
4614 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4615
4616 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4617
4618 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4619 command, just in case. The function is not needed anymore.
4620 (eshell-external-command): Do not call `eshell-remote-command'.
4621
4622 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4623
4624 Reduce use of (require 'cl).
4625 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4626 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4627 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4628 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4629 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4630 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4631 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4632 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4633 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4634 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4635 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4636 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4637 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4638 (byte-compile-unfold-bcf, byte-compile-check-variable):
4639 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4640 (byte-compile-nilconstp):
4641 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4642 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4643
4644 * emacs-lisp/gv.el (cond): Make it a valid place.
4645 (if): Simplify slightly.
4646
4647 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4648 (pcase--self-quoting-p): New function.
4649 (pcase--u1): Use it.
4650
4651 2012-07-10 Glenn Morris <rgm@gnu.org>
4652
4653 * emacs-lisp/authors.el (authors-fixed-entries):
4654 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4655
4656 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4657
4658 Rename configure.in to configure.ac (Bug#11603).
4659 * emacs-lisp/authors.el (authors-canonical-file-name):
4660 * progmodes/autoconf.el (autoconf-mode):
4661 Prefer configure.ac to configure.in.
4662
4663 2012-07-08 Chong Yidong <cyd@gnu.org>
4664
4665 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4666 Implement the mouse-1-click-follows-link handling properly.
4667
4668 * info.el (Info-link-keymap): Use follow-link mechanism for
4669 header-line links (Bug#374).
4670
4671 * simple.el (deactivate-mark): Do not set the primary selection
4672 if another program has acquired it (Bug#11772).
4673
4674 2012-07-07 Kevin Ryde <user42@zip.com.au>
4675
4676 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4677 (woman-decode-region): Replace escaped-escapes without destroying
4678 bold or underline (Bug#11552).
4679 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4680
4681 2012-07-07 Chong Yidong <cyd@gnu.org>
4682
4683 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4684 (interprogram-cut-function, interprogram-paste-function):
4685 Mention that we typically mean the clipboard.
4686
4687 2012-07-06 Glenn Morris <rgm@gnu.org>
4688
4689 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4690
4691 * files.el (toggle-read-only): Restrict message to interactive use.
4692
4693 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4694
4695 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4696
4697 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4698
4699 2012-07-06 Glenn Morris <rgm@gnu.org>
4700
4701 * Makefile.in (compile-one-process): Rename from "recompile".
4702
4703 * Makefile.in (bzr-update): "compile" is the same as "recompile
4704 autoloads", but parallelizable, so use that instead.
4705
4706 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4707
4708 * window.el (quit-window): Always restore window height when
4709 it's saved in quit-restore parameter (Bug#11810).
4710
4711 2012-07-06 Glenn Morris <rgm@gnu.org>
4712
4713 * simple.el (kill-whole-line): Doc tweak.
4714
4715 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4716
4717 * files.el (file-relative-name): Compare file names
4718 case-insensitively if on MS-Windows or MS-DOS, or if
4719 read-file-name-completion-ignore-case is non-nil. Don't use
4720 case-fold-search for this purpose. (Bug#11827)
4721
4722 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4723
4724 * calendar/cal-dst.el (calendar-current-time-zone):
4725 Return calendar-current-time-zone-cache if non-nil.
4726
4727 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4728 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4729
4730 * calendar/cal-dst.el (calendar-current-time-zone):
4731 Return calendar-current-time-zone-cache if non-nil.
4732
4733 2012-07-06 Glenn Morris <rgm@gnu.org>
4734
4735 * Makefile.in (cvs-update): Remove old alias.
4736
4737 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4738
4739 Sync with Tramp 2.2.6-pre.
4740
4741 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4742 compatible declaration.
4743
4744 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4745 Protect `list-load-path-shadows' call.
4746
4747 * net/tramp-compat.el (top): Require packages, which aren't
4748 autoloaded anymore for XEmacs. Protect call of
4749 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4750 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4751 it hurts at least for SXEmacs.
4752 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4753 standard-value for `temporary-file-directory'.
4754
4755 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4756 Redirect stderr to /dev/null.
4757 (tramp-sh-handle-write-region): uid and gid can be floats.
4758 Reported by Russell Sim <russell.sim@gmail.com>.
4759 (tramp-sh-handle-vc-registered): Hide errors.
4760 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4761 and `start-file-process'.
4762 (tramp-maybe-open-connection): Check also whether `non-essential'
4763 is bound.
4764
4765 2012-07-04 Chong Yidong <cyd@gnu.org>
4766
4767 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4768 (xml-parse-tag): Likewise, and avoid changing entity tables.
4769 (xml-syntax-table): Define from scratch, making sure not to give
4770 x2000 and other Unicode spaces whitespace syntax, since those are
4771 not spaces in XML.
4772 (xml-parse-fragment): Delete unused function.
4773 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4774 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4775 (xml-entity-ref, xml-pe-reference-re)
4776 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4777 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4778 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4779 (xml-entity-value-re): Use syntax references in regexps where
4780 possible; no need to define inside a let-binding.
4781 (xml-parse-dtd): Use xml-pe-reference-re.
4782 (xml-entity-or-char-ref-re): New defconst.
4783 (xml-parse-string, xml-substitute-special): Use it.
4784
4785 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4786
4787 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4788 (find-file--read-only): New function.
4789 (find-file-read-only, find-file-read-only-other-window)
4790 (find-file-read-only-other-frame): Use it.
4791 (insert-file-contents-literally): Don't `fset'.
4792 (get-free-disk-space): Use locate-dominating-file.
4793
4794 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4795 function is already compiled.
4796
4797 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4798
4799 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4800
4801 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4802 files on the same host.
4803
4804 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4805
4806 * help-fns.el (describe-function-1): Only call
4807 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4808
4809 2012-07-03 Chong Yidong <cyd@gnu.org>
4810
4811 * xml.el: Protect parser against XML bombs.
4812 (xml-entity-expansion-limit): New variable.
4813 (xml-parse-string, xml-substitute-special): Use it.
4814 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4815
4816 2012-07-03 Glenn Morris <rgm@gnu.org>
4817
4818 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4819 Allow linking to specific messages in debbugs reports (eg 123#5).
4820
4821 2012-07-02 Chong Yidong <cyd@gnu.org>
4822
4823 * xml.el: Fix entity and character reference expansion, allowing
4824 them to expand into markup as per XML spec.
4825 (xml-default-ns): New variable.
4826 (xml-entity-alist): Use XML spec definitions for lt and amp.
4827 (xml-parse-region): Make first two arguments optional.
4828 Discard text properties.
4829 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4830 All callers changed.
4831 (xml-parse-tag): Call xml-parse-tag-1. For backward
4832 compatibility, this function should not modify buffer contents.
4833 (xml-parse-tag-1): Fix opening-tag regexp.
4834 (xml-parse-string): Rewrite, handling entity and character
4835 references properly.
4836 (xml--entity-replacement-text): Signal an error if a parameter
4837 entity is undefined.
4838
4839 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4840
4841 * comint.el (comint-output-filter): Filter out repeated prompts.
4842
4843 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4844 and file-name-absolute-p.
4845 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4846 internal calls.
4847
4848 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4849
4850 Spelling fixes.
4851 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4852 Rename from byte-compile--refiy-function. All uses changed.
4853
4854 2012-07-01 Chong Yidong <cyd@gnu.org>
4855
4856 * xml.el (xml--parse-buffer): New function. Move most of
4857 xml-parse-region here.
4858 (xml-parse-region): Copy region into a temporary buffer, since
4859 parameter entity substitution requires changing buffer contents.
4860 Use xml--parse-buffer.
4861 (xml-parse-file): Use xml--parse-buffer.
4862 (xml-parse-dtd): Make parameter entity substitution work right.
4863 Use proper regexps for ELEMENT declarations (Bug#7172).
4864
4865 2012-06-30 Glenn Morris <rgm@gnu.org>
4866
4867 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4868
4869 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4870 Remove outdated and unnecessary dbus declarations.
4871
4872 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4873
4874 * emacs-lisp/timer.el (timer-until): Subtract results of
4875 float-time, instead of taking float-time of the result of
4876 time-subtract, since float-time signals an error for negative time
4877 arguments.
4878
4879 2012-06-30 Chong Yidong <cyd@gnu.org>
4880
4881 * xml.el (xml-*-re): Convert defvars into defconsts, and
4882 eval-and-compile them so eval-and-compile works on derivatives.
4883 (xml--entity-replacement-text): Use eval-and-comple.
4884
4885 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4886
4887 * vc/vc-git.el (vc-git-registered): Use cache property
4888 `git-registered'.
4889 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4890 `vc-git-working-revision' in order to benefit from the cache.
4891 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4892
4893 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4894
4895 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4896 removed (likely outside Emacs). (Bug#11757)
4897
4898 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4899
4900 * emacs-lisp/cl-lib.el: Require macroexp.
4901
4902 2012-06-30 Chong Yidong <cyd@gnu.org>
4903
4904 * xml.el: Implement XML parameter entities.
4905 (xml-parameter-entity-alist): New variable.
4906 (xml-parse-region, xml-parse-fragment): Preserve previous values
4907 of xml-entity-alist and xml-parameter-entity-alist, so that
4908 repeated calls on different documents do not change them.
4909 (xml-parse-tag): Fix doctype regexp.
4910 (xml--entity-replacement-text): New function.
4911 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4912 properly requires url retrieval which is unimplemented.
4913 (xml-escape-string): Doc fix.
4914
4915 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4916
4917 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4918
4919 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4920
4921 * fringe.el (fringe-mode): Doc fix.
4922
4923 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4924
4925 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4926 is non-nil.
4927 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4928 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4929
4930 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4931
4932 * calendar/cal-dst.el (calendar-current-time-zone):
4933 Return calendar-current-time-zone-cache if non-nil.
4934
4935 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4936
4937 * progmodes/which-func.el (which-func-format):
4938 Add mouse-face. (Bug#11698)
4939
4940 2012-06-29 Leo Liu <sdl.web@gmail.com>
4941
4942 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4943
4944 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4945
4946 * minibuffer.el (minibuffer-confirm-exit-commands):
4947 Add completion-at-point (bug#11725).
4948
4949 2012-06-29 Glenn Morris <rgm@gnu.org>
4950
4951 * progmodes/f90.el (f90-font-lock-keywords-2):
4952 Add some preprocessor elements. (Bug#10499)
4953
4954 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4955
4956 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4957 Use syntax-propertize (bug#11739).
4958
4959 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4960
4961 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4962
4963 2012-06-28 Julien Danjou <julien@danjou.info>
4964
4965 * term.el (term-handle-colors-array): Use a set of new faces to
4966 color the terminal. Also uses :inverse-video property.
4967 (term-default-fg-color): Set to nil by default, deprecate in favor
4968 of `term-face'.
4969 (term-default-bg-color): Set to nil by default, deprecate in favor
4970 of `term-face'.
4971 (term-current-face): Use `term-face' by default.
4972 (term-bold-attribute): Variable deleted.
4973
4974 2012-06-28 Glenn Morris <rgm@gnu.org>
4975
4976 * simple.el (completion-list-mode-finish):
4977 Don't use toggle-read-only. (Since completion-list-mode has
4978 a special mode-class, it wasn't doing anything extra anyway.)
4979
4980 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4981
4982 Make inlining of other-mode interpreted functions work (bug#11799).
4983 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4984 (byte-compile): Use it to fix compilation of lexical-binding closures.
4985 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4986 function, if needed.
4987
4988 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4989
4990 * help-mode.el (help-make-xrefs): Don't just withstand
4991 cyclic-variable-indirection but any error in documentation-property.
4992
4993 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4994 memory use.
4995 * bindings.el (bindings--define-key): New function.
4996 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4997 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4998 * bindings.el: Use it to purecopy define-key bindings.
4999
5000 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5001
5002 * emacs-lisp/cl.el (flet): Mark obsolete.
5003 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5004 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5005 * progmodes/js.el (js-c-fill-paragraph):
5006 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5007 (ebrowse-switch-member-buffer-to-derived-class):
5008 * play/5x5.el (5x5-solver): Use cl-flet.
5009
5010 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5011 (cl--symbol-function): New macro.
5012 (cl--letf, cl--letf*): Use it.
5013
5014 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5015 Strip "toggle-" if any.
5016
5017 2012-06-27 Glenn Morris <rgm@gnu.org>
5018
5019 * info.el (Info-default-directory-list): Move here from paths.el.
5020 * paths.el: Remove file, which is now empty.
5021 * loadup.el: No longer load "paths".
5022
5023 * custom.el (custom-initialize-delay): Doc fix.
5024
5025 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5026 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5027 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5028 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5029 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5030 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5031 * eshell/eshell.el (eshell-defgroup): Remove alias.
5032
5033 2012-06-27 Chong Yidong <cyd@gnu.org>
5034
5035 * help.el (help-enable-auto-load): New variable.
5036
5037 * help-fns.el (help-fns--autoloaded-p): New function.
5038 (describe-function-1): Refer to a function as "autoloaded" if it
5039 was autoloaded at any time in the past. Perform autoloading if
5040 help-enable-auto-load is non-nil.
5041
5042 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5043
5044 * makefile.w32-in (compile, compile-always): Depend on
5045 update-subdirs, not on subdirs.el. Otherwise, several different
5046 sub-targets of 'bootstrap' running in parallel could
5047 simultaneously write to subdirs.el, producing a garbled file.
5048
5049 2012-06-26 Sam Steingold <sds@gnu.org>
5050
5051 * files.el (file-name-base): New convenience function.
5052 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5053 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5054 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5055 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5056 * textmodes/ispell.el, textmodes/reftex-ref.el:
5057 * textmodes/tex-mode.el: Use it.
5058 Did not touch cedet and org because they are maintained elsewhere.
5059
5060 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5061
5062 * calendar/calendar.el (calendar-exit): Don't try to delete or
5063 iconify last frame. See:
5064 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5065
5066 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5067
5068 * server.el (server-process-filter): Remember dir in the
5069 process's `server-client-directory' properties.
5070
5071 2012-06-24 Chong Yidong <cyd@gnu.org>
5072
5073 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5074 non-tag text.
5075
5076 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5077
5078 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5079
5080 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5081
5082 * help-fns.el (describe-variable): Don't croak when doc is not found.
5083 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5084 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5085 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5086 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5087 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5088 ((lambda ..) ..).
5089 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5090
5091 2012-06-23 Chong Yidong <cyd@gnu.org>
5092
5093 * info.el (Info-mouse-follow-link): Accept symbol values of
5094 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5095 (Info-fontify-node): Use Info-link-keymap for all navigation
5096 buttons, with link-args property to perform the desired action.
5097 (Info-link-keymap): Doc fix.
5098 (Info-next-link-keymap, Info-prev-link-keymap)
5099 (Info-up-link-keymap): Delete now-unused keymaps.
5100
5101 2012-06-23 Chong Yidong <cyd@gnu.org>
5102
5103 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5104
5105 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5106 system abbrevs.
5107
5108 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5109
5110 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5111
5112 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5113 (bug#11719).
5114
5115 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5116 the requote function doesn't work properly (bug#11714).
5117
5118 2012-06-23 Glenn Morris <rgm@gnu.org>
5119
5120 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5121
5122 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5123
5124 Further GV/CL cleanups.
5125 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5126 gv-expander.
5127 (gv--defun-declaration): New function.
5128 (defun-declarations-alist): Use it.
5129 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5130 (gv-place): Autoload.
5131 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5132 original definition of dotimes and dolist.
5133 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5134 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5135 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5136 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5137 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5138 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5139 to the function's definition.
5140 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5141 * window.el:
5142 * files.el:
5143 * faces.el:
5144 * env.el: Don't use CL.
5145
5146 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5147
5148 Support higher-resolution time stamps (Bug#9000).
5149
5150 * calendar/time-date.el (with-decoded-time-value): New arg
5151 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5152 (encode-time-value): New optional arg PICO. New type 3.
5153 (time-to-seconds) [!float-time]: Support the new picoseconds
5154 component if it's used.
5155 (seconds-to-time, time-subtract, time-add):
5156 Support ps-resolution time stamps as well.
5157
5158 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5159 (timerp): Timer vectors now have length 9, not 8.
5160 (timer--time): Support new-style (4-part) time stamps.
5161 (timer-next-integral-multiple-of-time): Time stamps now have
5162 picosecond resolution, so take a bit more care about rounding.
5163 (timer-relative-time, timer-inc-time): New optional arg psecs.
5164 (timer-set-time-with-usecs): Set psecs to 0.
5165 (timer--activate): Check psecs component, too.
5166
5167 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5168
5169 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5170
5171 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5172 Move the non-essential binding to the post/pre-command-hook where it is
5173 more obviously correct.
5174
5175 * subr.el (read-passwd): Don't use a history at all.
5176 * savehist.el (savehist-save): Remove password saved accidentally
5177 because of the above bug.
5178
5179 2012-06-22 Bastien Guerry <bzg@gnu.org>
5180
5181 * files.el (toggle-read-only): Display a message telling whether
5182 the buffer is read-only or not (bug#11726).
5183
5184 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * emacs-lisp/gv.el: New file.
5187 * subr.el (push, pop): Extend to generalized variables.
5188 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5189 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5190 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5191 gv-define-simple-setter, and gv-define-expander.
5192 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5193 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5194 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5195 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5196 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5197 gv-letplace.
5198 (cl-defstruct): Don't define setf-method any more.
5199 * emacs-lisp/cl.el (flet): Don't autoload.
5200 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5201 (define-setf-expander, defsetf, define-modify-macro)
5202 (cl-struct-setf-expander): Move from cl-lib.el.
5203 * emacs-lisp/syntax.el:
5204 * emacs-lisp/ewoc.el:
5205 * emacs-lisp/smie.el:
5206 * emacs-lisp/cconv.el:
5207 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5208 (timer--time): Use gv-define-simple-setter.
5209 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5210 to avoid coding-system problems in subr.el. Adjust all users.
5211 (macroexp--maxsize, macroexp-small-p): New functions.
5212 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5213 * scroll-bar.el (scroll-bar-mode):
5214 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5215 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5216 * winner.el (winner-configuration, winner-make-point-alist)
5217 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5218 * files.el (locate-file-completion-table): Avoid list*.
5219
5220 2012-06-22 Chong Yidong <cyd@gnu.org>
5221
5222 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5223 (dired-create-files): Doc fix (Bug#11329).
5224 (dired-do-copy): Doc fix (Bug#11334).
5225 (dired-mark-read-string): Doc fix (Bug#11553).
5226
5227 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5228 Doc fix (Bug#11326).
5229 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5230 (dired-dwim-target): Doc fix.
5231
5232 * wdired.el (wdired-mode): Doc fix.
5233
5234 2012-06-22 Glenn Morris <rgm@gnu.org>
5235
5236 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5237 (pcmpl-rpm-cache-stamp-file): New constant.
5238 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5239 (pcmpl-rpm-packages): Optionally cache list of packages.
5240
5241 * pcmpl-rpm.el (pcmpl-rpm): New group.
5242 (pcmpl-rpm-query-options): New option.
5243 (pcmpl-rpm-packages): No need to inline it.
5244 Use pcmpl-rpm-query-options.
5245
5246 * calendar/calendar.el (calendar-in-read-only-buffer):
5247 Avoid some needless mode changes.
5248
5249 2012-06-21 Chong Yidong <cyd@gnu.org>
5250
5251 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5252 (desktop-path): Remove . from the default value (Bug#10977).
5253 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5254
5255 2012-06-20 Chong Yidong <cyd@gnu.org>
5256
5257 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5258
5259 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5260
5261 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5262 (bug#11201).
5263
5264 2012-06-20 Chong Yidong <cyd@gnu.org>
5265
5266 * term.el (term-window-width): Handle the case of a missing right
5267 fringe (Bug#8837).
5268 (term-check-size): Use window-text-height (Bug#5445).
5269 (term-mode): Use define-derived-mode. Minor cleanups.
5270 Set font-lock-defaults (Bug#7692).
5271 (term-move-columns, term-insert-char, term-emulate-terminal)
5272 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5273
5274 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5275
5276 * net/ange-ftp.el (ange-ftp-get-passwd):
5277 Bind `enable-recursive-minibuffers'.
5278 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5279
5280 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5281
5282 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5283
5284 2012-06-19 Glenn Morris <rgm@gnu.org>
5285
5286 * progmodes/python.el (python-mode): Derive from prog-mode.
5287
5288 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5289
5290 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5291 (edt-user-menu-bar-update-buffers): New functions.
5292 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5293
5294 2012-06-19 Chong Yidong <cyd@gnu.org>
5295
5296 * subr.el (with-selected-window): Preserve the selected window's
5297 terminal's top-frame (Bug#4702).
5298
5299 * window.el (save-selected-window): Likewise.
5300
5301 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5302
5303 * progmodes/python.el (python-rx-constituents): Move backquote.
5304 (python-skeleton-define, python-define-auxiliary-skeleton):
5305 Use `declare'.
5306
5307 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5308
5309 * minibuffer.el (read-file-name-default): Revert the patch from
5310 2012-06-17.
5311
5312 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5313
5314 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5315 (pcase--u1, pcase--q1): Don't use apply-partially.
5316
5317 2012-06-18 Glenn Morris <rgm@gnu.org>
5318
5319 * progmodes/python.el (python-proc, python-buffer)
5320 (python-send-receive, python-send-string): Fix obsolete versions.
5321
5322 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5323
5324 * window.el (special-display-p): Completely remove stringp
5325 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5326
5327 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5328
5329 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5330
5331 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5332
5333 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5334 * net/tramp-sh.el (tramp-maybe-open-connection):
5335 Throw if `non-essential' is non-nil.
5336
5337 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5338
5339 * window.el (special-display-p): Signal an error if BUFFER-NAME
5340 is not a string (Bug#11713).
5341
5342 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5343
5344 * progmodes/python.el (python-info-beginning-of-backslash):
5345 Rename from python-info-beginning-of-backlash, as a spelling fix.
5346
5347 2012-06-17 Chong Yidong <cyd@gnu.org>
5348
5349 * term.el (term-emulate-terminal): If term-check-size is called,
5350 move point to the process mark without resetting point (Bug#4635).
5351
5352 2012-06-17 Glenn Morris <rgm@gnu.org>
5353
5354 * international/mule-cmds.el (mule-menu-keymap)
5355 (set-language-environment, set-locale-environment): Doc tweaks.
5356
5357 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5358
5359 * cus-face.el (custom-face-attributes): Add wave-style underline
5360 attribute.
5361 * faces.el (set-face-attribute): Update docstring to describe
5362 wave-style underline attribute.
5363
5364 2012-06-16 Chong Yidong <cyd@gnu.org>
5365
5366 * term/xterm.el (terminal-init-xterm): Discard input before
5367 querying background mode (Bug#10959).
5368
5369 2012-06-16 Stefan Merten <smerten@oekonux.de>
5370
5371 * textmodes/rst.el: Added and corrected some comments.
5372 (rst-re-alist-def): Improve symbol syntax.
5373 (rst-mode-syntax-table): Correct syntax entries.
5374 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5375 (rst-official-version, rst-official-cvs-rev): Update version
5376 information.
5377
5378 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5379
5380 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5381 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5382
5383 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5384
5385 * progmodes/python.el: New python.el merge.
5386 (python-guess-indent): Obsolete var.
5387 (python-indent-guess-indent-offset): New defcustom.
5388 (python-indent): Obsolete var.
5389 (python-indent-offset): New defcustom.
5390 (python-python-command, python-jython-command): Delete var.
5391 (python-shell-interpreter): New defcustom.
5392 (python-pdbtrack-do-tracking-p): Delete var.
5393 (python-pdbtrack-activate): New defcustom.
5394 (python-use-skeletons): Obsolete var.
5395 (python-skeleton-autoinsert): New defcustom.
5396 (inferior-python-filter-regexp, python-continuation-offset)
5397 (python-honour-comment-indentation, python-indent-string-contents)
5398 (python-jython-packages, python-mode-hook)
5399 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5400 (python-shell-prompt-alist)
5401 (python-source-modes): Delete defcustoms.
5402 (python-check-buffer-name, python-eldoc-setup-code)
5403 (python-eldoc-string-code, python-ffap-setup-code)
5404 (python-ffap-string-code, python-fill-comment-function)
5405 (python-fill-decorator-function, python-fill-paren-function)
5406 (python-fill-string-function, python-imenu-include-defun-type)
5407 (python-imenu-make-tree, python-imenu-subtree-root-label)
5408 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5409 (python-shell-compilation-regexp-alist)
5410 (python-shell-completion-module-string-code)
5411 (python-shell-completion-pdb-string-code)
5412 (python-shell-completion-setup-code)
5413 (python-shell-completion-string-code)
5414 (python-shell-enable-font-lock, python-shell-exec-path)
5415 (python-shell-extra-pythonpaths)
5416 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5417 (python-shell-process-environment)
5418 (python-shell-prompt-block-regexp)
5419 (python-shell-prompt-output-regexp)
5420 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5421 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5422 (python-shell-virtualenv-path): New defcustoms.
5423 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5424 (inferior-python-mode-syntax-table, python--prompt-regexp)
5425 (python-buffer, python-command python-python-command)
5426 (python-default-template, python-imports, python-indent-index)
5427 (python-indent-list, python-indent-list-length)
5428 (python-mode-running, python-pdbtrack-is-tracking-p)
5429 (python-preoutput-continuation, python-preoutput-leftover)
5430 (python-preoutput-result, python-preoutput-skip-next-prompt)
5431 (python-prev-dir/file, python-recursing)
5432 (python-saved-check-command, python-version-checked)
5433 (python-which-func-length-limit)
5434 (view-return-to-alist): Delete vars.
5435 (python-check-custom-command, python-dotty-syntax-table)
5436 (python-imenu-index-alist, python-indent-current-level)
5437 (python-indent-dedenters, python-indent-levels)
5438 (python-nav-beginning-of-defun-regexp)
5439 (python-nav-list-defun-positions-cache)
5440 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5441 (python-shell-internal-buffer)
5442 (python-skeleton-available): New vars.
5443 (def-python-skeleton): Delete macro.
5444 (python-skeleton-define): New macro.
5445 (python-define-auxiliary-skeleton, python-rx): New macros.
5446 (python-insert-class): Delete command.
5447 (python-skeleton-class): New command.
5448 (python-insert-def): Delete command.
5449 (python-skeleton-def): New command.
5450 (python-insert-for): Delete command.
5451 (python-skeleton-for): New command.
5452 (python-insert-if): Delete command.
5453 (python-skeleton-if): New command.
5454 (python-insert-try/except, python-insert-try/finally): Delete commands.
5455 (python-skeleton-try): New command.
5456 (python-insert-while): Delete command.
5457 (python-skeleton-while): New command.
5458 (python-backspace): Delete command.
5459 (python-indent-dedent-line-backspace): New command.
5460 (python-electric-colon): Delete command.
5461 (python-indent-electric-colon): New command.
5462 (python-guess-indent): Delete command.
5463 (python-indent-guess-indent-offset): New command.
5464 (python-shift-left): Delete command.
5465 (python-indent-shift-left): New command.
5466 (python-shift-right): Delete command.
5467 (python-indent-shift-right): New command.
5468 (python-find-function): Delete command.
5469 (python-nav-jump-to-defun): New command.
5470 (python-next-statement): Delete command.
5471 (python-nav-forward-sentence): New command.
5472 (python-previous-statement): Delete command.
5473 (python-nav-backward-sentence): New command.
5474 (python-fill-paragraph): Delete command.
5475 (python-fill-paragraph-function): New command.
5476 (python-send-buffer): Delete command.
5477 (python-shell-send-buffer): New command.
5478 (python-send-defun): Delete command.
5479 (python-shell-send-defun): New command.
5480 (python-send-region, python-send-region-and-go): Delete commands.
5481 (python-shell-send-region)
5482 (python-shell-switch-to-shell): New commands.
5483 (python-send-string): Delete command.
5484 (python-shell-send-string): New command.
5485 (python-switch-to-python): Delete command.
5486 (python-shell-switch-to-shell): New command.
5487 (python-describe-symbol): Delete command.
5488 (python-eldoc-at-point): New command.
5489 (python--set-prompt-regexp, python-args-to-list)
5490 (python-after-info-look, python-check-version)
5491 (python-check-comint-prompt, python-find-imports)
5492 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5493 (python-unload-function, python-expand-template)
5494 (python-maybe-jython, python-preoutput-filter)
5495 (python-pdbtrack-get-source-buffer)
5496 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5497 (python-pdbtrack-toggle-stack-tracking)
5498 (python-pdbtrack-track-stack-file, python-initial-text)
5499 (python-first-word, python-comment-line-p, python-send-command)
5500 (python-setup-brm, python-sentinel, python-set-proc)
5501 (python-skip-out, python-input-filter, python-outdent-p)
5502 (python-outline-level, python-backslash-continuation-line-p)
5503 (python-end-of-block, python-end-of-statement, python-mark-block)
5504 (python-beginning-of-block, python-beginning-of-statement)
5505 (python-blank-line-p, python-beginning-of-string)
5506 (python-open-block-statement-p): Delete functions.
5507 (python-indent-line, python-indent-line-1): Delete functions.
5508 (python-indent-line): New function.
5509 (python-indentation-levels): Delete function.
5510 (python-indent-calculate-levels): New function.
5511 (python-proc): Delete function.
5512 (python-shell-get-process): New function.
5513 (python-send-receive): Delete function.
5514 (python-shell-send-string-no-output): New function.
5515 (python-module-path): Delete function.
5516 (python-ffap-module-path): New function.
5517 (python-completion-at-point)
5518 (python-symbol-completions): Delete functions.
5519 (python-completion-complete-at-point): New function.
5520 (python-load-file): Delete function.
5521 (python-shell-send-file): New function.
5522 (python-calculate-indentation): Delete function.
5523 (python-indent-calculate-indentation): New function.
5524 (python-skip-comments/blanks): Delete function.
5525 (python-util-forward-comment): New function.
5526 (python-continuation-line-p): Delete function.
5527 (python-info-continuation-line-p): New function.
5528 (python-which-func, python-current-defun): Delete function.
5529 (python-info-current-defun): New function.
5530 (python-beginning-of-defun): Delete function.
5531 (python-nav-beginning-of-defun): New function.
5532 (python-close-block-statement-p)
5533 (python-block-end-p): Delete function.
5534 (python-info-closing-block): New function.
5535 (python-comint-output-filter-function)
5536 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5537 (python-fill-comment, python-fill-decorator, python-fill-paren)
5538 (python-fill-string, python-imenu-make-element-tree)
5539 (python-imenu-make-tree, python-imenu-tree-assoc)
5540 (python-indent-context, python-indent-dedent-line)
5541 (python-indent-line-function)
5542 (python-indent-post-self-insert-function)
5543 (python-indent-toggle-levels)
5544 (python-info-assignment-continuation-line-p)
5545 (python-info-beginning-of-backlash)
5546 (python-info-block-continuation-line-p)
5547 (python-info-closing-block-message)
5548 (python-info-line-ends-backslash-p)
5549 (python-info-looking-at-beginning-of-defun)
5550 (python-info-ppss-context, python-info-ppss-context-type)
5551 (python-nav-list-defun-positions, python-nav-read-defun)
5552 (python-nav-sentence-end, python-nav-sentence-start)
5553 (python-pdbtrack-comint-output-filter-function)
5554 (python-pdbtrack-set-tracked-buffer)
5555 (python-shell-calculate-exec-path)
5556 (python-shell-calculate-process-environment)
5557 (python-shell-completion--do-completion-at-point)
5558 (python-shell-completion--get-completions)
5559 (python-shell-completion-complete-at-point)
5560 (python-shell-completion-complete-or-indent)
5561 (python-shell-get-or-create-process)
5562 (python-shell-get-process-name)
5563 (python-shell-internal-get-or-create-process)
5564 (python-shell-internal-get-process-name)
5565 (python-shell-internal-send-string, python-shell-make-comint)
5566 (python-shell-parse-command, python-shell-send-setup-code)
5567 (python-skeleton-add-menu-items)
5568 (python-util-clone-local-variables, python-util-position)
5569 (run-python-internal, python-indentation-levels)
5570 (python-nav-beginning-of-defun)
5571 (python-completion-complete-at-point): New functions.
5572 (run-python): Change arguments. New API requirements.
5573
5574 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5575
5576 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5577 (bug#11649).
5578
5579 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5580 (macroexp--expand-all): Use it.
5581
5582 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5583 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5584 Use `cl-function' instead.
5585
5586 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5587
5588 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5589 Suggested by Stefan Monnier while discussing bug#11657.
5590
5591 2012-06-14 Sam Steingold <sds@gnu.org>
5592
5593 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5594
5595 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5596
5597 * play/doctor.el (doctor-doc): Remove parameter and use
5598 doctor-sent instead of sent.
5599 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5600
5601 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5602
5603 * files.el: Require cl-lib.
5604 (file-name-non-special): Replace case -> cl-case.
5605
5606 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5607
5608 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5609 mapping from #' to function*.
5610
5611 2012-06-13 Chong Yidong <cyd@gnu.org>
5612
5613 * mouse.el (mouse-drag-track): Do not set the mark if the user
5614 releases the mouse without selecting anything (Bug#11588).
5615
5616 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5617
5618 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5619 as well (bug#11646).
5620
5621 * loadup.el: Count byte-code functions as well.
5622
5623 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5624 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5625
5626 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5627 (bug#11649). Add cl-defun and cl-defmacro.
5628
5629 2012-06-13 Drew Adams <drew.adams@oracle.com>
5630
5631 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5632 Fix last change.
5633
5634 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5635
5636 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5637 Otherwise, it blocks in batch mode.
5638
5639 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5640
5641 * help-mode.el (bookmark-make-record-default): Declare.
5642
5643 2012-06-13 Chong Yidong <cyd@gnu.org>
5644
5645 * emacs-lisp/package.el (list-packages): Compute a list of
5646 packages that are newly-available since the last list-packages
5647 invocation.
5648 (package-menu--new-package-list): New var.
5649 (package-menu--generate, package-menu--print-info)
5650 (package-menu--status-predicate, package-menu-mark-install):
5651 Handle new status label "new".
5652
5653 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5654
5655 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5656 conversion to backquotes.
5657
5658 2012-06-12 Chong Yidong <cyd@gnu.org>
5659
5660 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5661 Rename from gud-inhibit-global-bindings.
5662
5663 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5664
5665 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5666 hook from nxml-glyph-set-hook.
5667
5668 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5669 declaration.
5670
5671 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5672
5673 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5674 Convert to defcustom.
5675
5676 2012-06-12 Drew Adams <drew.adams@oracle.com>
5677
5678 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5679 New functions.
5680 (help-mode): Use them.
5681
5682 2012-06-11 Glenn Morris <rgm@gnu.org>
5683
5684 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5685 Use preprocessor face for directives.
5686 (fortran-directive-re): Doc fix.
5687
5688 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5691 conversion to backquotes (bug#11652).
5692
5693 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5694 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5695 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5696 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5697 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5698 (cl-ninth, cl-tenth): Mark them as inlinable.
5699 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5700 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5701 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5702 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5703 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5704 (cl-list*, cl-adjoin): Don't put an autoload manually.
5705 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5706 (cl--compiler-macro-list*): Add autoload cookie.
5707 (cl--compiler-macro-cXXr): New function.
5708
5709 * help-fns.el (help-fns--compiler-macro): New function extracted from
5710 describe-function-1; follow aliases and use `compiler-macro' property.
5711 (describe-function-1): Use it.
5712
5713 2012-06-11 Chong Yidong <cyd@gnu.org>
5714
5715 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5716 is uninstalled, if imagemagick is installed.
5717
5718 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5719
5720 * emacs-lisp/cl-lib.el: Use lexical-binding.
5721 (cl-map-extents, cl-maclisp-member): Remove.
5722 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5723 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5724 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5725 * emacs-lisp/cl-extra.el: Use lexical-binding.
5726 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5727 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5728 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5729 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5730 * emacs-lisp/cl-seq.el: Use lexical-binding.
5731 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5732 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5733 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5734 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5735 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5736 CL's internals.
5737
5738 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5739
5740 Sync with Tramp 2.2.6-pre.
5741
5742 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5743 `print-length' and `print-level' to nil, in order to avoid
5744 truncation. Reported by Christopher Schmidt
5745 <christopher@ristopher.com>.
5746
5747 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5748
5749 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5750 New defmacro.
5751 (tramp-compat-copy-directory): Add optional argument
5752 COPY-CONTENTS. It is not handled yet.
5753
5754 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5755 (tramp-ftp-file-name-p): Simplify.
5756
5757 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5758 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5759 connection vector.
5760
5761 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5762 (tramp-methods): Do not use `tramp-password-end-of-line'.
5763 (tramp-completion-function-alist-putty): Handle UNIX case.
5764 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5765 (tramp-do-file-attributes-with-stat)
5766 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5767 gid as real numbers. They could run out of integer range on cygwin.
5768 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5769 (tramp-sh-handle-expand-file-name): Handle hops.
5770 (tramp-open-connection-setup-interactive-shell):
5771 Use `tramp-cleanup'. Move check for busyboxes ...
5772 (tramp-find-shell): ... here. Simplify implementation.
5773 Set "remote-shell" property also for alternative shells.
5774 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5775 If failing, a regular file would be written otherwise.
5776 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5777 (tramp-find-inline-encoding): Cache the coding commands in the
5778 process cache. Apply test command on the remote side, if defined.
5779 (tramp-find-inline-compress): Cache the compress commands in the
5780 process cache.
5781 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5782 when requested. Handle hops.
5783 (tramp-current-connection): New defvar.
5784 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5785 Throw `suppress', if there was a failed connection shortly before.
5786 Handle user interrupt. (Bug#10187)
5787 (tramp-get-inline-compress, tramp-get-inline-coding):
5788 Read connection properties from the process cache.
5789
5790 * net/tramp-smb.el (tramp-smb-server-version)
5791 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5792 New defconsts.
5793 (tramp-smb-prompt): Extend for powershell prompt.
5794 (tramp-smb-file-name-handler-alist): Add handlers for
5795 `process-file', `shell-command' and `start-file-process'.
5796 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5797 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5798 (tramp-smb-file-name-p): Simplify.
5799 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5800 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5801 (tramp-smb-shell-quote-argument): New defuns.
5802 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5803 Implement using "tar". By this, time-stamps are preserved.
5804 (tramp-smb-handle-copy-file): Handle also the case of directories.
5805 (tramp-smb-do-file-attributes-with-stat)
5806 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5807 Use `tramp-get-connection-buffer').
5808 (tramp-smb-handle-rename-file): Use "rename", when source and
5809 target are on the same share.
5810 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5811 Use `tramp-smb-server-version'.
5812 (tramp-smb-wait-for-output): Remove prompt.
5813
5814 * net/tramp.el (top): Require 'cl.
5815 (tramp-methods, tramp-rsh-end-of-line):
5816 Remove `tramp-password-end-of-line' from docstring.
5817 (tramp-save-ad-hoc-proxies): New defcustom.
5818 (tramp-completion-function-alist): Adapt docstring.
5819 (tramp-default-password-end-of-line): Remove defcustom.
5820 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5821 (tramp-user-regexp, tramp-file-name-regexp-unified)
5822 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5823 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5824 (tramp-remote-file-name-spec-regexp): New defconst.
5825 (tramp-file-name-structure): Extend structure for hops.
5826 (tramp-get-method-parameter): Move up.
5827 (tramp-file-name-p, tramp-dissect-file-name)
5828 (with-parsed-tramp-file-name): Handle hops.
5829 (tramp-file-name-hop): New defun.
5830 (tramp-make-tramp-file-name): New optional arg HOP.
5831 (tramp-message-show-progress-reporter-message): New defvar.
5832 (tramp-with-progress-reporter): Use it. We cannot use
5833 `tramp-message-show-message' here, because this suppresses also
5834 error buffers.
5835 (tramp-error-with-buffer): Suppress buffer view, if
5836 `tramp-message-show-message' is nil.
5837 Use `tramp-get-connection-buffer'.
5838 (tramp-cleanup): New defun.
5839 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5840 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5841 an error unchanged.
5842 (tramp-completion-handle-file-name-all-completions): Handle hops.
5843 Fix an error when called from ido.
5844 (tramp-completion-dissect-file-name): Use better local variable
5845 name. Add hop to the vector.
5846 (tramp-handle-insert-file-contents): Use progress-reporter for the
5847 whole scenario.
5848 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5849 to `t'.
5850 (tramp-check-for-regexp): Simplify search.
5851 (tramp-enter-password): Remove it. Move implementation ...
5852 (tramp-action-password): ... here.
5853 (tramp-mode-string-to-int, tramp-local-host-p)
5854 (tramp-make-tramp-temp-file, tramp-read-passwd)
5855 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5856 Set tramp-autoload cookie.
5857
5858 * net/trampver.el: Update release number.
5859
5860 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5861 Michael Albinus <michael.albinus@gmx.de>
5862
5863 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5864 (tramp-parse-group, tramp-parse-file)
5865 (tramp-parse-shostkeys-sknownhosts): New defuns.
5866 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5867 (tramp-parse-shosts-group, tramp-parse-sconfig)
5868 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5869 (tramp-parse-sknownhosts, tramp-parse-hosts)
5870 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5871 Use them.
5872 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5873 (tramp-parse-putty-group): Don't narrow.
5874 (tramp-parse-putty): Make a loop.
5875 (tramp-file-name-handler): Catch the `suppress' signal.
5876
5877 2012-06-11 Chong Yidong <cyd@gnu.org>
5878
5879 * image.el (imagemagick-register-types): Put the ImageMagick entry
5880 at the end of image-type-file-name-regexps.
5881
5882 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5883
5884 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5885 (pcase, pcase-let*, pcase-dolist): Use them.
5886
5887 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * emacs-lisp/pcase.el (pcase--let*): New function.
5890 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5891 (pcase--expand): Use macroexp-let².
5892
5893 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5896 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5897 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5898 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5899 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5900 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5901
5902 2012-06-10 Glenn Morris <rgm@gnu.org>
5903
5904 * mail/rmail.el (rmail-yank-current-message): Leave point at
5905 correct position. (Bug#11660)
5906
5907 2012-06-10 Chong Yidong <cyd@gnu.org>
5908
5909 * allout-widgets.el: Fix code header.
5910
5911 2012-06-10 Chong Yidong <cyd@gnu.org>
5912
5913 * cus-edit.el (customize-changed-options-previous-release):
5914 Bump to 24.1.
5915
5916 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5917
5918 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5919
5920 2012-06-09 Chong Yidong <cyd@gnu.org>
5921
5922 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5923
5924 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5925
5926 * window.el (special-display-popup-frame): Don't use
5927 window--display-buffer (Bug#11651).
5928
5929 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5930
5931 Fix parallel builds: make sure loaddefs.el is not being written
5932 while Lisp files are compiled.
5933 (compile): Don't depend on 'mh-autoloads'.
5934 (compile-CMD, compile-SH): Depend on 'autoloads'.
5935 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5936
5937 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5938
5939 2012-06-09 Chong Yidong <cyd@gnu.org>
5940
5941 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5942 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5943 Doc fixes (Bug#11225).
5944
5945 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5946
5947 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5948 a function if there's a clear indication that it has a compiler-macro.
5949 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5950 (macro-declarations-alist): Add arglist to declaration functions.
5951 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5952 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5953 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5954 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5955 Also add autoload to find the compiler macro.
5956 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5957 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5958 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5959 (cl--compiler-macro-get): New functions, replacing calls to
5960 cl-define-compiler-macro.
5961 (cl-typep) [compiler-macro]: Use macroexp-let².
5962
5963 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5964
5965 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5966 string properly, fixes Bug#11473.
5967
5968 2012-06-08 Chong Yidong <cyd@gnu.org>
5969
5970 * faces.el (set-face-attribute): Doc fix.
5971 (modify-face): Don't use :bold and :italic.
5972 (error, warning, success): Tweak definitions.
5973
5974 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5975 (custom-modified, custom-set, custom-changed, custom-themed)
5976 (custom-saved, custom-button, custom-button-mouse)
5977 (custom-button-pressed, custom-state, custom-comment-tag)
5978 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5979 (custom-group-subtitle): Use new-style face specs.
5980 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5981 (custom-set-face, custom-changed-face, custom-saved-face)
5982 (custom-button-face, custom-button-pressed-face)
5983 (custom-documentation-face, custom-state-face)
5984 (custom-comment-face, custom-comment-tag-face)
5985 (custom-variable-tag-face, custom-variable-button-face)
5986 (custom-face-tag-face, custom-group-tag-face-1)
5987 (custom-group-tag-face): Remove obsolete face alias.
5988
5989 * epa.el (epa-validity-high, epa-validity-medium)
5990 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5991 (epa-field-name, epa-field-body):
5992 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5993 (font-lock-keyword-face, font-lock-builtin-face)
5994 (font-lock-function-name-face, font-lock-variable-name-face)
5995 (font-lock-type-face, font-lock-constant-face):
5996 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5997 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5998 * speedbar.el (speedbar-button-face, speedbar-file-face)
5999 (speedbar-directory-face, speedbar-tag-face)
6000 (speedbar-selected-face, speedbar-highlight-face)
6001 (speedbar-separator-face):
6002 * whitespace.el (whitespace-newline, whitespace-space)
6003 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6004 (whitespace-line, whitespace-space-before-tab)
6005 (whitespace-space-after-tab, whitespace-indentation)
6006 (whitespace-empty):
6007 * emulation/cua-base.el (cua-global-mark):
6008 * eshell/em-prompt.el (eshell-prompt):
6009 * net/newst-plainview.el (newsticker-new-item-face)
6010 (newsticker-old-item-face, newsticker-immortal-item-face)
6011 (newsticker-obsolete-item-face, newsticker-date-face)
6012 (newsticker-statistics-face, newsticker-default-face):
6013 * net/newst-reader.el (newsticker-feed-face)
6014 (newsticker-extra-face, newsticker-enclosure-face):
6015 * net/newst-treeview.el (newsticker-treeview-face)
6016 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6017 (newsticker-treeview-immortal-face)
6018 (newsticker-treeview-obsolete-face)
6019 (newsticker-treeview-selection-face):
6020 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6021 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6022 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6023 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6024 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6025 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6026 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6027 (mpuz-text):
6028 * progmodes/vera-mode.el (vera-font-lock-number)
6029 (vera-font-lock-function, vera-font-lock-interface):
6030 * textmodes/table.el (table-cell): Use new-style face specs, and
6031 don't use the old :bold and :italic attributes.
6032
6033 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6034 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6035 (ebrowse-member-class, ebrowse-progress): Likewise.
6036 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6037 (ebrowse-file-name-face, ebrowse-default-face)
6038 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6039 (ebrowse-progress-face): Remove obsolete faces.
6040
6041 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6042 Inherit from error and warning faces respectively.
6043
6044 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6045 Likewise.
6046 (flyspell-incorrect-face, flyspell-duplicate-face):
6047 Remove obsolete aliases.
6048
6049 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6050
6051 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6052 Avoid infloop.
6053
6054 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6055
6056 * startup.el (argv, argi): Make lexically scoped.
6057 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6058 * emacs-lisp/cl-macs.el: Use lexical-binding.
6059 Rename cl-bind-* to cl--bind-*.
6060 * files.el: Don't require `cl' since it doesn't use it.
6061 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6062
6063 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6064
6065 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6066 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6067 instead of calling external sort utility.
6068 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6069
6070 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6071
6072 * descr-text.el (describe-char): Mention how to insert the
6073 character, if the current input method doesn't support it.
6074 See the discussion in this thread for the details:
6075 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6076
6077 2012-06-08 Sam Steingold <sds@gnu.org>
6078
6079 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6080 XF86Back to previous-buffer.
6081 (minibuffer-local-map): Bind them to next-history-element and
6082 previous-history-element respectively.
6083 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6084 help-go-back respectively.
6085 * info.el (Info-mode-map): Bind them to Info-history-forward and
6086 Info-history-back respectively.
6087 These are the keys next to Up on the ThinkPad keyboard.
6088
6089 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6092 * emacs-lisp/cl-macs.el: Provide itself.
6093 (cl--labels-convert-cache): New var.
6094 (cl--labels-convert): New function.
6095 (cl-flet, cl-labels): New implementation with new semantics, relying on
6096 lexical-binding.
6097 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6098 (cl-closure-vars, cl--function-convert-cache)
6099 (cl--function-convert): Move from cl-macs.el.
6100 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6101 rename by removing the "cl-" prefix.
6102 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6103
6104 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6105
6106 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6107 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6108 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6109 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6110 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6111 (cl-hash-table-count): Add old compatibility aliases.
6112
6113 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6114 Use macroexpand-all-environment instead.
6115 (cl--old-macroexpand): New var.
6116 (cl--sm-macroexpand): New function.
6117 (cl-symbol-macrolet): Use it during macro expansion.
6118 (cl--function-convert-cache): New var.
6119 (cl--function-convert): New function, extracted from
6120 cl-macroexpand-all.
6121 (cl-lexical-let): Use it.
6122
6123 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6124 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6125 (cl-member): Remove old alias.
6126
6127 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6128 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6129 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6130 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6131 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6132 (cl-macroexpand-cmacs): Remove var.
6133 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6134 Use macroexpand-all instead.
6135
6136 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6137
6138 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6139 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6140 (macroexp-copyable-p): New functions and macros.
6141 * emacs-lisp/edebug.el (edebug-unwrap):
6142 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6143 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6144 (pcase--let*): Remove.
6145 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6146 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6147 macroexp-const-p instead.
6148 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6149
6150 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6151 instead of "cl-" for internal definitions. Use macroexp-const-p.
6152 (cl-old-bc-file-form): Remove var.
6153 (cl-const-exprs-p): Remove fun.
6154 (cl-labels, cl-macrolet): Use backquote.
6155 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6156 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6157 (cl-define-setf-expander): Rename from cl-define-setf-method.
6158 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6159
6160 * international/mule-cmds.el: Don't require CL.
6161 (view-hello-file): Don't use `letf'.
6162
6163 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6164
6165 * tmm.el (tmm-prompt): Use string-prefix-p.
6166 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6167 (tmm-add-prompt): Use minibuffer-completion-help.
6168 (tmm-delete-map): Remove.
6169
6170 * subr.el (kbd): Make it its own function.
6171
6172 2012-06-07 Stefan Merten <smerten@oekonux.de>
6173
6174 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6175 Silence compiler warnings. Fix versions.
6176 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6177 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6178 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6179 (rst-package-emacs-version-alist): Correct Emacs version to
6180 represent major merge with upstream.
6181 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6182
6183 2012-06-06 Glenn Morris <rgm@gnu.org>
6184
6185 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6186 Only print environment variables if set.
6187
6188 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6189
6190 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6191 (macroexp--cons): Rename from maybe-cons.
6192 (macroexp--accumulate): Rename from macroexp-accumulate.
6193 (macroexp--all-forms): Rename from macroexpand-all-forms.
6194 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6195 (macroexp--expand-all): Rename from macroexpand-all-1.
6196
6197 2012-06-06 Sam Steingold <sds@gnu.org>
6198
6199 * calendar/calendar.el (calendar-in-read-only-buffer):
6200 Call `special-mode' to enable the standard read-only keybindings.
6201
6202 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6203
6204 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6205 with "loading" messages (bug#11635).
6206
6207 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6208
6209 * files.el (enable-remote-dir-locals): New option.
6210 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6211
6212 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6213 Ensure, that the temp directory is local.
6214
6215 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6216 `temporary-file-directory'.
6217
6218 * progmodes/python.el (python-send-region): Ensure, that the
6219 temporary file is created also in the remote case.
6220
6221 2012-06-06 Glenn Morris <rgm@gnu.org>
6222
6223 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6224 (vc-rcs-update-changelog): Use it.
6225
6226 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6227
6228 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6229 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6230 (vc-sccs-diff): Replace use of the external vcdiff script.
6231
6232 2012-06-05 Glenn Morris <rgm@gnu.org>
6233
6234 * ledit.el: Move to obsolete/.
6235
6236 2012-06-05 Sam Steingold <sds@gnu.org>
6237
6238 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6239 patch (Bug#11140).
6240
6241 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 * emacs-lisp/cust-print.el: Move to obsolete.
6244
6245 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6246 compiler-macro expansion.
6247
6248 Add native compiler-macro support.
6249 * emacs-lisp/macroexp.el (macroexpand-all-1):
6250 Support compiler-macros directly. Properly follow aliases and apply
6251 the compiler macros more thoroughly.
6252 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6253 macroexpand now properly follows aliases.
6254 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6255 (cl-compiler-macroexpand): Use new prop.
6256 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6257
6258 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6259
6260 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6261
6262 * window.el (get-lru-window, get-mru-window, get-largest-window):
6263 New argument NOT-SELECTED to avoid picking the selected window.
6264 (window--display-buffer-1, window--display-buffer-2): Replace by
6265 new function window--display-buffer
6266 (display-buffer-same-window, display-buffer-reuse-window)
6267 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6268 Use window--display-buffer.
6269 (display-buffer-use-some-window): Remove temporary dedication
6270 hack by calling get-lru-window and get-largest-window with
6271 NOT-SELECTED argument non-nil. Call window--display-buffer.
6272
6273 2012-06-05 Glenn Morris <rgm@gnu.org>
6274
6275 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6276 Replace external vcdiff script.
6277
6278 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6279
6280 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6281
6282 2012-06-04 Chong Yidong <cyd@gnu.org>
6283
6284 * image.el (imagemagick-types-inhibit): Revert last change.
6285 Add INFO and M.
6286 (imagemagick-enabled-types): Remove CIN and EPS*.
6287
6288 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 * emacs-lisp/cl-lib.el: Rename from cl.el.
6291 * emacs-lisp/cl.el: New compatibility file.
6292 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6293 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6294 to obey the "cl-" prefix.
6295 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6296
6297 2012-06-03 Glenn Morris <rgm@gnu.org>
6298
6299 * emacs-lisp/authors.el (authors-aliases): Addition.
6300
6301 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6302 Fix :version.
6303
6304 2012-06-03 Stefan Merten <smerten@oekonux.de>
6305
6306 * textmodes/rst.el: Add comments.
6307 (rst-transition, rst-adornment): New faces.
6308 (rst-adornment-faces-alist): Make default safe to reevaluate.
6309 Fixes
6310 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6311 Improve customization tags.
6312 (rst-define-level-faces): Clarify meaning.
6313
6314 2012-06-03 Chong Yidong <cyd@gnu.org>
6315
6316 * progmodes/compile.el (compilation-mode-line-fail)
6317 (compilation-mode-line-run, compilation-mode-line-exit):
6318 New faces.
6319 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6320
6321 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6322
6323 * progmodes/which-func.el (which-func-update-ediff-windows):
6324 New function. Use it in ediff-select-hook (Bug#11478).
6325
6326 2012-06-03 Chong Yidong <cyd@gnu.org>
6327
6328 * bindings.el: Remove explicit help text from format-mode-line.
6329 It is now supplied by mode-line-default-help-echo.
6330 (mode-line-front-space, mode-line-end-spaces)
6331 (mode-line-misc-info): New variables.
6332 (mode-line-modes, mode-line-position): Move the default value to
6333 the variable definition.
6334 (mode-line-default-help-echo): New defcustom.
6335 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6336 (mode-line-modified-help-echo): New functions.
6337 (mode-line-mule-info, mode-line-modified): Use them.
6338 (mode-line-eol-desc, propertized-buffer-identification):
6339 Consistency fixes for help text.
6340 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6341 set-buffer-file-coding-system (Bug#289).
6342 (mode-line-mule-info-help-echo): Update help text.
6343
6344 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6345
6346 * simple.el (execute-extended-command): Set real-this-command
6347 (bug#11506).
6348
6349 2012-06-02 Chong Yidong <cyd@gnu.org>
6350
6351 Remove incorrect uses of "modeline" in comments, docstrings, and
6352 function/variable names (Bug#10329).
6353
6354 * cus-edit.el (mode-line):
6355 * dframe.el (dframe-mouse-hscroll):
6356 * emacs-lisp/re-builder.el:
6357 * emacs-lisp/easy-mmode.el (define-minor-mode):
6358 * frame.el (set-frame-name):
6359 * help.el (lookup-minor-mode-from-indicator):
6360 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6361 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6362 (c-toggle-hungry-state):
6363 * progmodes/antlr-mode.el (antlr-language-alist):
6364 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6365 * progmodes/vhdl-mode.el (vhdl-mode):
6366 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6367 * term/ns-win.el (ns-face-at-pos):
6368 * term/sup-mouse.el (sup-mouse-report):
6369 * textmodes/flyspell.el (flyspell-mode-line-string):
6370 * textmodes/ispell.el (ispell-highlight-face):
6371 * textmodes/reftex-global.el:
6372 * vc/vc-arch.el (vc-arch-mode-line-string):
6373 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6374 * vc/vc-git.el (vc-git-mode-line-string):
6375 * vc/vc-hooks.el (vc-display-status)
6376 (vc-default-mode-line-string):
6377 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6378
6379 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6380
6381 * dired.el (dired-sort-set-mode-line): Rename from
6382 dired-sort-set-modeline. All callers changed.
6383
6384 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6385 eshell-status-in-modeline.
6386
6387 * foldout.el (foldout-mode-line-string): Rename from
6388 foldout-modeline-string. All callers changed.
6389 (foldout-update-mode-line): Rename from foldout-update-modeline.
6390
6391 * subr.el (redraw-modeline): Make into obsolete alias.
6392
6393 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6394 timeclock-modeline-display. Make old name an alias.
6395 (timeclock-update-mode-line): Likewise. All callers changed.
6396 (timeclock-mode-line-display): No need to check before using
6397 add-hook.
6398 (timeclock-relative, timeclock-day-over-hook)
6399 (timeclock-use-elapsed, timeclock-mode-string)
6400 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6401
6402 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6403 crisp-mode-modeline-string.
6404
6405 * play/solitaire.el (solitaire-build-mode-line): Rename from
6406 solitaire-build-modeline. All callers changed.
6407
6408 * play/zone.el (zone-hiding-mode-line): Rename from
6409 zone-hiding-modeline. All callers changed.
6410 (zone): Remove unusued `modeline-hidden-level' property.
6411
6412 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6413 xscheme-modeline-initialize. All callers changed.
6414
6415 * strokes.el (strokes-lighter): Rename from
6416 strokes-modeline-string.
6417
6418 * textmodes/sgml-mode.el (html-face-tag-alist)
6419 (html-tag-face-alist): Use mode-line face instead of obsolete
6420 alias modeline.
6421
6422 2012-06-02 Stefan Merten <smerten@oekonux.de>
6423
6424 * textmodes/rst.el: Always require `cl'.
6425 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6426
6427 2012-06-02 Chong Yidong <cyd@gnu.org>
6428
6429 * image.el (imagemagick-enabled-types): Rename from
6430 imagemagick-types-enable. Add many more types.
6431 (imagemagick-types-inhibit): Change default to nil.
6432 (imagemagick-filter-types): Caller changed.
6433
6434 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6435
6436 * emacs-lisp/cl-macs.el: Use backquotes.
6437 (cl-transform-function-property): Use eval-and-compile rather than
6438 abusing `require'.
6439 (defstruct): Use declare-function instead of with-no-warnings.
6440
6441 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6442 (byte-compile-output-docform): Re-add the print-circle bindings.
6443 (byte-compile-fix-header): Use #$ just because it's shorter.
6444 (byte-compile-output-file-form): Remove defun/defmacro.
6445
6446 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6447
6448 * simple.el (choose-completion): Remove now obsolete binding for
6449 owindow.
6450
6451 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6452
6453 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6454 in order to avoid "Stack overflow in regexp matcher".
6455
6456 2012-05-31 Glenn Morris <rgm@gnu.org>
6457
6458 * image.el: For clarity, call imagemagick-register-types at
6459 top-level, rather than relying on a custom :initialize.
6460 (imagemagick-types-enable): New option. (Bug#11557)
6461 (imagemagick-filter-types): New function. (Bug#7406)
6462 (imagemagick-register-types): Use imagemagick-filter-types.
6463 If disabling support, remove elements altogether rather
6464 than using an impossible regexp.
6465 (imagemagick-types-inhibit): Give it the default init function.
6466
6467 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6468
6469 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6470 Handle arbitrary file name lengths (Bug#11585).
6471
6472 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6473
6474 * desktop.el (desktop-read): Clear previous and next buffers for
6475 all windows and bury *Messages* buffer (bug#11556).
6476
6477 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6478
6479 Add `declare' for `defun'. Align `defmacro's with it.
6480 * emacs-lisp/easy-mmode.el (define-minor-mode)
6481 (define-globalized-minor-mode): Don't autoload the var definitions.
6482 * emacs-lisp/byte-run.el: Use lexical-binding.
6483 (defun-declarations-alist, macro-declarations-alist): New vars.
6484 (defmacro, defun): Use them.
6485 (make-obsolete, define-obsolete-function-alias)
6486 (make-obsolete-variable, define-obsolete-variable-alias):
6487 Use `declare'.
6488 (macro-declaration-function): Mark obsolete.
6489 * emacs-lisp/autoload.el: Use lexical-binding.
6490 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6491
6492 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6493
6494 * textmodes/ispell.el (ispell-with-no-warnings):
6495 Define as a macro.
6496 (ispell-kill-ispell, ispell-change-dictionary):
6497 Use `called-interactively-p' for Emacs instead of obsolete
6498 `interactive-p'.
6499
6500 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6501
6502 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6503 (macro-declaration-function): Move var from C code.
6504 (macro-declaration-function): Define function with defalias.
6505 * emacs-lisp/macroexp.el (macroexpand-all-1):
6506 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6507 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6508 defun/defmacro any more.
6509 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6510 Provide fallback for unknown arglist.
6511 (byte-compile-arglist-warn): Change calling convention.
6512 (byte-compile-output-file-form): Move print-vars binding.
6513 (byte-compile-output-docform): Simplify accordingly.
6514 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6515 (byte-compile-defmacro-declaration): Remove.
6516 (byte-compile-file-form-defmumble): Generalize to defalias.
6517 (byte-compile-output-as-comment): Return byte-positions.
6518 Simplify callers accordingly.
6519 (byte-compile-lambda): Use `assert'.
6520 (byte-compile-defun, byte-compile-defmacro): Remove.
6521 (byte-compile-file-form-defalias):
6522 Use byte-compile-file-form-defmumble.
6523 (byte-compile-defalias-warn): Remove.
6524
6525 2012-05-29 Stefan Merten <smerten@oekonux.de>
6526
6527 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6528 possible. Fix authors. Improve comments. Improve loading of `cl'.
6529
6530 (rst-mode-abbrev-table): Merge definition.
6531 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6532 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6533
6534 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6535
6536 * calendar/icalendar.el
6537 (icalendar-export-region): Export UID properly.
6538
6539 2012-05-29 Leo Liu <sdl.web@gmail.com>
6540 * calendar/icalendar.el (icalendar-import-format):
6541 Add `icalendar-import-format-uid' (Bug#11525).
6542 (icalendar-import-format-uid): New.
6543 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6544 Export UID.
6545
6546 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6547
6548 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6549 different alternative patterns.
6550 (pcase-codegen): Be more careful to preserve identity.
6551 (pcase--u1): Don't forget to mark vars as used.
6552
6553 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6554 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6555 (byte-compile-from-buffer): ...rather than here.
6556
6557 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6558 functions from byte-compile-function-environment.
6559
6560 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6561
6562 * window.el (window-deletable-p): Avoid deleting the root window
6563 of a frame with an active minibuffer.
6564
6565 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6566
6567 * simple.el (choose-completion): Use quit-window (Bug#11567).
6568
6569 2012-05-29 Chong Yidong <cyd@gnu.org>
6570
6571 * whitespace.el (whitespace-cleanup): Fix usage of
6572 whitespace-empty-at-bob-regexp (Bug#11492).
6573
6574 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6575
6576 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6577 revert (Bug#11488).
6578
6579 2012-05-29 Juri Linkov <juri@jurta.org>
6580
6581 * isearch.el (isearch-mode-map): Bind `M-s _' to
6582 `isearch-toggle-symbol'. Bind `M-s c' to
6583 `isearch-toggle-case-fold'.
6584 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6585 (isearch-forward): Add `M-s _' to the docstring.
6586 (isearch-forward-symbol, isearch-toggle-case-fold)
6587 (isearch-symbol-regexp): New functions. (Bug#11381)
6588
6589 2012-05-29 Juri Linkov <juri@jurta.org>
6590
6591 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6592 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6593 a function, call it to get the regexp.
6594 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6595 property `isearch-message-prefix' instead of the string "word ".
6596 (isearch-search-fun-default): For the case of `isearch-word',
6597 return a lambda that calls re-search-forward/re-search-backward
6598 with a regexp returned by `word-search-regexp' or by the function
6599 in `isearch-word'.
6600
6601 2012-05-29 Juri Linkov <juri@jurta.org>
6602
6603 * isearch.el (isearch-search-fun-default): New function.
6604 (isearch-search-fun): Move default part to the new function
6605 `isearch-search-fun-default'.
6606 (isearch-search-fun-function): Set the default value to
6607 `isearch-search-fun-default'. (Bug#11381)
6608
6609 * comint.el (comint-history-isearch-end):
6610 Use `isearch-search-fun-default'.
6611 (comint-history-isearch-search): Use `isearch-search-fun-default'
6612 and remove spacial case for `isearch-word'.
6613 (comint-history-isearch-wrap): Remove spacial case for
6614 `isearch-word'.
6615
6616 * hexl.el (hexl-isearch-search-function):
6617 Use `isearch-search-fun-default'.
6618
6619 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6620 Use `word-search-regexp' for `isearch-word'.
6621
6622 * misearch.el (multi-isearch-search-fun):
6623 Use `isearch-search-fun-default'.
6624
6625 * simple.el (minibuffer-history-isearch-search):
6626 Use `isearch-search-fun-default' and remove spacial case for
6627 `isearch-word'.
6628 (minibuffer-history-isearch-wrap): Remove spacial case for
6629 `isearch-word'.
6630
6631 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6632 Remove spacial case for `isearch-word'.
6633 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6634
6635 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6636
6637 Decrease XEmacs incompatibilities.
6638 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6639 Use `string-match'.
6640 (flyspell-delete-region-overlays): Use alternative definition for
6641 XEmacs.
6642 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6643 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6644 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6645 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6646 `define-obsolete-face-alias' under XEmacs, but old method.
6647
6648 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6649 `with-no-warnings' definition or Emacs alias.
6650 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6651 (ispell-word): Do not use `region-p' if XEmacs.
6652
6653 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6654
6655 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6656 Check for `ispell-dictionary-base-alist' instead of full
6657 `ispell-dictionary-alist'.
6658 (ispell-init-process): Show spellchecker when starting new Ispell
6659 process.
6660
6661 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6664 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6665
6666 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6667
6668 * version.el (motif-version-string, gtk-version-string)
6669 (ns-version-string): Declare.
6670
6671 2012-05-27 Juri Linkov <juri@jurta.org>
6672
6673 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6674 after the `eval-defun-1' specialcaseing
6675 like in `edebug-eval-defun' (bug#10181).
6676
6677 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6678 like in `eval-defun-1'.
6679
6680 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6681
6682 * mail/sendmail.el (mail-yank-region):
6683 Recognize rmail-yank-current-message in addition to insert-buffer.
6684 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6685 a *mail* buffer created through rmail-start-mail with sendmail as
6686 mail-user-agent.
6687
6688 2012-05-27 Chong Yidong <cyd@gnu.org>
6689
6690 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6691 Default to 256 (Bug#11267).
6692
6693 * help.el (describe-mode): Doc fix.
6694
6695 2012-05-26 Glenn Morris <rgm@gnu.org>
6696
6697 * w32-fns.el (w32-init-info): Remove.
6698 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6699
6700 * info.el (info-initialize): For self-contained NS builds, put the
6701 included info/ directory at the front. (Bug#2791)
6702
6703 * paths.el (Info-default-directory-list): Make it a defcustom,
6704 mainly so that we can use custom-initialize-delay.
6705
6706 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6707
6708 * subr.el (buffer-has-markers-at): Mark obsolete.
6709
6710 * subr.el (lambda): Use declare.
6711
6712 * emacs-lisp/lisp-mode.el (lambda):
6713 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6714
6715 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6716
6717 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6718
6719 2012-05-26 Glenn Morris <rgm@gnu.org>
6720
6721 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6722
6723 2012-05-25 Glenn Morris <rgm@gnu.org>
6724
6725 * paths.el: Remove no-byte-compile.
6726 * loadup.el: No need to load paths.el uncompiled.
6727
6728 * image.el (imagemagick-types-inhibit): Doc fix.
6729
6730 * version.el: Remove no-byte-compile and associated formatting.
6731 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6732 is ancient code from when there was an "inc-vers.el".
6733
6734 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6735
6736 * progmodes/gdb-mi.el: Minor style changes.
6737 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6738 Turn into minor modes.
6739 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6740 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6741 (gdb-shell): Remove unneeded let-binding.
6742 (gdb-get-many-fields): Eliminate O(n²) behavior.
6743
6744 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6745
6746 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6747 platforms that don't link in fontset.c.
6748
6749 2012-05-25 Juri Linkov <juri@jurta.org>
6750
6751 Use the same diff color scheme as in modern VCSes (bug#10181).
6752
6753 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6754 to avoid confusion with `diff-added' that now uses green colors.
6755 (diff-removed): Use shades of red.
6756 (diff-added): Use shades of green.
6757 (diff-changed): Leave just the yellow color.
6758 (diff-use-changed-face): New variable.
6759 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6760 how to highlight context diff changes.
6761 (diff-refine-change): Use shades of yellow.
6762 (diff-refine-removed): New face that uses shades of red.
6763 (diff-refine-added): New face that uses shades of green.
6764 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6765 `diff-refine-removed' in the call to `smerge-refine-subst'
6766 depending on the value of `diff-use-changed-face'.
6767
6768 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6769 (smerge-other): Use shades of green.
6770 (smerge-base): Use shades of yellow.
6771 (smerge-refined-change): Empty face.
6772 (smerge-refined-removed): New face that uses shades of red.
6773 (smerge-refined-added): New face that uses shades of green.
6774 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6775 args `props-r' and `props-a', and use them. Doc fix.
6776 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6777 on its value use different faces `smerge-refined-change',
6778 `smerge-refined-removed', `smerge-refined-added' in the call to
6779 `smerge-refine-subst'.
6780
6781 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6782 Add face condition `min-colors 88' with shades of red.
6783 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6784 `min-colors 88' with shades of green.
6785 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6786 `min-colors 88' with shades of yellow.
6787
6788 2012-05-24 Glenn Morris <rgm@gnu.org>
6789
6790 * paths.el (prune-directory-list, remote-shell-program): Move to...
6791 * files.el (prune-directory-list, remote-shell-program): ...here.
6792 For the latter, delay initialization, prefer ssh, just search PATH.
6793
6794 * paths.el (term-file-prefix): Move to faces.el (the only user).
6795 * faces.el (term-file-prefix): Move here, make it a defcustom.
6796
6797 * paths.el (news-directory, news-path, news-inews-program):
6798 Move to gnus/nnspool.el.
6799
6800 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6801
6802 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6803 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6804 Make the latter a defcustom, with a delayed initialization.
6805
6806 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6807 These were deleted from Gnus itself late 2010.
6808
6809 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6810
6811 * progmodes/which-func.el (which-func-ff-hook):
6812 Check against user-error, not error.
6813
6814 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6815 cl-specs.el, which no longer exists.
6816
6817 2012-05-22 Glenn Morris <rgm@gnu.org>
6818
6819 * info.el (info-emacs-bug): New command.
6820 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6821 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6822
6823 2012-05-21 Glenn Morris <rgm@gnu.org>
6824
6825 * makefile.w32-in (update-subdirs-SH):
6826 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6827
6828 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6829
6830 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6831
6832 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6833 Simplify Maven regexp, and make sure the file can't start with a space
6834 (bug#11517).
6835
6836 2012-05-21 Glenn Morris <rgm@gnu.org>
6837
6838 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6839 Scrap superfluous subshells.
6840
6841 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6842
6843 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6844 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6845
6846 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6847
6848 * calc/calc.el (calc-ensure-consistent-units): New variable.
6849
6850 * calc/calc-units.el (math-consistent-units-p)
6851 (math-check-unit-consistency): New functions.
6852 (calc-quick-units, calc-convert-units):
6853 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6854 is non-nil.
6855 (calc-extract-units): Fix typo.
6856
6857 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6858
6859 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6860
6861 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6862 (flyspell-default-deplacement-commands): Don't spell check after
6863 repeated window/frame switches (e.g. triggered by mouse-movement).
6864 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6865 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6866 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6867 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6868 Remove unused vars.
6869 (flyspell-get-casechars, flyspell-get-not-casechars):
6870 Simplify; Don't bother removing a ] just to add it back.
6871 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6872
6873 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6874
6875 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6876 New functions.
6877 (math-function-table): Add support for more C functions.
6878
6879 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6880
6881 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6882 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6883 Protect delay handling for otherchars against empty otherchars.
6884
6885 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6888 their respective macro declarations.
6889 * skeleton.el (define-skeleton):
6890 * progmodes/compile.el (define-compilation-mode):
6891 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6892 (define-ibuffer-filter):
6893 * emacs-lisp/generic.el (define-generic-mode):
6894 * emacs-lisp/easy-mmode.el (define-minor-mode)
6895 (define-globalized-minor-mode):
6896 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6897 * emacs-lisp/byte-run.el (defsubst):
6898 * custom.el (deftheme): Add doc-string metadata.
6899
6900 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6901
6902 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6903
6904 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6907
6908 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6909 * emacs-lisp/cl-macs.el: Idem.
6910 * emacs-lisp/cl-specs.el: Remove.
6911
6912 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 Minor renaming of internal CL functions and variables.
6915 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6916 (cl--position): Rename from cl-position.
6917 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6918 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6919 (cl--random-state): Rename from *random-state*.
6920
6921 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6922
6923 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6924 parens around the arg list (bug#11499).
6925
6926 2012-05-17 Juri Linkov <juri@jurta.org>
6927
6928 * isearch.el (word-search-regexp, word-search-backward)
6929 (word-search-forward, word-search-backward-lax)
6930 (word-search-forward-lax): Move functions from search.c
6931 (bug#10145, bug#11381).
6932
6933 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6934
6935 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6936 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6937 Delay for otherchars as for normal word components.
6938
6939 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * minibuffer.el (completion--sifn-requote): Fix last change.
6942 (minibuffer-local-must-match-filename-map):
6943 Move define-obsolete-variable-alias before its var.
6944
6945 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6946
6947 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6948
6949 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6950 behavior.
6951 (completion--string-equal-p): New function.
6952 (completion--twq-all): Use it to get better assertion failure data.
6953
6954 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6955 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6956 (shell--requote-argument): New functions.
6957 (shell-completion-vars): Use them.
6958 (shell--parse-pcomplete-arguments): Rename from
6959 shell-parse-pcomplete-arguments.
6960 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6961 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6962 Obey comint-file-name-quote-list.
6963
6964 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6965 (smie-indent-keyword): Use it.
6966
6967 2012-05-14 Stefan Merten <smerten@oekonux.de>
6968
6969 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6970
6971 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6972
6973 * net/rlogin.el (rlogin-mode-map): Fix last change.
6974
6975 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6976
6977 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6978 the following \r\n using a single `process-send-string', since the
6979 Lotus SMTP server refuses to accept any commands if they are sent
6980 with two `process-send-string's (Bug#11444).
6981
6982 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6983
6984 * shell.el (shell-parse-pcomplete-arguments):
6985 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6986
6987 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6988
6989 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6990 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6991 (image-transform-width, image-transform-fit-width): New functions.
6992 (image-transform-properties): Use them.
6993 (image-transform-check-size): New function.
6994 (image-toggle-display-image): Use it (for testing).
6995 (image-transform-set-rotation): Reduce angle mod 360.
6996 Delete obsolete comment.
6997
6998 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6999
7000 * image-mode.el: Fix scaling (bug#11399).
7001 (image-transform-resize): Doc fix.
7002 (image-transform-properties): Default scale is 1 and height should
7003 be an integer.
7004
7005 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7006
7007 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7008 than hard-coding `car', to fix misbehavior when moving forward.
7009
7010 2012-05-13 Chong Yidong <cyd@gnu.org>
7011
7012 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7013 (tabulated-list-entries, tabulated-list-padding)
7014 (tabulated-list-sort-key): Make permanent-local.
7015
7016 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7017 (electric-buffer-list): Put electric buffer menu
7018 command descriptions in this docstring, instead of the docstring
7019 of electric-buffer-menu-mode. Code cleanups.
7020 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7021 Electric-buffer-menu-mode.
7022 (electric-buffer-update-highlight): Minor code cleanup.
7023
7024 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7025
7026 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7027 (Bug#11447)
7028
7029 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7030
7031 Move define-obsolete-variable-alias before the var's definition.
7032 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7033 * tooltip.el (tooltip-hook):
7034 * textmodes/reftex-toc.el (reftex-toc-map):
7035 * textmodes/reftex-sel.el (reftex-select-label-map)
7036 (reftex-select-bib-map):
7037 * textmodes/reftex-index.el (reftex-index-map)
7038 (reftex-index-phrases-map):
7039 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7040 * progmodes/meta-mode.el (meta-mode-map):
7041 * novice.el (disabled-command-hook):
7042 * loadhist.el (unload-hook-features-list):
7043 * frame.el (blink-cursor):
7044 * files.el (find-file-not-found-hooks, write-file-hooks)
7045 (write-contents-hooks):
7046 * emulation/tpu-edt.el (GOLD-map):
7047 * emacs-lock.el (emacs-lock-from-exiting):
7048 * emacs-lisp/generic.el (generic-font-lock-defaults):
7049 * emacs-lisp/chart.el (chart-map):
7050 * dos-fns.el (register-name-alist):
7051 * dired-x.el (dired-omit-files-p):
7052 * desktop.el (desktop-enable):
7053 * cus-edit.el (custom-mode-hook):
7054 * buff-menu.el (buffer-menu-mode-hook):
7055 * bookmark.el (bookmark-read-annotation-text-func)
7056 (bookmark-exit-hooks):
7057 * allout.el (allout-mode-deactivate-hook)
7058 (allout-exposure-change-hook, allout-structure-added-hook)
7059 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7060 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7061 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7062 comes before the corresponding variable's definition.
7063
7064 2012-05-12 Chong Yidong <cyd@gnu.org>
7065
7066 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7067 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7068 (Buffer-menu-mode-map): Bind it.
7069 (Buffer-menu--pretty-name): Add a mouse-face property.
7070
7071 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7074 (prolog-upper-case-string, prolog-lower-case-string)
7075 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7076 (prolog-use-smie, prolog-smie-grammar): New vars.
7077 (prolog-smie-forward-token, prolog-smie-backward-token)
7078 (prolog-smie-rules): New funs.
7079 (prolog-comment-indent): Remove.
7080 (prolog-mode-variables): Use default comment indentation instead.
7081 Setup SMIE.
7082 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7083 (prolog-mode): Don't call them any more.
7084 (prolog-electric-colon, prolog-electric-dash)
7085 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7086
7087 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7088
7089 * minibuffer.el (completion--twq-all): Again, allow case differences.
7090
7091 * term.el: Move keymap initialization code to be more idiomatic.
7092 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7093 (term-terminal-menu): Move initialization into declaration.
7094 (term-escape-char): Let the user set it in her .emacs.
7095
7096 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7097 Provide SMIE-based indentation (not enabled by default yet).
7098 (sh-mode-map): Don't bind electric keys.
7099 Use electric-pair-mode instead of skeleton-pair.
7100 (sh-assignment-regexp): Fit within 80 columns.
7101 (sh-indent-supported): Specify actual shell name instead of boolean.
7102 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7103 (sh-maybe-here-document): Use it. Make obsolete.
7104 (sh-electric-here-document-mode) New minor mode.
7105 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7106 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7107 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7108 (sh-smie-rc-grammar, sh-use-smie): New vars.
7109 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7110 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7111 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7112 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7113 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7114 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7115 (sh-set-shell): Use smie-setup if requested.
7116
7117 * term.el (term-set-escape-char): Properly set term-escape-char.
7118 See http://stackoverflow.com/questions/10524656.
7119
7120 2012-05-10 Chong Yidong <cyd@gnu.org>
7121
7122 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7123 Use url-generic-parse-url, and handle host names and Windows
7124 filenames properly.
7125 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7126 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7127 URL schemes to work on.
7128 (ffap--toggle-read-only): New function.
7129 (ffap-read-only, ffap-read-only-other-window)
7130 (ffap-read-only-other-frame): Use it.
7131 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7132 necessary for ffap-url-unwrap-remote.
7133
7134 2012-05-10 Dave Abrahams <dave@boostpro.com>
7135
7136 * cus-start.el (create-lockfiles): Add it.
7137
7138 2012-05-09 Chong Yidong <cyd@gnu.org>
7139
7140 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7141 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7142
7143 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7144
7145 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7146
7147 2012-05-09 Chong Yidong <cyd@gnu.org>
7148
7149 * ansi-color.el (ansi-color-process-output): Check for validity of
7150 comint-last-output-start before using it. This avoids a bad
7151 interaction with gdb-mi's input/output buffer.
7152
7153 2012-05-09 Glenn Morris <rgm@gnu.org>
7154
7155 * files.el (dir-locals-read-from-file):
7156 Mention dir-locals in any error message.
7157
7158 2012-05-09 Chong Yidong <cyd@gnu.org>
7159
7160 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7161 package (Bug#11410).
7162
7163 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7164 variables into description.
7165
7166 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7167
7168 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7169 shell-delimiter-argument-list (bug#11348).
7170 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7171
7172 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7173
7174 * textmodes/rst.el: Silence byte-compiler warnings.
7175 (rst-re-alist, rst-reset-section-caches): Move around.
7176 (rst-re): Use `characterp', not `char-valid-p'.
7177 (font-lock-beg, font-lock-end): Declare.
7178
7179 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7180 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7181
7182 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7183
7184 2012-05-08 Glenn Morris <rgm@gnu.org>
7185
7186 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7187
7188 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * vc/log-edit.el: Add GNU coding standards highlighting.
7191 (log-edit-font-lock-gnu-style)
7192 (log-edit-font-lock-gnu-keywords): New vars.
7193 (log-edit-font-lock-keywords): New fun.
7194 (log-edit-mode): Don't fold case in font-lock.
7195 (log-edit-font-lock-keywords): Do not assume case-folding.
7196
7197 * imenu.el: Misc cleanup. Make docstrings out of comments.
7198 Use lexical-binding.
7199 (imenu--index-alist, imenu--last-menubar-index-alist)
7200 (imenu-menubar-modified-tick): Use defvar-local.
7201 (imenu--split-menu): Remove unused var.
7202 (imenu--cleanup-seen): Declare as global.
7203 (imenu--cleanup): Use dolist.
7204
7205 * subr.el (defvar-local): Add debug spec and doc-string position.
7206
7207 2012-05-08 Glenn Morris <rgm@gnu.org>
7208
7209 * language/burmese.el, language/cham.el, language/czech.el:
7210 * language/english.el, language/georgian.el, language/greek.el:
7211 * language/japanese.el, language/khmer.el, language/korean.el:
7212 * language/lao.el, language/misc-lang.el, language/romanian.el:
7213 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7214 * language/thai.el, language/utf-8-lang.el:
7215 Remove no-byte-compile setting.
7216
7217 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7218
7219 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7220
7221 * progmodes/make-mode.el (makefile-browse):
7222 Remove unnecessary interactive. (Bug#11324)
7223
7224 2012-05-07 Glenn Morris <rgm@gnu.org>
7225
7226 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7227
7228 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7229
7230 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7231
7232 * loadup.el: Preload newcomment.el.
7233 * newcomment.el: Move autoload-only code to toplevel.
7234
7235 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7236 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7237 Handle new :right-align column property.
7238 (tabulated-list-print-col): Idem, plus use `display' text-property to
7239 try and preserve alignment for variable pitch fonts.
7240
7241 2012-05-07 Chong Yidong <cyd@gnu.org>
7242
7243 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7244 (tabulated-list-use-header-line): New var.
7245 (tabulated-list-init-header): Use it.
7246 (tabulated-list-print-fake-header): New function.
7247 (tabulated-list-print): Use it.
7248 (tabulated-list-sort-button-map): Add non-header-line commands.
7249 (tabulated-list-init-header): Add column name property to basic
7250 labels as well.
7251 (tabulated-list-col-sort): Handle non-header-line button case.
7252 (tabulated-list--sort-by-column-name): Fix a corner case.
7253
7254 * buff-menu.el (list-buffers--refresh):
7255 Handle Buffer-menu-use-header-line.
7256
7257 2012-05-06 Chong Yidong <cyd@gnu.org>
7258
7259 * buff-menu.el: Convert to Tabulated List mode.
7260 (Buffer-menu-buffer+size-width): Make obsolete.
7261 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7262 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7263 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7264 documentation into docstring of buffer-menu.
7265 (Buffer-menu-toggle-files-only): Add an informative message.
7266 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7267 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7268 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7269 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7270 (Buffer-menu-execute, Buffer-menu-select)
7271 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7272 (Buffer-menu-bury): Use Tabulated List machinery.
7273 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7274 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7275 Delete.
7276 (list-buffers--refresh): New function.
7277 (list-buffers-noselect): Use it.
7278 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7279 (Buffer-menu--pretty-file-name): New helper functions.
7280
7281 * loadup.el: Preload tabulated-list.
7282
7283 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7284 tabulated-list-sort-column.
7285 (tabulated-list-init-header): Add the initial aligning space even
7286 if tabulated-list-padding is zero.
7287
7288 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7289
7290 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7291 whose cdr is not a cons cell correctly (bug#11038).
7292
7293 2012-05-06 Chong Yidong <cyd@gnu.org>
7294
7295 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7296 Accept additional plist in column descriptors.
7297 (tabulated-list-init-header): Obey it.
7298 (tabulated-list-get-entry): New function.
7299 (tabulated-list-put-tag): Use it. Use string-width instead of
7300 length.
7301 (tabulated-list--column-number): New function.
7302 (tabulated-list-print): Use it.
7303 (tabulated-list-print-col): New function.
7304 Set `tabulated-list-column-name' property on each column's text.
7305 (tabulated-list-print-entry): Use it.
7306 (tabulated-list-delete-entry, tabulated-list-set-col):
7307 New functions.
7308 (tabulated-list-sort-column): New command (Bug#11337).
7309
7310 * buff-menu.el (list-buffers): Move C-x C-b binding from
7311 buff-menu.el to bindings.el.
7312
7313 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7314 :advertised-binding feature.
7315
7316 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7317
7318 * progmodes/compile.el (compilation-internal-error-properties):
7319 Calculate start position correctly when end-col is set but
7320 end-line is not (Bug#11382).
7321
7322 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7323
7324 * man.el (Man-unindent): Use text-property-default-nonsticky to
7325 prevent untabify from inheriting face properties (Bug#11408).
7326
7327 2012-05-05 Stefan Merten <smerten@oekonux.de>
7328
7329 * textmodes/rst.el: Major merge with upstream development up to
7330 Docutils SVN r7399 / rst.el V1.2.1.
7331
7332 Clarify maintainership and authors.
7333
7334 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7335 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7336 (rst-official-version, rst-official-cvs-rev, rst-version)
7337 (rst-package-emacs-version-alist): New functions and variables
7338 for version information.
7339
7340 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7341 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7342 (rst-mode-syntax-table, rst-mode): New and corrected functions
7343 and variables representing reStructuredText features.
7344
7345 (rst-re): New function for reStructuredText regexes. Use in
7346 many places.
7347
7348 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7349 (rst-mode-map): Rebind keys.
7350
7351 (rst-mode-lazy, rst-font-lock-keywords)
7352 (rst-font-lock-extend-region)
7353 (rst-font-lock-extend-region-internal)
7354 (rst-font-lock-extend-region-extend)
7355 (rst-font-lock-find-unindented-line-limit)
7356 (rst-font-lock-find-unindented-line-match)
7357 (rst-adornment-level, rst-font-lock-adornment-level)
7358 (rst-font-lock-adornment-match)
7359 (rst-font-lock-handle-adornment-pre-match-form)
7360 (rst-font-lock-handle-adornment-matcher): Major revision of
7361 font-locking. Integrate with other code. Use `jit-lock-mode'.
7362
7363 (rst-preferred-adornments, rst-adjust-hook)
7364 (rst-new-adornment-down, rst-preferred-bullets)
7365 (rst-preferred-bullets, rst-indent, rst-indent-width)
7366 (rst-indent-field, rst-indent-literal-normal)
7367 (rst-indent-literal-minimized, rst-indent-comment): Change,
7368 extend and improve customization.
7369
7370 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7371 (rst-normalize-cursor-position, rst-get-decoration)
7372 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7373 (rst-rstrip, rst-toc-insert-find-delete-contents)
7374 (rst-shift-fill-region, rst-compute-bullet-tabs)
7375 (rst-debug-print-tabs, rst-debug-mark-found)
7376 (rst-shift-region-guts, rst-shift-region-right)
7377 (rst-shift-region-left, rst-use-char-classes)
7378 (rst-font-lock-keywords-function)
7379 (rst-font-lock-indentation-point)
7380 (rst-font-lock-find-unindented-line-begin)
7381 (rst-font-lock-find-unindented-line-end)
7382 (rst-font-lock-find-unindented-line)
7383 (rst-font-lock-adornment-point, rst-font-lock-level)
7384 (rst-adornment-level-alist): Remove functions and variables.
7385
7386 (rst-compare-adornments, rst-get-adornment-match)
7387 (rst-suggest-new-adornment, rst-get-adornments-around)
7388 (rst-adornment-complete-p, rst-get-next-adornment)
7389 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7390 (rst-straighten-adornments): Standardize function names to
7391 use "adornment" instead of "decoration". Correct callers.
7392 Similar standardizing in many places.
7393
7394 (rst-update-section, rst-adjust, rst-promote-region)
7395 (rst-enumerate-region, rst-bullet-list-region)
7396 (rst-repeat-last-character): Correct use of `interactive'.
7397
7398 (rst-classify-adornment, rst-find-all-adornments)
7399 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7400 (rst-find-leftmost-column, rst-repeat-last-character):
7401 Refactor functions.
7402
7403 (rst-find-title-line, rst-reset-section-caches)
7404 (rst-get-adornments-around, rst-adjust-adornment-work)
7405 (rst-arabic-to-roman, rst-roman-to-arabic)
7406 (rst-insert-list-pos, rst-insert-list-new-item)
7407 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7408 New functions.
7409
7410 (rst-all-sections, rst-section-hierarchy)
7411 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7412 New variables.
7413
7414 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7415 configuration instead of only buffer. Change where necessary.
7416
7417 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7418 (rst-shift-region, rst-adaptive-fill): New functions for
7419 indentation and filling.
7420
7421 (rst-comment-line-break, rst-comment-indent)
7422 (rst-comment-insert-comment, rst-comment-region)
7423 (rst-uncomment-region): New functions for handling comments.
7424
7425 (rst-compile): Quote shell arguments.
7426
7427 (rst-compile-pdf-preview, rst-compile-slides-preview):
7428 Delete temporary files after use.
7429
7430 2012-05-05 Glenn Morris <rgm@gnu.org>
7431
7432 * calendar/cal-html.el: Optionally include holidays in the output.
7433 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7434 (cal-html-holidays): New option.
7435 (cal-html-css-default): Add holiday entry.
7436 (holiday-in-range): Autoload it.
7437 (cal-html-htmlify-entry): Add optional class argument.
7438 (cal-html-htmlify-list): Add optional holidays argument.
7439 (cal-html-insert-agenda-days): Include holidays in the output.
7440 (cal-html-one-month): Maybe include holidays.
7441
7442 * calendar/holidays.el (holiday-in-range):
7443 Move here from cal-tex-list-holidays.
7444 * calendar/cal-tex.el (cal-tex-list-holidays):
7445 Make it an obsolete alias for holiday-in-range. Update all callers.
7446
7447 2012-05-05 Chong Yidong <cyd@gnu.org>
7448
7449 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7450 Nextstep.
7451
7452 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7453
7454 * files.el (file-auto-mode-skip): New var.
7455 (set-auto-mode-1): Use it.
7456
7457 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * repeat.el: Use lexical-binding.
7460 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7461 (repeat-undo-count): Remove.
7462 (repeat):
7463 * progmodes/octave-mod.el (octave-abbrev-start):
7464 * progmodes/f90.el (f90-abbrev-start):
7465 * face-remap.el (text-scale-adjust):
7466 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7467
7468 * emacs-lisp/pcase.el (pcase--let*): New function.
7469 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7470 a bit more.
7471 (pcase--split-pred): Be more clever about ruling out overlap between
7472 a predicate and some constant pattern.
7473 (pcase--q1): Use `null' instead of (eq foo nil).
7474
7475 * subr.el (setq-local, defvar-local): New macros.
7476 (kbd): Redefine as an alias.
7477 (with-selected-window): Leave unrelated frames alone.
7478 (set-temporary-overlay-map): New function.
7479
7480 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7481
7482 * subr.el (user-error): New function.
7483 * window.el (switch-to-buffer):
7484 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7485 (smerge-match-conflict):
7486 * simple.el (previous-matching-history-element)
7487 (next-matching-history-element, goto-history-element, undo-more)
7488 (undo-start):
7489 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7490 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7491 (next-file, tags-loop-scan, list-tags, complete-tag):
7492 * progmodes/compile.el (compilation-loop):
7493 * mouse.el (mouse-minibuffer-check):
7494 * man.el (Man-bgproc-sentinel, Man-goto-page):
7495 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7496 (Info-history-forward, Info-follow-reference, Info-menu)
7497 (Info-extract-menu-item, Info-extract-menu-counting)
7498 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7499 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7500 (Info-next-reference, Info-prev-reference, Info-index)
7501 (Info-index-next, Info-follow-nearest-node)
7502 (Info-copy-current-node-name):
7503 * imenu.el (imenu--make-index-alist)
7504 (imenu-default-create-index-function, imenu-add-to-menubar):
7505 * files.el (basic-save-buffer, recover-file):
7506 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7507 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7508 (checkdoc-message-text, checkdoc-defun):
7509 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7510 * cus-edit.el (customize-changed-options, customize-rogue)
7511 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7512 (custom-variable-mark-to-reset-standard)
7513 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7514 (custom-file):
7515 * completion.el (check-completion-length):
7516 * comint.el (comint-search-arg)
7517 (comint-previous-matching-input-string-position)
7518 (comint-previous-matching-input)
7519 (comint-replace-by-expanded-history-before-point, comint-send-input)
7520 (comint-copy-old-input, comint-backward-matching-input)
7521 (comint-goto-process-mark, comint-set-process-mark):
7522 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7523 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7524
7525 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7526
7527 * dabbrev.el (dabbrev--ignore-case-p): New function.
7528 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7529 Use it.
7530
7531 * files.el (automount-dir-prefix): Mark as obsolete.
7532
7533 2012-05-04 Glenn Morris <rgm@gnu.org>
7534
7535 * patcomp.el, play/bruce.el: Move to obsolete/.
7536
7537 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7538
7539 Fix minor Y10k bugs.
7540 * arc-mode.el (archive-unixdate):
7541 * autoinsert.el (auto-insert-alist):
7542 * calc/calc-forms.el (math-this-year):
7543 * emacs-lisp/copyright.el (copyright-current-year)
7544 (copyright-update-year, copyright):
7545 * tar-mode.el (tar-clip-time-string):
7546 * time.el (display-time-update):
7547 Don't assume years have 4 digits.
7548
7549 2012-05-04 Chong Yidong <cyd@gnu.org>
7550
7551 * dos-w32.el (file-name-buffer-file-type-alist)
7552 (direct-print-region-use-command-dot-com):
7553 * ffap.el (ffap-menu-regexp):
7554 * find-file.el (ff-special-constructs):
7555 * follow.el (follow-debug):
7556 * forms.el (forms--debug):
7557 * iswitchb.el (iswitchb-all-frames):
7558 * ido.el (ido-all-frames):
7559 * emacs-lisp/timer.el (timer-max-repeats):
7560 * mail/feedmail.el (feedmail-mail-send-hook)
7561 (feedmail-mail-send-hook-queued):
7562 * mail/footnote.el (footnote-signature-separator):
7563 * mail/mailabbrev.el (mail-alias-separator-string)
7564 (mail-abbrev-mode-regexp):
7565 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7566 * progmodes/idlwave.el (idlwave-libinfo-file)
7567 (idlwave-default-completion-case-is-down)
7568 (idlwave-library-routines): Convert defvars to defcustoms.
7569
7570 * mail/rmail.el (rmail-decode-mime-charset):
7571 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7572 (idlwave-shell-fix-inserted-breaks)
7573 (idlwave-shell-activate-alt-keybindings)
7574 (idlwave-shell-use-breakpoint-glyph):
7575 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7576
7577 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7578
7579 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7580
7581 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7582
7583 * progmodes/verilog-mode.el (font-lock-keywords):
7584 Fix mis-highligting auto. Reported by Craig Barner.
7585 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7586 defines from global name space. Reported by Dan Dever.
7587 (verilog-auto-reset, verilog-auto-reset-widths)
7588 (verilog-auto-tieoff): Support using unbased numbers for
7589 AUTORESET and AUTOTIEOFF.
7590 (verilog-submit-bug-report): Update variable list.
7591 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7592 parenthesis from not matching. Reported by Michael Rytting.
7593 (verilog-auto-template-lint): Fix hash error when linting modules
7594 with no used templates.
7595 (verilog-warn, verilog-warn-error)
7596 (verilog-warn-fatal): When non-interactive report multiple
7597 warnings before exiting. Suggested by Brad Dobbie.
7598 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7599 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7600 to report unused template errors. Reported by Brad Dobbie.
7601 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7602 nets, bug438. Reported by Vns Blore.
7603 (verilog-auto-inout-module, verilog-auto-reg)
7604 (verilog-read-decls, verilog-read-sub-decls-sig)
7605 (verilog-signals-edit-wire-reg, verilog-signals-with):
7606 Fix passing of Verilog data types in ANSI input/output ports
7607 such as "output logic" into the AUTOs. Special case "wire" and
7608 "reg" for backwards compatibility presuming Verilog 2001.
7609 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7610 (verilog-preprocess): Fix replication of preprocess output.
7611 Reported by Brad Dobbie.
7612 (verilog-auto-inst-interfaced-ports):
7613 Create verilog-auto-inst-interfaced-ports, bug429.
7614 Reported by Julian Gorfajn.
7615 (verilog-after-save-font-hook)
7616 (verilog-before-save-font-hook): New variable.
7617 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7618 (verilog-save-font-mods): Wrap disabling fontification, reported
7619 by David Rogoff.
7620 (verilog-do-indent, verilog-pretty-declarations-auto)
7621 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7622 Reported by Pierre-David Pfister.
7623 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7624 of class declarations, bug292. Reported by Kevin Heilman.
7625 (verilog-read-decls): Fix 'parameter type' not appearing in
7626 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7627 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7628 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7629 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7630 Reported by David Kravitz.
7631
7632 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7633
7634 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7635 assignment with tests in ifs and for loops.
7636 (verilog-extended-complete-re, verilog-complete-reg): Change so
7637 that DPI inport functions don't look like fuction declarations.
7638 (verilog-pretty-expr): Don't line up assignment
7639 operations to the test and increment in if and for loops
7640 (verilog-extended-complete-re, verilog-complete-reg): Change so
7641 that DPI inport functions don't look like fuction declarations.
7642
7643 2012-05-03 Kenichi Handa <handa@m17n.org>
7644
7645 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7646 decoding, and show a warning message without signaling an error
7647 (Bug#11282).
7648
7649 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * emacs-lisp/bytecomp.el
7652 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7653 since cconv.el might have introduced :fun-body, internal-make-closure,
7654 and friends for bytecomp to handle (bug#11391).
7655 * custom.el (defcustom): Avoid ((λ ..) ..).
7656
7657 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7658
7659 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7660
7661 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7662
7663 * notifications.el (dbus-debug):
7664 * term/linux.el (gpm-mouse-enable):
7665 * term/screen.el (xterm-register-default-colors): Declare.
7666
7667 2012-05-02 Chong Yidong <cyd@gnu.org>
7668
7669 * cus-start.el (gc-cons-percentage, exec-suffixes)
7670 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7671 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7672 (make-cursor-line-fully-visible, void-text-area-pointer)
7673 (font-list-limit): Add customization data.
7674
7675 * allout.el (allout-exposure-change-functions)
7676 (allout-structure-added-functions)
7677 (allout-structure-deleted-functions)
7678 (allout-structure-shifted-functions): Rename abnormal hooks from
7679 *-hook, and convert to defcustoms.
7680 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7681 Convert to defcustoms.
7682 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7683
7684 * allout-widgets.el: Hook callers changed.
7685
7686 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7687
7688 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7689 the yanked message in preference to the default value of
7690 buffer-file-coding-system.
7691
7692 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7693
7694 * window.el (display-buffer--action-function-custom-type):
7695 Fix entry.
7696
7697 2012-05-02 Alan Mackenzie <acm@muc.de>
7698
7699 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7700
7701 2012-05-01 Glenn Morris <rgm@gnu.org>
7702
7703 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7704
7705 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7706
7707 * cus-edit.el (custom-variable-documentation): Simplify with format.
7708
7709 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7710 Stefan Monnier <monnier@iro.umontreal.ca>
7711
7712 * simple.el (suggest-key-bindings, execute-extended-command):
7713 Move from keyboard.c.
7714
7715 2012-05-01 Chong Yidong <cyd@gnu.org>
7716
7717 * follow.el: Eliminate advice.
7718 (set-process-filter, process-filter, sit-for): Advice deleted.
7719 (follow-mode-off-hook): Obsolete hook removed.
7720 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7721 Vars deleted.
7722 (follow-auto): Use a :set function.
7723 (follow-mode): Rewritten. Don't advise process filters.
7724 (follow-switch-to-current-buffer-all, follow-scroll-up)
7725 (follow-scroll-down): Assume follow-mode is bound.
7726 (follow-comint-scroll-to-bottom)
7727 (follow-align-compilation-windows): New functions.
7728 (follow--window-sorter): New function.
7729 (follow-all-followers): Use it to explicitly sort windows by their
7730 positions; don't make assumptions about next-window order.
7731 (follow-windows-start-end, follow-delete-other-windows-and-split)
7732 (follow-calc-win-start): Doc fix.
7733 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7734 vertical-motion unnecessarily.
7735 (follow-adjust-window): New function.
7736 (follow-post-command-hook): Use it.
7737 (follow-call-set-process-filter, follow-call-process-filter)
7738 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7739 (follow-stop-intercept-process-output, follow-generic-filter):
7740 Functions deleted.
7741 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7742 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7743 New functions, replacing advice on scroll-bar-* commands.
7744 (follow-mwheel-scroll): New function (Bug#4112).
7745
7746 * comint.el (comint-adjust-point): New function.
7747 (comint-postoutput-scroll-to-bottom): Use it.
7748 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7749
7750 2012-05-01 Glenn Morris <rgm@gnu.org>
7751
7752 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7753 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7754 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7755 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7756 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7757 Remove no-byte-compile setting.
7758
7759 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7760
7761 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7762 all-completions code to not return a number in the last cdr.
7763
7764 2012-04-30 Leo Liu <sdl.web@gmail.com>
7765
7766 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7767 read-only error.
7768
7769 2012-04-29 Chong Yidong <cyd@gnu.org>
7770
7771 * follow.el (follow-calc-win-end): Rewrite to handle partial
7772 screen lines correctly (Bug#8390).
7773 (follow-avoid-tail-recenter): Minor cleanup.
7774
7775 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7776
7777 Avoid the obsolete `assoc' package.
7778 * speedbar.el (speedbar-refresh): Avoid adelete.
7779 (speedbar-file-lists): Simplify and avoid aput.
7780 * man.el (Man--sections, Man--refpages): New vars, replacing
7781 Man-sections-alist and Man-refpages-alist.
7782 (Man-build-section-alist, Man-build-references-alist):
7783 Use them; avoid aput.
7784 (Man--last-section, Man--last-refpage): New vars.
7785 (Man-follow-manual-reference): Use them.
7786 Use the `default' arg of completing-read.
7787 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7788
7789 2012-04-27 Chong Yidong <cyd@gnu.org>
7790
7791 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7792
7793 * startup.el (x-apply-session-resources): New function.
7794
7795 * term/ns-win.el (ns-initialize-window-system):
7796 * term/w32-win.el (w32-initialize-window-system):
7797 * term/x-win.el (x-initialize-window-system): Use it to properly
7798 set menu-bar-mode and other vars from X resources, even if the
7799 initial frame is not a window-system frame (Bug#2299).
7800
7801 * subr.el (read-key): Avoid running filter function when setting
7802 up temporary tool bar entries (Bug#9922).
7803
7804 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7805
7806 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7807 (Bug#11344)
7808
7809 2012-04-27 Chong Yidong <cyd@gnu.org>
7810
7811 * select.el (xselect--encode-string): New function, split from
7812 xselect-convert-to-string.
7813 (xselect-convert-to-string): Use it.
7814 (xselect-convert-to-filename, xselect-convert-to-os)
7815 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7816 returned strings are properly encoded (Bug#11315).
7817
7818 2012-04-27 Chong Yidong <cyd@gnu.org>
7819
7820 * simple.el (delete-active-region): Move to killing custom group.
7821
7822 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7823
7824 * progmodes/which-func.el (which-func-current): Quote %
7825 characters for mode-line processing.
7826
7827 2012-04-27 Chong Yidong <cyd@gnu.org>
7828
7829 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7830 reaching eob (Bug#11286).
7831
7832 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7833
7834 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7835 (gdb): Make it buffer-local and init to zero.
7836 (gdb-control-commands-regexp): New variable.
7837 (gdb-send): Don't wrap in "-interpreter-exec console" if
7838 gdb-control-level is positive. Increment gdb-control-level
7839 whenever the command matches gdb-control-commands-regexp, and
7840 decrement it each time the command is "end". (Bug#11279)
7841
7842 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7843
7844 * window.el (adjust-window-trailing-edge, enlarge-window)
7845 (shrink-window, window-resize):
7846 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7847 windows (Bug#11276).
7848
7849 2012-04-27 Chong Yidong <cyd@gnu.org>
7850
7851 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7852 fix "missing prefix" warning. All callers changed.
7853
7854 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7855
7856 * emacs-lisp/assoc.el: Move to obsolete/.
7857
7858 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7859
7860 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7861
7862 * term/ns-win.el (ns-define-service):
7863 * progmodes/pascal.el (pascal-goto-defun):
7864 * progmodes/js.el (js--read-tab):
7865 * progmodes/etags.el (tags-lazy-completion-table):
7866 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7867 * emacs-lisp/ewoc.el (ewoc--wrap):
7868 * emacs-lisp/assoc.el (aput, adelete, amake):
7869 * doc-view.el (doc-view-convert-current-doc):
7870 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7871
7872 2012-04-26 Chong Yidong <cyd@gnu.org>
7873
7874 * image.el (image-type-from-buffer): Only return supported image
7875 type (Bug#9045).
7876
7877 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7878 value, for symmetry with diff-end-of-hunk.
7879 (diff-split-hunk, diff-find-source-location)
7880 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7881 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7882 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7883 compute the relevant hunk or file properly (Bug#6005).
7884 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7885
7886 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7887
7888 * vc/vc-mtn.el:
7889 * vc/vc-hg.el:
7890 * vc/vc-git.el:
7891 * vc/vc-dir.el:
7892 * vc/vc-cvs.el:
7893 * vc/vc-bzr.el:
7894 * vc/vc-arch.el:
7895 * vc/vc.el: Replace lexical-let by lexical-binding.
7896 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7897 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7898 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7899
7900 2012-04-26 Chong Yidong <cyd@gnu.org>
7901
7902 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7903 (diff-mode-shared-map): Bind it to / and [remap undo].
7904
7905 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7906 (ediff-window-setup-function): Use it as the default, to set up
7907 windows based on whether the current frame is graphical (Bug#2138).
7908 (ediff-choose-window-setup-function-automatically): Make obsolete.
7909
7910 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7911
7912 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7913
7914 * ffap.el: Remove old code for obsolete package.
7915 (ffap-complete-as-file-p): Remove.
7916
7917 Use completion-table-with-quoting for comint and pcomplete.
7918 * comint.el (comint--unquote&requote-argument)
7919 (comint--unquote-argument, comint--requote-argument): New functions.
7920 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7921 (comint-quote-filename): Use regexp-opt-charset.
7922 (comint--common-suffix, comint--common-quoted-suffix)
7923 (comint--table-subvert): Remove.
7924 (comint-unquote-function, comint-requote-function): New vars.
7925 (comint--complete-file-name-data): Use them with
7926 completion-table-with-quoting.
7927 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7928 * pcomplete.el (pcomplete-arg-quote-list)
7929 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7930 (pcomplete-unquote-argument-function): Default to non-nil.
7931 (pcomplete-unquote-argument): Simplify.
7932 (pcomplete--common-quoted-suffix): Remove.
7933 (pcomplete-requote-argument-function): New var.
7934 (pcomplete--common-suffix): New function.
7935 (pcomplete-completions-at-point): Use completion-table-with-quoting
7936 and completion-table-subvert.
7937
7938 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7939 (minibuffer--double-dollars): Preserve properties.
7940 (completion--sifn-requote): New function.
7941 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7942
7943 * minibuffer.el: Add support for completion of quoted/escaped data.
7944 (completion-table-with-quoting, completion-table-subvert): New funs.
7945 (completion--twq-try, completion--twq-all): New functions.
7946 (completion--nth-completion): New function.
7947 (completion-try-completion, completion-all-completions): Use it.
7948
7949 2012-04-25 Leo Liu <sdl.web@gmail.com>
7950
7951 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7952 Use compilation-message if available to find real filename.
7953
7954 2012-04-25 Chong Yidong <cyd@gnu.org>
7955
7956 * vc/diff-mode.el (diff-setup-whitespace): New function.
7957 (diff-mode): Use it.
7958
7959 * vc/diff.el (diff-sentinel):
7960 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7961 Whitespace mode variables based on diff style (Bug#8612).
7962
7963 2012-04-25 Leo Liu <sdl.web@gmail.com>
7964
7965 * progmodes/python.el (python-send-region): Add suffix .py to the
7966 temp file.
7967
7968 * files.el (auto-mode-alist): Use javascript-mode instead.
7969
7970 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7971
7972 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7973
7974 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7975 (soap-resolve-references-for-array-type): Hack to prevent self
7976 references, see Bug#9.
7977 (soap-parse-envelope): Report the contents of the 'detail' node
7978 when receiving a fault reply.
7979 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7980
7981 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7982 (soap-inspect-simple-type): New function.
7983
7984 * net/soap-client.el (soap-simple-type): New struct.
7985 (soap-default-xsd-types, soap-default-soapenc-types)
7986 (soap-decode-basic-type, soap-encode-basic-type):
7987 support unsignedInt and double basic types.
7988 (soap-resolve-references-for-simple-type)
7989 (soap-parse-simple-type, soap-encode-simple-type): New function.
7990 (soap-parse-schema): Parse xsd:simpleType declarations.
7991
7992 * net/soap-client.el (soap-default-xsd-types)
7993 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7994 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7995 the local name of "soapenc:Array".
7996 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7997 decoding integer, byte and anyURI xsd types.
7998
7999 2012-04-25 Chong Yidong <cyd@gnu.org>
8000
8001 * cus-edit.el (custom-buffer-create-internal): Update header text.
8002
8003 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8004
8005 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8006 settings on 'system-type', not on 'window-system'. On MS-Windows,
8007 set interactive-mode on in GDB.
8008
8009 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8010
8011 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8012 (ruby-syntax-propertize-regexp): Remove.
8013 (ruby-syntax-propertize-function): Split regexp into chunks.
8014 Match following code directly.
8015
8016 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8017
8018 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8019 (ruby-syntax-propertize-regexp): New function.
8020 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8021 by a special keyword.
8022
8023 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8024 (ruby-syntax-general-delimiters-goto-beg)
8025 (ruby-syntax-propertize-general-delimiters): New functions.
8026 (ruby-syntax-propertize-function): Use them to handle GDL.
8027 (ruby-font-lock-keywords): Move old handling of GDL...
8028 (ruby-font-lock-syntactic-keywords): .. to here.
8029 (ruby-calculate-indent): Adjust indentation for GDL.
8030
8031 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8032
8033 * notifications.el (top): Remove unneeded declarations.
8034 (notifications-specification-version): Change to "1.2".
8035 (notifications-interface, notifications-notify-method)
8036 (notifications-close-notification-method): Fix docstring.
8037 (notifications-get-capabilities-method): New defconst.
8038 (notifications-notify): Add :action-items, :resident and
8039 :transient hints. Change "image_data" to "image-data" and
8040 "image_path" to "image-path".
8041 (notifications-get-capabilities): New defun.
8042
8043 2012-04-24 Leo Liu <sdl.web@gmail.com>
8044
8045 * progmodes/python.el: Move hideshow setup to the end.
8046
8047 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8048
8049 * window.el (handle-select-window): Clear echo area since this is
8050 no more done by read_char (Bug#11304).
8051
8052 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8053
8054 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8055 and `/ M' to filter-derived-mode.
8056 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8057 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8058 (ibuffer-mark-by-mode): Use default rather than initial-input.
8059 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8060
8061 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8062
8063 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8064 (ibuffer-filter-by-derived-mode): New filter.
8065 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8066
8067 2012-04-23 Andreas Politz <politza@fh-trier.de>
8068
8069 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8070
8071 2012-04-23 Chong Yidong <cyd@gnu.org>
8072
8073 * cus-edit.el (customize-apropos, customize-apropos-options):
8074 Disable matching of non-option variables (Bug#11176).
8075 (customize-option, customize-option-other-window)
8076 (customize-changed-options): Doc fix.
8077 (customize-apropos-options, customize-apropos-faces)
8078 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8079
8080 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8081 Fix word list splitting (Bug#11132).
8082 (apropos-symbol, apropos-keybinding, apropos-label)
8083 (apropos-property, apropos-function-button)
8084 (apropos-variable-button, apropos-misc-button): New faces.
8085 (apropos-symbol-face, apropos-keybinding-face)
8086 (apropos-label-face, apropos-property-face, apropos-match-face):
8087 Variables removed (Bug#8396).
8088 (apropos-library-button, apropos-format-plist, apropos-print)
8089 (apropos-print-doc, apropos-describe-plist): Callers changed.
8090
8091 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8092
8093 * net/xesam.el (xesam-mode-map): Use let-bound map in
8094 initialization. (Bug#11292)
8095
8096 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8097
8098 Preserve ispell session localwords when switching back to
8099 original buffer.
8100
8101 * textmodes/ispell.el (ispell-buffer-session-localwords):
8102 New buffer-local variable to hold buffer session localwords.
8103 (ispell-kill-ispell): Add option 'clear to delete session
8104 localwords.
8105 (ispell-command-loop, ispell-change-dictionary)
8106 (ispell-buffer-local-words): Preserve session localwords when
8107 needed.
8108
8109 * textmodes/flyspell.el (flyspell-process-localwords)
8110 (flyspell-do-correct): Preserve session localwords when needed.
8111
8112 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8113
8114 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8115 using obsolete `translation-table-for-input'.
8116 (ispell-word, ispell-process-line, ispell-complete-word):
8117 Use plain `insert' instead of removed `ispell-insert-word'.
8118
8119 2012-04-22 Chong Yidong <cyd@gnu.org>
8120
8121 * cus-edit.el (custom-variable-menu)
8122 (custom-variable-reset-saved, custom-face-menu)
8123 (custom-face-reset-saved): If there is no saved value, make the
8124 "reset-saved" operation bring back the default (Bug#9509).
8125 (custom-face-state): Properly detect themed faces.
8126
8127 * faces.el (face-spec-set): Stop supporting deprecated form of
8128 third arg.
8129
8130 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8131
8132 Move functions from C to Lisp. Make non-blocking method calls
8133 the default. Implement further D-Bus standard interfaces.
8134
8135 * net/dbus.el (dbus-message-internal): Declare function.
8136 Remove unneeded function declarations.
8137 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8138 (dbus-message-type-method-return, dbus-message-type-error)
8139 (dbus-message-type-signal): Declare variables. Remove local
8140 definitions.
8141 (dbus-interface-dbus, dbus-interface-peer)
8142 (dbus-interface-introspectable, dbus-interface-properties)
8143 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8144 Adapt docstring.
8145 (dbus-interface-objectmanager): New defconst.
8146 (dbus-call-method, dbus-call-method-asynchronously)
8147 (dbus-send-signal, dbus-method-return-internal)
8148 (dbus-method-error-internal, dbus-register-service)
8149 (dbus-register-signal, dbus-register-method): New defuns, moved
8150 from dbusbind.c
8151 (dbus-call-method-handler, dbus-setenv)
8152 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8153 New defuns.
8154 (dbus-call-method-non-blocking): Make it an obsolete function.
8155 (dbus-unregister-object, dbus-unregister-service)
8156 (dbus-handle-event, dbus-register-property)
8157 (dbus-property-handler): Obey the new structure of
8158 `bus-registered-objects'.
8159 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8160 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8161 Use `dbus-call-method'.
8162
8163 2012-04-22 Chong Yidong <cyd@gnu.org>
8164
8165 * cus-edit.el (custom-commands, custom-reset-menu)
8166 (Custom-reset-standard): Tweak labels.
8167 (custom-reset-button-menu): Change default to t.
8168 (custom-buffer-create-internal): For the custom-reset-button-menu
8169 case, put the revert button first.
8170 (custom-group-subtitle): New face.
8171 (custom-group-value-create): Align docstring to a specific column.
8172
8173 * wid-edit.el (widget-documentation-link-add): Don't handle
8174 indentation in this function.
8175 (widget-documentation-string-indent-to): New function.
8176 (widget-documentation-string-value-create): Use it.
8177
8178 * autorevert.el (auto-revert):
8179 * epg-config.el (epg):
8180 * ibuffer.el (ibuffer):
8181 * mpc.el (mpc):
8182 * ses.el (ses):
8183 * eshell/eshell.el (eshell):
8184 * net/ange-ftp.el (ange-ftp):
8185 * progmodes/ebnf2ps.el (postscript):
8186 * progmodes/flymake.el (flymake):
8187 * progmodes/prolog.el (prolog):
8188 * progmodes/verilog-mode.el (verilog-mode):
8189 * progmodes/which-func.el (which-func):
8190 * term/xterm.el (xterm):
8191 * textmodes/picture.el (picture):
8192 * textmodes/tildify.el (tildify):
8193 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8194 customization buffers.
8195
8196 2012-04-22 Alan Mackenzie <acm@muc.de>
8197
8198 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8199 Adding a ) can hide the resulting (..) from searches. Fix it.
8200 Bound the backward search to the position of the existing (.
8201
8202 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8203
8204 * progmodes/verilog-mode.el (verilog-mode): Check whether
8205 which-func-modes is t before adding verilog-mode.
8206 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8207
8208 2012-04-21 Leo Liu <sdl.web@gmail.com>
8209
8210 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8211
8212 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8213
8214 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8215 filling of the last column of a table (Bug#5635).
8216 (woman-find-next-control-line): New arg, specifying an additional
8217 regexp component for the control line.
8218 (woman2-roff-buffer): Use it.
8219 (woman-break-table): New function.
8220 (woman2-TS): Use it.
8221
8222 2012-04-21 Chong Yidong <cyd@gnu.org>
8223
8224 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8225 (woman-horizontal-escapes, woman-negative-vertical-space)
8226 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8227 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8228
8229 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8230
8231 * minibuffer.el (completion-file-name-table): Complete user names.
8232
8233 2012-04-20 Leo Liu <sdl.web@gmail.com>
8234
8235 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8236 and pcase-let*.
8237
8238 2012-04-20 Chong Yidong <cyd@gnu.org>
8239
8240 * server.el (server-execute): Respect initial-buffer-choice if it
8241 is a string and there are no files to open (Bug#2825).
8242 (server-create-window-system-frame, server-create-tty-frame):
8243 Don't switch buffers here.
8244 (server-process-filter): Only try to open a window system frame if
8245 compiled with graphical support (Bug#8314).
8246
8247 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8248
8249 * battery.el (battery-echo-area-format): Display remaining time
8250 for sysfs backend too (Bug#11269).
8251 (battery-linux-sysfs): Fix conditional for the charge.
8252
8253 2012-04-20 Chong Yidong <cyd@gnu.org>
8254
8255 * progmodes/gdb-mi.el (gdb): Revert previous change.
8256 (gdb-inferior-io--init-proc): New function.
8257 (gdb-init-1): Use it.
8258 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8259 responsible for allocating a new pty and hooking it to gdb when
8260 the old pty gets an EIO due to process exit.
8261 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8262 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8263 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8264
8265 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8266
8267 * window.el (window-min-size, window-sizable, window-min-delta)
8268 (window-max-delta, window--resizable, window-resizable)
8269 (window-total-size, window-full-height-p, window-full-width-p)
8270 (window-in-direction, window--resize-mini-window, window-resize)
8271 (window--resize-child-windows-normal)
8272 (window--resize-child-windows, window--resize-siblings)
8273 (window--resize-this-window, adjust-window-trailing-edge)
8274 (enlarge-window, shrink-window): Doc fixes.
8275
8276 2012-04-20 Chong Yidong <cyd@gnu.org>
8277
8278 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8279 New function to call delete-process on the gdb-inferior buffer's pty.
8280 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8281 pty process (Bug#11273).
8282 (gdb-update): New arg to suppress talking to the gdb process.
8283 (gdb-done-or-error): Use it.
8284 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8285 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8286 sentinel not being called.
8287
8288 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8289
8290 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8291
8292 2012-04-20 Glenn Morris <rgm@gnu.org>
8293
8294 * net/network-stream.el (open-network-stream): Doc fix.
8295
8296 2012-04-20 Chong Yidong <cyd@gnu.org>
8297
8298 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8299
8300 2012-04-20 Alan Mackenzie <acm@muc.de>
8301
8302 Ensure searching for keywords is case sensitive.
8303
8304 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8305 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8306 (c-defun-name, c-mark-function, c-cpp-define-name)
8307 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8308 (c-context-line-break): Bind case-fold-search to nil.
8309
8310 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8311 Bind case-fold-search to nil.
8312
8313 2012-04-20 Chong Yidong <cyd@gnu.org>
8314
8315 * mail/sendmail.el (mail-bury): Call return action with the right
8316 Rmail buffer (Bug#11242).
8317
8318 * server.el (server-process-filter): Handle corner case where both
8319 tty and nowait options are present (Bug#11102).
8320
8321 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8322
8323 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8324 (top level): Put into the executable the ident-style '$Id:' tag on
8325 windows-nt as well.
8326
8327 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8328
8329 * electric.el (electric-indent-post-self-insert-function): Check that
8330 electric-indent-mode is enabled in current buffer.
8331
8332 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8333
8334 * imenu.el (imenu-progress-message): Restore; it is "used" in
8335 erc/erc-imenu.el and net/snmp-mode.el.
8336
8337 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8338
8339 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8340 (mouse-avoidance-nudge-mouse): Remove unused binding.
8341
8342 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8343
8344 * descr-text.el (describe-char):
8345 * progmodes/python.el (python-describe-symbol):
8346 Don't call `toggle-read-only', set `buffer-read-only'.
8347
8348 * imenu.el (imenu-default-goto-function): Mark unused args.
8349 (imenu-progress-message): Remove obsolete macro; all callers changed.
8350
8351 * subr.el (keymap-canonicalize): Remove unused binding.
8352 (read-passwd): Mark unused arg.
8353
8354 * tutorial.el (tutorial--display-changes): Remove unused binding.
8355 (tutorial--save-tutorial-to): Remove unused variable.
8356
8357 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8358 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8359 (package-generate-autoloads, package-menu--generate)
8360 (package-menu--find-upgrades): Remove unused bindings.
8361
8362 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8363 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8364 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8365 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8366 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8367 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8368 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8369 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8370 (cua-delete-char-rectangle): Mark unused args.
8371 (cua-align-rectangle): Remove unused binding.
8372
8373 * mail/rmail.el (compilation--message->loc)
8374 (epa--find-coding-system-for-mime-charset): Declare.
8375
8376 * net/dbus.el (dbus-register-service): Declare.
8377 (dbus-name-owner-changed-handler): Remove unused binding.
8378
8379 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8380 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8381 (nxml-scan-backward-within): Mark unused arg.
8382 (nxml-dynamic-markup-word): Remove unused binding.
8383
8384 * mouse.el (mouse-menu-major-mode-map):
8385 * emacs-lisp/authors.el (authors-scan-change-log)
8386 (authors-add-to-author-list):
8387 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8388 * emacs-lisp/smie.el (smie-auto-fill):
8389 * mail/sendmail.el (mail-bury):
8390 * mail/unrmail.el (unrmail):
8391 * net/tls.el (open-tls-stream):
8392 * textmodes/picture.el (picture-mouse-set-point):
8393 Remove unused bindings.
8394
8395 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8396
8397 * net/tramp.el (tramp-action-password): Let-bind
8398 `enable-recursive-minibuffers' to t.
8399
8400 2012-04-18 Sam Steingold <sds@gnu.org>
8401
8402 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8403 instead of 'string to accommodate values like [f11].
8404 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8405 * progmodes/gdb-mi.el: Likewise.
8406
8407 2012-04-18 Leo Liu <sdl.web@gmail.com>
8408
8409 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8410 current buffer.
8411 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8412 LOCAL is nil.
8413
8414 2012-04-18 Chong Yidong <cyd@gnu.org>
8415
8416 * simple.el (line-move): Use forward-line if in batch mode
8417 (Bug#11053).
8418
8419 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8420
8421 * files.el (after-find-file): Do not try to add a final newline if
8422 the buffer is read-only (Bug#11156).
8423
8424 2012-04-17 Richard Stallman <rms@gnu.org>
8425
8426 * mail/rmail.el (rmail-start-mail):
8427 Pass (rmail-mail-return...) for the return-action.
8428 Pass (rmail-yank-current-message...) for the yank-action.
8429 (rmail-yank-current-message): New function.
8430 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8431 (rmail-reply): Likewise.
8432 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8433
8434 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8435 buffer, not the last. Reject temp buffers. Use the rmail-mode
8436 buffer, not newbuf.
8437
8438 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8439
8440 * server.el (server-ensure-safe-dir): Simplify.
8441
8442 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8443
8444 * emacs-lisp/smie.el: Provide smarter auto-filling.
8445 (smie-auto-fill): New function.
8446 (smie-setup): Use it.
8447
8448 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8449
8450 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8451
8452 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8453 (comment-indent): Use it.
8454
8455 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8456
8457 * ses.el: The overall change is to add cell renaming, that is
8458 setting fancy names for cell symbols other than name matching
8459 "\\`[A-Z]+[0-9]+\\'" regexp .
8460 (ses-localvars): Add ses--renamed-cell-symb-list.
8461 (ses-create-cell-variable): New defun.
8462 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8463 (ses-relocate-formula): Relocate formulas only for cells the
8464 symbols of which are not renamed, i.e. symbols whose names do not
8465 match regexp "\\`[A-Z]+[0-9]+\\'".
8466 (ses-relocate-all): Relocate values only for cells the symbols of
8467 which are not renamed.
8468 (ses-load): Create cells variables as the (ses-cell ...) are read,
8469 in order to check row col consistency with cell symbol name only
8470 for cells that are not renamed.
8471 (ses-replace-name-in-formula): New defun.
8472 (ses-rename-cell): New defun.
8473
8474 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8475
8476 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8477 New option (bug#11118).
8478 (perl-calculate-indent): Respect it.
8479
8480 2012-04-17 Glenn Morris <rgm@gnu.org>
8481
8482 * dired-aux.el (dired-mark-read-string): Doc fix.
8483
8484 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8485
8486 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8487 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8488
8489 2012-04-17 Glenn Morris <rgm@gnu.org>
8490
8491 * mouse.el (mouse-drag-track):
8492 * speedbar.el (speedbar-frame-mode):
8493 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8494
8495 2012-04-16 Leo Liu <sdl.web@gmail.com>
8496
8497 * progmodes/python.el: Trivial cleanup.
8498
8499 2012-04-16 Glenn Morris <rgm@gnu.org>
8500
8501 * vc/vc.el (vc-string-prefix-p):
8502 * vc/pcvs-util.el (cvs-string-prefix-p):
8503 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8504 * mpc.el (mpc-string-prefix-p):
8505 Make all of these into obsolete aliases for string-prefix-p.
8506 Update callers.
8507 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8508
8509 * textmodes/two-column.el: Move custom options to the start.
8510 (frame-width): Remove compat definition.
8511 (2C-associate-buffer, 2C-dissociate):
8512 Use with-current-buffer rather than save-excursion.
8513 (2C-dissociate): Force a mode-line update.
8514 (2C-autoscroll): Use ignore-errors.
8515
8516 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8517 Autoload trivia.
8518
8519 * emacs-lisp/cl-extra.el (*random-state*):
8520 Remove unnecessary declaration.
8521
8522 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8523
8524 * play/cookie1.el (cookie-snarf):
8525 Give an explicit error if input file cannot be read.
8526
8527 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8528
8529 * progmodes/perl-mode.el (c-macro-expand):
8530 Remove unnecessary autoload (it is in loaddefs.el).
8531
8532 * textmodes/picture.el (picture-desired-column)
8533 (picture-update-desired-column): Convert comments to doc-strings.
8534 (picture-substitute): Remove function.
8535 (picture-mode-map): Initialize in the defvar.
8536
8537 * woman.el: Remove eval-after-load for tar-mode.
8538 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8539 (woman-tar-extract-file): Autoload it.
8540
8541 * frame.el (automatic-hscrolling): Make this alias obsolete.
8542
8543 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8544
8545 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8546 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8547 (ispell-dictionary-base-alist): Revert to original XEmacs
8548 friendly version for default. [:alpha:] will be added in
8549 `ispell-set-spellchecker-params' if needed.
8550
8551 2012-04-16 Chong Yidong <cyd@gnu.org>
8552
8553 * image.el (imagemagick--file-regexp): New variable.
8554 (imagemagick-register-types): Use it.
8555 (imagemagick-types-inhibit): Add :set function. Allow new value
8556 of t to inhibit all types.
8557
8558 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8559 so we can preload it.
8560
8561 * loadup.el (fboundp): Preload regexp-opt, needed by
8562 imagemagick-register-types.
8563
8564 2012-04-15 Chong Yidong <cyd@gnu.org>
8565
8566 * frame.el (scrolling): Remove nearly unused customization group.
8567
8568 * scroll-all.el (scroll-all-mode): Move to windows group.
8569
8570 2012-04-15 Chong Yidong <cyd@gnu.org>
8571
8572 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8573
8574 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8575
8576 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8577 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8578
8579 2012-04-15 Glenn Morris <rgm@gnu.org>
8580
8581 * simple.el (process-file-side-effects): Doc fix.
8582
8583 2012-04-15 Glenn Morris <rgm@gnu.org>
8584
8585 * international/mule-cmds.el (set-language-environment): Doc fix.
8586
8587 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8588
8589 * server.el (server-auth-key, server-generate-key): Doc fixes.
8590 (server-get-auth-key): Doc fix. Use `string-match-p'.
8591 (server-start): Reflow docstring.
8592
8593 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8594
8595 * server.el (server-generate-key): `called-interactively-p'
8596 requires a parameter.
8597
8598 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8599
8600 * server.el (server-auth-key): New variable.
8601 (server-generate-key, server-get-auth-key): New function.
8602 (server-start): Use the new variable and functions to allow
8603 setting a permanent server key (bug#9423).
8604
8605 2012-04-14 Leo Liu <sdl.web@gmail.com>
8606
8607 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8608
8609 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8610
8611 Spelling fixes.
8612 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8613 Emacs uses American spelling.
8614
8615 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8616
8617 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8618 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8619 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8620 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8621
8622 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8623
8624 * progmodes/which-func.el (which-func-modes): Change default.
8625
8626 2012-04-14 Kim F. Storm <storm@cua.dk>
8627
8628 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8629 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8630
8631 2012-04-14 Chong Yidong <cyd@gnu.org>
8632
8633 * custom.el (custom-theme-set-variables): Doc fix.
8634
8635 2012-04-14 Glenn Morris <rgm@gnu.org>
8636
8637 * international/mule.el (set-auto-coding-for-load): Doc fix.
8638
8639 2012-04-14 Alan Mackenzie <acm@muc.de>
8640
8641 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8642 imenu work again for Objective C Mode. Correct the *-index values,
8643 these having been disturbed by a previous change in 2011-08.
8644
8645 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8646 Correct two search limits.
8647
8648 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8649
8650 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8651
8652 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8653
8654 * international/characters.el: Fix sorting.
8655
8656 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8657
8658 * international/characters.el: Add more missing Latin case pairs.
8659
8660 2012-04-14 Glenn Morris <rgm@gnu.org>
8661
8662 * files.el (dir-locals-set-class-variables): Doc fix.
8663
8664 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8665
8666 * international/characters.el: Add set-case-syntax-pair call for
8667 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8668 counterpart. (Bug#11209)
8669
8670 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8671
8672 2012-04-14 Glenn Morris <rgm@gnu.org>
8673
8674 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8675
8676 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8677
8678 * textmodes/ispell.el (ispell-dictionary-base-alist):
8679 Add data for Hebrew.
8680
8681 2012-04-14 Chong Yidong <cyd@gnu.org>
8682
8683 * net/rcirc.el (rcirc-cmd-quit):
8684 Revert 2012-03-18 change (Bug#11192).
8685
8686 2012-04-14 Glenn Morris <rgm@gnu.org>
8687
8688 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8689
8690 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8691
8692 * minibuffer.el (completion-in-region-mode-map):
8693 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8694
8695 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8696
8697 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8698
8699 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8700
8701 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8702 to allow `C-M-f' and `C-M-b' to move to the nearest path
8703 separator (bug#9511).
8704
8705 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8706
8707 * avoid.el: Require cl when compiling. And also move the
8708 `provide' to the end.
8709
8710 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8711
8712 * avoid.el (mouse-avoidance-banish-position): New variable.
8713 (mouse-avoidance-banish-destination): Use it (bug#10165).
8714
8715 2012-04-13 Leo Liu <sdl.web@gmail.com>
8716
8717 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8718
8719 2012-04-13 Ken Brown <kbrown@cornell.edu>
8720
8721 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8722 this is no longer needed now that cygstart understands file:// URLs.
8723 (browse-url-filename-alist): For the same reason, don't modify
8724 file:// URLs on Cygwin.
8725
8726 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8729 the region on shift if the binding is already shifted (bug#11221).
8730
8731 2012-04-12 Glenn Morris <rgm@gnu.org>
8732
8733 * mail/mailpost.el: Move to obsolete/.
8734
8735 2012-04-12 Drew Adams <drew.adams@oracle.com>
8736
8737 * imenu.el (imenu--generic-function): Ignore invisible definitions
8738 (bug#10123).
8739
8740 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8741
8742 * hexl.el (hexl-bits): New variable.
8743 (hexl-options): Mention the variable in the doc string.
8744 (hexl-rulerise, hexl-line-displen): New functions.
8745 (hexl-mode): Mention the new variable.
8746 (hexl-mode, hexl-current-address, hexl-current-address):
8747 Use the displen.
8748 (hexl-ascii-start-column): New function.
8749 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8750 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8751
8752 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8753
8754 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8755 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8756 the encoding, as expected by hunspell.
8757
8758 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * battery.el (battery--linux-sysfs-regexp): New const.
8761 (battery-status-function): Use it. Remove yeeloong special case.
8762 (battery-yeeloong-sysfs): Remove.
8763 (battery-echo-area-format): Remove yeeloong special case.
8764
8765 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8766
8767 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8768 Reported by Noah Friedman.
8769
8770 * subr.el (read-passwd): Use read-string.
8771
8772 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8773
8774 * vcursor.el (vcursor-move): Increase the priority of the overlay
8775 (bug#9663).
8776
8777 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8778
8779 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8780 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8781
8782 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8783
8784 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8785 define-minor-mode (bug#10760).
8786
8787 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8788
8789 * progmodes/grep.el (rgrep): Tweak the find command line so
8790 that directories matching `grep-find-ignored-files' won't be
8791 pruned (bug#10351).
8792
8793 2012-04-11 Chong Yidong <cyd@gnu.org>
8794
8795 * startup.el (command-line): Remove support for long-obsolete
8796 variable font-lock-face-attributes.
8797
8798 2012-04-11 Glenn Morris <rgm@gnu.org>
8799
8800 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8801
8802 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8803
8804 * window.el (window--state-get-1): Obey window-point-insertion-type.
8805
8806 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8807
8808 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8809 to previous function when point is on the first character of a
8810 function. Take care of that in `narrow-to-defun' (bug#6157).
8811
8812 2012-04-11 Glenn Morris <rgm@gnu.org>
8813
8814 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8815 not just file-errors.
8816
8817 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8818 (vc-bzr-sha1): Use internal sha1.
8819
8820 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8821
8822 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8823
8824 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8825
8826 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8827 that start in the middle of the line (bug#10496).
8828
8829 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8830
8831 * battery.el (battery-linux-proc-acpi): Only one battery is
8832 discharged at a time, but that seems to confuse battery.el when
8833 computing `rate-type' for the battery not being discharged
8834 (bug#10332).
8835
8836 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8837
8838 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8839
8840 * international/quail.el: Use dolist and simplify.
8841 (quail-define-package, quail-update-keyboard-layout)
8842 (quail-define-rules): Use dolist.
8843 (quail-insert-kbd-layout, quail-get-translation): CSE.
8844
8845 * tmm.el: Use dolist, remove left over hook.
8846 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8847 Use dolist.
8848 (calendar-load-hook): Don't mess with it.
8849
8850 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8851 Use derived-mode-p. Run the diff asynchronously.
8852
8853 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8854
8855 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8856
8857 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8858
8859 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8860 (list-dynamic-libraries--loaded): New function.
8861 (list-dynamic-libraries--refresh): Use it.
8862
8863 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8864
8865 * progmodes/python.el (python-fill-paragraph):
8866 Make python-fill-region in a multiline string work when font-lock is
8867 disabled (bug#7018).
8868
8869 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8870
8871 * language/european.el (cp775): Add oem/legacy (en)coding on
8872 DOS/MS Windows for the Baltic languages. There are still plenty
8873 of texts written in this encoding/codepage (bug#6519).
8874
8875 2012-04-10 Glenn Morris <rgm@gnu.org>
8876
8877 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8878 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8879
8880 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8881
8882 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8883 next-line "n" and previous-line "p" in order to make recentf more
8884 consistent with ibuffer, dired or org-mode (bug#9387).
8885
8886 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8887
8888 * image.el (put-image): Return the overlay created instead of the
8889 optional input string (bug#7834). Note that this may break code
8890 that is (for some reason or other) depending on `put-image'
8891 returning the string.
8892
8893 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8894
8895 * simple.el (zap-to-char): Allow zapping using input methods
8896 (bug#1580).
8897
8898 * textmodes/fill.el (fill-region): Leave point and mark where they
8899 were before filling (bug#5399).
8900
8901 2012-04-09 Glenn Morris <rgm@gnu.org>
8902
8903 * version.el (emacs-bzr-get-version):
8904 Handle lightweight checkouts of local branches.
8905
8906 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8907
8908 * international/characters.el: Recover lost case pairs. (Bug#11209)
8909
8910 2012-04-09 Chong Yidong <cyd@gnu.org>
8911
8912 * custom.el (custom-variable-p): Return nil for non-symbol
8913 arguments instead of signaling an error.
8914 (user-variable-p): Obsolete alias for custom-variable-p.
8915
8916 * apropos.el (apropos-variable):
8917 * files-x.el (read-file-local-variable):
8918 * simple.el (set-variable):
8919 * woman.el (woman-mini-help):
8920 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8921
8922 2012-04-09 Glenn Morris <rgm@gnu.org>
8923
8924 * startup.el (normal-top-level): Don't look for leim-list.el
8925 in places where it will not be found. (Bug#910)
8926
8927 * international/mule-cmds.el (set-default-coding-systems):
8928 * files.el (normal-mode):
8929 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8930 This function was removed with ucs-tables.el in 2008.
8931
8932 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8933
8934 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8935 ispell-encoding8-command to "-i", without a trailing space.
8936 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8937 separate command-line arguments, to specify the encoding, since
8938 that's how hunspell expects it.
8939
8940 2012-04-08 Glenn Morris <rgm@gnu.org>
8941
8942 * loadup.el: Load bindings before cus-start.
8943 This reduces somewhat the number of "rogue" settings in emacs -Q.
8944
8945 2012-04-07 Glenn Morris <rgm@gnu.org>
8946
8947 * version.el (emacs-bzr-get-version): New function.
8948 (emacs-bzr-version): New variable.
8949 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8950 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8951
8952 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8953
8954 * international/uni-bidi.el, international/uni-category.el:
8955 * international/uni-combining.el, international/uni-decimal.el:
8956 * international/uni-decomposition.el, international/uni-digit.el:
8957 * international/uni-lowercase.el, international/uni-mirrored.el:
8958 * international/uni-name.el, international/uni-numeric.el:
8959 * international/uni-titlecase.el, international/uni-uppercase.el:
8960 Update for Unicode 6.1.
8961
8962 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8963
8964 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8965
8966 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8967
8968 * window.el (shrink-window): Mention the `window-min-height'
8969 variable in the doc string.
8970
8971 2012-04-05 Bastien Guerry <bzg@altern.org>
8972
8973 * color.el (color-lighten-name): Fix typo.
8974
8975 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8976
8977 * server.el (server--on-display-p): New function.
8978 (server--on-display-p): Use it.
8979
8980 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8981
8982 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8983 (bug#11145).
8984
8985 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8986
8987 * comint.el (comint--common-quoted-suffix): Check string boundary
8988 before comparing (bug#11158).
8989 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8990
8991 2012-04-04 Chong Yidong <cyd@gnu.org>
8992
8993 * minibuffer.el (completion-extra-properties): Doc fix.
8994
8995 * subr.el (delayed-warnings-hook): Doc fix.
8996
8997 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8998
8999 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9000 selection (Bug#11159).
9001 (epa-insert-keys): Inform that the default public key will be
9002 exported if no key is selected.
9003
9004 2012-04-04 Richard Stallman <rms@gnu.org>
9005
9006 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9007
9008 2012-04-03 Chong Yidong <cyd@gnu.org>
9009
9010 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9011 mail-insert-file, not its obsolete alias mail-attach-file.
9012
9013 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9014
9015 * notifications.el (notifications-notify): Fix docstring.
9016
9017 2012-04-02 Glenn Morris <rgm@gnu.org>
9018
9019 * emacs-lisp/authors.el (authors-aliases): Another addition.
9020
9021 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9022
9023 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9024 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9025 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9026
9027 2012-04-01 Chong Yidong <cyd@gnu.org>
9028
9029 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9030 Handle root directory properly.
9031 (copy-directory): Caller changed.
9032
9033 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9034 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9035
9036 2012-03-31 Glenn Morris <rgm@gnu.org>
9037
9038 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9039
9040 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9041
9042 * calendar/calendar.el (calendar-window-list)
9043 (calendar-hide-window): Restore. (Bug#11140)
9044 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9045
9046 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9047
9048 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9049
9050 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9051 Check if file is a symlink (Bug#10489).
9052
9053 * files.el (copy-directory): Likewise.
9054
9055 2012-03-30 Chong Yidong <cyd@gnu.org>
9056
9057 * image.el (imagemagick-types-inhibit)
9058 (imagemagick-register-types): Doc fix.
9059
9060 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9061
9062 * textmodes/ispell.el (ispell-get-extended-character-mode):
9063 Disable extended-char-mode for hunspell. hunspell does not support it
9064 and treats ~word as ordinary words in pipe mode.
9065
9066 2012-03-30 Glenn Morris <rgm@gnu.org>
9067
9068 * tutorial.el (help-with-tutorial): Ensure local variables don't
9069 happen to make the buffer read-only. (Bug#11127)
9070
9071 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9072
9073 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9074 (perl-calculate-indent): Return `noindent' in strings.
9075
9076 2012-03-28 Sam Steingold <sds@gnu.org>
9077
9078 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9079 instead of the broken adhockery which does not prevent calendar
9080 buffers from being displayed at random after exit.
9081 (calendar-window-list, calendar-hide-window): Remove the broken
9082 adhockery.
9083
9084 2012-03-28 Glenn Morris <rgm@gnu.org>
9085
9086 * replace.el (query-replace-map): Doc fix.
9087
9088 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9089
9090 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9091 contents. (Bug#11109)
9092
9093 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9094
9095 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9096 (bug#11077).
9097 (avl-tree--check, avl-tree--check-node): New funs.
9098
9099 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9100
9101 * window.el (switch-to-visible-buffer): New option.
9102 (switch-to-prev-buffer, switch-to-next-buffer):
9103 Observe switch-to-visible-buffer. Make sure that checking for a window
9104 showing a buffer already is done on the same frame.
9105
9106 2012-03-27 Glenn Morris <rgm@gnu.org>
9107
9108 * startup.el (mail-host-address): Doc fix.
9109
9110 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9113 than 197 variables.
9114
9115 2012-03-26 Ami Fischman <ami@fischman.org>
9116
9117 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9118
9119 2012-03-26 Glenn Morris <rgm@gnu.org>
9120
9121 * files.el (save-buffers-kill-emacs): Doc fix.
9122
9123 * startup.el (normal-top-level, command-line, command-line-1):
9124 Give them doc strings.
9125
9126 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9127
9128 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9129 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9130
9131 2012-03-25 Chong Yidong <cyd@gnu.org>
9132
9133 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9134 theme if it was previously enabled before (Bug#11031).
9135
9136 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9137 spec with custom-face-get-current-spec if its :shown-value is not
9138 determined yet (Bug#9337).
9139 (customize-create-theme, custom-theme-revert): Doc fixes.
9140
9141 * button.el (button-at): Minor addition to docstring.
9142
9143 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9144
9145 * vc/vc.el (vc-merge): Fix a prompt.
9146
9147 2012-03-24 Chong Yidong <cyd@gnu.org>
9148
9149 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9150 point (Bug#9623).
9151
9152 * button.el (button-at): Minor addition to docstring.
9153
9154 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9155
9156 * newcomment.el (comment-choose-indent): No space after BOL.
9157
9158 2012-03-22 Sam Steingold <sds@gnu.org>
9159
9160 * window.el (switch-to-prev-buffer): Revert last patch because the
9161 bug turned out to be an advertised feature (Elisp manual 28.14).
9162
9163 2012-03-22 Glenn Morris <rgm@gnu.org>
9164
9165 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9166 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9167
9168 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9169
9170 * net/network-stream.el (network-stream-open-starttls): Make error
9171 message under Windows be less misleading.
9172
9173 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9174
9175 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9176 understands (bug#9942).
9177
9178 2012-03-22 Chong Yidong <cyd@gnu.org>
9179
9180 * simple.el (end-of-visible-line): Handle return value of
9181 next-single-property-change properly (Bug#9371).
9182
9183 2012-03-22 Kenichi Handa <handa@m17n.org>
9184
9185 * international/quail.el (quail-insert-kbd-layout): Fix previous
9186 change. To avoid unwanted bidi reordering, use
9187 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9188
9189 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9190
9191 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9192 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9193 (ruby-beginning-of-indent): Be more careful with the difference
9194 between word-boundary and symbol boundary.
9195 (ruby-mode-syntax-table): Make : a symbol constituent.
9196
9197 2012-03-21 Andreas Politz <politza@fh-trier.de>
9198
9199 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9200
9201 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9202
9203 * progmodes/etags.el (tags-completion-at-point-function):
9204 Improve last fix.
9205
9206 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9207
9208 2012-03-21 Sam Steingold <sds@gnu.org>
9209
9210 * progmodes/etags.el (tags-completion-at-point-function):
9211 Avoid the error when point is inside the pattern.
9212
9213 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9214
9215 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9216 line (Bug#10855).
9217
9218 2012-03-21 Drew Adams <drew.adams@oracle.com>
9219
9220 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9221
9222 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9223
9224 * ido.el (ido-set-current-directory, ido-read-internal)
9225 (ido-choose-completion-string, ido-completion-help): Handle nil
9226 value of ido-completion-buffer (Bug#11008).
9227
9228 2012-03-21 Sam Steingold <sds@gnu.org>
9229
9230 * window.el (switch-to-prev-buffer): Do not switch to a visible
9231 window previous buffer, just like with the frame previous buffers.
9232
9233 2012-03-21 Chong Yidong <cyd@gnu.org>
9234
9235 * faces.el (make-face, make-empty-face, copy-face):
9236 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9237 Doc fixes.
9238
9239 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9240
9241 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9242 (widget-complete): Remove broken use of it.
9243
9244 2012-03-20 Chong Yidong <cyd@gnu.org>
9245
9246 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9247 Use string-width and truncate-string-width to handle arbitrary
9248 characters.
9249
9250 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9251
9252 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9253 to draw rectangles, not squares. (Regression introduced by revno
9254 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9255
9256 2012-03-18 Chong Yidong <cyd@gnu.org>
9257
9258 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9259 it is not yet defined (for temacs).
9260
9261 2012-03-18 Leo Liu <sdl.web@gmail.com>
9262
9263 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9264 prefix.
9265
9266 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9267
9268 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9269 (ispell-choices-win-default-height, ispell-silently-savep)
9270 (ispell-dictionary-alist, ispell-encoding8-command)
9271 (ispell-check-version, ispell-aspell-find-dictionary)
9272 (ispell-valid-dictionary-list, ispell-words-keyword)
9273 (ispell-get-word, ispell-internal-change-dictionary)
9274 (ispell-region, ispell-skip-region-list)
9275 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9276 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9277 (ispell-message-text-end, ispell-message)
9278 (ispell-buffer-local-parsing): Doc fix.
9279
9280 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9281
9282 * htmlfontify.el: Add support for code block fontification for ODT
9283 export (Bug #9914).
9284 (hfy-optimisations): Define new option
9285 `body-text-only'
9286 (hfy-fontify-buffer): Honor above setting.
9287 (hfy-begin-span, hfy-end-span): New routines factored out form
9288 `hfy-fontify-buffer'.
9289 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9290 that permit insertion of custom tags.
9291 (hfy-fontify-buffer): Use above handlers.
9292 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9293 (hfy-face-to-css): Re-defined to be a variable.
9294 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9295 over multiple runs. This is made possible by having the caller let
9296 bind a special variable `hfy-user-sheet-assoc'.
9297 (htmlfontify-string): New defun.
9298 (hfy-compile-face-map): Make sure that the last char in the
9299 buffer is correctly fontified.
9300 (hfy-face-resolve-face): Whitespace only change.
9301
9302 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9303
9304 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9305 message more clear.
9306
9307 2012-03-16 Leo Liu <sdl.web@gmail.com>
9308
9309 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9310
9311 2012-03-16 Alan Mackenzie <acm@muc.de>
9312
9313 Further optimise the handling of large macros.
9314
9315 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9316 limit to a call of `c-literal-limits'.
9317 (c-determine-+ve-limit): New function.
9318 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9319 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9320 In CASE 5B, restrict a search limit to 500.
9321 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9322
9323 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9324 Restrict macro bounds to +-500 from after-change's BEG END.
9325
9326 2012-03-16 Leo Liu <sdl.web@gmail.com>
9327
9328 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9329
9330 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9331
9332 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9333 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9334
9335 2012-03-16 Glenn Morris <rgm@gnu.org>
9336
9337 * view.el (view-buffer, view-buffer-other-window)
9338 (view-buffer-other-frame): Doc fixes re special mode-class.
9339
9340 * subr.el (eval-after-load): If named feature is provided not from
9341 a file, run after-load forms. (Bug#10946)
9342
9343 * calendar/calendar.el (calendar-insert-at-column):
9344 Handle non-unit-width characters a bit better. (Bug#10978)
9345
9346 2012-03-15 Chong Yidong <cyd@gnu.org>
9347
9348 * emacs-lisp/ring.el (ring-extend): New function.
9349 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9350
9351 * comint.el (comint-read-input-ring)
9352 (comint-add-to-input-history): Grow comint-input-ring lazily.
9353
9354 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9355
9356 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9357 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9358
9359 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9360 (imenu-add-to-menubar): Don't add a redundant index.
9361 (imenu-update-menubar): Handle a dynamically composed keymap.
9362
9363 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9364
9365 * mail/sendmail.el (mail-encode-header):
9366 Bind rfc2047-encode-encoded-words to nil.
9367
9368 2012-03-13 Glenn Morris <rgm@gnu.org>
9369
9370 * calendar/calendar.el (calendar-string-spread):
9371 Handle non-unit-width characters a bit better. (Bug#10978)
9372
9373 2012-03-13 Leo Liu <sdl.web@gmail.com>
9374
9375 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9376 directory and file as argument (Bug#10822).
9377
9378 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9379
9380 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9381 For dynamically generated code, follow $PC.
9382 (gdb-disassembly-handler-custom): Handle no function name case.
9383
9384 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9385
9386 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9387 * emulation/ws-mode.el (ws-query-replace):
9388 * sort.el (sort-regexp-fields):
9389 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9390
9391 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9392
9393 * dabbrev.el: Fix cycle completion order (bug#10963).
9394 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9395 (dabbrev-completion): Don't use an obarray; provide
9396 a cycle-sort-function.
9397
9398 2012-03-12 Leo Liu <sdl.web@gmail.com>
9399
9400 * simple.el (kill-new): Use equal-including-properties for comparison.
9401 (kill-do-not-save-duplicates): Doc fix.
9402
9403 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9404
9405 * dabbrev.el: Fix cycle completion (bug#10963).
9406 Use lexical binding and wrap to 80 columns.
9407 (dabbrev-completion): Delay computing the list of completions.
9408
9409 2012-03-12 Kenichi Handa <handa@m17n.org>
9410
9411 * international/quail.el (quail-insert-kbd-layout): Surround each
9412 row by LRO and PDF instead of inserting many LRMs. Pad the left
9413 and right of each non-spacing marks. Insert invisible space
9414 between lower and upper characters to prevent composition.
9415
9416 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9417
9418 * minibuffer.el (minibuffer-complete): Don't get confused when the
9419 function is run twice via different commands (bug#10958).
9420 (complete-with-action): Fix docstring.
9421
9422 2012-03-12 Chong Yidong <cyd@gnu.org>
9423
9424 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9425 (nxml-completion-at-point-function): New function.
9426 (nxml-mode): Use it.
9427 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9428
9429 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9430 Load generated autoloads file before byte compiling (Bug#10970).
9431 (package--make-autoloads-and-compile): New helper fun.
9432
9433 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9434
9435 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9436
9437 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9438
9439 * autorevert.el (auto-revert-handler): Ensure, that
9440 file-readable-p is applied only for local files or in
9441 auto-revert-tail-mode.
9442
9443 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9444
9445 * server.el (server-eval-at): Handle non-tcp connections.
9446 Decode result string.
9447
9448 * server.el (server-msg-size): New constant.
9449 (server-reply-print): New function.
9450 (server-eval-and-print): Use it.
9451 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9452 Handle -print-nonl.
9453
9454 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9455
9456 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9457 (Bug#10987).
9458
9459 2012-03-11 Chong Yidong <cyd@gnu.org>
9460
9461 * simple.el (goto-line): Doc fix (Bug#9938).
9462
9463 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9464
9465 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9466 when finished (Bug#10963).
9467
9468 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9469
9470 * window.el (split-window-below): Fix bug in case where
9471 split-window-keep-point is nil (Bug#10971).
9472
9473 2012-03-11 Juri Linkov <juri@jurta.org>
9474
9475 * replace.el (replace-highlight): Set isearch-word to nil
9476 unconditionally. (Bug#10887)
9477
9478 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9479
9480 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9481 mairix-replace-illegal-chars; all callers changed. Don't remove
9482 ^, ~, and = characters: they are meaningful in mairix search specs.
9483 (mairix-widget-create-query): Add usage information about mairix
9484 search forms: negating words, searching for substrings, etc.
9485
9486 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9487
9488 * international/fontset.el (font-encoding-alist): Add an entry for
9489 ksx1001 (Bug#5667).
9490
9491 2012-03-10 Richard Stallman <rms@gnu.org>
9492
9493 * mail/sendmail.el (mail-encode-header):
9494 Set rfc2047-encode-encoded-words.
9495
9496 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9497
9498 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9499 view buffer means not swapped.
9500 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9501 (rmail-write-region-annotate): Error if real text has disappeared.
9502
9503 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9504
9505 2012-03-10 Chong Yidong <cyd@gnu.org>
9506
9507 * emulation/cua-rect.el (cua--init-rectangles):
9508 * emulation/cua-base.el (cua--init-keymaps):
9509 Add delete-forward-char to remappings (Bug#9666).
9510
9511 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9512
9513 * speedbar.el (speedbar-unhighlight-one-tag-line):
9514 Avoid unhighlighting due to frame switching (Bug#10275).
9515
9516 2012-03-10 Chong Yidong <cyd@gnu.org>
9517
9518 * minibuffer.el (completion-in-region, completion-help-at-point):
9519 Give the completion field overlay a high priority (Bug#6830).
9520
9521 * dired.el (dired-goto-file): Recognize absolute file name
9522 listings (Bug#7126).
9523 (dired-goto-file-1): New helper function.
9524 (dired-toggle-read-only): Inhibit warnings.
9525
9526 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9527
9528 * net/dbus.el (dbus-property-handler): Return empty array if
9529 there are no properties.
9530
9531 2012-03-09 Leo Liu <sdl.web@gmail.com>
9532
9533 * savehist.el (savehist-printable): Stricter check for string
9534 value (Bug#10937).
9535
9536 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9537
9538 * mail/smtpmail.el (smtpmail-send-it):
9539 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9540 valid mbox format.
9541
9542 2012-03-09 Glenn Morris <rgm@gnu.org>
9543
9544 * files.el (dir-locals-find-file):
9545 Don't check result is regular, readable.
9546 (dir-locals-read-from-file): Demote errors.
9547
9548 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9549
9550 * international/quail.el (quail-insert-kbd-layout):
9551 Insert invisible LRM characters before each character in a keyboard
9552 layout cell, to prevent their reordering by bidi display engine.
9553 For details, see the discussion in
9554 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9555
9556 2012-03-08 Alan Mackenzie <acm@muc.de>
9557
9558 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9559 the starting position; make it extend the marked region when
9560 invoked repeatedly - all under appropriate circumstances.
9561 Fixes bugs #5525, #10906.
9562
9563 2012-03-08 Glenn Morris <rgm@gnu.org>
9564
9565 * files.el (locate-dominating-file, dir-locals-find-file):
9566 Undo 2012-03-06 change.
9567
9568 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9569
9570 * international/quail.el (quail-help):
9571 Force bidi-paragraph-direction be left-to-right. See discussion in
9572 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9573 for the reason.
9574
9575 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9576
9577 Avoid superfluous registering of signals. (Bug#10807)
9578
9579 * notifications.el (notifications-on-action-object)
9580 (notifications-on-close-object): New defvars.
9581 (notifications-on-action-signal, notifications-on-closed-signal):
9582 Unregister the signal if not needed any longer.
9583 (notifications-notify): Register `notifications-action-signal' or
9584 `notifications-closed-signal', if :on-action or :on-close has been
9585 passed as argument.
9586
9587 2012-03-07 Chong Yidong <cyd@gnu.org>
9588
9589 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9590 non-X platforms.
9591
9592 2012-03-06 Glenn Morris <rgm@gnu.org>
9593
9594 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9595 (x-disown-selection-internal, x-get-selection-internal):
9596 Doc fix (add arglist signatures). (Bug#10783)
9597
9598 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9599
9600 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9601 Handle breakpoints with no "type".
9602
9603 2012-03-06 Glenn Morris <rgm@gnu.org>
9604
9605 * files.el (locate-dominating-file): Add optional predicate argument.
9606 (dir-locals-find-file): Make use of above change.
9607
9608 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9609
9610 * info.el (Info-insert-dir): Also try "dir.gz".
9611
9612 2012-03-06 Glenn Morris <rgm@gnu.org>
9613
9614 * files.el (dir-locals-find-file):
9615 Ignore non-readable or non-regular files. (Bug#10928)
9616
9617 * files.el (locate-dominating-file): Doc fix.
9618
9619 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9620
9621 * calendar/calendar.el (calendar-set-mode-line):
9622 `getenv' returns a string. (Bug#10951)
9623
9624 2012-03-05 Leo Liu <sdl.web@gmail.com>
9625
9626 * simple.el (backward-delete-char-untabify): Constrain point to
9627 field (Bug#10939).
9628
9629 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9630
9631 2012-03-05 Chong Yidong <cyd@gnu.org>
9632
9633 * simple.el (count-words): If called from Lisp, return the word
9634 count, for symmetry with `count-lines'. Arglist changed.
9635 (count-words--message): Args changed. Consolidate counting code
9636 from count-words and count-words-region.
9637 (count-words-region): Caller changed.
9638 (count-lines-region): Make it an obsolete alias.
9639
9640 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9641
9642 * saveplace.el (save-place-to-alist)
9643 (save-place-ignore-files-regexp): Allow value nil to disable this
9644 feature.
9645
9646 2012-03-04 Chong Yidong <cyd@gnu.org>
9647
9648 * faces.el (face-spec-reset-face): For the default face, reset the
9649 attributes to default values (Bug#10748).
9650
9651 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9652
9653 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9654 previous patch: Check `message-send-mail-function', and not the
9655 default function (bug#10897).
9656
9657 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9658
9659 * notifications.el (notifications-on-action-signal)
9660 (notifications-on-closed-signal): Check for unique service name of
9661 incoming event. Fix error in removing entry.
9662 (top): Register for signals with wildcard service name.
9663 (notifications-notify): Use daemon unique service name for map entries.
9664
9665 2012-03-04 Chong Yidong <cyd@gnu.org>
9666
9667 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9668
9669 2012-03-04 Glenn Morris <rgm@gnu.org>
9670
9671 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9672 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9673 (expand-abbrev, define-abbrev-table): Doc fixes.
9674
9675 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9676
9677 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9678 `message-default-send-mail-function' and not `send-mail-function'
9679 when doing the prompting for `sendmail-query-once' before sending
9680 in Message buffers (bug#10897).
9681
9682 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9683 This is inconsistent with all the other stream functions, which leave
9684 the setting up to the higher levels (if so wanted) (bug#10931).
9685
9686 2012-03-02 Alan Mackenzie <acm@muc.de>
9687
9688 Depessimize the handling of very large macros.
9689
9690 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9691 (c-macro-cache-syntactic): New variables to implement a one
9692 element macro cache.
9693 (c-invalidate-macro-cache): New function.
9694 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9695 Adapt to use the new cache.
9696 (c-state-safe-place): Use better the cache of safe positions.
9697 (c-state-semi-nonlit-pos-cache)
9698 (c-state-semi-nonlit-pos-cache-limit):
9699 New variables for...
9700 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9701 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9702 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9703 Use c-state-semi-safe-place.
9704
9705 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9706 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9707
9708 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9709
9710 * jka-compr.el (jka-compr-call-process):
9711 Apply `file-accessible-directory-p' only when the default directory is
9712 not remote.
9713
9714 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9715
9716 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9717 access of FILE2, if FILE1 does not exist.
9718
9719 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9720 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9721
9722 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9723 Add "PAGER=" to `process-environment'.
9724
9725 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9726
9727 * progmodes/sql.el: Bug fix
9728 (sql-get-login-ext): Save login values in globals.
9729 (sql-get-login): Use new version of `sql-get-login-ext'.
9730 (sql-interactive-mode): Set global `sql-connection' to nil.
9731 (sql-connect): Set global values for connection.
9732 (sql-product-interactive): Save global values as buffer local.
9733
9734 2012-02-29 Leo Liu <sdl.web@gmail.com>
9735
9736 * abbrev.el (define-abbrevs): Reset sys to nil.
9737
9738 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9739
9740 * files.el (file-equal-p): Rename from `files-equal-p'.
9741 Return nil when one or both files don't exist.
9742 (file-subdir-of-p): Now only top directory must exists,
9743 return nil if it doesn't.
9744 (copy-directory): No need to test with `file-subdir-of-p' after
9745 creating dir.
9746 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9747 to `file-equal-p'.
9748
9749 2012-02-28 Glenn Morris <rgm@gnu.org>
9750
9751 * shell.el (shell-mode):
9752 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9753 * play/landmark.el (landmark-font-lock-face-O):
9754 * play/handwrite.el (handwrite):
9755 * play/gomoku.el (gomoku-O):
9756 * net/browse-url.el (browse-url-browser-display):
9757 * international/mule.el (define-charset):
9758 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9759 * filesets.el (filesets-find-file-delay):
9760 * eshell/em-xtra.el (eshell-xtra):
9761 * eshell/em-unix.el (eshell-grep):
9762 * emulation/viper.el (viper-mode):
9763 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9764 * emacs-lisp/easymenu.el (easy-menu-define):
9765 * calendar/timeclock.el (timeclock-use-display-time):
9766 * bs.el (bs-mode):
9767 * bookmark.el (bookmark-save-flag):
9768 Doc fix (standardize possessive apostrophe usage).
9769
9770 2012-02-27 Chong Yidong <cyd@gnu.org>
9771
9772 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9773 Fix key-binding lookup for ESC key (Bug#9146).
9774
9775 * font-lock.el (font-lock-specified-p): Rename from
9776 font-lock-spec-present. Callers changed.
9777
9778 2012-02-27 Daniel Hackney <dan@haxney.org>
9779
9780 * emacs-lisp/package.el (package-compute-transaction):
9781 Handle holding a package version to t in package-load-list.
9782
9783 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9784
9785 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9786 (tramp-get-inode, tramp-get-device): Use cached values.
9787
9788 2012-02-26 Alan Mackenzie <acm@muc.de>
9789
9790 Check there is a font-lock specification before doing initial
9791 fontification.
9792
9793 * font-core.el (font-lock-mode): Move the conditional from
9794 :after-hook to font-lock-initial-fontify.
9795 (font-lock-default-function): Move the check for a specification
9796 to font-lock-spec-present.
9797
9798 * font-lock.el (font-lock-initial-fontify): Call ...
9799 (font-lock-spec-present): New function.
9800
9801 2012-02-26 Jim Blandy <jimb@red-bean.com>
9802
9803 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9804 (gdb-send): Apply it to the operand of the '-interpreter-exec
9805 console' command, so that we can pass arguments with (say) quotes
9806 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9807
9808 2012-02-26 Chong Yidong <cyd@gnu.org>
9809
9810 * help-fns.el (describe-function-1): Clarify description of
9811 remapping (Bug#10844).
9812
9813 * files.el (files-equal-p): Doc fix.
9814 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9815 and quit the loop once a mismatch is found.
9816
9817 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9818
9819 * bs.el (bs--show-with-configuration): Don't throw an error
9820 if the window cannot be split; otherwise, subsequent calls to
9821 bs-show fail, restoring a stale window config. (Bug#10882)
9822
9823 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9824
9825 * term/ns-win.el (global-map): Bind ns-drag-file to
9826 ns-find-file (Bug#5855, Bug#10050).
9827
9828 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9829
9830 * calendar/parse-time.el (parse-time-string): Allow extractor to
9831 return nil.
9832
9833 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9834
9835 * net/tramp.el (tramp-file-name-for-operation):
9836 Add `files-equal-p' and `file-subdir-of-p'.
9837
9838 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9839 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9840 Add COPY-CONTENTS argument.
9841
9842 2012-02-25 Chong Yidong <cyd@gnu.org>
9843
9844 Add custom groups for VC backends, for consistency with vc-bzr.
9845
9846 * vc/vc-arch.el (vc-arch):
9847 * vc/vc-cvs.el (vc-cvs):
9848 * vc/vc-git.el (vc-git):
9849 * vc/vc-hg.el (vc-hg):
9850 * vc/vc-mtn.el (vc-mtn):
9851 * vc/vc-rcs.el (vc-rcs):
9852 * vc/vc-sccs.el (vc-sccs):
9853 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9854 All relevant defcustoms reassigned.
9855
9856 2012-02-25 Chong Yidong <cyd@gnu.org>
9857
9858 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9859
9860 * term/x-win.el (x-initialize-window-system): Reduce default for
9861 x-selection-timeout to 5 seconds (Bug#8869).
9862
9863 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9864
9865 * files.el (files-equal-p, file-subdir-of-p): New functions.
9866 (copy-directory): Error when trying to copy a directory on itself.
9867 Add missing copy-contents arg to tramp handler.
9868 * dired-aux.el (dired-copy-file-recursive): Same.
9869 (dired-create-files): Modify destination when source is equal to
9870 dest when copying files.
9871 Return also when dest is a subdir of source. (Bug#10489)
9872
9873 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9874
9875 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9876 (Bug#10874)
9877
9878 2012-02-23 Alan Mackenzie <acm@muc.de>
9879
9880 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9881 parameter "after-hook:" to allow the expansion to run code after
9882 the execution of the mode hooks.
9883
9884 * font-lock.el (font-lock-initial-fontify): New function extracted
9885 from font-lock-mode-internal.
9886
9887 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9888 :after-hook.
9889
9890 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9893 (completion--cache-all-sorted-completions): New function.
9894 (completion-all-sorted-completions): Use it.
9895 (completion--do-completion, minibuffer-force-complete):
9896 Use it to re-instate the flush hook.
9897
9898 * icomplete.el (icomplete-completions): Replace last fix with a better
9899 one (bug#10850).
9900
9901 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9902
9903 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9904 when it might call us back infinitely (bug#10797).
9905
9906 2012-02-23 Glenn Morris <rgm@gnu.org>
9907
9908 * minibuffer.el (completion-category-overrides): Doc fix.
9909
9910 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9913 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9914
9915 2012-02-23 Glenn Morris <rgm@gnu.org>
9916
9917 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9918 (authors-obsolete-files-regexps, authors-ignored-files)
9919 (authors-ambiguous-files, authors-renamed-files-alist):
9920 Add more entries.
9921
9922 2012-02-23 Juri Linkov <juri@jurta.org>
9923
9924 * isearch.el (isearch-occur): Sync interactive spec with occur's
9925 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9926
9927 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9928
9929 2012-02-22 Juri Linkov <juri@jurta.org>
9930
9931 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9932 (ucs-insert): Doc fix. Check for hex digits in the string.
9933 Don't display `nil' in the error message. (Bug#10857)
9934
9935 2012-02-22 Alan Mackenzie <acm@muc.de>
9936
9937 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9938
9939 2012-02-22 Glenn Morris <rgm@gnu.org>
9940
9941 * ffap.el (ffap-c-path):
9942 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9943
9944 2012-02-22 Chong Yidong <cyd@gnu.org>
9945
9946 * custom.el (load-theme): Doc fix.
9947
9948 2012-02-22 Glenn Morris <rgm@gnu.org>
9949
9950 * dired-x.el (dired-guess-shell-alist-default):
9951 Remove escape sequences from nroff output. (Bug#172)
9952
9953 2012-02-21 Glenn Morris <rgm@gnu.org>
9954
9955 * vc/emerge.el (emerge-defvar-local):
9956 Set `permanent-local' property rather than unused `preserved'.
9957
9958 * textmodes/picture.el (picture-delete-char): New alias.
9959 (picture-mode-map): Use it. (Bug#10860)
9960 (picture-mode): Doc fix.
9961
9962 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9963
9964 * newcomment.el (uncomment-region-default): Remove unused binding.
9965
9966 2012-02-21 Glenn Morris <rgm@gnu.org>
9967
9968 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9969 (picture-self-insert, picture-tab-chars): Doc fix.
9970 (picture-mode-map): Fix C-a, C-e.
9971
9972 2012-02-20 Glenn Morris <rgm@gnu.org>
9973
9974 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9975
9976 2012-02-20 Leo Liu <sdl.web@gmail.com>
9977
9978 * icomplete.el (icomplete-completions): Check FROM arg before
9979 passing to substring (Bug#10850).
9980
9981 2012-02-19 Chong Yidong <cyd@gnu.org>
9982
9983 * comint.el: Require ansi-color.
9984 (comint-output-filter-functions): Add ansi-color-process-output.
9985
9986 * ansi-color.el: Don't set comint-output-filter-functions; it is
9987 now in the initial value defined in comint.el.
9988 (ansi-color-apply-face-function): New variable.
9989 (ansi-color-apply-on-region): Use it.
9990 (ansi-color-apply-overlay-face): New function.
9991
9992 * shell.el (shell): No need to require ansi-color.
9993 (shell-mode): Use ansi-color-apply-face-function to highlight
9994 color escapes using font-lock-face property (Bug#10835).
9995
9996 2012-02-19 Chong Yidong <cyd@gnu.org>
9997
9998 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9999 mode-line formats (Bug#10839).
10000
10001 2012-02-18 Glenn Morris <rgm@gnu.org>
10002
10003 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10004
10005 * mail/undigest.el (unforward-rmail-message): Doc fix.
10006
10007 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10008
10009 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10010
10011 * international/characters.el (script-list): Sync with the latest
10012 Unicode Character Database.
10013
10014 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10015
10016 * international/titdic-cnv.el: Remove duplicate coding tag.
10017 * language/cham.el: Likewise.
10018 * language/tai-viet.el: Likewise.
10019
10020 2012-02-18 Glenn Morris <rgm@gnu.org>
10021
10022 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10023 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10024 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10025 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10026 * calendar/holidays.el (holiday-bahai-holidays)
10027 (calendar-holidays, list-holidays):
10028 Use utf-8 Bahá'í in doc-strings, menus, etc.
10029
10030 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10031
10032 * saveplace.el (save-place-ignore-files-regexp): New variable
10033 allowing for excluding files from saving their location of point.
10034 The default value matches the temporary commit message editing
10035 files from Git, SVN, Bazaar, and Mercurial.
10036 (save-place-to-alist): Use it.
10037
10038 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10039 Stefan Monnier <monnier@iro.umontreal.ca>
10040
10041 * newcomment.el (uncomment-region-default): Don't leave extra space
10042 when an arg is provided (bug#8150).
10043
10044 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10045
10046 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10047
10048 2012-02-17 Glenn Morris <rgm@gnu.org>
10049
10050 * net/socks.el: Require network-stream. (Bug#10599)
10051
10052 2012-02-17 Kenichi Handa <handa@m17n.org>
10053
10054 * international/charprop.el:
10055 * international/uni-name.el:
10056 * international/uni-old-name.el:
10057 * international/uni-comment.el: Regenerate.
10058
10059 2012-02-16 Glenn Morris <rgm@gnu.org>
10060
10061 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10062 Interactively in calendar buffer, give an error if not on a date.
10063
10064 2012-02-15 Glenn Morris <rgm@gnu.org>
10065
10066 * shell.el (shell-delimiter-argument-list):
10067 Revert 2011-02-17 change. (Bug#8027)
10068
10069 2012-02-15 Chong Yidong <cyd@gnu.org>
10070
10071 * minibuffer.el (completion-at-point-functions): Doc fix.
10072
10073 * custom.el (defcustom): Doc fix; note use of defvar.
10074
10075 2012-02-15 Glenn Morris <rgm@gnu.org>
10076
10077 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10078 Doc fixes.
10079
10080 2012-02-14 Glenn Morris <rgm@gnu.org>
10081
10082 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10083
10084 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10085
10086 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10087 way the ports list is computed.
10088 (smtpmail-query-smtp-server): Prompt the user for a port number if
10089 we can't connect to any of the standard ports (bug#10810).
10090
10091 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10092
10093 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10094
10095 2012-02-13 Glenn Morris <rgm@gnu.org>
10096
10097 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10098
10099 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10100
10101 * net/gnutls.el (gnutls-trustfiles): New variable.
10102 (gnutls-negotiate): Use it.
10103
10104 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10105
10106 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10107 does its stuff if Gnus is running.
10108
10109 2012-02-13 Alan Mackenzie <acm@muc.de>
10110
10111 Fix a loop in c-set-fl-decl-start.
10112
10113 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10114 c-backward-syntactic-ws actually moves backwards.
10115
10116 2012-02-13 Leo Liu <sdl.web@gmail.com>
10117
10118 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10119 beginning so that all \C-o chars are removed.
10120
10121 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10122
10123 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10124
10125 2012-02-12 Alan Mackenzie <acm@muc.de>
10126
10127 Fix infinite loop with long macros.
10128 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10129
10130 2012-02-12 Chong Yidong <cyd@gnu.org>
10131
10132 * window.el (display-buffer): Doc fix (Bug#10785).
10133
10134 2012-02-12 Glenn Morris <rgm@gnu.org>
10135
10136 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10137 (x-disown-selection-internal, x-get-selection-internal):
10138 Sync docs with the xselect.c versions.
10139
10140 * allout-widgets.el: Add missing license notice.
10141
10142 2012-02-11 Glenn Morris <rgm@gnu.org>
10143
10144 * select.el (x-get-selection-internal, x-own-selection-internal)
10145 (x-disown-selection-internal):
10146 * x-dnd.el (x-get-selection-internal): Update declarations.
10147
10148 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10149
10150 * window.el (window-sides-slots):
10151 * tool-bar.el (tool-bar-position):
10152 * term/xterm.el (xterm-extra-capabilities):
10153 * ses.el (ses-self-reference-early-detection):
10154 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10155 (verilog-auto-wire-type)
10156 (verilog-auto-delete-trailing-whitespace)
10157 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10158 (verilog-auto-tieoff-declaration):
10159 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10160 (sql-oracle-statement-starters, sql-oracle-scan-on):
10161 * progmodes/prolog.el (prolog-align-comments-flag)
10162 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10163 (prolog-left-indent-regexp, prolog-paren-indent-p)
10164 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10165 (prolog-types, prolog-mode-specificators)
10166 (prolog-determinism-specificators, prolog-directives)
10167 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10168 (prolog-electric-dot-flag)
10169 (prolog-electric-dot-full-predicate-template)
10170 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10171 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10172 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10173 (prolog-program-switches, prolog-prompt-regexp)
10174 (prolog-debug-on-string, prolog-debug-off-string)
10175 (prolog-trace-on-string, prolog-trace-off-string)
10176 (prolog-zip-on-string, prolog-zip-off-string)
10177 (prolog-use-standard-consult-compile-method-flag)
10178 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10179 (prolog-imenu-max-lines, prolog-info-predicate-index)
10180 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10181 (prolog-char-quote-workaround):
10182 * progmodes/cc-vars.el (c-defun-tactic):
10183 * net/tramp.el (tramp-encoding-command-interactive)
10184 (tramp-local-end-of-line):
10185 * net/soap-client.el (soap-client):
10186 * net/netrc.el (netrc-file):
10187 * net/gnutls.el (gnutls):
10188 * minibuffer.el (completion-category-overrides)
10189 (completion-cycle-threshold)
10190 (completion-pcm-complete-word-inserts-delimiters):
10191 * man.el (Man-name-local-regexp):
10192 * mail/feedmail.el (feedmail-display-full-frame):
10193 * international/characters.el (glyphless-char-display-control):
10194 * eshell/em-ls.el (eshell-ls-date-format):
10195 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10196 (lisp-lambda-list-keyword-parameter-indentation)
10197 (lisp-lambda-list-keyword-parameter-alignment):
10198 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10199 * dired-x.el (dired-omit-verbose):
10200 * cus-theme.el (custom-theme-allow-multiple-selections):
10201 * calc/calc.el (calc-highlight-selections-with-faces)
10202 (calc-lu-field-reference, calc-lu-power-reference)
10203 (calc-note-threshold):
10204 * battery.el (battery-mode-line-limit):
10205 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10206 (archive-7z-update):
10207 * allout.el (allout-prefixed-keybindings)
10208 (allout-unprefixed-keybindings)
10209 (allout-inhibit-auto-fill-on-headline)
10210 (allout-flattened-numbering-abbreviation):
10211 * allout-widgets.el (allout-widgets-auto-activation)
10212 (allout-widgets-icons-dark-subdir)
10213 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10214 (allout-widgets-theme-dark-background)
10215 (allout-widgets-theme-light-background)
10216 (allout-widgets-item-image-properties-emacs)
10217 (allout-widgets-item-image-properties-xemacs)
10218 (allout-widgets-run-unit-tests-on-load)
10219 (allout-widgets-time-decoration-activity)
10220 (allout-widgets-hook-error-post-time)
10221 (allout-widgets-track-decoration):
10222 Add missing :version tags to new defcustoms and defgroups.
10223
10224 * progmodes/sql.el (sql-ansi-statement-starters)
10225 (sql-oracle-statement-starters): Add custom type.
10226
10227 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10228 (prolog-system-version): Give it a type.
10229
10230 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10231
10232 * term/pc-win.el (x-select-text, x-selection-owner-p)
10233 (x-own-selection-internal, x-disown-selection-internal)
10234 (x-get-selection-internal): Sync doc strings and argument lists
10235 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10236
10237 2012-02-11 Leo Liu <sdl.web@gmail.com>
10238
10239 * progmodes/python.el (python-end-of-statement): Fix infinite
10240 loop. (Bug#10788)
10241
10242 2012-02-10 Glenn Morris <rgm@gnu.org>
10243
10244 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10245 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10246
10247 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10248
10249 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10250 about SMTP before checking the From header.
10251
10252 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10253 into own function for reuse by emacsbug.el.
10254
10255 2012-02-10 Leo Liu <sdl.web@gmail.com>
10256
10257 * subr.el (condition-case-unless-debug): Rename from
10258 condition-case-no-debug. All callers changed.
10259 (with-demoted-errors): Fix caller.
10260
10261 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10262 * nxml/rng-valid.el (rng-do-some-validation):
10263 * emacs-lisp/package.el (package-refresh-contents)
10264 (package-menu-execute):
10265 * desktop.el (desktop-create-buffer):
10266 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10267
10268 2012-02-10 Glenn Morris <rgm@gnu.org>
10269
10270 * textmodes/bibtex.el:
10271 Add missing :version tags for new/changed defcustoms.
10272
10273 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10274
10275 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10276
10277 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10278 (smtpmail-via-smtp): Use it, or fall back on the From address.
10279 (smtpmail-send-it): Ditto.
10280
10281 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10282
10283 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10284 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10285 (byte-compile-tmp-var): New const.
10286 (byte-compile-defvar): Use it to minimize .elc size.
10287 Just use `defvar' rather than simulate it (bug#10761).
10288
10289 2012-02-09 Glenn Morris <rgm@gnu.org>
10290
10291 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10292
10293 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10294 Add :version tags.
10295
10296 * progmodes/compile.el (compilation-error-screen-columns)
10297 (compilation-first-column, compilation-filter-start): Doc fixes.
10298
10299 * vc/log-view.el (log-view-toggle-entry-display):
10300 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10301
10302 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10303 (report-emacs-bug-can-use-xdg-email):
10304 (report-emacs-bug-insert-to-mailer): Doc fixes.
10305 (report-emacs-bug): Message fix.
10306
10307 * net/browse-url.el (browse-url-can-use-xdg-open)
10308 (browse-url-xdg-open): Doc fixes.
10309
10310 * electric.el (electric-indent-mode, electric-pair-mode)
10311 (electric-layout-rules, electric-layout-mode): Doc fixes.
10312 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10313
10314 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10315
10316 * server.el (server-unselect-display): Don't inadvertently kill
10317 the current buffer. (Bug#10729)
10318
10319 2012-02-08 Glenn Morris <rgm@gnu.org>
10320
10321 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10322 (sql-list-table): Doc fixes.
10323
10324 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10325 Comment out (does nothing).
10326
10327 * completion.el (dynamic-completion-mode):
10328 * dirtrack.el (dirtrack-debug-mode):
10329 * electric.el (electric-layout-mode):
10330 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10331 * face-remap.el (text-scale-mode, buffer-face-mode):
10332 * iimage.el (iimage-mode):
10333 * image-mode.el (image-transform-mode):
10334 * minibuffer.el (completion-in-region-mode):
10335 * scroll-lock.el (scroll-lock-mode):
10336 * simple.el (next-error-follow-minor-mode):
10337 * tar-mode.el (tar-subfile-mode):
10338 * tooltip.el (tooltip-mode):
10339 * vcursor.el (vcursor-use-vcursor-map):
10340 * wid-browse.el (widget-minor-mode):
10341 * emulation/tpu-edt.el (tpu-edt-mode):
10342 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10343 * international/iso-ascii.el (iso-ascii-mode):
10344 * language/thai-util.el (thai-word-mode):
10345 * mail/supercite.el (sc-minor-mode):
10346 * net/goto-addr.el (goto-address-mode):
10347 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10348 * progmodes/cwarn.el (cwarn-mode):
10349 * progmodes/flymake.el (flymake-mode):
10350 * progmodes/glasses.el (glasses-mode):
10351 * progmodes/hideshow.el (hs-minor-mode):
10352 * progmodes/pascal.el (pascal-outline-mode):
10353 * textmodes/enriched.el (enriched-mode):
10354 * vc/smerge-mode.el (smerge-mode):
10355 Doc fixes (minor mode argument).
10356
10357 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10358
10359 * ls-lisp.el (ls-lisp-sanitize): New function.
10360 (ls-lisp-insert-directory): Use it to fix or remove any elements
10361 in file-alist with missing attributes. (Bug#4673)
10362
10363 2012-02-07 Alan Mackenzie <acm@muc.de>
10364
10365 Fix spurious recognition of c-in-knr-argdecl.
10366
10367 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10368 putative K&R region.
10369
10370 2012-02-07 Alan Mackenzie <acm@muc.de>
10371
10372 * progmodes/cc-engine.el (c-forward-objc-directive):
10373 Prevent looping in "#pragma mark @implementation".
10374
10375 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10376
10377 * notifications.el (notifications-on-closed-signal): Make `reason'
10378 optional. (Bug#10744)
10379
10380 2012-02-07 Glenn Morris <rgm@gnu.org>
10381
10382 * emacs-lisp/easy-mmode.el (define-minor-mode):
10383 Doc fixes for the macro and the mode it defines.
10384
10385 * image.el (imagemagick-types-inhibit): Doc fix.
10386
10387 * cus-start.el (imagemagick-render-type): Add it.
10388
10389 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10390
10391 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10392 Set the default at load time, too, so that `font-lock-fontify-buffer'
10393 can be called without setting up the entire mode first. This fixes
10394 a bug in `mm-inline-text' with C MIME parts.
10395
10396 2012-02-06 Chong Yidong <cyd@gnu.org>
10397
10398 * simple.el (list-processes--refresh): Delete exited processes
10399 (Bug#8094).
10400
10401 * comint.el (comint-next-prompt): next-single-char-property-change
10402 and prev-single-char-property-change never return nil (Bug#8657).
10403
10404 * custom.el (defcustom): Doc fix (Bug#9711).
10405
10406 2012-02-05 Chong Yidong <cyd@gnu.org>
10407
10408 * cus-edit.el (custom-variable-reset-backup): Quote the value
10409 before storing it in the customized-value property (Bug#6712).
10410 (custom-display): Add a customization type tag.
10411 (custom-buffer-create-internal): Improve tooltip message.
10412
10413 * wid-edit.el (widget-field-value-get): New optional arg to
10414 suppress trailing whitespace truncation.
10415 (character): Use it (Bug#2689).
10416
10417 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10418
10419 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10420 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10421
10422 2012-02-05 Chong Yidong <cyd@gnu.org>
10423
10424 * cus-edit.el (custom-variable-value-create): For mismatched
10425 types, show the current value (Bug#7600).
10426
10427 * custom.el (defcustom): Doc fix.
10428
10429 2012-02-05 Glenn Morris <rgm@gnu.org>
10430
10431 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10432
10433 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10434
10435 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10436 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10437 (pp-last-sexp): Use `looking-at-p'.
10438
10439 2012-02-04 Glenn Morris <rgm@gnu.org>
10440
10441 * files.el (revert-buffer):
10442 Doc fix (mention revert-buffer-in-progress-p).
10443
10444 * emacs-lisp/ert-x.el (ert-simulate-command):
10445 Check deferred-action-list (which is obsolete) is bound.
10446
10447 * subr.el (with-wrapper-hook): Doc fixes.
10448
10449 * simple.el (filter-buffer-substring-functions)
10450 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10451
10452 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10453
10454 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10455 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10456
10457 2012-02-04 Leo Liu <sdl.web@gmail.com>
10458
10459 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10460
10461 2012-02-04 Glenn Morris <rgm@gnu.org>
10462
10463 * image.el (image-extension-data): Add obsolete alias.
10464
10465 * isearch.el (isearch-update): Doc fix.
10466
10467 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10468
10469 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10470
10471 2012-02-03 Glenn Morris <rgm@gnu.org>
10472
10473 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10474 (image-animate-timeout): Doc fix.
10475
10476 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10477
10478 2012-02-02 Glenn Morris <rgm@gnu.org>
10479
10480 * server.el (server-auth-dir): Doc fix.
10481 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10482
10483 * subr.el (run-mode-hooks): Doc fix.
10484
10485 2012-02-02 Juri Linkov <juri@jurta.org>
10486
10487 * image-mode.el (image-toggle-display-image): Remove tautological
10488 `major-mode' from the `derived-mode-p' test.
10489
10490 2012-02-02 Kenichi Handa <handa@m17n.org>
10491
10492 * composite.el (compose-region): Cancel previous change.
10493
10494 2012-02-02 Kenichi Handa <handa@m17n.org>
10495
10496 * composite.el (compose-region, compose-string): Signal error for
10497 a null string component (Bug#6988).
10498
10499 2012-02-01 Chong Yidong <cyd@gnu.org>
10500
10501 * view.el (view-buffer-other-window, view-buffer-other-frame):
10502 Handle special modes like view-buffer (Bug#10650).
10503 (view-buffer): Simplify.
10504
10505 * frame.el (set-frame-font): Tweak meaning of third argument.
10506
10507 * dynamic-setting.el (font-setting-change-default-font):
10508 Use set-frame-font (Bug#9982).
10509
10510 2012-02-01 Glenn Morris <rgm@gnu.org>
10511
10512 * progmodes/compile.el (compilation-internal-error-properties):
10513 Respect compilation-first-column in the "*compilation*" buffer.
10514
10515 * emacs-lisp/easy-mmode.el (define-minor-mode):
10516 Relax :variable's test for a named function.
10517
10518 2012-01-31 Alan Mackenzie <acm@muc.de>
10519
10520 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10521 off by one error.
10522
10523 2012-01-31 Chong Yidong <cyd@gnu.org>
10524
10525 * frame.el (set-frame-font): New arg ALL-FRAMES.
10526
10527 * menu-bar.el (menu-set-font): Use set-frame-font.
10528
10529 * faces.el (face-spec-reset-face): Don't apply unspecified
10530 attribute values to the default face.
10531
10532 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10533
10534 * progmodes/cwarn.el (cwarn): Remove dead link.
10535 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10536 Remove * from defcustom docstrings.
10537 (turn-on-cwarn-mode): Make obsolete.
10538 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10539 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10540
10541 2012-01-31 Glenn Morris <rgm@gnu.org>
10542
10543 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10544 Fix :variable handling of mode a symbol not equal to modefun.
10545 Allow named functions to be used as the cdr of :variable.
10546
10547 2012-01-30 Glenn Morris <rgm@gnu.org>
10548
10549 * emacs-lisp/authors.el (authors-fixed-entries):
10550 Remove reference to deleted file rnewspost.el.
10551
10552 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10553
10554 * window.el (window-with-parameter): Remove unused variable `windows'.
10555 (window--side-check): Remove unused variable `code'.
10556 (window--resize-siblings): Remove unused variable `first'.
10557 (adjust-window-trailing-edge): Remove unused variable `failed'.
10558 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10559 Use `let', not `let*'.
10560 (balance-windows-2): Remove unused variable `found'.
10561 (window--state-put-2): Remove unused variable `splits'.
10562 (window-state-put): Remove unused variable `selected'.
10563 (same-window-p): Use `string-match-p'.
10564 (display-buffer-assq-regexp): Remove unused variable `value'.
10565 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10566 Mark argument ALIST as ignored.
10567 (pop-to-buffer): Remove unused variable `old-window'.
10568
10569 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10570
10571 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10572 and .lzma compressed files.
10573
10574 2012-01-29 Chong Yidong <cyd@gnu.org>
10575
10576 * frame.el (window-system-default-frame-alist): Doc fix.
10577
10578 * dynamic-setting.el (font-setting-change-default-font): Don't
10579 change the default face if SET-FONT argument is non-nil (Bug#9982).
10580
10581 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10582
10583 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10584
10585 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10586
10587 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10588 breakpoints in files outside current directory (Bug#6098).
10589
10590 2012-01-29 Chong Yidong <cyd@gnu.org>
10591
10592 * progmodes/python.el: Require ansi-color at top-level.
10593
10594 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10595 Define and use in Emacs Lisp mode (Bug#9360).
10596 (lisp-mode-abbrev-table): Add doc.
10597 (lisp-mode-variables): Don't set local-abbrev-table.
10598 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10599
10600 2012-01-28 Roland Winkler <winkler@gnu.org>
10601
10602 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10603
10604 2012-01-28 Roland Winkler <winkler@gnu.org>
10605
10606 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10607 (bibtex-set-dialect): Use it. Either set global values of
10608 dialect-dependent variables or bind these variables buffer-locally
10609 (Bug#10254).
10610 (bibtex-mode): Call bibtex-set-dialect via
10611 hack-local-variables-hook.
10612 (bibtex-dialect): Update docstring.
10613 Add safe-local-variable predicate.
10614 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10615 bibtex-set-dialect.
10616 (bibtex-mode-map): Define menu for each dialect.
10617 (bibtex-entry): Fix docstring.
10618
10619 2012-01-28 Chong Yidong <cyd@gnu.org>
10620
10621 * eshell/esh-arg.el (eshell-quote-argument): New function.
10622
10623 * eshell/esh-ext.el (eshell-invoke-batch-file):
10624 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10625 first arg to eshell-parse-command (Bug#10523).
10626
10627 2012-01-28 Drew Adams <drew.adams@oracle.com>
10628
10629 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10630 `default-directory' is non-nil.
10631
10632 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10633
10634 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10635 line that displays system-configuration-options. (Bug#9924)
10636
10637 2012-01-28 Drew Adams <drew.adams@oracle.com>
10638
10639 * descr-text.el (describe-char): Show information about POS, in
10640 addition to information about the character at POS. Improve and
10641 update the doc string. Change "code point" to "code point in
10642 charset", to avoid confusion with the character's Unicode code
10643 point shown above that. (Bug#10129)
10644
10645 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10646
10647 * descr-text.el (describe-char): Show the raw character, not only
10648 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10649 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10650 for the reasons.
10651
10652 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10653
10654 * emacs-lisp/package.el (package-install):
10655 Run package-refresh-contents if there is no archive yet (Bug#9798).
10656
10657 2012-01-28 Chong Yidong <cyd@gnu.org>
10658
10659 * emacs-lisp/package.el (package-maybe-load-descriptor):
10660 New function, split from package-maybe-load-descriptor.
10661 (package-maybe-load-descriptor): Use it.
10662 (package-download-transaction): Fully load required packages
10663 inside the loop, so that `require' calls work (Bug#10593).
10664 (package-install): No need to call package-initialize now.
10665
10666 2012-01-28 Chong Yidong <cyd@gnu.org>
10667
10668 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10669
10670 * tooltip.el (tooltip-mode): Doc fix.
10671 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10672
10673 * frame.el (set-cursor-color): Doc fix (Bug#352).
10674
10675 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10676 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10677
10678 * cus-edit.el (custom-buffer-create-internal): Fix search button
10679 action (Bug#10542).
10680 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10681
10682 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10683
10684 * dired.el (dired-mark-files-regexp):
10685 Include any subdirectory components. (Bug#10445)
10686
10687 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10688
10689 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10690 Handle [host]:port syntax. (Bug#10533)
10691
10692 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10693
10694 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10695
10696 2012-01-26 Glenn Morris <rgm@gnu.org>
10697
10698 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10699 * term.el (term-raw-escape-map): Use Control-X-prefix.
10700 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10701
10702 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10703
10704 * window.el (window-state-get, window--state-get-1): Don't deal
10705 with fixed-sizeness of windows. Simplify code.
10706
10707 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10708
10709 * window.el (window--state-get-1, window--state-put-2):
10710 Don't save and restore the mark.
10711
10712 2012-01-25 Chong Yidong <cyd@gnu.org>
10713
10714 * custom.el (custom-variable-p): Doc fix.
10715
10716 2012-01-25 Glenn Morris <rgm@gnu.org>
10717
10718 * dired.el (dired-goto-file): Handle some of the more common
10719 characters that `ls -b' escapes. (Bug#10596)
10720
10721 * progmodes/compile.el (compilation-next-error-function):
10722 Respect compilation-first-column in the "*compilation*" buffer.
10723 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10724
10725 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10726
10727 2012-01-24 Glenn Morris <rgm@gnu.org>
10728
10729 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10730
10731 2012-01-24 Julien Danjou <julien@danjou.info>
10732
10733 * color.el (color-rgb-to-hsl): Fix value computing.
10734 (color-hue-to-rgb): New function.
10735 (color-hsl-to-rgb): New function.
10736 (color-clamp, color-saturate-hsl, color-saturate-name)
10737 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10738 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10739
10740 2012-01-24 Glenn Morris <rgm@gnu.org>
10741
10742 * vc/vc-rcs.el (vc-rcs-create-tag):
10743 * vc/vc-sccs.el (vc-sccs-create-tag):
10744 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10745
10746 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10747
10748 * eshell/esh-util.el (eshell-read-hosts-file):
10749 Skip comment lines. (Bug#10549)
10750
10751 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10752
10753 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10754
10755 * subr.el (display-delayed-warnings): Doc fix.
10756 (collapse-delayed-warnings): New function to collapse identical
10757 adjacent warnings.
10758 (delayed-warnings-hook): Add it.
10759
10760 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10761
10762 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10763
10764 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10765 (tramp-default-user-alist): Don't add "pscp".
10766 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10767 property "login-as", if set. (Bug#10530)
10768
10769 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10770
10771 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10772 "plink1" and "psftp". (Bug#10530)
10773
10774 2012-01-21 Kenichi Handa <handa@m17n.org>
10775
10776 * international/mule-cmds.el (prefer-coding-system): Show a
10777 warning message if the default value of file-name-coding-system
10778 was not changed.
10779
10780 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10781
10782 * windmove.el (windmove-reference-loc):
10783 Fix windmove-reference-loc miscalculation.
10784
10785 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10786
10787 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10788 default unit.
10789
10790 2012-01-21 Glenn Morris <rgm@gnu.org>
10791
10792 * international/mule.el (auto-coding-alist): Add .tbz.
10793
10794 * files.el (local-enable-local-variables): Doc fix.
10795 (inhibit-local-variables-regexps): Rename from
10796 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10797 Doc fix. Add some extensions from auto-coding-alist.
10798 (inhibit-local-variables-suffixes):
10799 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10800 (inhibit-local-variables-p):
10801 New function, extracted from set-auto-mode-1.
10802 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10803 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10804 (hack-local-variables): Doc fix. Make the mode-only case
10805 respect enable-local-variables and friends.
10806 Respect inhibit-local-variables-regexps for file-locals, but
10807 not for directory-locals.
10808 (set-visited-file-name):
10809 Take account of inhibit-local-variables-regexps.
10810 Whether it applies may change as the file name is changed.
10811 * jka-cmpr-hook.el (jka-compr-install):
10812 * jka-compr.el (jka-compr-uninstall):
10813 Update for inhibit-first-line-modes-suffixes name change.
10814
10815 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10816
10817 * help-macro.el (make-help-screen): Temporarily restore original
10818 binding for minor-mode-map-alist (Bug#10454).
10819
10820 2012-01-19 Julien Danjou <julien@danjou.info>
10821
10822 * color.el (color-name-to-rgb): Use the white color to find the max
10823 color component value and return correctly computed values.
10824 (color-name-to-rgb): Add missing float conversion for max value.
10825
10826 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10827
10828 * window.el (window--state-get-1, window-state-get): Do not use
10829 special state value for window-persistent-parameters.
10830 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10831 (window--state-put-2): Reset all window parameters to nil before
10832 assigning values of persistent parameters.
10833
10834 2012-01-18 Alan Mackenzie <acm@muc.de>
10835
10836 Eliminate sluggishness and hangs in fontification of "semicolon
10837 deserts".
10838
10839 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10840 Change value 10000 -> 3000.
10841 (c-state-safe-place): Reformulate so it doesn't stack up an
10842 infinite number of wrong entries in c-state-nonlit-pos-cache.
10843 (c-determine-limit-get-base, c-determine-limit): New functions to
10844 determine backward search limits disregarding literals.
10845 (c-find-decl-spots): Amend commenting.
10846 (c-cheap-inside-bracelist-p): New function which detects "={".
10847
10848 * progmodes/cc-fonts.el
10849 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10850 backward search.
10851 (c-font-lock-declarations): Fix an occurrence of point being
10852 undefined. Check additionally for point being in a bracelist or
10853 near a macro invocation without a semicolon so as to avoid a
10854 fruitless time consuming search for a declarator. Give a more
10855 precise search limit for declarators using the new
10856 c-determine-limit.
10857
10858 2012-01-18 Glenn Morris <rgm@gnu.org>
10859
10860 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10861 (set-auto-mode): Doc fixes.
10862
10863 2012-01-17 Glenn Morris <rgm@gnu.org>
10864
10865 * isearch.el (search-nonincremental-instead): Fix doc typo.
10866
10867 * dired.el (dired-insert-directory): Handle newlines in directory name.
10868 (dired-build-subdir-alist): Unescape newlines in directory name.
10869
10870 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10871
10872 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10873 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10874 (tramp-action-terminal): Use it. (Bug#10530)
10875
10876 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10877
10878 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10879
10880 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10881
10882 * window.el (window-state-ignored-parameters): Remove variable.
10883 (window--state-get-1): Rename argument MARKERS to IGNORE.
10884 Handle persistent window parameters. Make copy of clone-of
10885 parameter only if requested. (Bug#10348)
10886 (window--state-put-2): Install a window parameter only if it has
10887 a non-nil value or an existing parameter shall be overwritten.
10888
10889 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10890
10891 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10892
10893 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10894
10895 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10896 don't pass the (nil) value of `upnode' to string-match.
10897
10898 2012-01-14 Chong Yidong <cyd@gnu.org>
10899
10900 * startup.el (command-line): Fix X resource class for cursorColor.
10901 Fix values recognized by the cursorBlink resource.
10902
10903 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10904
10905 * epg.el (epg--make-temp-file): Avoid permission race condition
10906 when running on old Emacs versions (bug#10403).
10907
10908 2012-01-14 Glenn Morris <rgm@gnu.org>
10909
10910 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10911
10912 2012-01-13 Alan Mackenzie <acm@muc.de>
10913
10914 Fix filling for when filladapt mode is enabled.
10915
10916 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10917 c-mask-paragraph, pass in `fill-paragraph' rather than
10918 `fill-region-as-paragraph'. (This is a reversion of a previous
10919 change.)
10920 * progmodes/cc-mode.el (c-basic-common-init):
10921 Make fill-paragraph-handle-comment buffer local and set it to nil.
10922
10923 2012-01-13 Glenn Morris <rgm@gnu.org>
10924
10925 * dired.el (dired-switches-escape-p): New function.
10926 (dired-insert-directory): Use dired-switches-escape-p.
10927 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10928
10929 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10930
10931 2012-01-12 Glenn Morris <rgm@gnu.org>
10932
10933 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10934 changes in adaptive-fill-regexp. (Bug#10276)
10935
10936 2012-01-11 Alan Mackenzie <acm@muc.de>
10937
10938 Fix Emacs bug #10463 - put `widen's around the critical spots.
10939
10940 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10941 widen around each invocation of c-state-pp-to-literal. Remove an
10942 unused let variable.
10943
10944 2012-01-11 Glenn Morris <rgm@gnu.org>
10945
10946 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10947 Doc fix.
10948
10949 2012-01-10 Chong Yidong <cyd@gnu.org>
10950
10951 * net/network-stream.el (network-stream-open-starttls):
10952 Avoid emitting a confusing error message when the server gives a bad
10953 response to the capability command.
10954
10955 2012-01-10 Glenn Morris <rgm@gnu.org>
10956
10957 * mail/unrmail.el (unrmail): Tweak previous change.
10958
10959 2012-01-09 Chong Yidong <cyd@gnu.org>
10960
10961 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10962
10963 2012-01-08 Alan Mackenzie <acm@muc.de>
10964
10965 Optimise font locking in long enum definitions.
10966
10967 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10968 arm to a cond form to handle enums.
10969 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10970 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10971
10972 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10973
10974 * files.el (move-file-to-trash): Preserve default file modes on error.
10975 (Bug#10401)
10976
10977 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10978
10979 * faces.el (set-face-attribute): Clarify the meaning of the nil
10980 frame (bug#10294).
10981
10982 * subr.el (with-selected-frame): Mention that the selected frame
10983 is restored (bug#9980).
10984
10985 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10986 (bug#9759).
10987
10988 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10989 (password-read): Don't autoload unused function.
10990
10991 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10992
10993 * progmodes/which-func.el (which-func-mode): Turn into a
10994 non-interactive function and mark as obsolete (bug#10428).
10995
10996 2012-01-06 Chong Yidong <cyd@gnu.org>
10997
10998 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10999 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11000 functions, along with 1 and -1.
11001
11002 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11003
11004 * time.el (display-time-load-average)
11005 (display-time-default-load-average): Doc fixes. See the thread
11006 starting at
11007 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11008 for the details.
11009
11010 2012-01-06 Glenn Morris <rgm@gnu.org>
11011
11012 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11013 has no messages. (Bug#10377)
11014
11015 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11016 than Info-edit. (Bug#10385)
11017
11018 * time.el (display-time-load-average, display-time-next-load-average):
11019 Doc fixes.
11020
11021 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11022 local setting of buffer-read-only to the input buffer. (Bug#10419)
11023
11024 * calendar/calendar.el (calendar-mode):
11025 Locally set scroll-margin to 0. (Bug#10379)
11026
11027 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11028
11029 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11030
11031 2012-01-05 Glenn Morris <rgm@gnu.org>
11032
11033 * eshell/em-unix.el (diff-no-select): Autoload it.
11034 (eshell/diff): Use diff-no-select. (Bug#10420)
11035
11036 2012-01-05 Chong Yidong <cyd@gnu.org>
11037
11038 * shell.el (shell-dynamic-complete-functions): Revert last change.
11039 (shell-command-completion-function): New function.
11040 (shell-completion-vars): Use it to implement
11041 shell-completion-execonly (Bug#10417).
11042
11043 * custom.el (enable-theme): Don't set custom-safe-themes.
11044
11045 * cus-theme.el (custom-theme-merge-theme):
11046 Ignore custom-enabled-themes and custom-safe-themes.
11047
11048 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11049
11050 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11051 first prompt in `sql-interacive-mode'.
11052 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11053 keywords.
11054 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11055 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11056 context of original buffer. Invoke `sql-login-hook'.
11057
11058 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11059
11060 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11061 letters in cite-prefix.
11062
11063 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11064
11065 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11066
11067 2012-01-03 Chong Yidong <cyd@gnu.org>
11068
11069 * shell.el (shell-dynamic-complete-functions):
11070 Put pcomplete-completions-at-point, so as to try
11071 comint-filename-completion first (Bug#10417).
11072
11073 2012-01-02 Richard Stallman <rms@gnu.org>
11074
11075 * battery.el (battery-status-function):
11076 Detect when to use battery-yeeloong-sysfs.
11077 (battery-echo-area-format): Add string for Yeeloong.
11078 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11079 (battery-yeeloong-sysfs): New function.
11080
11081 2012-01-02 Chong Yidong <cyd@gnu.org>
11082
11083 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11084 (dirtrack): Merge code for handling relative filenames in prompt
11085 from shell-dir-cookie-watcher.
11086 (dirtrack-debug-message): New arg to avoid excess format calls.
11087
11088 * shell.el (shell-dir-cookie-re): Variable deleted.
11089 (shell-dir-cookie-watcher): Function deleted.
11090 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11091 with dirtrack-mode.
11092
11093 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11094
11095 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11096 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11097 libgnutls-26.dll.
11098
11099 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11100
11101 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11102
11103 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11104
11105 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11106 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11107
11108 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11109
11110 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11111 also for alternative shells.
11112 (tramp-open-connection-setup-interactive-shell): Check, whether
11113 the shell is a busybox.
11114 (tramp-send-command): Don't suppress multiple prompts for
11115 busyboxes, it hurts.
11116
11117 2011-12-28 Chong Yidong <cyd@gnu.org>
11118
11119 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11120 (gdb-get-source-file): Move mode line update to
11121 gdb-get-source-file (Bug#10087).
11122
11123 2011-12-25 Chong Yidong <cyd@gnu.org>
11124
11125 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11126 gud-gdb-marker-filter without taking it as an argument.
11127 (gud-gdb-run-command-fetch-lines): Caller changed.
11128 (gud-gdb-completion-function): New variable.
11129 (gud-gdb-completion-at-point): Use it.
11130 (gud-gdb-completions-1): Split from gud-gdb-completions.
11131
11132 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11133 function as separate arguments.
11134 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11135 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11136 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11137 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11138 (gdb-stopped, def-gdb-auto-update-trigger)
11139 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11140 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11141 Callers changed.
11142 (gud-gdbmi-completions): New function.
11143 (gdb): Use it for generating the completion table.
11144
11145 2011-12-24 Alan Mackenzie <acm@muc.de>
11146
11147 Introduce a mechanism to widen the region used in context font
11148 locking. Use this to protect declarations from losing their contexts.
11149
11150 * progmodes/cc-langs.el (c-before-font-lock-functions):
11151 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11152 (c-before-context-fontification-functions): New defvar, a list of
11153 functions to be run just before context (etc.) font locking.
11154
11155 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11156 New, functionality extracted from
11157 c-neutralize-syntax-in-and-mark-CPP.
11158 (c-in-after-change-fontification): New variable.
11159 (c-after-change): Set c-in-after-change-fontification.
11160 (c-set-fl-decl-start): Rejig its interface, so it can be called
11161 from both after-change and context fontifying.
11162 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11163 New functions.
11164 (c-standard-font-lock-fontify-region-function): New variable.
11165 (c-font-lock-fontify-region): New function.
11166
11167 2011-12-24 Juri Linkov <juri@jurta.org>
11168
11169 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11170 (Bug#10348)
11171
11172 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11173
11174 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11175 existence of source file. (Bug#10325)
11176
11177 2011-12-23 Alan Mackenzie <acm@muc.de>
11178
11179 Fix unstable fontification inside templates.
11180
11181 * progmodes/cc-langs.el (c-before-font-lock-functions):
11182 Newly created from the singular version. The (c c++ objc) entry now
11183 additionally has c-set-fl-decl-start. The other languages (apart
11184 from AWK) have that as a single entry.
11185
11186 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11187 The functionality for "local" declarations has been extracted to
11188 c-set-fl-decl-start.
11189
11190 * progmodes/cc-mode.el (c-common-init, c-after-change):
11191 Changes due to pluralisation of c-before-font-lock-functions.
11192 (c-set-fl-decl-start): New function, extracted from
11193 c-font-lock-enclosing-decls and enhanced.
11194
11195 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11196
11197 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11198
11199 2011-12-22 Juri Linkov <juri@jurta.org>
11200
11201 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11202
11203 2011-12-22 Chong Yidong <cyd@gnu.org>
11204
11205 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11206
11207 2011-12-21 Drew Adams <drew.adams@oracle.com>
11208
11209 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11210
11211 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11212
11213 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11214
11215 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11216
11217 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11218 highlighting and support. Fix up comments for capitalization.
11219 (cfengine-mode-debug): New var.
11220 (cfengine3-mode): Change the modeline indicator to "CFE3".
11221 (cfengine3-font-lock-keywords): Improve defun highlighting.
11222 (cfengine2-actions): Rename from `cfengine-actions'.
11223 (cfengine2-font-lock-keywords): Rename from
11224 `cfengine-font-lock-keywords'.
11225 (cfengine2-imenu-expression): Rename from
11226 `cfengine-imenu-expression'.
11227 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11228 (cfengine2-beginning-of-defun): Rename from
11229 `cfengine-beginning-of-defun'.
11230 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11231 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11232 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11233 modeline indicator to "CFE2".
11234 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11235 (cfengine-mode-abbrevs): Mark obsolete.
11236
11237 2011-12-21 Chong Yidong <cyd@gnu.org>
11238
11239 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11240 filename argument.
11241
11242 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11243
11244 * window.el (window-normalize-buffer-to-display): Remove.
11245 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11246
11247 2011-12-19 Chong Yidong <cyd@gnu.org>
11248
11249 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11250 Don't signal an error in a predicate function; return non-nil.
11251 (vc-dir-mark-file): Move the error here.
11252 (vc-dir-mark-unmark): If acting on the region, keep going if one
11253 of the entries cannot be marked/unmarked.
11254 (vc-dir-mark-all-files): If current entry is a directory, mark
11255 only child files, as documented.
11256
11257 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11258
11259 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11260 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11261 addition.
11262
11263 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11264
11265 * term/ns-win.el (ns-get-selection-internal)
11266 (ns-store-selection-internal): Declare.
11267 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11268 Declare as obsolete.
11269 (ns-get-pasteboard, ns-paste-secondary):
11270 Use ns-get-selection-internal.
11271 (ns-set-pasteboard, ns-copy-including-secondary):
11272 Use ns-store-selection-internal.
11273
11274 2011-12-17 Chong Yidong <cyd@gnu.org>
11275
11276 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11277 (vc-deduce-fileset): Doc fix.
11278
11279 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11280
11281 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11282
11283 2011-12-13 Sam Steingold <sds@gnu.org>
11284
11285 * man.el (Man-getpage-in-background): When running under a
11286 window-system, ignore $MANWIDTH and $COLUMNS.
11287
11288 2011-12-15 Kenichi Handa <handa@m17n.org>
11289
11290 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11291 (setup-ethiopic-environment-internal): Comment out key-binding for
11292 ethio-toggle-punctuation.
11293
11294 2011-12-13 Alan Mackenzie <acm@muc.de>
11295
11296 Add the switch statement to AWK Mode.
11297
11298 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11299 "default" to the keywords regexp.
11300
11301 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11302 expression as the rest.
11303 (c-nonlabel-token-key): Allow string literals for AWK.
11304 Refactor for the other modes.
11305
11306 Large brace-block initialisation makes CC Mode slow: Fix.
11307 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11308 routines. Limit backward searching in c-font-lock-enclosing.decl.
11309
11310 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11311 pp-state and literal type in addition to the limits.
11312 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11313 (c-state-literal-at): Use the above new defun.
11314 (c-slow-in-literal, c-fast-in-literal): Remove.
11315 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11316
11317 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11318 being in a literal. Add a limit for backward searching.
11319
11320 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11321 c-slow-in-literal.
11322
11323 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11324
11325 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11326
11327 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11328
11329 * window.el (delete-other-windows): Use correct frame in call to
11330 window-with-parameter.
11331
11332 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11333
11334 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11335 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11336 (makefile-gmake-statements, makefile-makepp-statements):
11337 Use it and add new makepp keywords.
11338 (makefile-makepp-font-lock-keywords): Add new patterns.
11339 (makefile-match-function-end): Match new [...] and [[...]].
11340
11341 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11342
11343 * ses.el (ses-call-printer-return, ses-cell-property-get)
11344 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11345 (ses-create-cell-variable, ses-reset-header-string)
11346 (ses-cell-set-formula, ses-repair-cell-reference-all)
11347 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11348 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11349 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11350 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11351 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11352 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11353 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11354 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11355 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11356 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11357 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11358 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11359
11360 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11361
11362 * ses.el: The overall change is to add cell renaming, that is
11363 setting fancy names for cell symbols other than name matching
11364 "\\`[A-Z]+[0-9]+\\'" regexp .
11365 (ses-create-cell-variable): New defun.
11366 (ses-relocate-formula): Relocate formulas only for cells the
11367 symbols of which are not renamed, i.e. symbols whose names do not
11368 match regexp "\\`[A-Z]+[0-9]+\\'".
11369 (ses-relocate-all): Relocate values only for cells the symbols of
11370 which are not renamed.
11371 (ses-load): Create cells variables as the (ses-cell ...) are read,
11372 in order to check row col consistency with cell symbol name only
11373 for cells that are not renamed.
11374 (ses-replace-name-in-formula): New defun.
11375 (ses-rename-cell): New defun.
11376
11377 2011-12-11 Chong Yidong <cyd@gnu.org>
11378
11379 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11380 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11381
11382 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11383
11384 * window.el (other-window): Fix docstring.
11385
11386 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11387
11388 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11389 `from' or `to' address before taking its substring.
11390 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11391 encoded name is chopped in the middle of the encoded string, and
11392 thus displayed encoded.
11393
11394 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11395
11396 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11397
11398 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11399
11400 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11401 to use texinfo-update-node and commands that call it if the
11402 Texinfo file uses @node lines without next/prev/up pointers.
11403 Correct outdated description about texinfo-master-menu.
11404 (texinfo-all-menus-update, texinfo-master-menu)
11405 (texinfo-update-node, texinfo-every-node-update)
11406 (texinfo-multiple-files-update): Doc fix. Warn against updating
11407 all the @node lines.
11408 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11409 argument is numeric. Explain better in the doc string what the
11410 function really does.
11411 (texinfo-insert-master-menu-list): Improve the error message
11412 displayed if there's no menu in the Top node.
11413 (Bug#2975) See also this thread:
11414 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11415
11416 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11417
11418 * speedbar.el (speedbar-supported-extension-expressions):
11419 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11420
11421 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11422
11423 * printing.el (pr-mode-alist):
11424 * simple.el (filter-buffer-substring-functions)
11425 (completion-list-insert-choice-function):
11426 * window.el (window-with-parameter, window-atom-root)
11427 (window-sides-slots, window-size-fixed, window-min-delta)
11428 (window-max-delta, window--resize-mini-window)
11429 (window--resize-child-windows-normal, window-tree)
11430 (delete-other-windows, quit-window, split-window)
11431 (display-buffer-record-window, special-display-buffer-names)
11432 (special-display-regexps, special-display-popup-frame)
11433 (same-window-p, split-window-sensibly)
11434 (display-buffer-overriding-action, display-buffer-alist)
11435 (display-buffer-base-action, display-buffer, switch-to-buffer)
11436 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11437 (fit-window-to-buffer, recenter-positions)
11438 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11439 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11440 and remove unneeded backslashes in docstrings.
11441
11442 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11443
11444 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11445
11446 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11447 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11448 end in ".mk".
11449 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11450 when reading the makefile (bug#10116).
11451
11452 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11453
11454 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11455 (bug#10116).
11456
11457 2011-12-06 Glenn Morris <rgm@gnu.org>
11458
11459 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11460
11461 2011-12-06 Chong Yidong <cyd@gnu.org>
11462
11463 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11464
11465 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11466
11467 * textmodes/table.el (table-shorten-cell): Fix typo.
11468
11469 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11470
11471 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11472
11473 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11474
11475 * descr-text.el (describe-char): Fix display of strong
11476 right-to-left characters and directional embeddings and overrides.
11477
11478 * simple.el (what-cursor-position): Fix display of codepoints of
11479 strong right-to-left characters.
11480
11481 2011-12-05 Chong Yidong <cyd@gnu.org>
11482
11483 * faces.el (read-color): Doc fix.
11484
11485 2011-12-05 Glenn Morris <rgm@gnu.org>
11486
11487 * align.el (align--set-marker): Add doc-string.
11488 Don't try to move something that is not a marker. (Bug#10216)
11489
11490 2011-12-04 Glenn Morris <rgm@gnu.org>
11491
11492 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11493 overly zealous deletion of trailing whitespace.
11494
11495 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11496
11497 * server.el (server-delete-client): On Windows, do not try to delete
11498 the only terminal.
11499 (server-process-filter): On Windows, treat requests for a tty frame as
11500 if they were for a GUI frame if the running server is in GUI mode.
11501
11502 2011-12-03 Glenn Morris <rgm@gnu.org>
11503
11504 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11505
11506 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11507
11508 * electric.el: Streamline electric-indent's hook.
11509 (electric-indent-chars): Revert to simple list.
11510 (electric-indent-functions): New var.
11511 (electric-indent-post-self-insert-function): Use it.
11512
11513 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11514 there's no inferior buffer (bug#10196).
11515 (prolog-consult-compile): Don't use toggle-read-only.
11516
11517 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11518
11519 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11520 interrupt. (Bug#10187)
11521
11522 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11525 (bug#9160).
11526
11527 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11528 (bug#10191).
11529
11530 2011-12-02 Juri Linkov <juri@jurta.org>
11531
11532 * info.el (Info-search): Display "end of manual" when Isearch
11533 reaches the end of single-file Info manual. (Bug#9918)
11534
11535 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11536
11537 * isearch.el (isearch-message-prefix): Run the input method part
11538 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11539
11540 2011-12-02 Juri Linkov <juri@jurta.org>
11541
11542 * isearch.el (isearch-occur): Use `word-search-regexp' for
11543 `isearch-word'.
11544 (isearch-search-and-update): Add condition for `isearch-word' and
11545 call `word-search-regexp'. (Bug#10145)
11546
11547 2011-12-01 Glenn Morris <rgm@gnu.org>
11548
11549 * eshell/em-hist.el (eshell-hist-initialize):
11550 Handle eshell-history-size nil and HISTSIZE set or unset.
11551 (eshell-history-file-name, eshell-history-size): Fix custom type.
11552
11553 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11554
11555 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11556
11557 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11558
11559 * progmodes/verilog-mode.el (verilog-pretty-expr):
11560 Rework verilog-pretty-expr to handle new assignment operators in system
11561 verilog, such as += *= and the like.
11562 (verilog-assignment-operator-re): Regular expression to find the
11563 assigment operator in a verilog assignment.
11564 (verilog-assignment-operation-re): Regular expression to find an
11565 assignment statement for pretty-expr.
11566 (verilog-in-attribute-p): Query returns true if point is in an
11567 attribute context; used to skip these for expression line up from
11568 pretty-expr.
11569 (verilog-in-parameter-p): Query returns true if point is in an
11570 parameter definition context; used to skip these for expression
11571 line up from pretty-expr.
11572 (verilog-in-parenthesis-p): Query returns true if point is in a
11573 parenthetical expression, specifically ( ) but not [ ] or { };
11574 used by pretty-expr.
11575 (verilog-just-one-space): If there is no space, don't add one.
11576 (verilog-get-lineup-indent-2): Specifically skip just attribute
11577 contexts for expression lineup, rather than skipping all
11578 parenthetical expressions.
11579 (verilog-calculate-indent): Fix comment, and fix indent.
11580 (verilog-do-indent): Indent declarations in lists (suggested by
11581 Joachim Lechner).
11582 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11583 skeleton items.
11584 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11585 by Alain Mellan).
11586
11587 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11588
11589 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11590 parameters with embedded comments. Reported by Ray Stevens.
11591 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11592 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11593 Reported by Tim Holt.
11594 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11595 instantiated by upper module causing wrong expansion until AUTOed a
11596 second time. Reported by K C Buckenmaier.
11597 (verilog-diff-auto): Fix showing .* as a difference when
11598 `verilog-auto-star-save' off. Reported by Dan Dever.
11599 (verilog-auto-reset, verilog-read-always-signals)
11600 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11601 temporary signals in reset list if
11602 verilog-auto-reset-blocking-in-non is nil, and match assignment
11603 style to each signal's assignment type, bug381.
11604 Reported by Thomas Esposito.
11605 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11606 (verilog-uvm-statement-re): Support UVM indentation and
11607 highlighting, with old OVM keywords only.
11608 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11609 Support AUTOTIEOFF creating non-wire data types.
11610 Suggested by Jonathan Greenlaw.
11611 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11612 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11613 (verilog-inject-sense, verilog-read-inst-pins)
11614 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11615 Fix mismatching parenthesis inside commented out code when deleting
11616 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11617 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11618 non-numeric vector width. Reported by Alex Reed.
11619 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11620 detecting signals with parameter widths. Reported by Alex Reed.
11621 (verilog-auto-delete-trailing-whitespace):
11622 With `verilog-auto-delete-trailing-whitespace' remove trailing
11623 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11624 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11625 Fix verilog-scan-cache corruption when running user AUTO expansion
11626 hooks that call indentation routines.
11627 (verilog-simplify-range-expression): Fix typo ignoring lower case
11628 identifiers.
11629 (verilog-delete-auto): Fix delete-autos to also remove user created
11630 automatics, as long as they start with AUTO.
11631 (verilog-batch-diff-auto, verilog-diff-auto)
11632 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11633 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11634 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11635 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11636 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11637 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11638 is disabled and its cache will get corrupt, causing AUTOS not to
11639 expand. Instead use only -quick functions.
11640 (verilog-scan-region): Fix scanning over escaped quotes.
11641 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11642 (verilog-re-search-backward-quick)
11643 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11644 related functions now ignore strings, to fix misparsing of strings
11645 with magic comments embedded in them.
11646 (verilog-read-auto-template):
11647 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11648 Reported by Brad Dobbie.
11649 (verilog-read-auto-template):
11650 Fix 'verilog-auto-inst-template-numbers' with comments.
11651 Reported by Brad Dobbie.
11652 (verilog-auto-inst, verilog-auto-inst-param)
11653 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11654 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11655 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11656 debugging templates without merge conflicts, bug357.
11657 Reported by Brad Dobbie.
11658 (verilog-read-auto-template):
11659 Fix verilog-auto-inst-template-numbers with multiple templates.
11660 Reported by Brad Dobbie.
11661 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11662 abbrevs so user won't be asked to save.
11663 (verilog-read-auto-lisp-present): Fix to start at beginning of
11664 buffer in case called outside of verilog-auto.
11665 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11666 to "X-2". Reported by Matthew Myers.
11667 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11668 all inputs from module templates. Reported by Leith Johnson.
11669 (verilog-module-inside-filename-p): Fix locating programs as with
11670 modules.
11671 (verilog-auto-inst-port): Fix vl-width expressions when using
11672 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11673 (verilog-decls-get-regs, verilog-decls-get-signals,
11674 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11675 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11676 verilog-read-decls): Combine reg and wire structures into one var
11677 structure to represent SystemVerilog concepts.
11678 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11679 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11680 (verilog-auto-wire-type, verilog-insert-definition):
11681 Add verilog-auto-wire-type and AUTOLOGIC to support using
11682 SystemVerilog "logic" keyword instead of "wire"/"reg".
11683 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11684 to declares outputs that also have assignments (presumably in an
11685 ifdef or generate if so there's not a driver conflict).
11686 Reported by Matthew Myers.
11687 (verilog-auto-declare-nettype, verilog-insert-definition):
11688 Add verilog-auto-declare-nettype to fix declarations using
11689 `default_nettype none. Reported by Julian Gorfajn.
11690 (verilog-read-always-signals-recurse, verilog-read-decls)
11691 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11692 malformed end statement, bug325. Reported by Joshua Wise and
11693 Andrew Drake.
11694 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11695 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11696 when expanding .* in interfaces, bug320.
11697 Reported by Pierre-David Pfister.
11698 (verilog-read-module-name): Fix import statements between module
11699 name and open parenthesis, bug317.
11700 Reported by Pierre-David Pfister.
11701 (verilog-simplify-range-expression): Fix simplification of
11702 multiplications inside AUTOWIRE connections, bug303.
11703 (verilog-auto-inst-port): Support parameter expansion in
11704 multidimensional arrays.
11705 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11706 after "assert property". Reported by Julian Gorfajn.
11707 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11708 with multiplication, bug303.
11709 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11710 Reported by Jan Frode Lonnum.
11711
11712 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11713
11714 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11715 (hfy-shell-file-name, hfy-shell):
11716 * international/fontset.el (x-decompose-font-name): Fix typos.
11717
11718 2011-11-29 Ken Brown <kbrown@cornell.edu>
11719
11720 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11721 (gdb-version): Remove defvar.
11722 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11723 (gdb-gud-context-command, gdb-non-stop-handler)
11724 (gdb-current-context-command, gdb-stopped): Use it.
11725 (gdb-init-1): Enable pretty printing here.
11726 (gdb-non-stop-handler): Don't enable pretty-printing here.
11727 Check to see if the target supports non-stop mode; if not, turn off
11728 non-stop mode. Use the following.
11729 (gdb-check-target-async): New defun.
11730 (gud-watch, gdb-stopped): Fix whitespace.
11731 (gdb-get-source-file): Don't try to display the source file if
11732 `gdb-main-file' is nil.
11733
11734 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11735
11736 * align.el: Try to generate fewer markers (bug#10047).
11737 (align--set-marker): New macro.
11738 (align-region): Use it.
11739
11740 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11741
11742 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11743
11744 2011-11-29 Chong Yidong <cyd@gnu.org>
11745
11746 * indent.el (indent-for-tab-command, indent-according-to-mode):
11747 Doc fix.
11748 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11749
11750 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11751
11752 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11753 aware of remote file names. (Bug#10124)
11754
11755 2011-11-29 Chong Yidong <cyd@gnu.org>
11756
11757 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11758
11759 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11760
11761 * files.el (find-file): Don't use force-same-window (bug#10144).
11762 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11763 use pop-to-buffer if the selected window can't be used.
11764 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11765
11766 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11767
11768 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11769 special-mode-map.
11770
11771 2011-11-28 Chong Yidong <cyd@gnu.org>
11772
11773 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11774
11775 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11776
11777 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11778 gdb-get-source-file-list on gdb-create-source-file-list.
11779
11780 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11781
11782 * whitespace.el (whitespace-newline): Use a different foreground
11783 color for 16-color light-background displays.
11784
11785 2011-11-24 Chong Yidong <cyd@gnu.org>
11786
11787 * window.el (display-buffer--special-action): Doc fix.
11788
11789 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11790
11791 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11792 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11793 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11794 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11795 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11796 (avl-tree-stack-first):
11797 * emacs-lisp/cconv.el (cconv--analyse-use):
11798 * net/gnutls.el (gnutls-negotiate): Fix typos.
11799
11800 2011-11-24 Glenn Morris <rgm@gnu.org>
11801
11802 * lpr.el (lpr-windows-system, lpr-lp-system):
11803 * mail/binhex.el (binhex-begin-line):
11804 * progmodes/grep.el (grep-history, grep-find-history):
11805 * textmodes/flyspell.el:
11806 * vc/pcvs-defs.el (cvs-global-menu):
11807 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11808 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11809 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11810
11811 * net/tls.el: Fix case of "GnuTLS".
11812
11813 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11814
11815 * version.el (emacs-build-system): Give it a doc-string.
11816
11817 2011-11-24 Juri Linkov <juri@jurta.org>
11818
11819 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11820
11821 2011-11-24 Glenn Morris <rgm@gnu.org>
11822
11823 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11824 if called on a non-mime message just toggle the headers. (Bug#8006)
11825
11826 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11827
11828 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11829 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11830 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11831 (allout-rebullet-heading, allout-open-sibtopic)
11832 (allout-toggle-current-subtree-encryption)
11833 (allout-toggle-subtree-encryption, allout-encrypt-string)
11834 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11835 (allout-distinctive-bullets-string, allout-auto-activation):
11836 * window.el (window-normalize-buffer-to-display):
11837 * progmodes/verilog-mode.el (verilog-batch-indent):
11838 * textmodes/bibtex.el (bibtex-field-braces-opt)
11839 (bibtex-field-strings-opt):
11840 * vc/cvs-status.el (cvs-tree-merge):
11841 Fix typos.
11842
11843 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11844
11845 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11846 `non-essential' to t, in order to avoid remote connections.
11847
11848 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11849
11850 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11851 On MS-DOS and MS-Windows, compare with loaddefs.el
11852 case-insensitively.
11853
11854 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11855
11856 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11857
11858 2011-11-23 Glenn Morris <rgm@gnu.org>
11859
11860 * paths.el (rmail-file-name): Reformat the doc-string so that it
11861 is picked up.
11862
11863 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11864 (rmail-auto-file): Ignore case in the "special" field names,
11865 as mail-fetch-field does for all others.
11866
11867 * mail/rmail.el (rmail-forward):
11868 * mail/rmailkwd.el (rmail-set-label):
11869 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11870 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11871
11872 * mail/rmail.el (rmail-current-message): Doc fix.
11873
11874 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11875
11876 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11877
11878 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11879
11880 2011-11-22 Glenn Morris <rgm@gnu.org>
11881
11882 * mail/rmailmm.el (test-rmail-mime-handler)
11883 (test-rmail-mime-bulk-handler)
11884 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11885
11886 2011-11-21 Juri Linkov <juri@jurta.org>
11887
11888 * calc/calc.el (calc-read-key-sequence):
11889 Let-bind `input-method-function' to nil. (Bug#10018)
11890
11891 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11892
11893 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11894 Tell the caller that the next line needs recomputation, even
11895 though it doesn't start a sexp (bug#10094).
11896
11897 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11898
11899 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11900
11901 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11902
11903 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11904 Use force-same-window.
11905
11906 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11907
11908 * descr-text.el (describe-char-unicode-data):
11909 * json.el (json-string-escape):
11910 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11911 (Footnote-unicode, Footnote-style-p):
11912 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11913
11914 2011-11-20 Chong Yidong <cyd@gnu.org>
11915
11916 * window.el (replace-buffer-in-windows): Restore interactive spec.
11917
11918 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11921
11922 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11923 (byte-compile-global-not-obsolete-vars): New var.
11924 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11925 Use it.
11926 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11927
11928 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11929
11930 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11931 * progmodes/pascal.el (electric-pascal-equal):
11932 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11933 * xml.el (xml-substitute-special): Fix typos.
11934
11935 2011-11-20 Glenn Morris <rgm@gnu.org>
11936
11937 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11938 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11939 Doc fixes.
11940 (rmail-decode-mime-charset): Mark as obsolete.
11941
11942 * mail/rmailsum.el (rmail-message-regexp-p-1):
11943 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11944 Before using mime functions, check they are set. (Bug#10077)
11945
11946 2011-11-19 Juri Linkov <juri@jurta.org>
11947
11948 * info.el (Info-finder-find-node): Use `package--builtins' instead
11949 of `package-alist'. Use node names formed by the pattern "Keyword "
11950 and the keyword name.
11951
11952 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11953
11954 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11955
11956 2011-11-19 Juri Linkov <juri@jurta.org>
11957
11958 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11959 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11960 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11961 `old-history', `old-history-forward'. Add let-binding
11962 `window-selected'. Remove calls to `kill-buffer',
11963 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11964 before calling `Info-find-node', so `Info-find-node-2' will reread
11965 the Info file. Restore window positions only when `window-selected'
11966 is non-nil.
11967
11968 2011-11-19 Juri Linkov <juri@jurta.org>
11969
11970 * isearch.el (isearch-lazy-highlight-new-loop):
11971 Remove condition `(not isearch-error)'. (Bug#9918)
11972
11973 * misearch.el (multi-isearch-search-fun): Add condition
11974 `(not bound)' to ignore lazy-highlighting search.
11975 Add the search-failed message "end of multi" when the end of
11976 multi-sequence is reached. Uncapitalize the search-failed
11977 message "Repeat for next buffer".
11978
11979 * info.el (Info-search): Add the search-failed message
11980 "end of the manual" when the end of the manual is reached
11981 in Isearch mode.
11982
11983 2011-11-19 Juri Linkov <juri@jurta.org>
11984
11985 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11986 Use non-destructive `remove' instead of `delete' because
11987 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11988 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11989
11990 2011-11-19 Juri Linkov <juri@jurta.org>
11991
11992 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11993 to nil instead of binding `search-ring' and `regexp-search-ring'.
11994 (Bug#9185)
11995
11996 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11997
11998 * simple.el (line-move): Force movement by logical lines for any
11999 hscrolled window, not only when auto-hscroll-mode is on.
12000 (line-move-visual): Update doc string to that effect. (Bug#10076)
12001
12002 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12003
12004 * language/european.el (macintosh): Define as alias for mac-roman.
12005
12006 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12007
12008 * mail/rmailmm.el (rmail-mime-display-header)
12009 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12010 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12011 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12012 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12013 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12014 of a raw aref.
12015 (rmail-mime-entity-segment): To get past the tagline, move forward
12016 2 more lines, to account for the 2 empty lines that precede and
12017 follow the line with the buttons.
12018 (rmail-mime-update-tagline): Move one more line, to get past the
12019 empty line that follows the buttons in the tagline. (Bug#9520)
12020
12021 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12022
12023 * window.el (window-max-delta-1, window-min-delta-1)
12024 (window-min-size-1, window-state-get-1, window-state-put-1)
12025 (window-state-put-2): Use "window--" prefix.
12026
12027 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12028
12029 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12030 (smie-warning-count): New var.
12031 (smie-set-prec2tab): Use it.
12032 (smie-bnf->prec2): Improve warnings. Add docstring.
12033 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12034 (smie-bnf--set-class): New function.
12035 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12036 corner case.
12037
12038 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12039 (compilation-error-properties, compilation-move-to-column):
12040 Handle compilation-first-column while in the target buffer.
12041
12042 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12043 Don't hardcode point-min==1.
12044
12045 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12046 (eshell-rewrite-for-command): Remove workaround.
12047 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12048 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12049 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12050
12051 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12052
12053 2011-11-17 Glenn Morris <rgm@gnu.org>
12054
12055 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12056 Ignore buffer-local generated-autoload-file if it is the same
12057 as the global value. (Bug#10049)
12058
12059 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12060
12061 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12062 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12063 (reftex-toc-previous-heading, reftex-toc-max-level)
12064 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12065 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12066 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12067 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12068 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12069 (reftex-toc-rename-label, reftex-toc-visit-location)
12070 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12071 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12072 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12073 leaving "*toc*" only for references to the buffer.
12074
12075 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12076
12077 * window.el (window-resize, delete-window, split-window):
12078 Replace window-splits by window-combination-resize.
12079 * cus-start.el (window-splits): Replace by window-combination-resize.
12080
12081 2011-11-17 Glenn Morris <rgm@gnu.org>
12082
12083 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12084 Make bash entry derive from sh entry, not shell entry.
12085
12086 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12087
12088 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12089 local file name.
12090
12091 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12092
12093 * menu-bar.el (menu-bar-file-menu):
12094 * printing.el (pr-ps-utility):
12095 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12096 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12097 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12098 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12099 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12100 (icalendar--convert-cyclic-to-ical)
12101 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12102 (icalendar--convert-ical-to-diary)
12103 (icalendar--convert-recurring-to-diary)
12104 (icalendar--convert-non-recurring-all-day-to-diary)
12105 (icalendar-import-format-sample):
12106 * progmodes/idlw-shell.el (idlwave-shell-mode):
12107 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12108 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12109 (vhdl-ps-print-init): Fix typos.
12110
12111 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12112
12113 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12114 FSF and collapse date sequence, obscure author/maintainer email address
12115 better, remove extra version line, track relocation of author's webpage.
12116
12117 * progmodes/python.el (python-pdbtrack-input-prompt)
12118 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12119 regular python pdb prompts. Adjustments shamelessly taken exactly as
12120 suggested in EmacsWiki page (tiny change):
12121 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12122
12123 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12124
12125 * expand.el (expand-pos, expand-index, expand-point):
12126 Remove redundant info from docstring.
12127 (expand-add-abbrevs): Doc fix.
12128 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12129 (expand-sample-perl-mode-expand-list): Fix typos.
12130
12131 * net/dbus.el (dbus-event-member-name):
12132 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12133 * term/pc-win.el (msdos-create-frame-with-faces):
12134 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12135
12136 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12137
12138 * window.el (split-window, window-state-get-1)
12139 (window-state-put-1, window-state-put-2): Rename occurrences of
12140 window-nest to window-combination-limit.
12141 * cus-start.el (window-nest): Rename to window-combination-limit.
12142
12143 2011-11-16 Chong Yidong <cyd@gnu.org>
12144
12145 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12146 regexp (Bug#10033).
12147
12148 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12149
12150 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12151 `completing-read' will remove *Completions* and will preserve
12152 current-buffer for us.
12153 (tmm-add-prompt): Users of *Completions* will always (re)set its
12154 major mode.
12155 (tmm-old-comp-map): Remove.
12156
12157 2011-11-16 Glenn Morris <rgm@gnu.org>
12158
12159 * mail/rmailedit.el: Require rmailmm when compiling.
12160 (rmail-old-mime-state): New declaration.
12161 (rmail-edit-current-message): If editing a mime message,
12162 edit the "raw" message from the mbox buffer.
12163 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12164
12165 2011-11-15 Glenn Morris <rgm@gnu.org>
12166
12167 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12168 which wasn't being used. Add optional arg to force given state.
12169 (rmail-mime): Add optional arg to force given state.
12170
12171 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12172
12173 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12174 * frame.el (display-mm-dimensions-alist):
12175 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12176 (outline-move-subtree-down):
12177 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12178 (newsticker--treeview-do-get-node):
12179 * net/quickurl.el (quickurl-list-buffer-name):
12180 * progmodes/dcl-mode.el (dcl-mode):
12181 * progmodes/gdb-mi.el (gdb-mapcar*):
12182 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12183
12184 2011-11-15 Glenn Morris <rgm@gnu.org>
12185
12186 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12187 in a boolean sense, so just make it a boolean, and fix the doc.
12188 (rmail-show-mime-function, rmail-mime-feature)
12189 (rmail-require-mime-maybe): Doc fixes.
12190 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12191
12192 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12193
12194 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12195
12196 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12197 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12198 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12199 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12200
12201 2011-11-15 Glenn Morris <rgm@gnu.org>
12202
12203 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12204 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12205 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12206 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12207 (rmail-mime, rmail-show-mime): Doc fixes.
12208
12209 * term/ns-win.el (mode-line-frame-identification):
12210 Leave it alone. (Bug#10051)
12211
12212 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12213
12214 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12215 Handle empty buffers. (Bug#9978)
12216
12217 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12218
12219 * international/mule.el (define-charset):
12220 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12221 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12222 * progmodes/verilog-mode.el (verilog-backward-token):
12223 * textmodes/ispell.el (lookup-words):
12224 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12225
12226 2011-11-14 Glenn Morris <rgm@gnu.org>
12227
12228 * progmodes/executable.el
12229 (executable-make-buffer-file-executable-if-script-p):
12230 Handle file-modes returning nil.
12231
12232 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12233 message - not necessary, and causes problems. (Bug#9831)
12234
12235 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12236
12237 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12238
12239 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12240 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12241 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12242
12243 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12244
12245 * window.el (window-resize, delete-window): Use window-splits
12246 variable instead of function.
12247 (window-state-get-1, window-state-put-2, window-state-put):
12248 Don't deal with windows' splits status.
12249
12250 2011-11-12 Glenn Morris <rgm@gnu.org>
12251
12252 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12253 (apropos-documentation): Doc fixes.
12254
12255 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12256
12257 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12258 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12259
12260 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12261
12262 * electric.el (electric-indent-post-self-insert-function): Make it
12263 possible for a char to only indent in some circumstances.
12264 (electric-indent-mode): Simplify.
12265
12266 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12267
12268 * window.el (windows-with-parameter): Remove unused function.
12269 (windows-at-side): Rename to window-at-side-list.
12270 (window-check, window-atom-check, window-atom-check-1)
12271 (window-side-check, window-size-ignore, window-size-fixed-1)
12272 (window-in-direction-2): Prefix with "window--".
12273 (window-tree-1): Rename to window--subtree, fix doc-string.
12274
12275 2011-11-11 Glenn Morris <rgm@gnu.org>
12276
12277 * subr.el (eval-after-load): If FILE is already loaded,
12278 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12279
12280 2011-11-10 Glenn Morris <rgm@gnu.org>
12281
12282 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12283 Call svn via vc-svn-command rather than vc-do-command.
12284 (vc-svn-command): Add --non-interactive. (Bug#9993)
12285 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12286
12287 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12288 Add toggle-read-only. (Bug#7292)
12289 * files.el (toggle-read-only): Mention that it should only
12290 be used interactively. (Bug#10006)
12291
12292 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12293
12294 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12295 Adjust regexp for OCaml warnings.
12296
12297 * electric.el (electric-pair-post-self-insert-function): Let user
12298 turn it off buffer-locally (bug#9932).
12299
12300 * progmodes/python.el (python-beginning-of-statement):
12301 Rewrite (bug#2703).
12302
12303 * progmodes/compile.el: Better handle TABs (bug#9749).
12304 (compilation-internal-error-properties)
12305 (compilation-next-error-function): Obey the target buffer's
12306 compilation-error-screen-columns.
12307
12308 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12309
12310 * progmodes/meta-mode.el: Remove obsolete comments.
12311 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12312 Fix typos in docstrings.
12313
12314 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12315
12316 * window.el (window-size-fixed-p): Rewrite doc-string.
12317 (window-resizable-p): Rename to window--resizable-p. Update callers.
12318 (window--resizable): New function. Make all callers of
12319 window-resizable call window--resizable instead.
12320 (window-resizable): Rewrite in terms of window--resizable.
12321
12322 2011-11-08 Glenn Morris <rgm@gnu.org>
12323
12324 * progmodes/delphi.el (delphi-mode-syntax-table):
12325 Let define-derived-mode define a proper syntax table. (Bug#9994)
12326
12327 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12328
12329 * window.el: Stay away from defsubst.
12330 (window-list-no-nils): Remove.
12331 (window-state-get-1, window-state-get): Use backquote instead.
12332
12333 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12334
12335 * emacs-lisp/find-func.el (find-function-read):
12336 Fix incorrect use of default argument in `completing-read'.
12337
12338 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12339
12340 * window.el (display-buffer-function, special-display-function):
12341 Mention display-buffer-record-window but do not mention
12342 help-setup parameter in doc-strings.
12343 (window-min-delta): Fix doc-string typo.
12344
12345 2011-11-08 Chong Yidong <cyd@gnu.org>
12346
12347 * window.el (window-total-height, window-total-width): Doc fix.
12348 (window-body-size): Move from C.
12349 (window-body-height, window-body-width): Move to C.
12350
12351 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12352
12353 * window.el: Make special-display like display-buffer-alist (bug#9532).
12354 (display-buffer--special-action): New function, morphed
12355 from display-buffer--special.
12356 (display-buffer): Use it to handle special-display-buffers at higher
12357 priority (just after display-buffer-alist).
12358 (display-buffer-fallback-action, display-buffer--other-frame-action)
12359 (pop-to-buffer-same-window): Remove display-buffer--special.
12360
12361 2011-11-07 Glenn Morris <rgm@gnu.org>
12362
12363 * calendar/cal-menu.el (cal-menu-set-date-title):
12364 Do nothing if not in a calendar. (Bug#9976)
12365
12366 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12367
12368 * files.el (find-file): Always use selected-window.
12369
12370 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12371
12372 * window.el (window-combinations): Make WINDOW argument
12373 mandatory. Rewrite doc-string.
12374 (walk-window-subtree, window-atom-check, window-min-delta)
12375 (window-max-delta, window--resize-this-window)
12376 (window--resize-root-window-vertically, window-tree)
12377 (balance-windows, window-state-put): Rewrite doc-strings as to
12378 not mention the term "subwindow".
12379 (window--resize-subwindows-skip-p): Rename to
12380 window--resize-child-windows-skip-p.
12381 (window--resize-subwindows-normal): Rename to
12382 window--resize-child-windows-normal.
12383 (window--resize-subwindows): Rename to
12384 window--resize-child-windows.
12385 (window-or-subwindow-p): Rename to window--in-subtree-p.
12386
12387 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12388
12389 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12390 Ensure that mbox format messages end in two newlines (Bug#9974).
12391
12392 2011-11-06 Chong Yidong <cyd@gnu.org>
12393
12394 * window.el (window-combination-p): Function deleted; its
12395 side-effect is not used in any existing code.
12396 (window-combinations, window-combined-p): Call window-*-child
12397 directly.
12398
12399 2011-11-05 Chong Yidong <cyd@gnu.org>
12400
12401 * window.el (window-valid-p): Rename from window-any-p.
12402 (window-size-ignore, window-state-get): Callers changed.
12403 (window-normalize-window): Rename from window-normalize-any-window.
12404 New arg LIVE-ONLY, replacing window-normalize-live-window.
12405 (window-normalize-live-window): Delete.
12406 (window-combination-p, window-combined-p, window-combinations)
12407 (walk-window-subtree, window-atom-root, window-min-size)
12408 (window-sizable, window-sizable-p, window-size-fixed-p)
12409 (window-min-delta, window-max-delta, window-resizable)
12410 (window-resizable-p, window-full-height-p, window-full-width-p)
12411 (window-current-scroll-bars, window-point-1, set-window-point-1)
12412 (window-at-side-p, window-in-direction, window-resize)
12413 (adjust-window-trailing-edge, maximize-window, minimize-window)
12414 (window-deletable-p, delete-window, delete-other-windows)
12415 (record-window-buffer, unrecord-window-buffer)
12416 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12417 (quit-window, split-window, window-state-put)
12418 (set-window-text-height, fit-window-to-buffer)
12419 (shrink-window-if-larger-than-buffer): Callers changed.
12420
12421 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12422
12423 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12424 rfc2047-decode-string.
12425 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12426 warnings.
12427
12428 * window.el (window-body-height, window-body-width): Mention in
12429 the doc string that the return values are in frame's canonical
12430 units. (Bug#9949)
12431
12432 2011-11-03 Alan Mackenzie <acm@muc.de>
12433
12434 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12435 change in cc-engine.el.
12436
12437 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12438
12439 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12440
12441 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12442
12443 * window.el (quit-window): Call unrecord-window-buffer after
12444 showing another buffer in the window. (Bug#9937)
12445 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12446
12447 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12448
12449 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12450 Accept status with more than 9 shelves. (Bug#9935)
12451 Reported by Colin D Bennett <colin@gibibit.com>.
12452
12453 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12454
12455 * help.el (with-help-window): Don't reference
12456 temp-buffer-show-specifiers in doc-string.
12457
12458 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12459
12460 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12461 menu-item.
12462
12463 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12464
12465 * whitespace.el: New version 13.2.2.
12466 (whitespace-newline-mode): Disable properly. Reported by Sarah
12467 <EmacsWiki>.
12468
12469 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12470
12471 * net/newst-treeview.el: Remove "Time-stamp".
12472 (newsticker--group-manage-orphan-feeds): Do not call
12473 newsticker--treeview-tree-update.
12474 (newsticker-treeview-update, newsticker-treeview):
12475 Call newsticker--treeview-tree-update if necessary.
12476
12477 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12478
12479 * window.el (window-iso-combination-p, window-iso-combined-p)
12480 (window-iso-combinations): Remove "iso-" infix.
12481 Suggested by Chong Yidong.
12482 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12483 (window-max-delta-1, window-resize, window--resize-siblings)
12484 (window--resize-this-window, adjust-window-trailing-edge)
12485 (split-window, balance-windows-1)
12486 (shrink-window-if-larger-than-buffer):
12487 * calendar/calendar.el (calendar-generate-window):
12488 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12489
12490 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12491
12492 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12493 in place (bug#9907).
12494 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12495 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12496 (eshell-structure-basic-command, eshell-rewrite-while-command)
12497 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12498 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12499 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12500 (eshell-do-pipelines-synchronously, eshell-eval-command):
12501 Use backquotes and prefer setq to set.
12502 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12503 (eshell-macrop): Use functionp.
12504 (eshell-do-eval): Handle multiple expressions in `while' body.
12505
12506 2011-10-30 Chong Yidong <cyd@gnu.org>
12507
12508 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12509 instead of set-mark (Bug#9810).
12510
12511 2011-10-30 Chong Yidong <cyd@gnu.org>
12512
12513 * window.el (split-window-below, split-window-right): Rename from
12514 split-window-above-each-other and split-window-side-by-side
12515 respectively. All callers changed.
12516 (split-window-sensibly, split-window-sensibly): Use them.
12517 (split-window-keep-point): Doc fix.
12518
12519 * isearch.el: Add isearch-scroll property to split-window-below
12520 and split-window-right.
12521
12522 * follow.el (follow-mode):
12523 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12524 * progmodes/ada-xref.el (ada-gdb-application):
12525 * emulation/vip.el (vip-buffer-in-two-windows):
12526 * image-dired.el (image-dired-dired-with-window-configuration):
12527 * dired-x.el (dired-do-find-marked-files):
12528 * dired.el (dired-pop-to-buffer):
12529 * bs.el (bs--show-with-configuration):
12530 * vc/emerge.el (emerge-setup-windows):
12531 * textmodes/two-column.el (2C-two-columns):
12532 * textmodes/reftex-toc.el (reftex-toc):
12533 * progmodes/gdb-mi.el (gdb-setup-windows):
12534 * progmodes/fortran.el (fortran-window-create):
12535 * net/newst-treeview.el (newsticker--treeview-window-init):
12536 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12537 * emulation/tpu-edt.el (tpu-gold-map):
12538 * emulation/crisp.el (crisp-mode-map):
12539 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12540
12541 2011-10-29 Chong Yidong <cyd@gnu.org>
12542
12543 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12544
12545 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12546
12547 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12548 forged Ispell output (Bug#7904).
12549
12550 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12551
12552 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12553
12554 * doc-view.el: Avoid ugly errors about not finding nil.
12555 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12556 (doc-view-dvipdf-program, doc-view-unoconv-program)
12557 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12558 Avoid nil or absolute file name as default value.
12559 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12560
12561 2011-10-28 Alan Mackenzie <acm@muc.de>
12562
12563 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12564
12565 2011-10-28 Alan Mackenzie <acm@muc.de>
12566
12567 Amend the handling of c-beginning/end-of-defun in nested declaration
12568 scopes.
12569
12570 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12571 cc-langs.el. Change it to a defcustom.
12572
12573 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12574 cc-vars.el.
12575
12576 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12577 Prevent "class foo : bar" being spuriously recognized as a label.
12578
12579 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12580 Add parameter `inclusive' (to include enclosing braces in the region).
12581 (c-widen-to-enclosing-decl-scope): New function.
12582 (c-while-widening-to-decl-block): New macro.
12583 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12584 outward for defun boundaries, and correspondingly change symbol
12585 `respect-enclosure' to `go-outward'.
12586 (c-declaration-limits): Change algorithm to report only the "innermost"
12587 defun's boundaries.
12588
12589 2011-10-28 Deniz Dogan <deniz@dogan.se>
12590
12591 * net/rcirc.el (rcirc-mode): Use hard newlines.
12592
12593 2011-10-28 Alan Mackenzie <acm@muc.de>
12594
12595 Amend to indent and fontify macros "which include their own semicolon"
12596 correctly, using the "virtual semicolon" mechanism.
12597
12598 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12599
12600 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12601 Recode to scan one line at a time rather than having \n and \r
12602 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12603 (c-forward-label): Amend for virtual semicolons.
12604 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12605
12606 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12607 of the new C macros.
12608
12609 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12610 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12611 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12612 (c-opt-cpp-macro-define): Make into a full language variable.
12613 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12614 AWK Mode (including \n, \r) removed, no longer needed.
12615
12616 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12617 Invoke c-make-macro-with-semi-re.
12618
12619 * progmodes/cc-vars.el (c-macro-with-semi-re):
12620 (c-macro-names-with-semicolon): New variables.
12621 (c-make-macro-with-semi-re): New function.
12622
12623 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12624
12625 * vc/log-edit.el: Fill empty field rather than adding new one.
12626 (log-edit-add-field): New function.
12627 (log-edit-insert-changelog): Use it.
12628
12629 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12630
12631 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12632
12633 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12634
12635 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12636 (gdb--check-interpreter): New function.
12637 (gdb): Use it.
12638
12639 2011-10-27 Glenn Morris <rgm@gnu.org>
12640
12641 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12642 (least-positive-float, least-negative-float)
12643 (least-positive-normalized-float, least-negative-normalized-float)
12644 (float-epsilon, float-negative-epsilon):
12645 Remove unnecessary declarations.
12646
12647 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12648 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12649 (least-positive-float, least-negative-float)
12650 (least-positive-normalized-float, least-negative-normalized-float)
12651 (float-epsilon, float-negative-epsilon): Add doc-strings,
12652 based on those in cl.texi.
12653
12654 * files.el (set-visited-file-name): If the major-mode changed,
12655 reload the local variables. (Bug#9796)
12656
12657 2011-10-27 Chong Yidong <cyd@gnu.org>
12658
12659 * subr.el (change-major-mode-after-body-hook): New hook.
12660 (run-mode-hooks): Run it.
12661
12662 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12663 Use change-major-mode-before-body-hook.
12664
12665 * simple.el (fundamental-mode):
12666 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12667 change introducing fundamental-mode-hook.
12668
12669 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12670
12671 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12672
12673 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12674
12675 * ido.el (ido-file-name-all-completions-1): Do not require
12676 tramp.el explicitly. (Bug#7583)
12677
12678 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12679
12680 * progmodes/octave-mod.el:
12681 * progmodes/octave-inf.el: Update maintainer.
12682
12683 2011-10-26 Chong Yidong <cyd@gnu.org>
12684
12685 * subr.el (with-wrapper-hook): Rewrite doc.
12686
12687 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12688
12689 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12690 filenames "/method:foo:". (Bug#9793)
12691
12692 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12693
12694 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12695 (bug#9865).
12696
12697 2011-10-24 Glenn Morris <rgm@gnu.org>
12698
12699 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12700
12701 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12702
12703 * notifications.el: Add the requirement of a running D-Bus session
12704 bus to the Commentary.
12705
12706 2011-10-24 Juri Linkov <juri@jurta.org>
12707
12708 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12709 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12710 (Bug#9364)
12711
12712 2011-10-24 Juri Linkov <juri@jurta.org>
12713
12714 * info.el (Info-following-node-name-re): Add newline to the list
12715 of allowed characters for leading space. (Bug#9824)
12716
12717 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12718
12719 * progmodes/octave-inf.el (inferior-octave-mode-map):
12720 Fix C-c C-h binding.
12721 * progmodes/octave-mod.el (octave-help): Remove.
12722
12723 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12724
12725 Sync with Tramp 2.2.3.
12726
12727 * net/tramp-cache.el (top): Pacify byte-compiler using
12728 `init-file-user' and `site-run-file'.
12729
12730 * net/trampver.el: Update release number.
12731
12732 2011-10-23 Chong Yidong <cyd@gnu.org>
12733
12734 * files.el (toggle-read-only): Remove obsolete comment about
12735 version control.
12736
12737 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12738 for toggle-read-only. Note that this hasn't called vc-next-action
12739 since 2008-05-02, though it wasn't documented at the time.
12740
12741 * vc/ediff-init.el (ediff-toggle-read-only-function):
12742 Use toggle-read-only.
12743
12744 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12745
12746 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12747 of c-parse-state.
12748
12749 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12750 correct faulty logical expression.
12751 (c-parse-state-state, c-record-parse-state-state):
12752 (c-replay-parse-state-state): New defvar/defuns.
12753 (c-debug-parse-state): Use new functions.
12754
12755 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12756
12757 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12758 last fix. Use window-in-direction correctly.
12759
12760 2011-10-21 Chong Yidong <cyd@gnu.org>
12761
12762 * progmodes/idlwave.el (idlwave-mode):
12763 * progmodes/vera-mode.el (vera-mode): No need to set
12764 require-final-newline; that's done in prog-mode.
12765 Suggested by Stefan Monnier.
12766
12767 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12768
12769 * mouse.el (mouse-drag-window-above)
12770 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12771 (mouse-drag-mode-line-1, mouse-drag-header-line)
12772 (mouse-drag-vertical-line-rightward-window): Remove.
12773 (mouse-drag-line): New function.
12774 (mouse-drag-mode-line, mouse-drag-header-line)
12775 (mouse-drag-vertical-line): Call mouse-drag-line.
12776 * window.el (window-at-side-p, windows-at-side): New functions.
12777
12778 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12779
12780 * tar-mode.el (tar-grind-file-mode):
12781 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12782
12783 2011-10-21 Chong Yidong <cyd@gnu.org>
12784
12785 * progmodes/idlwave.el (idlwave-mode):
12786 * progmodes/vera-mode.el (vera-mode):
12787 Use mode-require-final-newline.
12788
12789 2011-10-20 Glenn Morris <rgm@gnu.org>
12790
12791 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12792
12793 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12794
12795 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12796
12797 2011-10-20 Chong Yidong <cyd@gnu.org>
12798
12799 * emulation/cua-base.el (cua-mode):
12800 * mail/footnote.el (footnote-mode):
12801 * mail/mailabbrev.el (mail-abbrevs-mode):
12802 * net/xesam.el (xesam-minor-mode):
12803 * progmodes/bug-reference.el (bug-reference-mode):
12804 * progmodes/cap-words.el (capitalized-words-mode):
12805 * progmodes/compile.el (compilation-minor-mode)
12806 (compilation-shell-minor-mode):
12807 * progmodes/gud.el (gud-tooltip-mode):
12808 * progmodes/hideif.el (hide-ifdef-mode):
12809 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12810 * progmodes/subword.el (subword-mode):
12811 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12812 * progmodes/which-func.el (which-function-mode):
12813 * term/tvi970.el (tvi970-set-keypad-mode):
12814 * term/vt100.el (vt100-wide-mode):
12815 * textmodes/flyspell.el (flyspell-mode):
12816 * textmodes/ispell.el (ispell-minor-mode):
12817 * textmodes/nroff-mode.el (nroff-electric-mode):
12818 * textmodes/paragraphs.el (use-hard-newlines):
12819 * textmodes/refill.el (refill-mode):
12820 * textmodes/reftex.el (reftex-mode):
12821 * textmodes/rst.el (rst-minor-mode):
12822 * textmodes/sgml-mode.el (html-autoview-mode)
12823 (sgml-electric-tag-pair-mode):
12824 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12825 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12826 * emulation/crisp.el (crisp-mode):
12827 * emacs-lisp/eldoc.el (eldoc-mode):
12828 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12829 minor mode behavior.
12830
12831 2011-10-19 Juri Linkov <juri@jurta.org>
12832
12833 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12834 the list of hard-coded chars with escape-glyph face.
12835
12836 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12837
12838 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12839
12840 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12841
12842 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12843 running process.
12844
12845 2011-10-19 Glenn Morris <rgm@gnu.org>
12846
12847 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12848 Ignore ignored files. (Bug#9726)
12849
12850 2011-10-19 Chong Yidong <cyd@gnu.org>
12851
12852 Doc fix for minor modes, stating that an omitted argument enables
12853 the mode unconditionally when called from Lisp.
12854
12855 * abbrev.el (abbrev-mode):
12856 * allout.el (allout-mode):
12857 * autoinsert.el (auto-insert-mode):
12858 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12859 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12860 (global-auto-revert-mode):
12861 * battery.el (display-battery-mode):
12862 * composite.el (global-auto-composition-mode)
12863 (auto-composition-mode):
12864 * delsel.el (delete-selection-mode):
12865 * desktop.el (desktop-save-mode):
12866 * dired-x.el (dired-omit-mode):
12867 * dirtrack.el (dirtrack-mode):
12868 * doc-view.el (doc-view-minor-mode):
12869 * double.el (double-mode):
12870 * electric.el (electric-indent-mode, electric-pair-mode):
12871 * emacs-lock.el (emacs-lock-mode):
12872 * epa-hook.el (auto-encryption-mode):
12873 * follow.el (follow-mode):
12874 * font-core.el (font-lock-mode):
12875 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12876 * help.el (temp-buffer-resize-mode):
12877 * hilit-chg.el (highlight-changes-mode)
12878 (highlight-changes-visible-mode):
12879 * hi-lock.el (hi-lock-mode):
12880 * hl-line.el (hl-line-mode, global-hl-line-mode):
12881 * icomplete.el (icomplete-mode):
12882 * ido.el (ido-everywhere):
12883 * image-file.el (auto-image-file-mode):
12884 * image-mode.el (image-minor-mode):
12885 * iswitchb.el (iswitchb-mode):
12886 * jka-cmpr-hook.el (auto-compression-mode):
12887 * linum.el (linum-mode):
12888 * longlines.el (longlines-mode):
12889 * master.el (master-mode):
12890 * mb-depth.el (minibuffer-depth-indicate-mode):
12891 * menu-bar.el (menu-bar-mode):
12892 * minibuf-eldef.el (minibuffer-electric-default-mode):
12893 * mouse-sel.el (mouse-sel-mode):
12894 * msb.el (msb-mode):
12895 * mwheel.el (mouse-wheel-mode):
12896 * outline.el (outline-minor-mode):
12897 * paren.el (show-paren-mode):
12898 * recentf.el (recentf-mode):
12899 * reveal.el (reveal-mode, global-reveal-mode):
12900 * rfn-eshadow.el (file-name-shadow-mode):
12901 * ruler-mode.el (ruler-mode):
12902 * savehist.el (savehist-mode):
12903 * scroll-all.el (scroll-all-mode):
12904 * scroll-bar.el (scroll-bar-mode):
12905 * server.el (server-mode):
12906 * shell.el (shell-dirtrack-mode):
12907 * simple.el (auto-fill-mode, transient-mark-mode)
12908 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12909 (line-number-mode, column-number-mode, size-indication-mode)
12910 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12911 * strokes.el (strokes-mode):
12912 * time.el (display-time-mode):
12913 * t-mouse.el (gpm-mouse-mode):
12914 * tool-bar.el (tool-bar-mode):
12915 * tooltip.el (tooltip-mode):
12916 * type-break.el (type-break-mode-line-message-mode)
12917 (type-break-query-mode):
12918 * view.el (view-mode):
12919 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12920 (global-whitespace-mode, global-whitespace-newline-mode):
12921 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12922
12923 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12924 Fix autogenerated docstring.
12925
12926 2011-10-19 Juri Linkov <juri@jurta.org>
12927
12928 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12929 by checking environment variables "DESKTOP_SESSION" and
12930 "XDG_CURRENT_DESKTOP". (Bug#9779)
12931
12932 2011-10-19 Juri Linkov <juri@jurta.org>
12933
12934 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12935 (browse-url-chromium-program, browse-url-chromium-arguments):
12936 New defcustoms.
12937 (browse-url-default-browser): Check for `browse-url-chromium' and
12938 call `browse-url-chromium-program'.
12939 (browse-url-chromium): New command. (Bug#9779)
12940
12941 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12942
12943 * facemenu.el (list-colors-duplicates): On Windows, detect more
12944 duplicates by assuming that only colors matching "^System" are
12945 special "system colors". (Bug#9722)
12946
12947 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12948
12949 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12950 to distinguish the author from the committer.
12951
12952 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12953
12954 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12955
12956 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12957
12958 * international/mule.el (sgml-html-meta-auto-coding-function):
12959 Add support for detecting encoding in HTML5 specified only as
12960 <meta charset="UTF-8">. Implementation just makes http-equiv and
12961 content-type parts from HTML4 encoding string optional. (Bug#9716)
12962
12963 2011-10-18 Glenn Morris <rgm@gnu.org>
12964
12965 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12966
12967 2011-10-18 Chong Yidong <cyd@gnu.org>
12968
12969 * faces.el (cursor): Doc fix.
12970
12971 2011-10-17 Chong Yidong <cyd@gnu.org>
12972
12973 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12974
12975 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12976
12977 * dirtrack.el (dirtrack): Support shell buffers with path
12978 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12979
12980 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12981
12982 * json.el: Bump version to 1.3 and note change in History.
12983 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12984
12985 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12986
12987 * comint.el (comint-insert-input, comint-send-input)
12988 (comint-get-old-input-default, comint-backward-matching-input)
12989 (comint-next-prompt): Use nil instead of `input' for field property of
12990 past user input (bug#114).
12991
12992 * minibuffer.el (completion--replace): Inherit surrounding properties
12993 (bug#114).
12994 (minibuffer-complete-and-exit): Use it.
12995
12996 * comint.el (comint--table-subvert): Quote the all-completions output
12997 (bug#9160).
12998
12999 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13000
13001 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13002
13003 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13004 window on right of selected. (Bug#9350) Reword other window
13005 entries and separate them from frame entries.
13006
13007 2011-10-15 Glenn Morris <rgm@gnu.org>
13008
13009 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13010 Doc fixes.
13011
13012 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13013
13014 * net/network-stream.el (network-stream-open-starttls):
13015 Improve detection of failure due to lack of TLS support.
13016
13017 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13018 putting the input text in front and in bold.
13019
13020 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13021
13022 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13023
13024 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13025 empty buffer.
13026
13027 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13028 unread-command-events rather than pushing yet-another event.
13029
13030 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13031
13032 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13033 the explanation of the possible choices. Make the options passed
13034 to completing-read shorter.
13035
13036 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13037
13038 * textmodes/flyspell.el (flyspell-large-region): Make sure
13039 extended character mode is used if defined (Bug#1339).
13040
13041 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13042
13043 * simple.el (what-cursor-position): Fix the display of the
13044 character info for LRE, LRO, RLE, and RLO characters by appending
13045 an invisible PDF.
13046
13047 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13048
13049 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13050 even in case of error; add debug spec; simplify data flow.
13051 (with-timeout-handler): Remove.
13052
13053 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13054
13055 Fix Bug#6019, Bug#9315.
13056
13057 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13058 complete `buffer-file-name', the local file name part could look
13059 remotely (for example on VMS).
13060
13061 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13062 `tramp-run-real-handler'.
13063 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13064 already quoted by '"'.
13065
13066 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13067 Let `file-name-handler-alist' be nil, the local file name part
13068 could look remotely (for example on VMS).
13069
13070 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13071
13072 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13073 from here...
13074 (flyspell-post-command-hook): ...to here.
13075
13076 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13077
13078 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13079 if not needed.
13080 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13081 using completion. Protect against "slow" callers.
13082 Remove the "message hack".
13083
13084 2011-10-11 Juri Linkov <juri@jurta.org>
13085
13086 * isearch.el (isearch-lazy-highlight-word): New variable.
13087 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13088 Use it. (Bug#9727)
13089
13090 2011-10-11 Glenn Morris <rgm@gnu.org>
13091
13092 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13093 like f90-previous-statement does.
13094
13095 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13096
13097 * eshell/eshell.el (eshell-command): History should be saved
13098 only in interactive use, to avoid error.
13099
13100 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13101
13102 * minibuffer.el (completion-file-name-table): Fix last change,
13103 i.e. ignore normal errors but not the other ones.
13104
13105 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13106
13107 * window.el (special-display-buffer-names)
13108 (special-display-regexps): Remove some remnants of earlier
13109 changes from doc-strings.
13110 (quit-windows-on): New function.
13111
13112 * vc/vc.el (vc-revert, vc-rollback):
13113 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13114 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13115 (Bug#6183) (Bug#7074) (Bug#7447)
13116
13117 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13118
13119 * window.el (frame-auto-hide-function): Add version tag.
13120 (Bug#9699)
13121
13122 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13123
13124 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13125 condition.
13126
13127 2011-10-09 Leo Liu <sdl.web@gmail.com>
13128
13129 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13130 (Bug#9701)
13131
13132 2011-10-08 Glenn Morris <rgm@gnu.org>
13133
13134 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13135 before the first code statement zero indent. (Bug#9690)
13136
13137 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13138
13139 * simple.el (count-words-region): Always count in the region.
13140 Report the number of lines and characters too.
13141 (count-words): New command, which counts in the buffer if the
13142 region is inactive, as count-words-region used to.
13143 (count-words--message): New function. Handle plurals.
13144 (count-lines-region): Make it an alias for count-words-region.
13145
13146 * bindings.el (esc-map): Replace count-lines-region with
13147 count-words-region.
13148
13149 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13150
13151 * window.el (window--delete): Delete dedicated frame
13152 unconditionally when argument KILL is non-nil. (Bug#9699)
13153 (switch-to-buffer): Fix doc-string typo.
13154
13155 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13156
13157 * eshell/eshell.el (eshell-command): Avoid using hooks.
13158
13159 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13160
13161 * bindings.el ([M-left],[M-right]): Bind to left-word and
13162 right-word respectively.
13163
13164 2011-10-07 Glenn Morris <rgm@gnu.org>
13165
13166 * cus-start.el (debug-on-quit): Fix custom type.
13167
13168 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13169
13170 * subr.el (define-key-after): Clarify that the function is not
13171 useful for non-menu keymaps.
13172
13173 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13174
13175 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13176
13177 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13178 in current minibuffer (Fix bug with recursive minibuffers).
13179
13180 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13181
13182 * progmodes/gdb-mi.el (gdb): Doc fix.
13183
13184 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13185
13186 * window.el (frame-auto-hide-function): New option replacing
13187 frame-auto-delete. Suggested by Stefan Monnier.
13188 (window--delete): Call frame-auto-hide-function instead of
13189 investigating frame-auto-delete.
13190 (window-point-1, set-window-point-1): New functions.
13191 (window-in-direction, record-window-buffer, window-state-get-1)
13192 (display-buffer-record-window): Use window-point-1 instead of
13193 window-point.
13194 (set-window-buffer-start-and-point): Use set-window-point-1.
13195
13196 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13197
13198 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13199
13200 2011-10-05 Glenn Morris <rgm@gnu.org>
13201
13202 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13203 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13204
13205 2011-10-05 Leo Liu <sdl.web@gmail.com>
13206
13207 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13208 works with buffer object.
13209
13210 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13211
13212 * mpc.el (mpc-tool-bar-map): Add labels.
13213
13214 2011-10-04 Glenn Morris <rgm@gnu.org>
13215
13216 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13217
13218 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13219
13220 * window.el (window--delete): New function.
13221 (frame-auto-delete): Resuscitate option.
13222 (bury-buffer, replace-buffer-in-windows)
13223 (quit-window): Rewrite using window--delete.
13224 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13225 Pass display-buffer-mark-dedicated to window--display-buffer-2
13226 (Bug#9639).
13227
13228 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13229
13230 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13231 returns a list (bug#9554). Add remote file name completion.
13232 * comint.el (comint--table-subvert): Curry and get quote&unquote
13233 functions as arguments.
13234 (comint--complete-file-name-data): Adjust call accordingly.
13235 * pcomplete.el (pcomplete--table-subvert): Remove.
13236 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13237
13238 * minibuffer.el (completion-table-case-fold): Use currying.
13239 (completion--styles-type, completion--cycling-threshold-type):
13240 New constants.
13241 (completion-styles, completion-category-overrides)
13242 (completion-cycle-threshold): Use them.
13243 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13244 completion-table-case-fold.
13245
13246 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13247
13248 * minibuffer.el (completion-category-overrides): Fix type of styles
13249 and add more user friendly tags (bug#9660).
13250
13251 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13252
13253 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13254 (mule-input-method-string): New widget.
13255 (default-input-method, language-info-custom-alist): Use it.
13256
13257 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13258
13259 * pcomplete.el: Require comint.
13260 (pcomplete--common-suffix): Remove.
13261 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13262 (pcomplete--table-subvert): Sync with comint--table-subvert.
13263 (pcomplete--entries): Use comint-completion-file-name-table.
13264 * comint.el (comint-unquote-filename): Simplify.
13265 (comint-completion-file-name-table): New function (bug#9616).
13266 (comint--complete-file-name-data): Use it.
13267
13268 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13269 (pcmpl-gnu-tar-buffer): Remove.
13270 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13271 around. Make sure pcomplete-suffix-list is only changed temporarily.
13272 Don't look inside the tar's file if it's too large.
13273
13274 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13275
13276 * cus-edit.el (custom-mode-map):
13277 * epa.el (epa-key-list-mode-map):
13278 * man.el (Man-mode-map):
13279 * startup.el (splash-screen-keymap):
13280 * simple.el (special-mode-map): Use scroll-up-command and
13281 scroll-down-command.
13282
13283 * progmodes/idlw-help.el (idlwave-help-mode-map):
13284 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13285 * net/newst-plainview.el (newsticker-mode-map):
13286 * emulation/ws-mode.el (wordstar-mode-map):
13287 * emulation/vi.el (vi-com-map):
13288 * calc/calc-graph.el (calc-graph-show-dumb):
13289 * term/sun.el (terminal-init-sun):
13290 * term/ns-win.el (global-map):
13291 * progmodes/grep.el (grep-mode-map):
13292 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13293 * mail/rmail.el (rmail-mode-map):
13294 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13295
13296 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13297 custom-safe-themes as special.
13298
13299 2011-10-01 Julien Danjou <julien@danjou.info>
13300
13301 * notifications.el (notifications-notify): Fix docstring.
13302
13303 2011-10-01 Per Starbäck <per@starback.se>
13304
13305 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13306
13307 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13308
13309 * startup.el (command-line-1): Fix last fix by inserting
13310 initial-scratch-message into *scratch* before displaying it.
13311 (Bug#9605) and (Bug#9636)
13312
13313 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13314
13315 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13316 window is hscrolled, move by logical lines. (Bug#9607)
13317 (line-move-visual): Update the doc string to the above effect.
13318
13319 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13320
13321 * window.el (display-buffer-record-window): When WINDOW is the
13322 selected window use `point' instead of `window-point'. (Bug#9626)
13323
13324 * startup.el (command-line-1): Use insert-before-markers when
13325 inserting initial-scratch-message. (Bug#9605)
13326
13327 * help.el (help-window): Remove variable.
13328
13329 2011-09-29 Glenn Morris <rgm@gnu.org>
13330
13331 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13332
13333 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13334
13335 * descr-text.el (describe-char-categories): Accept category
13336 descriptions more than one line long.
13337
13338 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13339
13340 * simple.el (delete-trailing-whitespace): Fix last change.
13341
13342 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13343 Don't confuse "y => 3" as the beginning of a `y' operation.
13344
13345 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13346 object has more than 4 slots (bug#9613).
13347
13348 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13349
13350 * subr.el (with-output-to-temp-buffer):
13351 * net/quickurl.el (quickurl, quickurl-browse-url):
13352 Fix typos in docstrings.
13353
13354 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13355
13356 * minibuffer.el (completion-styles)
13357 (completion-category-overrides): Cross reference each other in doc
13358 strings.
13359
13360 2011-09-27 Glenn Morris <rgm@gnu.org>
13361
13362 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13363 to split-string. (Bug#9606)
13364
13365 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13366
13367 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13368 (bug#9615).
13369
13370 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13371
13372 * emacs-lisp/package.el (list-packages): Fix echo area message.
13373
13374 2011-09-27 Leo Liu <sdl.web@gmail.com>
13375
13376 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13377
13378 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13379
13380 * net/dbus.el (dbus-unregister-object): Don't release services for
13381 registered signals. (Bug#9581)
13382
13383 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13384
13385 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13386 function that picks between cfengine 2 and 3 support
13387 automatically. Update docs accordingly.
13388
13389 2011-09-22 Kenichi Handa <handa@m17n.org>
13390
13391 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13392 ZERO.
13393 (indian-itrans-v5-table-for-tamil): New variable.
13394 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13395
13396 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13397
13398 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13399 that's true if the current command involved collapsing of text.
13400 It's reset to false at the beginning of the next command.
13401 (allout-post-command-business): Move the cursor to the beginning
13402 of entry if the cursor is hidden and collapsing activity just
13403 happened.
13404
13405 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13406
13407 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13408 tracking (Bug#9541).
13409
13410 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13411
13412 * net/newst-reader.el (newsticker-html-renderer)
13413 (newsticker-show-news): Automatically load html rendering package
13414 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13415 because w3m-fill-column is let-bound" and the error "Symbol's value
13416 as variable is void: w3m-fill-column".
13417
13418 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13419
13420 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13421 Release services only if they are defined. (Bug#9581)
13422
13423 2011-09-23 Richard Stallman <rms@gnu.org>
13424
13425 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13426 distinguish start of paragraph from start of its text.
13427
13428 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13429
13430 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13431 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13432 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13433
13434 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13435
13436 * international/mule-diag.el (mule-diag): Insert a newline after
13437 each fontset description.
13438
13439 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13440
13441 * simple.el (delete-trailing-whitespace):
13442 Document last change; simplify.
13443
13444 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13445
13446 * simple.el (delete-trailing-whitespace): Also delete
13447 extra newlines at the end of the buffer.
13448
13449 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13450 (picture-newline): Use forward-line so as to ignore fields.
13451
13452 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13453
13454 * subr.el (with-wrapper-hook): Fix edebug spec.
13455
13456 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13457
13458 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13459 (bug#4538).
13460
13461 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13462
13463 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13464 Fix nasty bug using wrong cached values.
13465
13466 2011-09-23 Alan Mackenzie <acm@muc.de>
13467
13468 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13469
13470 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13471
13472 * window.el (pop-to-buffer): Ensure right window is selected if we
13473 chose another frame.
13474
13475 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13476
13477 * simple.el (what-cursor-position): Use get-char-property-change
13478 and next-single-char-property-change, to be able to show display
13479 properties that come from overlays as well as text properties.
13480
13481 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13482
13483 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13484
13485 * cmuscheme.el (run-scheme, switch-to-scheme):
13486 * cus-edit.el (customize-group, custom-buffer-create)
13487 (customize-browse):
13488 * info.el (info):
13489 * shell.el (shell):
13490 * mail/sendmail.el (mail):
13491 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13492
13493 2011-09-22 Richard Stallman <rms@gnu.org>
13494
13495 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13496 move back only to line beg, don't move back over blank lines.
13497
13498 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13499
13500 * files.el (copy-directory): Set directory attributes only in case
13501 they could be retrieved from the source directory. (Bug#9565)
13502
13503 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13504
13505 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13506 (hs-find-block-beginning, hs-hide-level-recursive):
13507 Ignore strings as well as comments. (Bug#9502)
13508
13509 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13510
13511 * progmodes/sql.el (sql-comint-postgres):
13512 Convert port number to a string. (Bug#9566)
13513
13514 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13515
13516 * window.el (quit-window): Undedicate window when switching to
13517 previous buffer. Reported by Thierry Volpiatto
13518 <thierry.volpiatto@gmail.com>.
13519 (special-display-popup-frame): When popping up a new frame reset
13520 its previous buffers to nil. Simplify code.
13521
13522 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13523
13524 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13525 and process filter, as done also in `shell-command'.
13526
13527 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13528
13529 * window.el (set-window-buffer-start-and-point):
13530 Call set-window-start with NOFORCE argument t.
13531 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13532 (quit-window): Reword doc-string. Handle new format of
13533 quit-restore parameter. Don't delete window if it has a
13534 previous buffer we can show instead of the present one.
13535 (display-buffer-record-window): Rewrite using a new format for
13536 the quit-restore window parameter
13537 (special-display-popup-frame, display-buffer-same-window)
13538 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13539 (display-buffer-pop-up-window, display-buffer-use-some-window):
13540 Adapt symbol passed to display-buffer-record-window.
13541 * help.el (help-window-setup): Handle new format of quit-restore
13542 parameter.
13543
13544 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13545
13546 * faces.el (face-list): Fix docstring (bug#9564).
13547
13548 * window.el (display-buffer--action-function-custom-type):
13549 Don't include internal functions in the Custom interface.
13550
13551 2011-09-20 Juri Linkov <juri@jurta.org>
13552
13553 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13554 (Info-forward-node, Info-backward-node, Info-next-preorder)
13555 (Info-last-preorder): Use it. (Bug#9528)
13556
13557 2011-09-20 Juri Linkov <juri@jurta.org>
13558
13559 * info.el (Info-last-preorder): Visit last menu item only when
13560 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13561
13562 2011-09-20 Julien Danjou <julien@danjou.info>
13563
13564 * password-cache.el (password-cache-remove): Remove entries even if the
13565 value is nil, so that password with a nil value (negative caching) is
13566 possible to invalidate.
13567
13568 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13569
13570 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13571 all whitespace around breakpoint. (Bug#9553)
13572 (f90-find-breakpoint): Only break at whitespace inside a comment.
13573
13574 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * minibuffer.el (completion-file-name-table): Keep track of errors.
13577 (completion-table-with-predicate): Handle the case where pred1 is nil.
13578 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13579
13580 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13581
13582 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13583 (debugger-return-value): Signal an error if the debugging context does
13584 not await any return value.
13585
13586 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13587 * image-mode.el (image-toggle-display-text)
13588 (image-toggle-display-image): Stay away from evil `intangible'.
13589
13590 2011-09-19 Leo Liu <sdl.web@gmail.com>
13591
13592 * replace.el (occur-revert-arguments): Make it permanent-local.
13593 (occur-mode): Don't call font-lock-defontify.
13594
13595 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13596
13597 * net/ldap.el (ldap-search-internal): Don't push empty search
13598 result (Bug#9508).
13599
13600 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13601
13602 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13603
13604 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13605
13606 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13607 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13608
13609 2011-09-18 Juri Linkov <juri@jurta.org>
13610
13611 * buff-menu.el (Buffer-menu-mode-map):
13612 * dired.el (dired-mode-map):
13613 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13614 (lisp-interaction-mode-map):
13615 * emacs-lisp/package.el (package-menu-mode-map):
13616 * epa.el (epa-key-list-mode-map):
13617 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13618 (menu-bar-options-menu):
13619 * outline.el (outline-mode-menu-bar-map):
13620 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13621 * vc/vc-dir.el (vc-dir-menu-map):
13622 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13623 Capitalize non-function content words in menu item strings.
13624
13625 * dired.el (dired-mode-map): Add menu item for
13626 `image-dired-dired-toggle-marked-thumbs'.
13627
13628 2011-09-18 Juri Linkov <juri@jurta.org>
13629
13630 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13631 to `isearch-case-fold-search' and restore its original value
13632 after the `isearch-mode' call.
13633
13634 2011-09-18 Juri Linkov <juri@jurta.org>
13635
13636 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13637 because `zgrep' returns 1 for successful matches (bug#9226).
13638
13639 2011-09-18 Juri Linkov <juri@jurta.org>
13640
13641 * info.el (Info-extract-menu-node-name): Check the second match
13642 for empty string (second test-case of bug#9528).
13643 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13644 intermediate nodes to the history (first test-case of bug#9528).
13645
13646 2011-09-18 Juri Linkov <juri@jurta.org>
13647
13648 * info.el (Info-mode-syntax-table): New variable.
13649 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13650
13651 2011-09-18 Juri Linkov <juri@jurta.org>
13652
13653 * info.el (Info-file-supports-index-cookies):
13654 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13655 outputs one more line for long file names (bug#4142).
13656
13657 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13658
13659 * newcomment.el (comment-normalize-vars): If prompting for
13660 comment-start, set comment-start-skip too (Bug#8424).
13661
13662 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13663
13664 * icomplete.el: Fix previous fix of Bug#5849.
13665 (icomplete-mode): Don't set completion-show-inline-help.
13666 (icomplete-minibuffer-setup): Set completion-show-inline-help
13667 locally during icompletion.
13668
13669 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13670
13671 * woman.el (woman2-process-escapes): Don't delete unrecognized
13672 escapes (Bug#7843).
13673
13674 * files.el (inhibit-first-line-modes-regexps): Add image files.
13675 (hack-local-variables-prop-line): Return nil for malformed
13676 prop-lines (Bug#9044).
13677
13678 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13679
13680 * net/tramp.el (top): Don't require 'shell.
13681 (tramp-methods): Fix docstring.
13682 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13683 Return complete remote file name. Handle "smb" case.
13684 Use `tramp-tmpdir', if defined for the respective method.
13685 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13686
13687 * net/tramp-compat.el (top): Require 'shell.
13688
13689 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13690 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13691 `tramp-current-host'.
13692 (tramp-get-remote-tmpdir): Remove.
13693
13694 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13695 `tramp-tmpdir' entries.
13696 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13697 (tramp-smb-handle-file-attributes): Ignore errors.
13698 (tramp-smb-wait-for-output): Check also for process end.
13699
13700 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13701
13702 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13703 when sending QUIT (bug#9312).
13704
13705 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13706
13707 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13708 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13709 occur-mode-display-occurrence.
13710 (occur-edit-mode): Add usage message.
13711 (occur-cease-edit): New command.
13712 (occur-after-change-function): Use text properties to find the
13713 position of the prefix text.
13714 (occur-engine): Set stickiness of prefix text properties.
13715
13716 2011-09-17 Glenn Morris <rgm@gnu.org>
13717
13718 * progmodes/etags.el (complete-tag):
13719 Fix call to completion-in-region. (Bug#9526)
13720
13721 2011-09-17 Juri Linkov <juri@jurta.org>
13722
13723 * textmodes/ispell.el (ispell-word): Add to the error message
13724 the word, ispell program name and current dictionary (bug#9121).
13725 (ispell-tex-arg-end): Capitalize "error" in the error message.
13726
13727 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13728
13729 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13730 check. (Bug#4251)
13731
13732 2011-09-17 Juri Linkov <juri@jurta.org>
13733
13734 * window.el (window-safe-min-height, window-safe-min-width):
13735 Fix typos (followup to bug#9522).
13736
13737 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13738
13739 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13740
13741 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13742
13743 * simple.el (line-move): If goal-column is set, move by logical
13744 lines, not by display lines. (Bug#971)
13745 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13746 to reflect the above change.
13747
13748 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13749
13750 * image.el (imagemagick-register-types): Use regexp-opt.
13751
13752 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13753
13754 * window.el (display-buffer-base-action): Rename from
13755 display-buffer-default-action. Make default value empty.
13756 (display-buffer-overriding-action): Convert to defvar.
13757 (display-buffer-fallback-action): New var.
13758
13759 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13760
13761 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13762 declaration.
13763 (package--add-to-archive-contents): If there is a duplicate entry
13764 with an older version, remove it.
13765 (package-menu-mark-delete, package-menu-mark-install)
13766 (package-menu-mark-unmark): Make unused args optional.
13767 (package-menu-mark-obsolete-for-deletion):
13768 Use package-menu-get-status instead of a regexp search.
13769 (package-menu-get-status): Use tabulated-list-entry.
13770 (package-menu-mark-upgrades): New command.
13771 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13772 (package-menu-execute): Do installation before deletion.
13773 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13774 instead of checking major-mode.
13775 (package-menu--find-upgrades): New function.
13776
13777 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13778
13779 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13780 passwords in the log buffer.
13781 (smtpmail-process-filter): Update the process marker so that the
13782 "broken by peer" status message is inserted in the right place.
13783
13784 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13785
13786 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13787 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13788 bibtex-completion-at-point-function.
13789 (bibtex-completion-at-point-function): Use them.
13790
13791 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13792
13793 * mpc.el (mpc-constraints-tag-lookup): New function.
13794 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13795 also to browser "album|playlist".
13796
13797 2011-09-14 Juri Linkov <juri@jurta.org>
13798
13799 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13800 (isearch-edit-string): Use length of `isearch-string' when
13801 `isearch-fail-pos' returns nil.
13802 (isearch-message): Remove duplicate code and call
13803 `isearch-fail-pos' with arg `t'.
13804
13805 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13806
13807 * replace.el (occur-mode-goto-occurrence): Don't force using other
13808 window (Bug#9499).
13809
13810 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13811
13812 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13813
13814 * window.el (display-buffer-window): Remove.
13815 (display-buffer-record-window): Use help-setup window parameter
13816 instead of variable display-buffer-window.
13817 (display-buffer-function, special-display-buffer-names)
13818 (special-display-function): Mention help-setup parameter instead
13819 of display-buffer-window in doc-string.
13820 * help.el (help-window-setup): New argument help-window.
13821 Use help-window-setup parameter instead of display-buffer-window.
13822 Reword some messages.
13823 (with-help-window): Pass window used for displaying the buffer
13824 to help-window-setup. Don't set display-buffer-window.
13825
13826 2011-09-13 Glenn Morris <rgm@gnu.org>
13827
13828 * emacs-lisp/debug.el (debugger-make-xrefs):
13829 Preserve point. (Bug#9462)
13830
13831 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13832
13833 * window.el (window-deletable-p): Use next-frame.
13834
13835 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13836
13837 * window.el (window-auto-delete): Remove.
13838 (window-deletable-p): Remove argument FORCE. Don't deal with
13839 dedication and previous buffers.
13840 (switch-to-prev-buffer): Don't delete window.
13841 (delete-windows-on): Delete a window's frame if and only if the
13842 window is dedicated.
13843 (replace-buffer-in-windows): Delete buffer's window or frame if
13844 and only if window is dedicated.
13845 (quit-window): Handle quit-restore as before last change.
13846 (bury-buffer): Delete window only if window-deletable-p returns t.
13847
13848 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13849
13850 * window.el (window-deletable-p): Never delete the last frame on a
13851 given terminal.
13852
13853 2011-09-13 Glenn Morris <rgm@gnu.org>
13854
13855 * help.el (describe-key-briefly): Copy previous standard-output change.
13856
13857 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13858
13859 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13860
13861 2011-09-13 Glenn Morris <rgm@gnu.org>
13862
13863 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13864 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13865
13866 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13867
13868 * dired-aux.el (dired-mark-read-string): Don't return default
13869 value on empty input (Bug#9361).
13870 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13871 Omit initial minibuffer contents.
13872 (dired-do-chmod): Signal an error on empty input.
13873 (dired-mark-read-string): Don't return default on empty input.
13874
13875 * files.el (file-modes-symbolic-to-number): Doc fix.
13876
13877 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13878
13879 * international/mule-cmds.el (ucs-completions): Remove.
13880 (read-char-by-name): Use complete-with-action instead; add metadata.
13881
13882 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13883
13884 * window.el (display-buffer--action-function-custom-type)
13885 (display-buffer--action-custom-type): New vars.
13886 (display-buffer-alist, display-buffer-default-action)
13887 (display-buffer-overriding-action): Add defcustom types.
13888
13889 * frame.el (delete-other-frames): Doc fix (Bug#276).
13890
13891 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13892
13893 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13894
13895 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13896
13897 Change modes that used same-window-* vars to use switch-to-buffer.
13898
13899 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13900 Use switch-to-buffer.
13901
13902 * cus-edit.el (customize-group, custom-buffer-create)
13903 (customize-browse, custom-buffer-create-other-window):
13904 Use switch-to-buffer or switch-to-buffer-other-window.
13905
13906 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13907 (Info-prev, Info-up, Info-speedbar-goto-node)
13908 (info-display-manual): Use switch-to-buffer.
13909 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13910
13911 * mail/sendmail.el (mail): Use switch-to-buffer.
13912 (mail-recover): Use switch-to-buffer-other-window.
13913
13914 * cmuscheme.el (run-scheme, switch-to-scheme):
13915 * ielm.el (ielm):
13916 * shell.el (shell):
13917 * net/rlogin.el (rlogin):
13918 * net/telnet.el (telnet, rsh):
13919 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13920
13921 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13922
13923 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13924
13925 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13926
13927 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13928 so don't mention it (bug#9301).
13929 (dired-sort-toggle-or-edit): Clarify string further.
13930
13931 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13932 match `x', `w32' and `ns', like the manual says (bug#9029).
13933
13934 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13935 (process-kill-buffer-query-function): Mention the buffer name in
13936 the query.
13937
13938 * image-mode.el (image-next-line): The line parameter is mandatory
13939 (bug#9258).
13940
13941 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13942 which can be useful (bug#9301).
13943
13944 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13945
13946 * subr.el (match-string): Mention that the current buffer should
13947 be the same as the search was done in (bug#9282).
13948
13949 * facemenu.el: Disable the remove-* commands if the mark isn't
13950 active (bug#9162).
13951
13952 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13953
13954 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13955 of display-buffer.
13956 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13957
13958 * replace.el (occur-mode-goto-occurrence)
13959 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13960 and display-buffer.
13961
13962 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13963 display-buffer.
13964
13965 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13966 special-display and same-window variables.
13967 (mail-other-window): Use switch-to-buffer-other-window.
13968 (mail-other-frame): USe switch-to-buffer-other-frame.
13969
13970 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13971 Use display-buffer-other-frame.
13972 (gdb-display-gdb-buffer): Use pop-to-buffer.
13973
13974 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13975
13976 * progmodes/python.el: Don't set same-window-buffer-names.
13977
13978 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13979
13980 * window.el (display-buffer-alist): Add *Python*.
13981
13982 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13983
13984 * window.el (display-buffer-alist): Add entry for buffers
13985 previously handled same-window-*.
13986 (display-buffer-alist, display-buffer-default-action)
13987 (display-buffer-overriding-action): Mark as risky.
13988 (display-buffer-alist): Document action function changes.
13989 (display-buffer--same-window-action)
13990 (display-buffer--other-frame-action): New variables.
13991 (switch-to-buffer, display-buffer-other-frame): Use them.
13992 (display-buffer): Rename reuse-frame entry to reusable-frames.
13993 (display-buffer-reuse-selected-window): Function deleted.
13994 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13995 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13996 (display-buffer-special): New function.
13997 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13998 display-buffer-reuse-or-pop-window. Split off special-display
13999 part into display-buffer-special.
14000 (display-buffer-use-some-window): Don't perform any special
14001 pop-up-frames handling.
14002 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14003 (display-buffer--maybe-same-window): Rename from
14004 display-buffer-maybe-same-window.
14005
14006 * info.el: Don't set same-window-regexps.
14007 (info-setup): New function.
14008 (info-other-window, info): Call it.
14009
14010 * cus-edit.el: Don't set same-window-regexps.
14011 (customize-group): New argument.
14012 (customize-group-other-window): Use it.
14013 (customize-face, customize-face-other-window): Likewise.
14014 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14015
14016 * net/rlogin.el:
14017 * net/telnet.el:
14018 * progmodes/gud.el: Don't set same-window-regexps.
14019
14020 * cmuscheme.el:
14021 * ielm.el:
14022 * shell.el:
14023 * mail/sendmail.el:
14024 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14025
14026 2011-09-10 Juri Linkov <juri@jurta.org>
14027
14028 * isearch.el (isearch-edit-string): Remove obsolete mention of
14029 `C-w' (`isearch-yank-word-or-char') from docstring.
14030 (isearch-query-replace): Fix typo in docstring (bug#9466).
14031
14032 2011-09-10 Juri Linkov <juri@jurta.org>
14033
14034 * paren.el (show-paren-function): Don't show escaped parens.
14035 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14036
14037 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14038
14039 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14040 (mm-default-file-encoding): Remove autoload forms, they are
14041 replaced with autoload cookies in mml.el and mm-encode.el.
14042 (mail-add-attachment): New command.
14043 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14044 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14045 the doc string.
14046 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14047
14048 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14049
14050 * simple.el (count-words-region): Use buffer if there's no region
14051 (bug#9429).
14052
14053 2011-09-09 Juri Linkov <juri@jurta.org>
14054
14055 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14056 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14057 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14058
14059 2011-09-09 Alan Mackenzie <acm@muc.de>
14060
14061 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14062 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14063
14064 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14065
14066 Fix for Savannah bug#9392.
14067 * simple.el (mail-encode-mml): New defvar.
14068
14069 * mail/rmail.el (mail-encode-mml): Add a defvar.
14070 (rmail-enable-mime-composing): Default to t.
14071 (rmail-forward): Use MIME method of forwarding only if both
14072 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14073 Set mail-encode-mml non-nil if the MIME method was used.
14074
14075 * mail/sendmail.el (mml-to-mime): Add autoload form.
14076 (mail-encode-mml): Add a defvar.
14077 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14078 to nil.
14079 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14080 message through mml-to-mime, and reset mail-encode-mml to nil.
14081
14082 2011-09-09 Glenn Morris <rgm@gnu.org>
14083
14084 * woman.el (woman-if-body): When processing an .el block,
14085 do not delete the next .el block as well. (Bug#9447)
14086 (woman-special-characters): Add oq, cq, and hy characters.
14087
14088 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14089
14090 * window.el (window-deletable-p): Make sure window is live before
14091 invoking window-prev-buffers.
14092
14093 2011-09-08 Leo Liu <sdl.web@gmail.com>
14094
14095 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14096
14097 2011-09-08 Juri Linkov <juri@jurta.org>
14098
14099 * progmodes/compile.el (compilation-environment): Make it
14100 a defcustom (bug#8340).
14101
14102 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14103
14104 * window.el (frame-auto-delete): Rename to window-auto-delete.
14105 Make it control auto-deletion of windows and/or frames.
14106 (window-deletable-p): New argument FORCE. Rewrite conditions
14107 for deleting window/frame. (Bug#9419)
14108 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14109 Rewrite handling of case when window/frame can be deleted.
14110 (delete-windows-on): Call window-deletable-p with new FORCE
14111 argument t. (Bug#9456)
14112
14113 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14114
14115 * help-mode.el (help-mode): Restore autoload.
14116
14117 2011-09-07 Juri Linkov <juri@jurta.org>
14118
14119 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14120 `compilation-environment'. Set buffer-local
14121 `compilation-environment' to `thisenv' later after (funcall mode).
14122 (Bug#8340)
14123
14124 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14125 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14126 instead of replacing its value. (Bug#8340)
14127
14128 2011-09-07 Juri Linkov <juri@jurta.org>
14129
14130 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14131 based on text properties put by `grep-filter' instead of matching
14132 escape sequences.
14133 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14134 to the value of `grep-error-screen-columns' (bug#9438).
14135
14136 2011-09-07 Juri Linkov <juri@jurta.org>
14137
14138 * simple.el (next-error-highlight, next-error-highlight-no-select):
14139 Doc fix (bug#9432).
14140
14141 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14142
14143 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14144 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14145
14146 2011-09-07 Leo Liu <sdl.web@gmail.com>
14147
14148 * net/rcirc.el (rcirc-mode): Conditionally initialize
14149 rcirc-input-ring.
14150
14151 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14152
14153 * emacs-lisp/find-func.el (find-function-C-source): Only set
14154 find-function-C-source-directory after checking that we found a source
14155 file there (bug#9440).
14156
14157 2011-09-06 Alan Mackenzie <acm@muc.de>
14158
14159 * isearch.el (isearch-other-meta-char): Wherever a key list is
14160 unread, "unread" the prefix arg, too. This fixes bug #8901.
14161
14162 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14163
14164 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14165
14166 2011-09-05 Juri Linkov <juri@jurta.org>
14167
14168 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14169
14170 2011-09-05 Juri Linkov <juri@jurta.org>
14171
14172 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14173 keeping point where processing of grep matches begins, and
14174 continue to delete remaining escape sequences from the same point.
14175 (grep-filter): Make leading zero optional in "0?1;31m" because
14176 git-grep emits "\033[1;31m" escape sequences unlike expected
14177 "\033[01;31m" as GNU Grep does (bug#9408).
14178 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14179
14180 2011-09-05 Juri Linkov <juri@jurta.org>
14181
14182 * subr.el (y-or-n-p): Capitalize "yes".
14183
14184 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14185
14186 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14187 `tramp-cache-unload-hook' where appropriate.
14188 (tramp-methods): Rename `tramp-remote-sh' to
14189 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14190 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14191
14192 * net/tramp-sh.el (top): Don't require 'shell.
14193 (tramp-methods): Add `tramp-remote-shell' and
14194 `tramp-remote-shell-args' entries.
14195 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14196 (tramp-sh-handle-shell-command): Remove.
14197 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14198 Use `tramp-remote-shell'.
14199
14200 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14201
14202 * mail/sendmail.el (sendmail-query-once-function): Delete.
14203 (sendmail-query-once): Save directly to send-mail-function.
14204 Update message-send-mail-function too.
14205
14206 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14207
14208 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14209
14210 * progmodes/python.el (python-mode-map): Use correct function to
14211 start python interpreter from menu-bar (as reported by Geert
14212 Kloosterman).
14213 (inferior-python-mode-map): Fix typo.
14214 (python-shell-map): Remove.
14215
14216 2011-09-03 Deniz Dogan <deniz@dogan.se>
14217
14218 * net/rcirc.el (rcirc-print): Simplify code for
14219 rcirc-scroll-show-maximum-output. There is no need to walk
14220 through all windows to find the right one.
14221
14222 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14223
14224 * help.el (help-return-method): Doc fix.
14225
14226 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14227
14228 * window.el (window-deletable-p): Don't return a non-nil value
14229 when there's a buffer that was shown in the window before.
14230 (Bug#9419)
14231 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14232 Set window's previous buffers to nil.
14233
14234 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14235
14236 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14237 newline before and after the tag line, so it doesn't interfere
14238 with determining the paragraph direction of bidirectional text.
14239
14240 2011-09-03 Leo Liu <sdl.web@gmail.com>
14241
14242 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14243
14244 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14245
14246 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14247 (pop-to-buffer): Change interactive spec. Pass second argument
14248 directly to display-buffer.
14249 (display-buffer): Fix interactive spec. Use functionp to
14250 distinguish between a function and a list of functions.
14251
14252 * abbrev.el (edit-abbrevs):
14253 * arc-mode.el (archive-extract):
14254 * autoinsert.el (auto-insert):
14255 * bookmark.el (bookmark-bmenu-list):
14256 * files.el (find-file):
14257 * view.el (view-buffer):
14258 * progmodes/compile.el (compilation-goto-locus):
14259 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14260
14261 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14262
14263 * window.el (display-buffer-alist): Doc fix.
14264 (display-buffer): Add docstring. Don't treat
14265 display-buffer-default specially.
14266 (display-buffer-reuse-selected-window)
14267 (display-buffer-same-window, display-buffer-maybe-same-window)
14268 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14269 (display-buffer-pop-up-window)
14270 (display-buffer-reuse-or-pop-window)
14271 (display-buffer-use-some-window): New functions.
14272 (display-buffer-default-action): Use them.
14273 (display-buffer-default): Delete.
14274 (pop-to-buffer-1): Fix choice of actions.
14275
14276 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14277
14278 * minibuffer.el (completion--insert-strings): Don't get confused by
14279 completion entries that end with an LF char.
14280
14281 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14282
14283 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14284
14285 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14286
14287 * window.el (display-buffer): Restore interactive spec.
14288 (display-buffer-same-window, display-buffer-other-window):
14289 New functions.
14290 (pop-to-buffer-1): New function. Use the above.
14291 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14292 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14293
14294 * view.el (view-buffer-other-window, view-buffer-other-frame):
14295 Just use pop-to-buffer.
14296
14297 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14298
14299 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14300
14301 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14302
14303 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14304
14305 2011-08-31 Richard Stallman <rms@gnu.org>
14306
14307 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14308 of the separation of rmail-view-buffer from rmail-buffer.
14309 If you say no to "replace original", the decrypt is in the
14310 view buffer. If you say yes, the decrypt goes into the
14311 rmail buffer also.
14312
14313 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14314
14315 * window.el (display-buffer-window): Rewrite doc-string.
14316 (display-buffer-record-window): New function.
14317 (display-buffer-macro-specifiers)
14318 (display-buffer-even-window-sizes, display-buffer-set-height)
14319 (display-buffer-set-width, display-buffer-in-window)
14320 (display-buffer-reuse-window, display-buffer-split-specifiers)
14321 (display-buffer-side-specifiers, display-buffer-split-window-1)
14322 (display-buffer-split-window, display-buffer-split-atom-window)
14323 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14324 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14325 (display-buffer-other-window-means-other-frame)
14326 (display-buffer-normalize-special)
14327 (display-buffer-normalize-default)
14328 (display-buffer-normalize-argument)
14329 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14330 (display-buffer-normalize-specifiers, display-buffer-frame)
14331 (display-buffer-same-window, display-buffer-same-frame)
14332 (display-buffer-other-window)
14333 (display-buffer-same-frame-other-window)
14334 (display-buffer-other-frame, pop-to-buffer-same-window)
14335 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14336 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14337 (switch-to-buffer-same-frame)
14338 (switch-to-buffer-other-window-same-frame)
14339 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14340 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14341 (display-buffer-alist-set): Remove.
14342 (display-buffer-function, special-display-buffer-names)
14343 (special-display-regexps, special-display-function):
14344 In doc-string refer to display-buffer-window and quit-restore
14345 parameter.
14346 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14347 (special-display-frame-alist, special-display-popup-frame)
14348 (same-window-buffer-names, same-window-regexps, same-window-p)
14349 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14350 (split-window-preferred-function, split-height-threshold)
14351 (split-width-threshold, window-splittable-p)
14352 (split-window-sensibly, window--try-to-split-window)
14353 (window--frame-usable-p, even-window-heights)
14354 (window--even-window-heights, window--display-buffer-1)
14355 (window--display-buffer-2, display-buffer-other-frame):
14356 Restore old Emacs 23 code, order and doc-strings where applicable.
14357 (display-buffer-default, display-buffer-assq-regexp): New functions.
14358 (display-buffer-alist): Rewrite doc-string.
14359 (display-buffer-default-action)
14360 (display-buffer-overriding-action): New variables.
14361 (display-buffer, switch-to-buffer): Rewrite.
14362 (pop-to-buffer): Restore Emacs 23 behavior but use
14363 window-normalize-buffer-to-display.
14364 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14365 Restore Emacs 23 behavior but use
14366 window-normalize-buffer-to-switch-to.
14367 (pop-to-buffer-same-window): Rewrite.
14368 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14369 Rewrite using Emacs 23 options.
14370
14371 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14372
14373 * net/tramp.el (tramp-root-regexp): Remove.
14374 (tramp-completion-file-name-regexp-unified)
14375 (tramp-completion-file-name-regexp-separate)
14376 (tramp-completion-file-name-regexp-url): Don't use leading volume
14377 letter on w32 systems. (Bug#5303, Bug#9311)
14378 (tramp-drop-volume-letter): Simplify definition.
14379 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14380
14381 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14382
14383 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14384 (bug#9356).
14385
14386 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14387
14388 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14389
14390 2011-08-29 Juri Linkov <juri@jurta.org>
14391
14392 * isearch.el (isearch-done): Don't display message "Mark saved"
14393 when arg `edit' is non-nil to prevent its flicker in the echo area.
14394
14395 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14396
14397 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14398 obsolete packages for deletion.
14399
14400 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14401
14402 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14403 (help-mode): Derive help-mode from special-mode. Don't invoke
14404 view-mode from help-mode.
14405 (help-xref-override-view-map): Remove.
14406 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14407 view-mode is not used anymore.
14408
14409 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14410
14411 * server.el (server-port): Doc fix.
14412
14413 * cus-theme.el (custom-theme-choose-mode): Inherit from
14414 special-mode (Bug#9124).
14415 (custom-theme-choose-mode-map): Add special-mode to parent.
14416
14417 2011-08-28 Alan Mackenzie <acm@muc.de>
14418
14419 * progmodes/cc-fonts.el
14420 (c-make-font-lock-BO-decl-search-function): New function.
14421 (c-basic-matchers-after - "Fontify the clauses after various
14422 keywords"): Extract the three keyword lists for the 3 erroneous
14423 constructs from the list of four, and use the new function above
14424 in place of an old one.
14425
14426 2011-08-28 Deniz Dogan <deniz@dogan.se>
14427
14428 * net/rcirc.el (rcirc-insert-prev-input)
14429 (rcirc-insert-next-input): Remove unused argument.
14430
14431 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14432
14433 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14434
14435 2011-08-27 Alan Mackenzie <acm@muc.de>
14436
14437 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14438 handle function pointer parameters properly.
14439
14440 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14441
14442 * window.el (display-buffer-reuse-window): Fix case where
14443 selected window was reused with non-nil OTHER-WINDOW argument.
14444 (Bug#9381)
14445
14446 2011-08-27 Deniz Dogan <deniz@dogan.se>
14447
14448 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14449 oftc's NickServ messages.
14450
14451 2011-08-27 Glenn Morris <rgm@gnu.org>
14452
14453 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14454
14455 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14456
14457 * emacs-lisp/package.el (package-install): Call package-initialize
14458 if called interactively.
14459
14460 2011-08-26 Leo Liu <sdl.web@gmail.com>
14461
14462 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14463
14464 2011-08-25 Juri Linkov <juri@jurta.org>
14465
14466 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14467 `search-whitespace-regexp' (bug#9364).
14468
14469 2011-08-25 Juri Linkov <juri@jurta.org>
14470
14471 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14472 `regexp-search-ring' to their global values to protect from
14473 updating by `read-from-minibuffer' (bug#9185).
14474
14475 2011-08-25 Juri Linkov <juri@jurta.org>
14476
14477 * textmodes/ispell.el (ispell-command-loop): Add newline
14478 at the end of the "Use option `i'..." line.
14479
14480 2011-08-25 Juri Linkov <juri@jurta.org>
14481
14482 * battery.el (display-battery-mode): If `battery-status-function'
14483 or `battery-mode-line-format' is nil, display the message and set
14484 `display-battery-mode' to nil (bug#9363).
14485
14486 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14487
14488 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14489 bidi-string-mark-left-to-right; they are unnecessary now.
14490
14491 2011-08-25 Deniz Dogan <deniz@dogan.se>
14492
14493 * net/quickurl.el: Documentation typo fixes.
14494
14495 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14496
14497 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14498
14499 2011-08-25 Glenn Morris <rgm@gnu.org>
14500
14501 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14502
14503 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14504 (smtpmail-via-smtp): Handle nil response from smtp.
14505
14506 2011-08-24 Juri Linkov <juri@jurta.org>
14507
14508 * proced.el (proced-marked): Inherit from `error' instead of
14509 `font-lock-warning-face'.
14510
14511 * ibuffer.el (ibuffer-marked-face): Change default face from
14512 `font-lock-warning-face' to `warning'.
14513 (ibuffer-deletion-face): Change default face from
14514 `font-lock-type-face' to `error'.
14515
14516 * battery.el (battery-update): Use the face `error' instead of
14517 `font-lock-warning-face' (bug#6117).
14518
14519 2011-08-24 Juri Linkov <juri@jurta.org>
14520
14521 * faces.el (success): Change face color from "Green3" to
14522 "ForestGreen" on light background (bug#9353).
14523
14524 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14525
14526 * window.el (quit-window): Rename from quit-restore-window.
14527 Use same arglist as old quit-window.
14528 (frame-auto-delete): Doc fix.
14529
14530 * view.el (view-mode-exit): Use quit-window.
14531
14532 2011-08-24 Juri Linkov <juri@jurta.org>
14533
14534 * isearch.el (isearch-ring-adjust1): Start visiting previous
14535 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14536 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14537 for empty search string (when the last search string is reused
14538 automatically) to adjust the isearch ring to the last element and
14539 prepare the correct index for further M-p commands (bug#9185).
14540
14541 2011-08-24 Kenichi Handa <handa@m17n.org>
14542
14543 * international/ucs-normalize.el: If decomposition property of
14544 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14545 nil.
14546 (nfd, nfkd): Likewise.
14547
14548 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14549
14550 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14551 from process filters aren't reliably transmitted to the surrounding
14552 accept-process-output.
14553 (mpc-proc-check): New function.
14554 (mpc-proc-sync): Use it (bug#8293)
14555
14556 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14557
14558 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14559 Add compatibility functions (bug#9313).
14560
14561 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14562
14563 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14564
14565 * international/uni-bidi.el: Regenerate.
14566
14567 2011-08-23 Kenichi Handa <handa@m17n.org>
14568
14569 * international/charprop.el:
14570 * international/uni-bidi.el:
14571 * international/uni-category.el:
14572 * international/uni-combining.el:
14573 * international/uni-comment.el:
14574 * international/uni-decimal.el:
14575 * international/uni-decomposition.el:
14576 * international/uni-digit.el:
14577 * international/uni-lowercase.el:
14578 * international/uni-mirrored.el:
14579 * international/uni-name.el:
14580 * international/uni-numeric.el:
14581 * international/uni-old-name.el:
14582 * international/uni-titlecase.el:
14583 * international/uni-uppercase.el: Regenerate.
14584
14585 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14586
14587 * help.el (help-window-setup): Fix message displayed when other
14588 window is reused. (Bug#9341)
14589
14590 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14591
14592 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14593 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14594
14595 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14596 Mark obsolete.
14597 * shell.el (shell-parse-pcomplete-arguments): New function.
14598 (shell-completion-vars): Use it instead (bug#9160).
14599
14600 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14601
14602 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14603 strings and comments (bug#9333).
14604
14605 * emacs-lisp/debug.el (debug-arglist): New function.
14606 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14607 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14608
14609 2011-08-22 Juri Linkov <juri@jurta.org>
14610
14611 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14612 Revert regexp that highlights output switches to its old
14613 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14614
14615 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14616 to check for empty output (bug#9226).
14617
14618 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14619
14620 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14621 symbol-constituent as the default, as that stops font-lock from
14622 working properly (Bug#8843).
14623
14624 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14625
14626 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14627 `coding-system-for-*' around the process open call to avoid
14628 auth-source side effects.
14629 (smtpmail-try-auth-methods): Expand the secret password.
14630 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14631 probe hangs.
14632
14633 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14634
14635 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14636
14637 * emacs-lisp/find-func.el (find-function-noselect): New arg
14638 lisp-only.
14639
14640 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14641 signal an error for built-in functions (Bug#6664).
14642
14643 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14644
14645 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14646 (smtpmail-try-auth-methods): Use it.
14647
14648 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14649
14650 * font-lock.el (font-lock-fontify-region)
14651 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14652 (font-lock-default-unfontify-buffer)
14653 (font-lock-default-fontify-region)
14654 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14655
14656 * progmodes/compile.el (compilation-error-properties):
14657 Fix confusion between file struct and message struct (Bug#9319).
14658 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14659 `ant' regexp.
14660
14661 * net/browse-url.el (browse-url-firefox): Don't call
14662 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14663
14664 2011-08-20 Glenn Morris <rgm@gnu.org>
14665
14666 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14667
14668 * tutorial.el (tutorial--default-keys): Update some default bindings.
14669
14670 * files.el (hack-local-variables): Fully ignore case for "mode:".
14671
14672 2011-08-20 Alan Mackenzie <acm@muc.de>
14673
14674 Resolve invalid use of a regexp in regexp-opt.
14675
14676 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14677 detection for a java annotation.
14678
14679 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14680 detection for a java annotation.
14681
14682 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14683 handling for java.
14684 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14685
14686 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14687
14688 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14689 (Bug#9274).
14690
14691 2011-08-20 Alan Mackenzie <acm@muc.de>
14692
14693 Fontify CPP expressions correctly when starting in the middle of
14694 such a construct. Mainly for when jit-lock etc. starts a chunk
14695 here.
14696
14697 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14698 variable.
14699 (c-make-font-lock-search-form): New function, extracted from
14700 c-make-font-lock-search-function.
14701 (c-make-font-lock-search-function): Use the above function.
14702 (c-make-font-lock-context-search-function): New function.
14703 (c-cpp-matchers): Enhance the preprocessor expression case with
14704 the above function
14705 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14706 which takes an expression.
14707
14708 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14709
14710 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14711
14712 * window.el (display-buffer-reuse-window)
14713 (display-buffer-pop-up-window): Don't reuse or split a side
14714 window.
14715
14716 2011-08-19 Glenn Morris <rgm@gnu.org>
14717
14718 * files.el (hack-local-variables-prop-line, hack-local-variables):
14719 Downcase "Mode:". (Bug#9331)
14720
14721 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14722
14723 * international/characters.el: Add L and R categories.
14724
14725 * subr.el (bidi-string-mark-left-to-right): Rename from
14726 string-mark-left-to-right. Use category search.
14727
14728 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14729
14730 2011-08-18 Juri Linkov <juri@jurta.org>
14731
14732 * faces.el (error, warning, success): New faces with definitions
14733 copied from old default values of `font-lock-warning-face',
14734 `compilation-warning', `compilation-info' (bug#6117).
14735
14736 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14737
14738 * progmodes/compile.el (compilation-error): Inherit from `error'.
14739 (compilation-warning): Inherit from `warning'.
14740 (compilation-info): Inherit from `success'.
14741
14742 * dired.el (dired-marked): Inherit from `warning'.
14743 (dired-flagged): Inherit from `error'.
14744
14745 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14746
14747 * mail/smtpmail.el (auth-source): Require to avoid problems with
14748 binding variables (bug#9298). Also clean up some unused
14749 autoloads.
14750
14751 * net/network-stream.el (network-stream-open-starttls):
14752 Support using starttls.el without using gnutls-cli.
14753
14754 2011-08-17 Juri Linkov <juri@jurta.org>
14755
14756 * progmodes/grep.el (rgrep): Handle the case when
14757 `grep-find-command' is a cons cell (bug#9278).
14758
14759 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14760
14761 * window.el (display-buffer-pop-up-frame): Run frame creation
14762 function with BUFFER current (as special-display-popup-frame
14763 does). Reported by Drew Adams.
14764
14765 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14766
14767 * epa-mail.el: Simplify GnuPG group expansion using
14768 epg-expand-group.
14769 (epa-mail-group-alist, epa-mail-group-modtime)
14770 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14771 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14772 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14773 Remove.
14774
14775 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14776
14777 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14778
14779 2011-08-16 Alan Mackenzie <acm@muc.de>
14780
14781 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14782 Correct, to avoid the inside of macros.
14783
14784 2011-08-16 Richard Stallman <rms@gnu.org>
14785
14786 * epa-mail.el: Handle GnuPG group definitions.
14787 (epa-mail-group-alist, epa-mail-group-modtime)
14788 (epa-mail-gnupg-conf-file): New variables.
14789 (epa-mail-parse-groups, epa-mail-sync-groups)
14790 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14791 (epa-mail-expand-recipients): New functions.
14792 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14793
14794 * mail/rmail.el (rmail-epa-decrypt): New command.
14795
14796 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14797 Don't bind buffer-read-only, just inhibit-read-only.
14798 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14799 (epa-decrypt-armor-in-region): Make error message clearer.
14800
14801 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14802
14803 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14804 and "a2b" to "ab" for `prefix'.
14805
14806 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14807
14808 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14809 filter groups.
14810 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14811 Fourquet (Bug#8804).
14812
14813 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14814
14815 * startup.el (argi): Declare as global variable (bug#9275).
14816
14817 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14818
14819 * subr.el (string-mark-left-to-right): Search the entire string
14820 for RTL script, not just the terminating character. Doc fix.
14821
14822 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14823
14824 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14825 New function.
14826 (js--regexp-literal, js-syntax-propertize-function): Remove.
14827 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14828 (js-mode-map): Don't rebind electric keys.
14829 (js-insert-and-indent): Remove.
14830 (js-mode): Setup electric-layout and electric-indent instead.
14831
14832 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14833
14834 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14835
14836 * epa.el (epa-progress-callback-function): Fix the logic of
14837 displaying progress.
14838 * epa-file.el (epa-file-insert-file-contents): Make progress
14839 display more user-friendly.
14840 (epa-file-write-region): Ditto.
14841
14842 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14843
14844 * subr.el (string-mark-left-to-right): New function.
14845
14846 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14847 Use string-mark-left-to-right.
14848 (list-buffers-noselect): Caller changed.
14849
14850 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14851 Use string-mark-left-to-right.
14852 (tabulated-list-print): Recenter after moving point.
14853
14854 2011-08-10 Juri Linkov <juri@jurta.org>
14855
14856 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14857 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14858 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14859
14860 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14861
14862 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14863 (Bug#7554).
14864
14865 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14866
14867 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14868 character. (Bug#6594)
14869
14870 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14871
14872 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14873 (image-dired--with-db-file): New macro.
14874 (image-dired-write-tags, image-dired-remove-tag)
14875 (image-dired-create-gallery-lists, image-dired-write-comments)
14876 (image-dired-get-comment, image-dired-mark-tagged-files)
14877 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14878 (image-dired-gallery-generate): Use insert-file-contents.
14879
14880 * time.el (display-time-world-list, display-time-world-display):
14881 * time-stamp.el (time-stamp-string):
14882 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14883 set-time-zone-rule (Bug#7337).
14884
14885 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14886
14887 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14888 (epg-error-to-string, epg-errors-to-string): New function.
14889 (epg-wait-for-completion): Reverse errors list.
14890 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14891 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14892 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14893 (epg-sign-keys, epg-generate-key-from-file)
14894 (epg-generate-key-from-string): Format errors by using
14895 epg-errors-to-string (bug#9255).
14896 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14897
14898 2011-08-07 Juri Linkov <juri@jurta.org>
14899
14900 * faces.el (list-faces-display): Remove extra angle bracket
14901 from `help-mode-map'.
14902
14903 * info.el (Info-history-toc-nodes): Doc fix.
14904
14905 * longlines.el (longlines-mode): Doc fix.
14906
14907 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14908
14909 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14910 of statements and in a few more cases (bug#9183).
14911
14912 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14913 New functions.
14914 (cl-transform-lambda): Use them (bug#9239).
14915
14916 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14917
14918 * window.el (display-buffer-same-window)
14919 (display-buffer-same-frame, display-buffer-other-window)
14920 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14921 (pop-to-buffer-other-window)
14922 (pop-to-buffer-same-frame-other-window)
14923 (pop-to-buffer-other-frame): Make them defuns.
14924 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14925
14926 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14927
14928 * subr.el (make-composed-keymap): Move from C. Change calling
14929 convention, and improve docstring to bring attention to a subtle point.
14930 * minibuffer.el (completing-read-default): Adjust accordingly.
14931
14932 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14933
14934 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14935 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14936
14937 * net/trampver.el: Update release number.
14938
14939 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14940
14941 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14942 "in" (bug#9190).
14943
14944 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14945
14946 * mail/sendmail.el (sendmail-query-once): Restore the current
14947 buffer after querying (bug#9074).
14948
14949 * dired.el (dired-flagged): Use different faces for marked and
14950 flagged files (bug#6117).
14951
14952 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14953 (bug#4433).
14954
14955 * ido.el (ido-mode): Switch off the message if called
14956 non-interactively.
14957
14958 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14959 before 587, since it appears that that's more likely to work for
14960 more people.
14961
14962 * cus-edit.el (custom-file): When running under emacs -q, always
14963 refuse to save the customizations, even if the .emacs file doesn't
14964 exist.
14965
14966 * info.el: Remove the `Info-beginning-of-buffer' function
14967 (bug#8325).
14968
14969 * net/network-stream.el (network-stream-open-starttls):
14970 Use `starttls-available-p' to see whether starttls.el can be used.
14971
14972 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14973
14974 * window.el (display-buffer-in-window): Don't set dedicated status
14975 of window here (Bug#9215).
14976 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14977 (display-buffer-pop-up-side-window)
14978 (display-buffer-in-side-window): Set dedicated status of window here.
14979
14980 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14981
14982 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14983 before binding generated-autoload-file.
14984
14985 2011-08-01 Deniz Dogan <deniz@dogan.se>
14986
14987 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14988
14989 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14990
14991 Sync with Tramp 2.2.2.
14992
14993 * net/trampver.el: Update release number.
14994
14995 2011-07-30 Juri Linkov <juri@jurta.org>
14996
14997 * dired-aux.el (dired-touch-initial): Remove function.
14998 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14999 current time, and `default' to the last modification time of the
15000 current marked file (bug#6887).
15001
15002 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15003
15004 * simple.el (goto-line): Use string-to-number to provide a
15005 numeric argument to read-number (bug#9163).
15006
15007 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15008
15009 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15010 connection process, it could be nil.
15011
15012 2011-07-27 Leo Liu <sdl.web@gmail.com>
15013
15014 Simplify url handling in rcirc-mode.
15015
15016 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15017 (rcirc-browse-url-at-mouse): Remove.
15018 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15019
15020 2011-07-26 Alan Mackenzie <acm@muc.de>
15021
15022 Fontify bitfield declarations properly.
15023
15024 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15025 (c-symbol-chars): Now exported as a lang variable.
15026 (c-not-primitive-type-keywords): New lang variable.
15027
15028 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15029 QT keyword "more" to prevent "more slots: ...." being spuriously
15030 parsed as a bitfield declaration.
15031
15032 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15033 Refactor and enhance to handle bitfield declarations.
15034 (c-punctuation-in): New function.
15035 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15036 declarations properly.
15037
15038 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15039
15040 * calendar/icalendar.el (icalendar--all-events): Take care of
15041 multiple vcalendars in a single file.
15042 (icalendar--convert-float-to-ical): Checkdoc fixes.
15043
15044 2011-07-25 Deniz Dogan <deniz@dogan.se>
15045
15046 * image.el (insert-image): Clarifying docstring.
15047
15048 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15049
15050 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15051 `tramp-send-command-and-check' if there is no error.
15052 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15053
15054 2011-07-22 Alan Mackenzie <acm@muc.de>
15055
15056 Prevent cc-langs.elc being loaded at run time.
15057
15058 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15059 cc-langs.
15060
15061 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15062 "(require 'cc-langs)". Quote a form so it will evaluate at
15063 (cc-mode's) compilation time.
15064
15065 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15066
15067 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15068 loading. (Bug#9114)
15069
15070 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15071
15072 * window.el (display-buffer-pop-up-window)
15073 (display-buffer-pop-up-side-window)
15074 (display-buffer-in-side-window): Call display-buffer-set-height
15075 and display-buffer-set-width after setting the new window's
15076 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15077
15078 2011-07-20 Sam Steingold <sds@gnu.org>
15079
15080 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15081 (etags-tags-included-tables): Call `convert-standard-filename' on
15082 the file names contained in TAGS so that windows Emacs can handle
15083 TAGS files created by cygwin ctags.
15084
15085 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15086
15087 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15088 which apparently didn't work.
15089
15090 2011-07-19 Roland Winkler <winkler@gnu.org>
15091
15092 * proced.el (proced-send-signal): For *Marked Processes* buffer
15093 put point at beginning of buffer.
15094
15095 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15096
15097 * proced.el (proced-format): Make header lines align with the text
15098 (bug#1779).
15099
15100 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15101
15102 * view.el (view-buffer): Allow running in `special' modes if we're
15103 visiting a file (bug#8615).
15104
15105 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15106
15107 * window.el (display-buffer-alist-of-strings-p)
15108 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15109 New functions.
15110 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15111 more accurately.
15112
15113 2011-07-18 Alan Mackenzie <acm@muc.de>
15114
15115 Fontify declarators properly when, e.g., a jit-lock chunk begins
15116 inside a declaration.
15117
15118 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15119
15120 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15121 New function.
15122 (c-complex-decl-matchers): Insert reference to
15123 c-font-lock-enclosing-decls.
15124
15125 * progmodes/cc-engine.el (c-backward-single-comment):
15126 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15127 to nil around calls to (forward-comment -1).
15128
15129 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15130
15131 * image.el (put-image): Doc typo fix.
15132
15133 * progmodes/etags.el (tags-search): Doc typo fix.
15134
15135 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15136 password if we get errors 550 to 554.
15137
15138 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15139
15140 * net/gnutls.el (gnutls-log-level): Remove.
15141
15142 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15143 indentation character (bug#6380).
15144
15145 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15146
15147 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15148 to clarify what the problem is (bug#4291).
15149
15150 * simple.el (current-kill): Clarify what
15151 `interprogram-paste-function' does (bug#7500).
15152 (auto-fill-mode): Document `auto-fill-function' in relation to
15153 `auto-fill-mode' (bug#2470).
15154
15155 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15156
15157 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15158 method if slot is read-only (bug#9035).
15159
15160 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15161
15162 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15163 * window.el (pop-to-buffer): Select window used even if it was
15164 selected before, see discussion of (Bug#8615), (Bug#6954).
15165 Pass argument NORECORD on to select-frame-set-input-focus.
15166
15167 2011-07-15 Glenn Morris <rgm@gnu.org>
15168
15169 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15170 Respect help-form.
15171
15172 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15173
15174 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15175 (gnutls-negotiate): Use it.
15176
15177 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15178
15179 * net/gnutls.el (gnutls-negotiate):
15180 Upcase `gnutls-algorithm-priority'.
15181
15182 2011-07-15 Glenn Morris <rgm@gnu.org>
15183
15184 * jka-compr.el (jka-compr-verbose): Move from here...
15185 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15186 Add missing :version tag.
15187 * info.el: No need to require jka-compr when compiling.
15188
15189 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15190
15191 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15192 (gnutls-negotiate): Use it.
15193
15194 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15195
15196 * info.el (Info-beginning-of-buffer): New command.
15197 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15198 announcing `b' as the key (bug#8325).
15199 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15200
15201 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15202
15203 * international/mule-cmds.el
15204 (describe-specified-language-support): Make the error message
15205 clearer (bug#8905).
15206
15207 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15208
15209 * isearch.el (isearch-barrier): Add a doc string, since it's
15210 mentioned in a function doc string (bug#8678).
15211
15212 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15213
15214 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15215 buffer argument (Bug#9083) and self-identifying label argument.
15216
15217 2011-07-15 Glenn Morris <rgm@gnu.org>
15218
15219 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15220
15221 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15222
15223 * man.el (Man-fontify-manpage): Fix message when formatting the
15224 man page (bug#7929).
15225
15226 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15227
15228 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15229 argument LRM; if non-nil, append an invisible LRM character to the
15230 buffer name.
15231 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15232 last argument non-nil, when formatting buffer names.
15233 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15234 paragraph direction.
15235
15236 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15237
15238 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15239 the man page name (bug#7929).
15240
15241 * image.el (put-image): Mention the `put-image' overlay property
15242 (bug#7834).
15243
15244 * scroll-bar.el (set-scroll-bar-mode): Mention that
15245 `scroll-bar-mode' lists the values (bug#7772).
15246
15247 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15248 command (bug#7729).
15249
15250 * rect.el (apply-on-rectangle): Return the point after the last
15251 operation.
15252 (string-rectangle): Go to the point after the last operation
15253 (bug#7522).
15254
15255 * printing.el (pr-toggle-region): Clarify the documentation
15256 slightly (bug#7493).
15257
15258 * time.el (display-time-update):
15259 Allow `display-time-mail-function' to return nil (bug#7158).
15260 Fix suggested by Detlev Zundel.
15261
15262 * vc/diff.el (diff): Clarify the order the file names are read
15263 (bug#7111).
15264
15265 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15266 the doc string (bug#7015).
15267
15268 * font-lock.el (font-lock-maximum-decoration): Mention what
15269 numeric levels mean (bug#6935).
15270
15271 * startup.el (initial-buffer-choice): Don't mention the `none'
15272 selection, which is against policy.
15273
15274 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15275
15276 * window.el (display-buffer-normalize-special):
15277 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15278
15279 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15280
15281 * subr.el (version<, version<=, version=): Mention "-CVS" and
15282 "-12345" alpha version numbers.
15283
15284 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15285
15286 * bindings.el: Add advertised binding for set-mark-command
15287 (Bug#5772).
15288
15289 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15290
15291 * bindings.el (mode-line-other-buffer):
15292 * bookmark.el (bookmark-bmenu-2-window):
15293 * bs.el (bs-cycle-next, bs-cycle-previous):
15294 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15295 switch-to-buffer.
15296
15297 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15298 Delete.
15299
15300 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15301
15302 * follow.el (follow-debug-message, follow-redisplay):
15303 * jka-cmpr-hook.el (with-auto-compression-mode):
15304 Fix typos in docstrings.
15305
15306 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15307
15308 * subr.el (with-silent-modifications): Clarify somewhat what the
15309 macro inhibits (bug#6525).
15310
15311 * simple.el (eval-expression): Note what it does if called
15312 interactively (bug#6495).
15313
15314 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15315
15316 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15317 Use pop-to-buffer buffer-or-name if it is nil.
15318
15319 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15320 Remove switch-to-buffer.
15321
15322 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15323
15324 * files.el (make-directory): Clarify that an error will be raised
15325 if there's an error (bug#6397).
15326
15327 * startup.el (initial-buffer-choice): Add `none' as a choice
15328 (bug#6234).
15329
15330 * subr.el (add-hook): Clarify section about buffer-local hooks
15331 (bug#6218).
15332
15333 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15334
15335 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15336
15337 * tabify.el (untabify): Preserve the current column so that point
15338 doesn't move (bug#6032).
15339
15340 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15341
15342 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15343 Rewrite to avoid awkward possessive "s" (bug#5986).
15344
15345 2011-07-13 Glenn Morris <rgm@gnu.org>
15346
15347 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15348 (dired-insert-directory): Give a message the first time
15349 if ls is found not to support --dired.
15350
15351 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15352
15353 * simple.el (toggle-truncate-lines): Clarify what is toggled
15354 (bug#5580). Text by Drew Adams.
15355
15356 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15357
15358 * simple.el (blink-matching-open): Make the error message from the
15359 last change less verbose.
15360
15361 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15362
15363 * font-lock.el (font-lock-comment-face): Use the high contrast
15364 "yellow" color for font-lock-comment-face on low color terminals
15365 using a dark background color (bug#4221).
15366
15367 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15368
15369 * dired.el (dired-insert-set-properties): Make the doc string
15370 reflect what it does now (bug#5325).
15371
15372 * simple.el (blink-matching-open): Say that we were unable to find
15373 the match within the limit, if we're limited (bug#5122).
15374
15375 * international/mule-cmds.el (prefer-coding-system): Add an
15376 example (bug#4869).
15377
15378 * progmodes/etags.el (tags-search): Document `file-list-form'
15379 (bug#4731).
15380
15381 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15382
15383 * net/browse-url.el (browse-url-default-browser)
15384 (browse-url-browser-function): Make the default browser choice a
15385 bit more logical (bug#4300). Also clean up the doc string.
15386
15387 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15388
15389 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15390 binary endings (bug#4440).
15391
15392 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15393
15394 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15395 which can be pretty annoying (bug#8971).
15396
15397 * jka-compr.el (jka-compr-verbose): New variable, and use
15398 throughout (bug#8971).
15399
15400 * info.el (Info-find-file): Fall back on the installation
15401 directory if we can't find the info node anywhere else.
15402
15403 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15404
15405 * vc/vc.el (vc-revert-file):
15406 Don't set file time-stamp in the past. (Bug#5181)
15407
15408 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15409
15410 * files.el (after-find-file): Give a better error message when
15411 trying to find a symlink that points to a file that doesn't exist
15412 (bug#4398).
15413
15414 * progmodes/cc-vars.el: Remove (probably) misleading comment
15415 (bug#4396).
15416
15417 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15418
15419 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15420
15421 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15422
15423 * mouse-sel.el: Hack restoring functionality, while keeping
15424 compatibility with 2010-07-03 changes to mouse selection.
15425 (mouse-sel-primary-overlay): New var.
15426 (mouse-sel-selection-alist): Use it.
15427 (mouse-sel-mode): Doc fix; remove points that are default features
15428 of mouse.el.
15429
15430 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15431
15432 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15433 Fix previous fix (bug#2490).
15434
15435 2011-07-12 Roland Winkler <winkler@gnu.org>
15436
15437 * textmodes/bibtex.el (bibtex-initialize):
15438 Use pop-to-buffer-same-window.
15439 (bibtex-search-entries): Fix interactive call.
15440
15441 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15442
15443 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15444 Fontise bytecomp Error lines more correctly (bug#2490).
15445 Fix suggested by Johan Bockgård.
15446
15447 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15448
15449 * dired-x.el (dired-guess-default): Use `delete-dups'.
15450
15451 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15452
15453 * dired.el (dired-mark-prompt):
15454 * dired-aux.el (dired-read-shell-command): Doc fix.
15455
15456 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15457
15458 * mail/sendmail.el (sendmail-query-once):
15459 Use `customize-save-variable' unconditionally, now that it works under
15460 emacs -Q.
15461
15462 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15463
15464 * cus-edit.el (custom-file): Take an optional no-error variable.
15465 (customize-save-variable): Set the variable, and give a warning if
15466 running under "emacs -q".
15467
15468 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15469
15470 * loadhist.el (unload-feature-special-hooks):
15471 Add `auto-coding-functions', `fill-nobreak-predicate' and
15472 `find-directory-functions' (bug#5327).
15473
15474 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15475
15476 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15477
15478 * cus-edit.el (custom-guess-name-alist): -alist variables should
15479 use the `alist' type (bug#3120). Suggested by Drew Adams.
15480
15481 * printing.el: Add documentation to all the `pr-toggle-' commands.
15482
15483 2011-07-11 Leo Liu <sdl.web@gmail.com>
15484
15485 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15486 backends where it makes sense (bug#2623).
15487
15488 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15489
15490 * dired-x.el (dired-guess-default): Remove duplicate shell command
15491 entries (bug#2028).
15492 (dired-guess-default): Fix grammar in doc string (bug#2028).
15493 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15494
15495 * subr.el (remove-duplicates): New conveniency function.
15496
15497 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15498
15499 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15500 (bug#1526).
15501
15502 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15503
15504 * window.el (display-buffer-normalize-default): Don't invert
15505 meaning of even-window-heights. Reported by Eli Zaretskii
15506 <eliz@gnu.org>.
15507
15508 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15509
15510 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15511
15512 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15513
15514 * window.el (display-buffer): Fix arguments to
15515 display-buffer-reuse-window in last change.
15516
15517 * faces.el (link): Use a less saturated blue on light backgrounds.
15518
15519 * startup.el (fancy-startup-text, fancy-about-text)
15520 (fancy-startup-tail): Use font-lock faces, for background safety.
15521
15522 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15523
15524 * emulation/viper-cmd.el (viper-change-state-to-vi):
15525 Limit triggering of abbrev expansion (Bug#9038).
15526
15527 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15528
15529 * window.el (display-buffer-default-specifiers): Remove.
15530 (display-buffer-macro-specifiers): Remove default specifiers.
15531 (display-buffer-alist): Default to nil.
15532 (display-buffer-reuse-window): New optional argument other-window.
15533 (display-buffer-pop-up-window): Allow splitting internal
15534 windows. Check whether a live window was created.
15535 (display-buffer-other-window-means-other-frame)
15536 (display-buffer-normalize-arguments): Rename to
15537 display-buffer-normalize-argument and rewrite. Set the
15538 other-window specifier.
15539 (display-buffer-normalize-special): New function.
15540 (display-buffer-normalize-options): Rename to
15541 display-buffer-normalize-default and rewrite.
15542 (display-buffer-normalize-options-inhibit): Remove.
15543 (display-buffer-normalize-specifiers): Rewrite.
15544 (display-buffer): Process other-window specifier and call
15545 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15546 more faithfully.
15547 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15548 (display-buffer-alist-set): Don't handle 'unset default values.
15549 (display-buffer-in-window, display-buffer-alist-set):
15550 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15551 <tassilo@member.fsf.org>.
15552
15553 2011-07-09 Leo Liu <sdl.web@gmail.com>
15554
15555 * register.el (insert-register): Restore accidental change on
15556 2011-06-26. (Bug#9028)
15557
15558 2011-07-09 Glenn Morris <rgm@gnu.org>
15559
15560 * subr.el (remq): Handle the empty list. (Bug#9024)
15561
15562 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15563
15564 * mail/sendmail.el (send-mail-function): No longer delay custom
15565 initialization.
15566 * custom.el (custom-initialize-delay): Doc fix.
15567
15568 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15569
15570 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15571
15572 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15573
15574 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15575 human-friendly prompt.
15576
15577 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15578
15579 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15580 provided by a particular plugin.
15581
15582 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15583
15584 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15585 save customizations (with "emacs -Q"), just set the variable
15586 instead of erroring out.
15587
15588 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15589
15590 2011-07-08 Juri Linkov <juri@jurta.org>
15591
15592 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15593 (archive-zip-update-case): Use 7z if found by `executable-find'.
15594 The order of searching the available programs is the same as in
15595 `archive-zip-extract' (bug#8968).
15596
15597 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15598
15599 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15600 (menu-bar-options-menu): Tweak descriptions.
15601
15602 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15603
15604 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15605 menu items into verb phrases (bug#1421). Also refill to fit under
15606 80 columns.
15607
15608 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15609
15610 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15611 (Info-read-node-name): Doc fix (Bug#1084).
15612
15613 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15614 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15615 (end-of-sexp, beginning-of-sexp)
15616 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15617 (forward-symbol, forward-same-syntax, word-at-point)
15618 (sentence-at-point): Doc fix (Bug#1144).
15619
15620 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15621
15622 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15623 should cover it (bug#1281).
15624
15625 * cus-edit.el (custom-show): Mark as obsolete.
15626
15627 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15628 negotiation fails, then possibly try again with a non-encrypted
15629 connection (bug#9017).
15630
15631 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15632 be used.
15633
15634 2011-07-07 Richard Stallman <rms@gnu.org>
15635
15636 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15637 property, and handle its changed format.
15638 Look for the correct line number.
15639 Use file's line contents (but not past first =) to find
15640 correct line in message.
15641
15642 2011-07-07 Kenichi Handa <handa@m17n.org>
15643
15644 * international/characters.el (build-unicode-category-table):
15645 Delete it.
15646 (unicode-category-table): Set it by unicode-property-table-internal.
15647
15648 * international/mule-cmds.el (char-code-property-alist): Move to
15649 to src/chartab.c.
15650 (get-char-code-property): Call unicode-property-table-internal to
15651 load a file. Call get-unicode-property-internal where necessary.
15652 (put-char-code-property): Call unicode-property-table-internal to
15653 load a file. Call put-unicode-property-internal where necessary.
15654 put-unicode-property-internal where necessary.
15655 (char-code-property-description):
15656 Call unicode-property-table-internal to load a file.
15657
15658 * international/charprop.el:
15659 * international/uni-bidi.el:
15660 * international/uni-category.el:
15661 * international/uni-combining.el:
15662 * international/uni-comment.el:
15663 * international/uni-decimal.el:
15664 * international/uni-decomposition.el:
15665 * international/uni-digit.el:
15666 * international/uni-lowercase.el:
15667 * international/uni-mirrored.el:
15668 * international/uni-name.el:
15669 * international/uni-numeric.el:
15670 * international/uni-old-name.el:
15671 * international/uni-titlecase.el:
15672 * international/uni-uppercase.el: Regenerate.
15673
15674 * loadup.el: Load international/charprop.el before
15675 international/characters.
15676
15677 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15678
15679 * window.el (next-buffer, previous-buffer): Signal an error if
15680 called from a minibuffer window.
15681
15682 * bindings.el: Revert 2011-07-04 change.
15683
15684 2011-07-06 Richard Stallman <rms@gnu.org>
15685
15686 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15687 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15688 Treat markers like ints.
15689 (rmail-mime-entity): Doc fix.
15690
15691 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15692
15693 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15694 defcustom again for backwards compatibility.
15695
15696 * simple.el (shell-command-on-region): Fill.
15697
15698 * dired-aux.el (dired-kill-line): Add a doc string.
15699
15700 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15701 to "\\sw\\|\\s_" (bug#358).
15702
15703 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15704 (dired-unmark-backward): Ditto.
15705 (dired-flag-backup-files): Ditto.
15706
15707 * dired-x.el (dired-mark-sexp): Ditto.
15708
15709 2011-07-06 Richard Stallman <rms@gnu.org>
15710
15711 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15712 (rmail-mime-entity): New arg TRUNCATED.
15713 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15714 New functions.
15715 (rmail-mime-save): Warn if entity is truncated.
15716 (rmail-mime-toggle-hidden): Likewise, for showing.
15717 (rmail-mime-process-multipart): Record when an entity is truncated.
15718
15719 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15720 if ENTITY is a string.
15721
15722 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15723
15724 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15725 of faces when `M-C-x'-ing their definitions (bug#8378).
15726 Also clean up the code slightly.
15727
15728 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15729 because that makes the colors go away.
15730
15731 * mail/sendmail.el (send-mail-function): Change the default to
15732 `sendmail-query-once'.
15733 (sendmail-query-once): Add an autoload cookie.
15734
15735 * net/network-stream.el (network-stream-open-starttls): Try using
15736 a plain connection even if the server offered STARTTLS, and we
15737 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15738 capability. This should make smtpmail.el work in slightly more
15739 configurations.
15740
15741 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15742
15743 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15744 New defun.
15745 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15746
15747 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15748
15749 * progmodes/sql.el: Version 3.0
15750 (sql-product-alist): Add product :completion-object,
15751 :completion-column, and :statement attributes.
15752 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15753 (sql-mode-syntax-table): Mark all punctuation.
15754 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15755 ansi keywords.
15756 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15757 (sql-mode-oracle-font-lock-keywords): Improve.
15758 (sql-oracle-show-reserved-words): New function for development.
15759 (sql-product-font-lock): Simplify for source code buffers.
15760 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15761 New functions.
15762 (sql-highlight-product): Set product specific syntax table.
15763 (sql-mode-map): Add statement movement functions.
15764 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15765 New variable.
15766 (sql-statement-regexp, sql-beginning-of-statement)
15767 (sql-end-of-statement, sql-signum): New functions.
15768 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15769 (sql-show-sqli-buffer): Bug fix.
15770 (sql-interactive-mode): Store connection data as buffer local.
15771 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15772 with sql-interactive-mode.
15773 (sql-save-connection): Save buffer local settings.
15774 (sql-connection-menu-filter): Change menu entry name.
15775 (sql-product-interactive): Bug fix.
15776 (sql-preoutput-hold): New variable.
15777 (sql-interactive-remove-continuation-prompt): Bug fixes.
15778 (sql-debug-redirect): New variable.
15779 (sql-str-literal): New function.
15780 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15781 Redesign.
15782 (sql-oracle-save-settings, sql-oracle-restore-settings)
15783 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15784 (sql-completion-object, sql-completion-column)
15785 (sql-completion-sqlbuf): New variables.
15786 (sql-build-completions-1, sql-build-completions)
15787 (sql-try-completion): New functions.
15788 (sql-read-table-name): Use them.
15789 (sql-contains-names): New buffer local variable.
15790 (sql-list-all, sql-list-table): Use it.
15791 (sql-oracle-completion-types): New variable.
15792 (sql-oracle-completion-object, sql-sqlite-completion-object)
15793 (sql-postgres-completion-object): New functions.
15794
15795 2011-07-06 Glenn Morris <rgm@gnu.org>
15796
15797 * window.el (pop-to-buffer): Doc fix.
15798
15799 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15800
15801 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15802
15803 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15804
15805 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15806
15807 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15808
15809 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15810
15811 * button.el (button): Inherit from link face. Suggested by Dan
15812 Nicolaescu.
15813
15814 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15815
15816 * progmodes/gdb-mi.el: Fit in 80 columns.
15817 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15818 switch-to-buffer.
15819
15820 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15821 if imenu is simply not configured (bug#8941).
15822
15823 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15824
15825 * allout.el (allout-post-undo-hook): New allout outline-change
15826 event hook to signal undo activity.
15827 (allout-post-command-business): Run allout-post-undo-hook if an
15828 undo just occurred.
15829 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15830 * allout-widgets.el (allout-widgets-after-undo-function):
15831 Ensure the integrity of the current item's decoration after it has been
15832 in the vicinity of an undo.
15833 (allout-widgets-mode): Include allout-widgets-after-undo-function
15834 on the new allout-post-undo-hook.
15835
15836 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15837
15838 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15839 Let define-derived-mode define it.
15840 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15841 cycles of abbrev-table inheritance (bug#8998).
15842
15843 2011-07-05 Roland Winkler <winkler@gnu.org>
15844
15845 * textmodes/bibtex.el: Add support for biblatex.
15846 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15847 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15848 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15849 (bibtex-entry-alist, bibtex-field-alist): New variables.
15850 (bibtex-entry-field-alist): Obsolete alias for
15851 bibtex-BibTeX-entry-alist.
15852 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15853 (bibtex-set-dialect): New command.
15854 (bibtex-entry-type, bibtex-entry-head)
15855 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15856 Bind via bibtex-set-dialect.
15857 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15858 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15859 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15860 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15861 Define via bibtex-set-dialect.
15862 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15863 Obey bibtex-no-opt-remove-re.
15864 (bibtex-vec-push, bibtex-vec-incr): New functions.
15865 (bibtex-format-entry, bibtex-field-list)
15866 (bibtex-print-help-message, bibtex-validate)
15867 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15868
15869 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15870
15871 * progmodes/compile.el (compilation-goto-locus):
15872 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15873 * bs.el (bs-cycle-next, bs-cycle-previous):
15874 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15875 * bindings.el (mode-line-other-buffer):
15876 * autoinsert.el (auto-insert):
15877 * arc-mode.el (archive-extract):
15878 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15879
15880 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15881
15882 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15883 Fix check of `emacs-lock-unlockable-modes'.
15884 Coerce true values of `emacs-lock--try-unlocking' to t.
15885
15886 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15887
15888 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15889 * emacs-lock.el: New file.
15890
15891 2011-07-05 Julien Danjou <julien@danjou.info>
15892
15893 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15894 than `boundp' to check if face is set.
15895
15896 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15897
15898 * register.el (registerv-make):
15899 * window.el (window-min-height): Fix typos in docstrings.
15900
15901 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15902
15903 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15904 Update doc string.
15905
15906 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15907
15908 * server.el (server-execute): Catch quit and call
15909 `server-return-error' to pass the error back to emacsclient and
15910 close the connection (bug#8942).
15911
15912 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15913
15914 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15915 insecure exception for current topic. Also note that auto-saves
15916 are handled differently.
15917
15918 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15919 State variables for tracking auto-save inhibition situation.
15920
15921 (allout-write-contents-hook-handler): Rename from
15922 'allout-write-file-hook-handler', and describe how it depends on
15923 write-contents-functions sensitivity to non-nil value to prevent
15924 file write.
15925
15926 (allout-auto-save-hook-handler): Remove. auto-save does not check
15927 this in individual buffers, only in the starting buffer, so this
15928 is not the right way for us to inhibit auto-save in a buffer
15929 according to its condition.
15930
15931 (allout-mode): Use new allout-write-contents-hook-handler, and
15932 only with write-contents-functions. Remove auto-save provisions -
15933 they're implemented elsewhere.
15934
15935 (allout-before-change-handler): If undo is in progress, note that
15936 for attention of allout-post-command-business.
15937
15938 (allout-post-command-business): If the command we're following was
15939 an undo, check for change in the status of encrypted items and
15940 adjust auto-save inhibitions accordingly.
15941
15942 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15943 according to whether there are or aren't any plain-text topics
15944 pending encryption.
15945
15946 (allout-inhibit-auto-save-info-for-decryption):
15947 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15948 if there are plain-text topics pending encryption.
15949
15950 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15951 buffer-saved-size and some allout state to not inhibit auto-saves
15952 if there are no longer any plain-text topics pending encryption.
15953
15954 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15955 No longer provide for exemption of the current topic.
15956
15957 2011-07-04 Juri Linkov <juri@jurta.org>
15958
15959 Add 7z operations to delete and save changed members (bug#8968).
15960 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15961 New defcustoms.
15962 (archive-7z-write-file-member): New function.
15963 (archive-7z-summarize): Fix the number of dashes in the
15964 listing output.
15965
15966 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15967
15968 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15969 (bug#8958).
15970
15971 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15972
15973 * bindings.el: Ignore next-buffer and previous-buffer in
15974 minibuffer-local-map.
15975
15976 * font-lock.el (font-lock-builtin-face): Change light background
15977 color to dark slate blue (Bug#6693).
15978
15979 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15980
15981 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15982
15983 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15984
15985 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15986 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15987 Add switch-to-buffer.
15988
15989 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15990
15991 * isearch.el (isearch-search-fun-function): Clarify further the
15992 meaning of the function returned.
15993
15994 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15995
15996 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15997
15998 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15999 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16000 Use it.
16001 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16002 `tramp-default-remote-path' does not exist.
16003 (tramp-send-command-and-read): New optional argument NOERROR.
16004 (tramp-open-connection-setup-interactive-shell)
16005 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16006 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16007 (tramp-process-sentinel): Flush also process' connection property.
16008 (tramp-sh-handle-start-file-process): Do not set process
16009 sentinel. It is done now ...
16010 (tramp-maybe-open-connection): ... here. (Bug#8929)
16011
16012 2011-07-04 MON KEY <monkey@sandpframing.com>
16013
16014 * play/animate.el (animate-string): Doc fixes and allow changing
16015 the buffer name (bug#5417).
16016
16017 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16018
16019 * play/animate.el (animation-buffer-name): Rename from *animate*.
16020
16021 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16022
16023 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16024 This is simpler and helps future-proof the code.
16025 (timer-until): Use time-subtract and float-time.
16026 (timer--time-less-p): Use time-less-p.
16027
16028 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16029
16030 * type-break.el (timep): Use the value of `float-time' to avoid a
16031 byte-compiler warning.
16032
16033 * server.el (server-eval-and-print): Return any result, even nil.
16034
16035 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16036
16037 * type-break.el: Accept time formats that the builtins accept.
16038 (timep, type-break-time-difference): Accept any format that
16039 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16040 This is simpler and helps future-proof the code.
16041 (type-break-time-difference): Round rather than ignoring
16042 subseconds components.
16043
16044 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16045
16046 * info.el (Info-apropos-matches): Make non-interactive, since it
16047 doesn't seem to do anything useful as a command (bug#8829).
16048
16049 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16050
16051 * frame.el (frame-background-mode, frame-set-background-mode):
16052 Move from faces.el.
16053 (frame-default-terminal-background): New function.
16054
16055 * custom.el (custom-push-theme): Don't record faces in `changed'
16056 theme; this doesn't work correctly for per-frame face settings.
16057 (disable-theme): Use face-set-after-frame-default to reset faces.
16058 (custom--frame-color-default): New function.
16059
16060 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16061
16062 * dired.el (dired-flagging-regexp): Remove unused variable
16063 (bug#8769).
16064
16065 2011-03-29 Kevin Ryde <user42@zip.com.au>
16066
16067 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16068 `perl-Test2' extend to match possible "fail #N" rep count
16069 (bug#8377).
16070
16071 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16072
16073 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16074 `smtpmail-via-smtp' now returns the error instead of nil.
16075
16076 * isearch.el (isearch-search-fun-function): Clarify the doc string
16077 (bug#8101).
16078
16079 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16080
16081 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16082 unnecessary spaces (bug#8987).
16083
16084 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16085
16086 * net/network-stream.el (open-network-stream): Use the
16087 :end-of-capability command thoughout.
16088
16089 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16090
16091 * net/network-stream.el (open-network-stream): Add the
16092 :end-of-capability command parameter, used by pop3.el.
16093
16094 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16095
16096 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16097
16098 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16099 for list)" (bug#6475).
16100
16101 * files.el (file-expand-wildcards): Ignore non-readable
16102 sub-directories while trying to find matches instead of signaling
16103 an error (bug#6297).
16104
16105 * man.el (Man-reference-regexp): Allow matching possible
16106 word-wrapped references (bug#6289).
16107
16108 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16109 for consistency with the other vc buffers (bug#6197).
16110 (vc-checkin): Ditto.
16111
16112 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16113
16114 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16115
16116 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16117
16118 * custom.el (defcustom): Clarify that :set is only used in the
16119 Customize user interface (bug#6089).
16120
16121 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16122 associated with a file, refuse to run instead of erroring out
16123 (bug#6084).
16124
16125 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16126 the doc string, since it appears that using `fill-column' always
16127 controls the width (bug#7845).
16128
16129 * simple.el (shell-command-on-region): Say where the error output
16130 went if `shell-command-default-error-buffer' is set (bug#6857).
16131
16132 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16133
16134 * allout.el (allout-yank-processing): Adjust cursor position for
16135 backwards-deleted space.
16136
16137 (allout-rebullet-heading): Register changes with
16138 allout-exposure-changed-hook, so the modified topic is properly
16139 decorated.
16140
16141 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16142
16143 * minibuffer.el (completion-in-region): Document PREDICATE
16144 (bug#7136).
16145
16146 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16147 of keyword/argument pairs (bug#6904).
16148
16149 * replace.el (multi-occur):
16150 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16151
16152 2011-07-02 Drew Adams <drew.adams@oracle.com>
16153
16154 * dired.el (dired-mark-if): Make the message about whether it's
16155 marking or unmarking clearer (bug#8523).
16156
16157 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16158
16159 * disp-table.el (display-table-print-array): New function.
16160 (describe-display-table): Use it to print the vectors more pretty
16161 (Bug#8859).
16162
16163 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16164
16165 * window.el (window-state-get-1): Don't assign clone numbers.
16166 Add clone-of item to list of window parameters.
16167 (window-state-put-2): Don't process clone numbers.
16168 (display-buffer-alist): Fix doc-string.
16169
16170 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16171
16172 * subr.el (remq): Don't allocate if it's not needed.
16173 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16174 (keymap--merge-bindings): New functions.
16175 (keymap-canonicalize): Use them to refine the canonicalization.
16176 * minibuffer.el (minibuffer-local-completion-map)
16177 (minibuffer-local-must-match-map): Move initialization from C.
16178 (minibuffer-local-filename-completion-map): Move initialization from C;
16179 don't inherit from anything here.
16180 (minibuffer-local-filename-must-match-map): Make obsolete.
16181 (completing-read-default): Use make-composed-keymap to combine
16182 minibuffer-local-filename-completion-map with either
16183 minibuffer-local-must-match-map or
16184 minibuffer-local-filename-completion-map.
16185
16186 2011-07-01 Glenn Morris <rgm@gnu.org>
16187
16188 * type-break.el (type-break-time-sum): Use dolist.
16189
16190 * textmodes/flyspell.el (flyspell-word-search-backward):
16191 Replace CL function.
16192
16193 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16194
16195 * mouse.el (mouse--strip-first-event): New function.
16196 (function-key-map): Use it to map fringe clicks to normal clicks
16197 by default.
16198
16199 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16200 (vc-bzr-revision-completion-table): Add support for annotate and date.
16201
16202 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16203 inherit from parent.
16204
16205 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16206
16207 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16208 (dired-show-file-type): Doc fixup (bug#8818).
16209
16210 * dired.el (dired-mode): Fix up the doc string as suggested by
16211 Drew Adams (bug#8817).
16212
16213 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16214 cookie, since the manual says that it should be possible to add
16215 this function to `find-file-hook' (bug#8709).
16216
16217 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16218
16219 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16220 here. Noted Ted Zlatanov as the maintainer.
16221 (cfengine-common-settings, cfengine-common-syntax): New functions
16222 to set up common things between `cfengine-mode' and
16223 `cfengine3-mode'.
16224 (cfengine3-mode): New mode.
16225 (cfengine3-defuns cfengine3-defuns-regex
16226 (cfengine3-class-selector-regex cfengine3-category-regex)
16227 (cfengine3-vartypes cfengine3-font-lock-keywords)
16228 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16229 (cfengine3-indent-line): Add from cfengine3.el.
16230
16231 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16232
16233 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16234
16235 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16236
16237 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16238
16239 * window.el (same-window-buffer-names, same-window-regexps)
16240 (same-window-p, special-display-frame-alist)
16241 (special-display-popup-frame, special-display-function)
16242 (special-display-buffer-names, special-display-regexps)
16243 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16244 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16245 (split-window-preferred-function, split-height-threshold)
16246 (split-width-threshold, even-window-heights)
16247 (display-buffer-mark-dedicated, window-splittable-p)
16248 (split-window-sensibly, window-safely-shrinkable-p):
16249 Un-obsolete.
16250 (display-buffer): Don't spread args with function specifier
16251 because special-display-popup-frame won't like it.
16252
16253 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16254
16255 Time-stamp simplifications and fixes.
16256 These improve accuracy slightly, and future-proof the code
16257 against some potential changes to current-time format.
16258
16259 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16260 by using time-since and float-time.
16261
16262 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16263 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16264 + NNN microseconds".
16265
16266 * type-break.el (type-break-time-sum): Rewrite using time-add.
16267
16268 * play/hanoi.el (hanoi-current-time-float): Remove.
16269 All uses replaced by float-time.
16270
16271 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16272 This yields a more-accurate answer.
16273 (rng-time-to-float): Remove; no longer needed.
16274
16275 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16276
16277 * calendar/timeclock.el (timeclock-seconds-to-time):
16278 Defalias to seconds-to-time, since they're the same thing.
16279
16280 * emacs-lisp/elp.el (elp-elapsed-time):
16281 * emacs-lisp/benchmark.el (benchmark-elapse):
16282 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16283
16284 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16285
16286 * window.el (bury-buffer): Don't iconify the only frame.
16287 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16288 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16289
16290 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16291
16292 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16293 Add mouse-yank-primary.
16294
16295 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16296
16297 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16298
16299 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16300
16301 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16302 (find-library-name): Use it to find relative load names when provided
16303 absolute file name (bug#8803).
16304
16305 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16306
16307 * textmodes/flyspell.el (flyspell-word): Consider words that
16308 differ only in case as potential doublons (bug#5687).
16309
16310 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16311 Remove two rather uninteresting debugging-like messages to make
16312 debbugs.el more silent.
16313
16314 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16315 a password-like phrase.
16316
16317 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16318
16319 * progmodes/cc-guess.el: New file.
16320
16321 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16322
16323 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16324 derived from `c-basic-common-init'.
16325
16326 * progmodes/cc-mode.el (top-level): Require cc-guess.
16327 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16328
16329 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16330
16331 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16332
16333 2011-06-30 Alan Mackenzie <acm@muc.de>
16334
16335 * progmodes/cc-engine.el (c-guess-continued-construct):
16336 Correct the handling of template-args-cont, particularly for when font
16337 lock is disabled. Name this case as "CASE G".
16338
16339 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16340
16341 * allout.el (allout-yank-processing): Fix injection of extra space
16342 between bullet and non-whitespace character in first topic when
16343 pasting, ensuring that the actual spacing in the pasted topic
16344 following the bullet char is preserved. This extra space was
16345 causing pasted encrypted topics to get a decrypted status even
16346 when the content was actually still encrypted. Now the decryption
16347 status from before the paste is preserved.
16348
16349 (allout-flag-region): Set all allout overlays so they evaporate
16350 when reduced to zero length (evanescent), to prevent overlay
16351 leakage.
16352
16353 2011-06-30 Glenn Morris <rgm@gnu.org>
16354
16355 * w32-fns.el (w32-charset-info-alist): Declare.
16356
16357 * find-dired.el (find-grep-options): Simplify.
16358
16359 * term/ns-win.el (ns-set-resource): Declare.
16360
16361 * ses.el (row, col): Declare dynamic variables honestly.
16362
16363 * textmodes/reftex-parse.el (index-tags): Declare.
16364
16365 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16366
16367 * cus-edit.el (customize-push-and-save): New function.
16368
16369 * files.el (hack-local-variables-confirm): Use it.
16370
16371 * custom.el (load-theme): New arg NO-CONFIRM.
16372 Use customize-push-and-save (Bug#8720).
16373 (custom-enabled-themes): Doc fix.
16374
16375 * cus-theme.el (customize-create-theme)
16376 (custom-theme-merge-theme): Callers to load-theme changed.
16377
16378 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16379
16380 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16381 short URLs have at least one dot in them (bug #7614).
16382
16383 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16384 nil, because using a pty is apparently too slow (bug #895).
16385
16386 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16387
16388 * mail/sendmail.el (sendmail-query-once): New function.
16389 (sendmail-query-once-function): New variable.
16390
16391 2011-06-29 Glenn Morris <rgm@gnu.org>
16392
16393 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16394
16395 * ses.el (top-level): Require cl when compiling.
16396 (ses-set-localvars): Fix error statement.
16397 Call it at compile time to silence a storm of warnings.
16398
16399 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16400
16401 * window.el (normalize-live-buffer): Rename to
16402 window-normalize-buffer.
16403 (normalize-live-frame): Rename to window-normalize-frame.
16404 (normalize-any-window): Rename to window-normalize-any-window.
16405 (normalize-live-window): Rename to window-normalize-live-window.
16406 (make-window-atom): Rename to window-make-atom.
16407 (window-resize-reset): Rename to window--resize-reset.
16408 (window-resize-reset-1): Rename to window--resize-reset-1.
16409 (resize-mini-window): Rename to window--resize-mini-window.
16410 (resize-subwindows-skip-p): Rename to
16411 window--resize-subwindows-skip-p.
16412 (resize-subwindows-normal): Rename to
16413 window--resize-subwindows-normal.
16414 (resize-subwindows): Rename to window--resize-subwindows.
16415 (resize-other-windows): Rename to window--resize-siblings.
16416 (resize-this-window): Rename to window--resize-this-window.
16417 (resize-root-window): Rename to window--resize-root-window.
16418 (resize-root-window-vertically): Rename to
16419 window--resize-root-window-vertically.
16420 (normalize-buffer-to-display): Rename to
16421 window-normalize-buffer-to-display.
16422 (normalize-buffer-to-switch-to): Rename to
16423 window-normalize-buffer-to-switch-to.
16424 Correspondingly update all callers of the functions listed
16425 above.
16426 (display-buffer-alist, display-buffer-normalize-arguments)
16427 (display-buffer-normalize-options, display-buffer)
16428 (display-buffer-alist-set): Use "function" instead of
16429 "fun-with-args".
16430
16431 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16432
16433 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16434 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16435 debbugs.gnu.org. Mention acknowledgment email.
16436
16437 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16438
16439 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16440 buffer multibyteness, since it shouldn't matter.
16441
16442 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16443
16444 * window.el (display-buffer-in-side-window): Handle dedicated
16445 windows as in display-buffer-reuse-window.
16446 (display-buffer-normalize-alist): Use value of override
16447 specifier.
16448 (display-buffer-normalize-specifiers): Use value of
16449 other-window-means-other-frame specifier.
16450 (display-buffer-alist): Rewrite some texts in widgets.
16451 (display-buffer): Spread arguments when calling function
16452 specified by fun-with-args.
16453
16454 2011-06-28 Deniz Dogan <deniz@dogan.se>
16455
16456 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16457 Unnest `let'.
16458
16459 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16460 selectors (Bug#5732).
16461 (css-proprietary-nmstart-re): Use `regexp-opt'.
16462
16463 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16464
16465 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16466 (eshell-ls-date-format): New defcustom.
16467 (eshell-ls-file): Use it.
16468
16469 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16470
16471 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16472
16473 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16474
16475 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16476 (ange-ftp-make-tmp-name): New arg.
16477 (ange-ftp-file-local-copy): Use it.
16478
16479 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16480
16481 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16482 no-conversion (Bug#8870).
16483
16484 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16485
16486 * window.el (window-right, window-left, window-child)
16487 (window-child-count, window-last-child)
16488 (window-iso-combination-p, walk-window-tree-1)
16489 (window-atom-check-1, window-tree-1, delete-window)
16490 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16491 new naming conventions - window-vchild, window-hchild,
16492 window-next and window-prev are now called window-top-child,
16493 window-left-child, window-next-sibling and window-prev-sibling
16494 respectively.
16495 (resize-window-reset): Rename to window-resize-reset.
16496 (resize-window-reset-1): Rename to window-resize-reset-1.
16497 (resize-window): Rename to window-resize.
16498 (window-min-height, window-min-width)
16499 (resize-mini-window, resize-this-window, resize-root-window)
16500 (resize-root-window-vertically, adjust-window-trailing-edge)
16501 (enlarge-window, shrink-window, maximize-window)
16502 (minimize-window, delete-window, quit-restore-window)
16503 (split-window, balance-windows, balance-windows-area-adjust)
16504 (balance-windows-area, window-state-put-2)
16505 (display-buffer-even-window-sizes, display-buffer-set-height)
16506 (display-buffer-set-width, set-window-text-height)
16507 (fit-window-to-buffer): Rename all "resize-window" prefixed
16508 calls to use the "window-resize" prefix convention.
16509 (display-buffer-alist): Fix symbol for label specifier.
16510 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16511 corresponding specifier.
16512 Reported by Juanma Barranquero <lekktu@gmail.com>.
16513
16514 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16515
16516 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16517 convention.
16518 (ses-call-printer): Does not pass an empty string to formatter when the
16519 cell is empty to keep from barking printer Calc math-format-value.
16520
16521 2011-06-27 Richard Stallman <rms@gnu.org>
16522
16523 * battery.el (battery-mode-line-limit): New variable.
16524 (battery-update): Handle it.
16525
16526 * mail/rmailmm.el (rmail-mime-process-multipart):
16527 Handle truncated messages.
16528
16529 2011-06-27 Glenn Morris <rgm@gnu.org>
16530
16531 * progmodes/flymake.el (flymake-err-line-patterns):
16532 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16533
16534 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16535
16536 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16537 (ses--clean-!, ses--clean-_): New functions.
16538 (ses-range): Add configurability of readout order, and conversion
16539 to Calc vector.
16540
16541 * ses.el (ses-repair-cell-reference-all): New function.
16542 (ses-cell-symbol): Set macro as safe, so that it can be used in
16543 formulas.
16544
16545 * ses.el: Update cycle detection algorithm.
16546 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16547 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16548 (ses-set-localvars): New function.
16549 (ses-make-cell): Add property-list as a cell element.
16550 (ses-cell-property-get-fun, ses-cell-property-get)
16551 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16552 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16553 New functions.
16554 (ses-cell-property-set, ses-cell-property-pop)
16555 (ses-cell-property-get-handle): New macro.
16556 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16557 New aliases, used for code readability.
16558 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16559 cycle detection.
16560 (ses-self-reference-early-detection): New defcustom.
16561 (ses-formula-references): Robustify against self-referring cells.
16562 (ses-mode): Use ses-set-localvars.
16563 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16564 before lauching the update processing.
16565 (ses-initialize-Dijkstra-attempt): New function.
16566 (ses-recalculate-cell): Update for cycle detection based on
16567 Dijkstra algorithm.
16568
16569 * ses.el: Fix commenting and indenting convention.
16570
16571 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16572
16573 * bs.el (bs-cycle-next): Complete last change.
16574
16575 2011-06-27 Drew Adams <drew.adams@oracle.com>
16576
16577 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16578
16579 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16580
16581 * net/network-stream.el (network-stream-open-starttls):
16582 Don't re-get capabilities unless we've reestablished connection.
16583 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16584
16585 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16586 to binary to possibly avoid line encoding issues on Windows (among
16587 other things).
16588
16589 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16590
16591 * net/network-stream.el (open-network-stream): Return an :error
16592 saying what the problem was, if possible.
16593
16594 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16595 server.
16596
16597 * net/network-stream.el (network-stream-open-starttls): If we
16598 wanted to use STARTTLS, and the server offered it, but we weren't
16599 able to because we had no STARTTLS support, then close the connection.
16600 (open-network-stream): Return an :error element, if present.
16601
16602 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16603
16604 * hl-line.el (hl-line-sticky-flag): Doc fix.
16605 (global-hl-line-sticky-flag): New option (Bug#8323).
16606 (global-hl-line-highlight): Obey it.
16607
16608 * vc/vc.el (vc-revert-show-diff): Default to t.
16609
16610 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16611
16612 * allout-widgets.el (allout-widgets-post-command-business):
16613 Stop decorating intermediate isearch matches. They're not being
16614 undecorated when an isearch is continued past, and isearch
16615 automatically collapses them. This leads to "widget leaks", where
16616 decorated items accumulate in collapsed areas. Lines with lots of
16617 hidden widgets can slow down cursor travel, substantially.
16618 Too much complicated machinery would be needed to ensure undecoration,
16619 so we're doing without this nicety.
16620
16621 (allout-widgets-tally-string): Don't try to do a hash-table-count
16622 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16623 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16624 *Messages* when allout-widgets-maintain-tally is t.
16625
16626 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16627
16628 * window.el (display-buffer-normalize-argument): Rename to
16629 display-buffer-normalize-arguments. Handle special meaning of
16630 LABEL argument. Respect special-display-function when popping up
16631 a new frame. Fix code searching for a window showing the buffer
16632 on another frame.
16633 (display-buffer-normalize-specifiers):
16634 Call display-buffer-normalize-arguments.
16635 (display-buffer-in-window): Don't undedicate the window if its
16636 buffer remains the same.
16637 Reported by Drew Adams <drew.adams@oracle.com>.
16638 (display-buffer-alist): Add choice for same-window macro
16639 specfier.
16640 (display-buffer): Mention special meaning of LABEL argument in
16641 doc-string. Fix quoting. Don't pop up a new frame even as
16642 fallback.
16643
16644 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16645
16646 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16647 avoid deleting the current window in some cases (bug#8911).
16648
16649 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16650
16651 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16652 (Bug#8934)
16653
16654 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16655
16656 * net/network-stream.el (network-stream-open-starttls):
16657 Use built-in TLS support if `gnutls-available-p' is true.
16658 (network-stream-open-tls): Ditto.
16659
16660 2011-06-26 Leo Liu <sdl.web@gmail.com>
16661
16662 * register.el (registerv): New struct.
16663 (registerv-make): New function.
16664 (jump-to-register, describe-register-1, insert-register):
16665 Support the jump-func, print-func and insert-func slot of a registerv
16666 struct. (Bug#8415)
16667
16668 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16669
16670 * vc/vc.el (vc-revert-show-diff): New defcustom.
16671 (vc-diff-internal): New arg specifying diff buffer.
16672 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16673 reuse an existing *vc-diff* buffer (Bug#8927).
16674
16675 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16676
16677 2011-06-26 Glenn Morris <rgm@gnu.org>
16678
16679 * progmodes/f90.el (f90-critical-indent): New option.
16680 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16681 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16682 (f90-mode): Doc fix.
16683 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16684 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16685 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16686 (f90-match-end): Handle block, critical.
16687
16688 2011-06-25 Glenn Morris <rgm@gnu.org>
16689
16690 * calendar/diary-lib.el (diary-included-files): Doc fix.
16691 (diary-include-files): New function, extracted from
16692 diary-include-other-diary-files and diary-mark-included-diary-files.
16693 (diary-include-other-diary-files, diary-mark-included-diary-files):
16694 Just call diary-include-files.
16695 (diary-mark-entries): Reset diary-included-files on first call.
16696
16697 * calendar/diary-lib.el (diary-mark-entries)
16698 (diary-mark-included-diary-files):
16699 Visit included diary-files in temp buffers.
16700
16701 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16702 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16703 (f90-start-block-re, f90-imenu-generic-expression)
16704 (f90-looking-at-program-block-start, f90-no-block-limit):
16705 Add support for submodules.
16706
16707 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16708 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16709
16710 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16711
16712 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16713 buffer-file-type before setting its value, to avoid disastrous
16714 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16715
16716 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16717
16718 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16719
16720 * ses.el (ses-unload-function):
16721 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16722
16723 * proced.el (proced-unload-function):
16724 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16725
16726 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16727
16728 * server.el (server-create-window-system-frame): Add parameters arg.
16729 (server-process-filter): Doc fix. Handle frame-parameters.
16730
16731 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16732
16733 Fix bug#8730, bug#8781.
16734
16735 * loadhist.el (unload--set-major-mode): New function.
16736 (unload-feature): Use it.
16737
16738 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16739 (python-unload-function): New function.
16740
16741 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16742
16743 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16744
16745 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16746
16747 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16748 the candidates list.
16749
16750 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16751
16752 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16753
16754 2011-06-23 Richard Stallman <rms@gnu.org>
16755
16756 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16757 (rmail-variables): Set next-error-move-function.
16758 (rmail-what-message): Take argument POS.
16759 (rmail-next-error-move): New function.
16760
16761 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16762
16763 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16764 messages for adjacent non-terminals.
16765
16766 2011-06-23 Richard Stallman <rms@gnu.org>
16767
16768 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16769 (rmail-show-message-1): Preserve buffer modified flag.
16770 (rmail-start-mail): Don't specify use of rmail-mail-return;
16771 that's done by mail-bury now.
16772 (rmail-mail-return): Handle arg NEWBUF.
16773
16774 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16775
16776 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16777 SIZE is a number.
16778
16779 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16780
16781 * window.el (get-lru-window, get-mru-window)
16782 (get-largest-window): Never return a minibuffer window.
16783 (display-buffer-pop-up-window): Fix a bug that could lead to
16784 reusing the minibuffer window.
16785 (display-buffer): Pass original specifier argument to
16786 display-buffer-function instead of the normalized one.
16787 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16788
16789 2011-06-22 Leo Liu <sdl.web@gmail.com>
16790
16791 * minibuffer.el (completing-read-function)
16792 (completing-read-default): Move from minibuf.c.
16793
16794 2011-06-22 Richard Stallman <rms@gnu.org>
16795
16796 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16797 to Rmail even if not started by a special Rmail command.
16798
16799 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16800 Copy the buffer currently showing just one message.
16801
16802 2011-06-22 Roland Winkler <winkler@gnu.org>
16803
16804 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16805 (bibtex-clean-entry): First delete the old key so that a
16806 customized algorithm for generating the new key does not get
16807 confused by the old key.
16808 (bibtex-url): Obey regexp of first step.
16809 (bibtex-search-entries): Do not use add-to-list with local
16810 list-var.
16811
16812 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16813
16814 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16815 stored a user name, then query for the password first, instead of
16816 waiting for SMTP to give an error message and the trying again.
16817
16818 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16819
16820 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16821 BUFFER in call-process.
16822
16823 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16824
16825 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16826 QUIT twice.
16827 (smtpmail-try-auth-methods): Require user name and password from
16828 auth-source.
16829
16830 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16831
16832 * window.el (display-buffer-default-specifiers)
16833 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16834 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16835 (split-window): Normalize SIDE argument (Bug#8916).
16836
16837 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16838 (special-display-frame-alist, special-display-popup-frame):
16839 Remove duplicate declarations. These are now in window.el.
16840
16841 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16842
16843 * mail/smtpmail.el (smtpmail-via-smtp):
16844 Set :use-starttls-if-possible so that we always use STARTTLS if the
16845 server supports it. SMTP servers that support STARTTLS commonly
16846 require it.
16847
16848 * net/network-stream.el (network-stream-open-starttls): Support
16849 upgrading to STARTTLS always, even if we don't have built-in support.
16850 (open-network-stream): Add the :always-query-capabilities keyword.
16851
16852 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16853 upgrades with `open-network-stream', and rely solely on
16854 auth-source for all credentials. Big changes throughout the file,
16855 but in particular:
16856 (smtpmail-auth-credentials): Remove.
16857 (smtpmail-starttls-credentials): Remove.
16858 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16859 MAIL FROM, too.
16860
16861 * net/network-stream.el (network-stream-open-starttls):
16862 Provide support for client certificates both for external and built-in
16863 STARTTLS.
16864 (auth-source): Require.
16865 (open-network-stream): Document the :client-certificate keyword.
16866 (network-stream-certificate): Change cert-cert to cert and
16867 cert-key to key.
16868
16869 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16870
16871 * net/tramp-cache.el (top): Don't load the persistency file when
16872 "emacs -Q" has been called.
16873
16874 2011-06-21 Tim Harper <timcharper@gmail.com>
16875
16876 * term/ns-win.el (ns-initialize-window-system):
16877 Set application-specific `ApplePressAndHoldEnabled' system
16878 resource to NO as it is not yet supported by the NS port.
16879
16880 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16881
16882 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16883 (list-dynamic-libraries): ...not here.
16884
16885 2011-06-21 Leo Liu <sdl.web@gmail.com>
16886
16887 * subr.el (sha1): Implement sha1 using secure-hash.
16888
16889 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16890
16891 * window.el (display-buffer-alist): In default value do not
16892 enforce searching a window on any but the selected frame.
16893 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16894 (display-buffer-select-window): Remove function.
16895 (display-buffer-in-window): When a window on another frame gets
16896 reused, do not select it any more but just raise its frame if
16897 necessary (Bug#8851) and (Bug#8856).
16898 (display-buffer-normalize-options): Handle pop-up-frames related
16899 options more faithfully.
16900 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16901 window if it is on another frame.
16902 (display-buffer-alist, display-buffer-default-specifiers):
16903 Don't make new frame unsplittable by default.
16904 (display-buffer-normalize-argument): Fix doc-string typo and use
16905 'same-frame-other-window instead of 'other-window when associating
16906 with display-buffer-macro-specifiers.
16907
16908 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16909
16910 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16911 New functions.
16912 (5x5-mode-map, 5x5-mode-menu): Bind them.
16913 (5x5-draw-grid): Tweak the solver's rendering.
16914
16915 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16916
16917 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16918 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16919
16920 2011-06-21 Drew Adams <drew.adams@oracle.com>
16921
16922 * menu-bar.el: Use function variable instead of switch-to-buffer.
16923 (menu-bar-select-buffer-function): New variable.
16924 (menu-bar-update-buffers): Use it (bug#8876).
16925
16926 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16927
16928 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16929 variable's status.
16930
16931 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16932
16933 * x-dnd.el (x-dnd-version-from-flags)
16934 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16935 and long as number (Bug#8899).
16936 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16937
16938 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16939
16940 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16941 (completion-try-completion, completion-all-completions): Compute the
16942 metadata argument if it's missing; make it optional (bug#8795).
16943
16944 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16945 (widget-complete): Use new :completion-function property.
16946 (widget-completions-at-point): New function.
16947 (default): Use :completion-function instead of :complete.
16948 (widget-default-completions): Rename from widget-default-complete;
16949 Rewrite.
16950 (widget-string-complete, widget-file-complete, widget-color-complete):
16951 Remove functions.
16952 (file, symbol, function, variable, coding-system, color):
16953 * international/mule-cmds.el (default-input-method, charset)
16954 (language-info-custom-alist):
16955 * cus-edit.el (face): Use new property :completions.
16956
16957 * progmodes/pascal.el (pascal-completions-at-point): New function.
16958 (pascal-mode): Use it.
16959 (pascal-mode-map): Use completion-at-point.
16960 (pascal-toggle-completions): Make obsolete.
16961 (pascal-complete-word, pascal-show-completions):
16962 * progmodes/octave-mod.el (octave-complete-symbol):
16963 Redefine as obsolete alias.
16964 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16965 Signal absence of completion info for old Octave,
16966 (inferior-octave-complete): Redefine as obsolete alias.
16967 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16968 (meta-completions-at-point): Rename from meta-complete-symbol and
16969 adapt it for use on completion-at-point-functions.
16970 (meta-common-mode): Use it.
16971 (meta-looking-at-backward, meta-match-buffer): Remove.
16972 (meta-complete-symbol): Redefine as obsolete alias.
16973 (meta-common-mode-map): Use completion-at-point.
16974 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16975 (makefile-mode-map): Use completion-at-point.
16976 (makefile-completions-at-point): Rename from makefile-complete and
16977 adapt it for use on completion-at-point-functions.
16978 (makefile-mode): Use it.
16979 (makefile-complete): Redefine as obsolete alias.
16980
16981 2011-06-20 Deniz Dogan <deniz@dogan.se>
16982
16983 * net/rcirc.el: Delete trailing whitespaces once and for all.
16984
16985 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16986
16987 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16988
16989 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16990
16991 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16992
16993 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16994
16995 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16996
16997 * window.el (display-buffer-other-window-means-other-frame):
16998 Call display-buffer-normalize-alist.
16999 (display-buffer-normalize-specifiers-1): Rename to
17000 display-buffer-normalize-argument. New argument other-frame.
17001 Rewrite.
17002 (display-buffer-normalize-specifiers-2): Rename to
17003 display-buffer-normalize-options.
17004 (display-buffer-normalize-alist-1): New function.
17005 (display-buffer-normalize-specifiers-3): Rename to
17006 display-buffer-normalize-alist.
17007 Call display-buffer-normalize-alist-1.
17008 (display-buffer-normalize-options-inhibit): New variable.
17009 (display-buffer-normalize-specifiers): Rewrite calling
17010 display-buffer-normalize-alist,
17011 display-buffer-normalize-argument, and
17012 display-buffer-normalize-options. Don't call the latter if
17013 display-buffer-normalize-options-inhibit is non-nil.
17014 (frame-auto-delete): New option.
17015 (window-deletable-p): Use frame-auto-delete.
17016 (window-list-no-nils, window-state-ignored-parameters)
17017 (window-state-get-1, window-state-get, window-state-put-list)
17018 (window-state-put-1, window-state-put-2, window-state-put):
17019 New functions.
17020 (display-buffer-normalize-options): Move special-display-p group
17021 after pop-up-frame group (Bug#8851) and (Bug#8856).
17022
17023 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17024
17025 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17026 groups (Bug#8776).
17027 (rx-submatch-n): New function.
17028 (rx): Document it.
17029
17030 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17031 (Bug#8768).
17032
17033 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17034
17035 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17036
17037 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17038 anytime existing face settings are present (Bug#8889).
17039
17040 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17041 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17042 Remove unused argument.
17043
17044 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17045
17046 * window.el (display-buffer-default-specifiers):
17047 Remove pop-up-frame. Add pop-up-window-min-height,
17048 pop-up-window-min-width, and another reuse-window specifier
17049 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17050 (display-buffer-normalize-specifiers-2):
17051 Handle split-height-threshold and split-width-threshold also when
17052 pop-up-windows is unset. Add a reuse-window specifier for the
17053 case popping up a new window fails.
17054 (special-display-popup-frame): Remove double quoting.
17055 (display-buffer-normalize-specifiers-1): Fix thinko.
17056
17057 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17058
17059 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17060 according to comint-completion-addsuffix.
17061
17062 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17063 (pcomplete-suffix-list): Mark as obsolete.
17064 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17065 pcomplete-seen in the closure.
17066 (pcomplete-comint-setup): Setup completion-at-point as well.
17067 (pcomplete--entries): New function.
17068 (pcomplete--env-regexp): New var.
17069 (pcomplete-entries): Rewrite to work with partial-completion and
17070 without relying on pcomplete-suffix-list.
17071 (pcomplete-pare-list): Remove, unused.
17072
17073 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17074
17075 * window.el (display-buffer-alist): Set pop-up-window-min-height
17076 and pop-up-window-min-width in default value. Reported by
17077 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17078 other-window-means-other-frame.
17079 (display-buffer-macro-specifiers): Comment out entry for
17080 other-window specifier.
17081 (display-buffer-other-window-means-other-frame): New function.
17082 (display-buffer-normalize-specifiers-1): New arguments
17083 buffer-name and label. Treat other-window case specially.
17084 (display-buffer-normalize-specifiers-2): Treat other-window case
17085 specially.
17086 (display-buffer-normalize-specifiers-3): New function.
17087 (display-buffer-normalize-specifiers):
17088 Call display-buffer-normalize-specifiers-3.
17089
17090 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17091
17092 * window.el (same-window-p): Fix two typos introduced when
17093 adding with-no-warnings.
17094 (display-buffer-normalize-specifiers-1): Don't check
17095 pop-up-frames for 'unset initialization.
17096 (display-buffer-normalize-specifiers-2): Major rewrite using
17097 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17098 (pop-up-frames, display-buffer-reuse-frames)
17099 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17100 Suggested by David Engster <deng@randomsample.de>.
17101 (even-window-heights): Initialize to 'unset.
17102 (display-buffer-alist-set): Handle new 'unset initializations.
17103 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17104 other window case.
17105
17106 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17107
17108 * window.el (display-buffer-normalize-specifiers-1):
17109 Respect current value of pop-up-frames for most reasonable values of
17110 second argument of display-buffer (Bug#8865).
17111 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17112 (switch-to-buffer-other-window-same-frame)
17113 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17114 Adams (Bug#8875).
17115 (display-buffer): Don't check noninteractive when calling
17116 display-buffer-pop-up-frame.
17117 (display-buffer-pop-up-frame): Never pop up a frame in
17118 noninteractive mode (Bug#8857).
17119 (enlarge-window, shrink-window): Don't report an error when the
17120 window can't be resized as requested (Bug#8862).
17121
17122 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17123
17124 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17125
17126 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17127
17128 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17129
17130 2011-06-15 Alan Mackenzie <acm@muc.de>
17131
17132 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17133 for declarators, disable knr checking to speed up for normal files.
17134 2: Refactor, replacing a sequence of nested if forms by a cond form.
17135
17136 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17137
17138 * net/network-stream.el (open-network-stream): Add the keyword
17139 :always-query-capabilities for the case where you want to force a
17140 `plain' network connection, but the protocol still requires the
17141 capabilitiy command (i.e., SMTP and EHLO).
17142
17143 * subr.el (process-live-p): Rename from `process-alive-p' for
17144 consistency with other `-live-p' functions.
17145
17146 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17147
17148 * window.el (same-window-buffer-names, same-window-regexps)
17149 (special-display-frame-alist, special-display-popup-frame)
17150 (special-display-function, special-display-buffer-names)
17151 (special-display-regexps, pop-up-frame-alist)
17152 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17153 (pop-up-windows, split-window-preferred-function)
17154 (split-height-threshold, split-width-threshold, even-window-heights)
17155 (display-buffer-mark-dedicated): Don't encourage the use of
17156 display-buffer-alist from Elisp code.
17157
17158 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17159
17160 * progmodes/python.el (python-mode): Derive from prog-mode.
17161 * progmodes/ps-mode.el (ps-mode):
17162 * progmodes/mixal-mode.el (mixal-mode):
17163 * progmodes/cfengine.el (cfengine-mode):
17164 * progmodes/ld-script.el (ld-script-mode): Likewise.
17165
17166 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17167
17168 * window.el (display-buffer-alist): Trim default value to avoid
17169 popping up a new frame (Bug#8857) or reusing an arbitrary window
17170 on another frame.
17171 (display-buffer): Do not fall back on popping up a new frame in
17172 batch mode (Bug#8857).
17173
17174 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17175
17176 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17177 (custom-theme-summary): New function.
17178 (customize-themes): Use it.
17179
17180 2011-06-13 Glenn Morris <rgm@gnu.org>
17181
17182 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17183
17184 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17185
17186 * help.el (help-window): Remove variable.
17187 (help-window-point-marker, temp-buffer-max-height)
17188 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17189 (help-print-return-message): Don't set help-window.
17190 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17191 (help-window-setup-finish): Remove.
17192 (help-window-display-message, help-window-setup)
17193 (with-help-window): Major rewrite based on new
17194 display-buffer-window variable.
17195
17196 * help-mode.el (help-mode-finish): Remove help-window related
17197 code.
17198
17199 * view.el (view-exits-all-viewing-windows): Remove reference to
17200 view-return-to-alist in doc-string.
17201 (view-return-to-alist): Make obsolete.
17202 (view-buffer): Call pop-to-buffer-same-window and remove
17203 undo-window code.
17204 (view-buffer-other-window): Call pop-to-buffer-other-window and
17205 simplify code. Ignore second argument.
17206 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17207 simplify code. Ignore second argument.
17208 (view-return-to-alist-update): Make obsolete.
17209 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17210 Rewrite using quit-restore window parameters.
17211 (view-mode-exit): Rename second argument to EXIT-ONLY.
17212 Rewrite using quit-restore-window.
17213 (View-exit, View-exit-and-edit, View-leave, View-quit)
17214 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17215 appropriate arguments.
17216 (view-end-message): Use quit-restore window parameter.
17217
17218 * window.el (display-buffer-function): Rewrite doc-string.
17219 (display-buffer-window, display-buffer-alist): New variables.
17220 (display-buffer-split-specifiers)
17221 (display-buffer-side-specifiers)
17222 (display-buffer-macro-specifiers): New constants.
17223 (display-buffer-even-window-sizes, display-buffer-set-height)
17224 (display-buffer-set-width, display-buffer-select-window)
17225 (display-buffer-in-window, display-buffer-reuse-window)
17226 (display-buffer-split-window-1, display-buffer-split-window)
17227 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17228 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17229 (display-buffer-in-side-window, normalize-buffer-to-display)
17230 (display-buffer-normalize-specifiers-1)
17231 (display-buffer-normalize-specifiers-2)
17232 (display-buffer-normalize-specifiers, display-buffer-frame):
17233 New functions.
17234 (display-buffer): Major rewrite.
17235 (display-buffer-other-window, display-buffer-other-frame)
17236 (pop-to-buffer, switch-to-buffer-other-window)
17237 (switch-to-buffer-other-frame): Rewrite.
17238 (display-buffer-same-window, display-buffer-same-frame)
17239 (display-buffer-same-frame-other-window)
17240 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17241 (pop-to-buffer-other-window)
17242 (pop-to-buffer-same-frame-other-window)
17243 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17244 (switch-to-buffer-other-window-same-frame): New functions.
17245 (same-window-p, special-display-p): Rewrite disabling warnings.
17246 Make obsolete.
17247 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17248 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17249 Make obsolete
17250 (same-window-buffer-names, same-window-regexps)
17251 (special-display-frame-alist, special-display-popup-frame)
17252 (special-display-function, special-display-buffer-names)
17253 (special-display-regexps, pop-up-frame-alist)
17254 (pop-up-frame-function, split-window-preferred-function)
17255 (split-height-threshold, split-width-threshold)
17256 (even-window-heights): Make obsolete.
17257
17258 2011-06-12 Glenn Morris <rgm@gnu.org>
17259
17260 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17261 Misc simplifications.
17262
17263 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17264
17265 * window.el (window-safely-shrinkable-p): Restore function which
17266 was inadvertently removed in change from 2011-06-11. Declare as
17267 obsolete.
17268
17269 * calendar/calendar.el (calendar-generate-window):
17270 Use window-iso-combined-p instead of combination of one-window-p and
17271 window-safely-shrinkable-p.
17272
17273 2011-06-12 Glenn Morris <rgm@gnu.org>
17274
17275 * progmodes/fortran.el (fortran-mode-syntax-table):
17276 * progmodes/f90.el (f90-mode-syntax-table):
17277 Set % to punctuation. (Bug#8820)
17278 (f90-find-tag-default): Remove, no longer needed.
17279
17280 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17281
17282 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17283
17284 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17285
17286 * image.el (image-animated-p): Return animation delay in seconds.
17287 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17288 (image-animate-timeout): Remove DELAY argument. Don't assume
17289 every subimage has the same delay; get it from image-animated-p.
17290 (image-animate): Caller changed.
17291
17292 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17293
17294 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17295 to ignored backtrace functions.
17296
17297 2011-06-11 Glenn Morris <rgm@gnu.org>
17298
17299 * calendar/appt.el (appt-disp-window-function): Doc fix.
17300 (appt-check): Handle overlapping appointments. (Bug#8337)
17301
17302 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17303
17304 * window.el (window-tree-1, window-tree): New functions, moving
17305 the latter to window.el.
17306 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17307 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17308 (bw-refresh-edges): Remove.
17309 (balance-windows-1, balance-windows-2): New functions.
17310 (balance-windows): Rewrite in terms of window tree functions,
17311 balance-windows-1 and balance-windows-2.
17312 (bw-adjust-window): Remove.
17313 (balance-windows-area-adjust): New function with functionality of
17314 bw-adjust-window but using resize-window.
17315 (set-window-text-height): Rewrite doc-string.
17316 Use normalize-live-window and resize-window.
17317 (enlarge-window-horizontally, shrink-window-horizontally):
17318 Rename argument to DELTA.
17319 (window-buffer-height): New function.
17320 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17321 Rewrite using new window resize routines.
17322 (kill-buffer-and-window, mouse-autoselect-window-select):
17323 Use ignore-errors instead of condition-case.
17324 (quit-window): Call delete-frame instead of delete-windows-on
17325 for the only buffer on frame.
17326
17327 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17328
17329 * loadup.el (top-level): Load window before files for the sake
17330 of replace-buffer-in-windows.
17331
17332 * files.el (read-buffer-to-switch)
17333 (switch-to-buffer-other-window)
17334 (switch-to-buffer-other-frame, display-buffer-other-frame):
17335 Move to window.el.
17336
17337 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17338 (previous-buffer): Move to window.el.
17339
17340 * bindings.el (unbury-buffer): Move to window.el.
17341
17342 * window.el (delete-other-windows-vertically): Move after
17343 definition of delete-other-windows.
17344 (other-window, delete-windows-on, replace-buffer-in-windows):
17345 Move here from window.c.
17346 (record-window-buffer, unrecord-window-buffer)
17347 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17348 (switch-to-next-buffer): New functions.
17349 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17350 from simple.el. Call switch-to-next-buffer.
17351 (previous-buffer): Move here from simple.el.
17352 Call switch-to-prev-buffer.
17353 (bury-buffer): Move here from buffer.c. Switch to previous
17354 buffer when window cannot be deleted.
17355 (unbury-buffer): Move here from bindings.el.
17356 (ctl-x-map): Move binding for other-window from window.c to
17357 here.
17358 (read-buffer-to-switch, switch-to-buffer-other-window)
17359 (switch-to-buffer-other-frame): Move here from files.el.
17360 (normalize-buffer-to-switch-to): New functions.
17361 (switch-to-buffer): Move here from buffer.c.
17362 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17363
17364 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17365
17366 * window.el (window-min-height, window-min-width): Move here
17367 from window.c. Add defcustoms and rewrite doc-strings.
17368 (resize-mini-window, resize-window): New functions.
17369 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17370 Move here from window.c.
17371 (maximize-window, minimize-window): New functions.
17372 (delete-window, delete-other-windows, split-window): Move here
17373 from window.c.
17374 (window-split-min-size): New function.
17375 (split-window-keep-point): Mention split-window-above-each-other
17376 instead of split-window-vertically.
17377 (split-window-above-each-other, split-window-vertically):
17378 Rename split-window-vertically to split-window-above-each-other
17379 and provide defalias for old definition.
17380 (split-window-side-by-side, split-window-horizontally):
17381 Rename split-window-horizontally to split-window-side-by-side
17382 and provide defalias for the old definition.
17383 (ctl-x-map): Move bindings for delete-window,
17384 delete-other-windows and enlarge-window here from window.c.
17385 Replace bindings for split-window-vertically and
17386 split-window-horizontally by bindings for
17387 split-window-above-each-other and split-window-side-by-side.
17388
17389 * cus-start.el (all): Remove entries for window-min-height and
17390 window-min-width. Add entries for window-splits and
17391 window-nest.
17392
17393 2011-06-09 Glenn Morris <rgm@gnu.org>
17394
17395 * calendar/appt.el (appt-mode-line): New function.
17396 (appt-check, appt-disp-window): Use it.
17397
17398 * files.el (hack-one-local-variable-eval-safep):
17399 Allow minor-modes with explicit +/-1 arguments.
17400
17401 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17402
17403 * term/xterm.el (xterm): Add defgroup.
17404 (xterm-extra-capabilities): Add defcustom to supply known xterm
17405 capabilities, skip querying them, or query them (default).
17406 (terminal-init-xterm): Use it.
17407 (terminal-init-xterm-modify-other-keys): New function to set up
17408 modifyOtherKeys support to simplify `terminal-init-xterm'.
17409
17410 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17411
17412 * window.el (resize-window-reset, resize-window-reset-1)
17413 (resize-subwindows-skip-p, resize-subwindows-normal)
17414 (resize-subwindows, resize-other-windows, resize-this-window)
17415 (resize-root-window, resize-root-window-vertically)
17416 (window-deletable-p, window-or-subwindow-p)
17417 (frame-root-window-p): New functions.
17418
17419 2011-06-09 Glenn Morris <rgm@gnu.org>
17420
17421 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17422 (ange-ftp-get-files): Use it.
17423
17424 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17425
17426 * mail/sendmail.el (mail-recover-1, mail-recover):
17427 * files.el (recover-file, recover-session):
17428 Handle dired-listing-switches not being just a single short option.
17429
17430 2011-06-09 Glenn Morris <rgm@gnu.org>
17431
17432 * calendar/appt.el (appt-display-message, appt-disp-window):
17433 Handle lists of appointments.
17434
17435 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17436
17437 * window.el (one-window-p): Move down in code.
17438 Rewrite doc-string.
17439 (window-current-scroll-bars): Rewrite doc-string.
17440 Normalize live window argument.
17441 (walk-windows, get-window-with-predicate, count-windows):
17442 Rewrite doc-string. Use window-list-1.
17443 (window-in-direction-2, window-in-direction, get-mru-window):
17444 New functions.
17445
17446 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17447
17448 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17449 Doc fix (Bug#8713).
17450
17451 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17452
17453 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17454
17455 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17456
17457 * loadhist.el (unload-feature-special-hooks):
17458 Add `comint-output-filter-functions'.
17459
17460 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17461
17462 * calendar/appt.el (appt-check): Move some initializations into the let.
17463
17464 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17465
17466 * window.el (window-height): Defalias to window-total-height.
17467 (window-width): Defalias to window-body-width.
17468
17469 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17470
17471 * image-mode.el (image-toggle-animation): New command.
17472 (image-mode-map): Bind it to RET.
17473 (image-mode): Update message.
17474 (image-toggle-display-image): Avoid a spurious cache flush.
17475 (image-transform-rotation): Doc fix.
17476 (image-transform-properties): Return quickly in the normal case.
17477 (image-animate-loop): Rename from image-animate-max-time.
17478
17479 * image.el (image-animate-max-time): Move to image-mode.el.
17480 (create-animated-image): Remove unnecessary function.
17481 (image-animate): Rename from image-animate-start. New arg.
17482 (image-animate-stop): Remove; just use image-animate-timer.
17483 (image-animate-timer): Use car-safe.
17484 (image-animate-timeout): Rename argument.
17485
17486 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17487
17488 * window.el (get-lru-window, get-largest-window): Move here from
17489 window.c. Rename first argument to ALL-FRAMES.
17490 Rephrase doc-strings.
17491 (get-buffer-window-list): Rewrite using window-list-1.
17492 Rephrase doc-string.
17493 (window-safe-min-height, window-safe-min-width): New constants.
17494 (window-size-ignore, window-min-size, window-min-size-1)
17495 (window-sizable, window-sizable-p, window-size-fixed-1)
17496 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17497 (window-max-delta-1, window-max-delta, window-resizable)
17498 (window-resizable-p, window-total-height, window-total-width)
17499 (window-body-width): New functions.
17500 (window-full-height-p, window-full-width-p): Rewrite using
17501 window-total-size.
17502 (window-body-height): Rewrite using window-body-size.
17503
17504 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17505
17506 * window.el (window-right, window-left, window-child)
17507 (window-child-count, window-last-child, window-any-p)
17508 (normalize-live-buffer, normalize-live-frame)
17509 (normalize-any-window, normalize-live-window)
17510 (window-iso-combination-p, window-iso-combined-p)
17511 (window-iso-combinations)
17512 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17513 (windows-with-parameter, window-with-parameter)
17514 (window-atom-root, make-window-atom, window-atom-check-1)
17515 (window-atom-check, window-side-check, window-check):
17516 New functions.
17517 (ignore-window-parameters, window-sides, window-sides-vertical)
17518 (window-sides-slots): New variables.
17519 (window-size-fixed): Move down in code. Minor doc-string fix.
17520
17521 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17522
17523 * comint.el (comint-dynamic-complete-as-filename)
17524 (comint-dynamic-complete-filename): Correctly call
17525 completion-in-region.
17526
17527 2011-06-05 Deniz Dogan <deniz@dogan.se>
17528
17529 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17530 in last change.
17531
17532 2011-06-05 Deniz Dogan <deniz@dogan.se>
17533
17534 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17535 (rcirc): Use it to prompt for encryption.
17536
17537 2011-06-05 Roland Winkler <winkler@gnu.org>
17538
17539 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17540 (bibtex-search-entries): New command bound to C-c C-a.
17541 (bibtex-display-entries): New function.
17542
17543 2011-06-05 Roland Winkler <winkler@gnu.org>
17544
17545 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17546 (bibtex-insert-kill): After yanking insert newline if necessary.
17547 (bibtex-initialize): Call bibtex-string-files-init only once.
17548 (bibtex-mode): Do not call easy-menu-add.
17549 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17550 (bibtex-yank): Set arg properly if nil.
17551
17552 2011-06-05 Roland Winkler <winkler@gnu.org>
17553
17554 * textmodes/bibtex.el (bibtex-search-entry-globally):
17555 New variable.
17556 (bibtex-search-entry): Use it.
17557
17558 2011-06-05 Roland Winkler <winkler@gnu.org>
17559
17560 * textmodes/bibtex.el (bibtex-entry-format): New option
17561 sort-fields.
17562 (bibtex-format-entry, bibtex-reformat): Honor this option.
17563 (bibtex-parse-entry): Return fields in proper order.
17564
17565 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17566
17567 * doc-view.el (doc-view-remove-if): Move computation of result out
17568 of `dolist' to silence misleading lexical-binding warning.
17569
17570 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17571
17572 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17573 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17574
17575 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17576
17577 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17578 "SunOS 5.10".
17579
17580 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17581
17582 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17583 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17584 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17585 (tramp-parse-putty):
17586 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17587 (tramp-completion-function-alist-ssh)
17588 (tramp-completion-function-alist-telnet)
17589 (tramp-completion-function-alist-su)
17590 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17591 cookie.
17592
17593 * net/tramp-ftp.el:
17594 * net/tramp-sh.el:
17595 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17596 load "tramp.el" `tramp-set-completion-function'.
17597
17598 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17599
17600 * shell.el: Require and use pcomplete.
17601 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17602 (shell-completion-vars): Set pcomplete-default-completion-function.
17603
17604 2011-06-04 Deniz Dogan <deniz@dogan.se>
17605
17606 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17607 `memq' (Bug#8799).
17608
17609 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17610
17611 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17612
17613 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17614
17615 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17616 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17617 * vc/log-view.el (log-view-beginning-of-defun):
17618 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17619 (smerge-refine-forward, smerge-refine-chopup-region):
17620 Silence warning for unused `dotimes' counter variables.
17621
17622 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17623
17624 * net/tramp.el (tramp-with-progress-reporter): Rename from
17625 with-progress-reporter. Use `declare'.
17626 * net/tramp-smb.el:
17627 * net/tramp-sh.el:
17628 * net/tramp-gvfs.el: Update all uses.
17629
17630 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17631
17632 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17633 buffer isn't killed before making it current.
17634
17635 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17636
17637 Silence various byte-compiler warnings.
17638 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17639 `access-type' and new obsolescence format.
17640 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17641 new format.
17642 (byte-compile-check-variable): New `access-type' argument.
17643 Only warn if the access-type is obsolete.
17644 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17645 (byte-compile-variable-set): Adjust callers.
17646 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17647 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17648 setting it as obsolete.
17649 * simple.el (minibuffer-completing-symbol):
17650 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17651 access as obsolete.
17652 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17653 obsolete yet.
17654 * international/quail.el (quail-mouse-choose-completion): Remove unused
17655 code referring to obsolete var.
17656 (quail-choose-completion-string): Remove.
17657 * server.el (server-clients-with, server-kill-buffer-query-function)
17658 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17659 * proced.el (proced-send-signal):
17660 * emacs-lisp/lisp.el (lisp-complete-symbol):
17661 Replace completion-annotate-function with completion-extra-properties.
17662
17663 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17664
17665 * simple.el (goto-line): Use read-number.
17666 (overriding-map-is-bound): Remove.
17667 (saved-overriding-map): Change default.
17668 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17669 Take the map as argument.
17670 (universal-argument, negative-argument, digit-argument): Use it.
17671 (restore-overriding-map): Adjust.
17672 (do-auto-fill): Use fill-forward-paragraph.
17673 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17674
17675 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17676 (minibuffer-inactive-mode): New major mode.
17677 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17678 the *Messages* buffer" hack.
17679 (mouse-popup-menubar): Don't burp if the event is a normal key.
17680
17681 Miscellaneous tweaks.
17682 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17683 lexical scoping as in subr.el's dolist and dotimes.
17684 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17685 Silence compiler warning.
17686 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17687 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17688 * international/ccl.el (ccl-compile): Trivial simplification.
17689 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17690 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17691 `printflag' argument.
17692 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17693 Purecopy the whole obsolescence data.
17694
17695 2011-06-01 Leo Liu <sdl.web@gmail.com>
17696
17697 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17698 improve doc-string as suggested by Marco Pessotto
17699 <melmothx@gmail.com>.
17700 (rcirc-print): Fix last change.
17701
17702 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17703
17704 * minibuffer.el (complete-with-action): Return nil for the metadata and
17705 boundaries of non-functional tables.
17706 (completion-table-dynamic): Return nil for the metadata.
17707 (completion-table-with-terminator): Add default case, using
17708 complete-with-action.
17709 (completion--metadata): New function.
17710 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17711 to try and avoid pathological performance problems.
17712 (completion--embedded-envvar-table): Return `category' metadata.
17713
17714 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17715
17716 * subr.el (process-alive-p): New tiny convenience function.
17717
17718 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17719
17720 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17721 content but also its previous major mode.
17722
17723 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17724
17725 * emacs-lisp/debug.el (debug): Restore the previous content of the
17726 *Backtrace* buffer when we exit with C-M-c.
17727
17728 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17729
17730 * minibuffer.el: Add metadata method to completion tables.
17731 (completion-category-overrides): New defcustom.
17732 (completion-metadata, completion--field-metadata)
17733 (completion-metadata-get, completion--styles)
17734 (completion--cycle-threshold): New functions.
17735 (completion-try-completion, completion-all-completions):
17736 Add `metadata' argument to choose completion-styles.
17737 (completion--do-completion): Use metadata to choose cycling.
17738 (completion-all-sorted-completions): Use metadata for sorting.
17739 Remove :completion-cycle-penalty which is not needed any more.
17740 (completion--try-word-completion): Add `metadata' argument.
17741 (minibuffer-completion-help): Check metadata for annotation function
17742 and sorting.
17743 (completion-file-name-table): Return `category' metadata.
17744 (minibuffer-completing-file-name): Make obsolete.
17745 * simple.el (minibuffer-completing-symbol): Make obsolete.
17746 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17747 completion-try-completion.
17748
17749 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17750
17751 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17752
17753 2011-05-30 Leo Liu <sdl.web@gmail.com>
17754
17755 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17756 (rcirc-print): Decode all incoming messages (bug#8744).
17757 (rcirc-decode-coding-system): Allow value nil for automatic coding
17758 system detection.
17759
17760 2011-06-01 Glenn Morris <rgm@gnu.org>
17761
17762 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17763
17764 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17765
17766 * image.el (image-animate-max-time): Allow nil and t values.
17767 Default to nil.
17768 (create-animated-image): Doc fix.
17769 (image-animate-start): Remove second arg; just use
17770 image-animate-max-time.
17771 (image-animate-timeout): Doc fix. Args changed.
17772
17773 * image-mode.el (image-toggle-display-image): Ensure that the
17774 image spec passed to the animate timer is the same object as in
17775 the buffer's display property (Bug#6981).
17776 (image-transform-properties): Doc fix.
17777
17778 * image.el (image-animate-max-time): Default to nil.
17779
17780 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17781
17782 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17783 entire buffer list (Bug#8184).
17784
17785 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17786
17787 * image.el (imagemagick-types-inhibit)
17788 (imagemagick-register-types): Doc fix.
17789
17790 2011-05-29 Deniz Dogan <deniz@dogan.se>
17791
17792 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17793 default.
17794
17795 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17796
17797 * select.el: Don't perform clipboard-manager saving in hooks;
17798 leave the hooks empty.
17799
17800 2011-05-28 Leo Liu <sdl.web@gmail.com>
17801
17802 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17803 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17804 (occur-edit-mode): New major mode (Bug#8463).
17805 (occur-after-change-function): New function.
17806 (occur-engine): Give Occur tags a read-only property.
17807
17808 2011-05-28 Kevin Ryde <user42@zip.com.au>
17809
17810 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17811
17812 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17813
17814 * bindings.el (help-echo): Make the initial non-indicator dash
17815 empty on graphical terminals (Bug#7295).
17816
17817 * files.el (auto-mode-alist): Move config rule after the
17818 in-stripping one (Bug#8547).
17819
17820 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17821
17822 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17823 setting (Bug#8740).
17824
17825 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17826
17827 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17828 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17829 (Bug#8539).
17830
17831 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17832
17833 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17834
17835 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17836
17837 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17838 (hs-hide-block-at-point, hs-find-block-beginning)
17839 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17840 (Bug#8279).
17841
17842 2011-05-28 Glenn Morris <rgm@gnu.org>
17843
17844 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17845
17846 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17847
17848 * help-fns.el (describe-function-1): If the function is a derived
17849 major mode, print the parent mode.
17850
17851 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17852 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17853
17854 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17855
17856 * minibuffer.el (completion--capf-wrapper): Check applicability before
17857 returning non-nil for non-exclusive completion data.
17858 * progmodes/etags.el (tags-completion-at-point-function):
17859 * info-look.el (info-lookup-completions-at-point): Mark as
17860 non-exclusive.
17861 (info-complete): Adjust accordingly.
17862
17863 * info-look.el: Convert to lexical-binding and completion-at-point.
17864 (info-lookup-completions-at-point): New function.
17865 (info-complete): Use it and completion-in-region.
17866
17867 2011-05-28 Drew Adams <drew.adams@oracle.com>
17868
17869 * isearch.el: Let M-e start with point at the first mismatched char.
17870 (isearch-fail-pos): New function.
17871 (isearch-edit-string): Use it.
17872
17873 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17874
17875 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17876
17877 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17878
17879 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17880 traversal functions for avl-trees.
17881 (avl-tree--stack): New struct.
17882 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17883 (avl-tree-enter): Add optional `updatefun' arg.
17884 (avl-tree--do-enter): Add optional `updatefun' arg.
17885 Change return value.
17886 (avl-tree-delete): Add optional `test' and `nilflag' args.
17887 (avl-tree--do-delete): Add `test' and `nilflag' args.
17888 Change return value.
17889 (avl-tree-member): Add optional `nilflag'
17890 (avl-tree-member-p): New function.
17891 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17892 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17893 (avl-tree-stack-empty-p): New functions.
17894
17895 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17896 avl-tree--del-balance1 and make it work both ways.
17897 (avl-tree--del-balance2): Remove.
17898 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17899 make it work both ways.
17900 (avl-tree--enter-balance2): Remove.
17901 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17902 New macros.
17903 (avl-tree--mapc, avl-tree-map): Add direction argument.
17904
17905 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17906
17907 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17908
17909 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17910
17911 * select.el: Support clipboard managers with built-in function
17912 x-clipboard-manager-save, via delete-frame-functions and
17913 kill-emacs-hook.
17914 (xselect-convert-to-targets): Add MULTIPLE target to list.
17915 (xselect-convert-to-save-targets): New function.
17916
17917 2011-05-27 Kenichi Handa <handa@m17n.org>
17918
17919 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17920 let-binding rfc2047-encode-encoded-words to nil.
17921
17922 2011-05-27 Glenn Morris <rgm@gnu.org>
17923
17924 * mail/emacsbug.el: Don't require url-util.
17925
17926 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17927
17928 * files.el (set-auto-mode):
17929 Also respect mode: entries at the end of the file. (Bug#8586)
17930
17931 2011-05-26 Glenn Morris <rgm@gnu.org>
17932
17933 * files.el (hack-local-variables-prop-line, hack-local-variables):
17934 Downcase mode names, as seems to be traditional.
17935 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17936
17937 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17938 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17939
17940 2011-05-25 Julien Danjou <julien@danjou.info>
17941
17942 * textmodes/rst.el (rst-define-level-faces): Do not define face
17943 symbol if it is already defined.
17944
17945 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17946
17947 * play/5x5.el (5x5-new-game, 5x5-randomize):
17948 Reset 5x5-solver-output to nil when a new grid is cast.
17949 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17950 these debugging traces, as defmacro breaks the compiled code.
17951
17952 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17953
17954 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17955
17956 2011-05-24 Leo Liu <sdl.web@gmail.com>
17957
17958 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17959 (vc-bzr-sha1): Adapt.
17960
17961 * sha1.el: Remove. Function `sha1' is now builtin.
17962
17963 * bindings.el: Provide sha1 feature.
17964
17965 2011-05-24 Kenichi Handa <handa@m17n.org>
17966
17967 * mail/sendmail.el: Require `rfc2047'.
17968 (mail-insert-from-field): Do not perform RFC2047 encoding.
17969 (mail-encode-header): New function.
17970 (sendmail-send-it): Set buffer-file-coding-system of the work
17971 buffer to the return value of select-message-coding-system.
17972 Call mail-encode-header.
17973
17974 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17975
17976 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17977
17978 * mail/supercite.el (sc-default-cite-frame):
17979 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17980
17981 2011-05-24 Glenn Morris <rgm@gnu.org>
17982
17983 * progmodes/python.el (brm-menu): Declare.
17984
17985 * emulation/viper.el (viper-set-hooks): Declare.
17986
17987 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17988 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17989 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17990 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17991 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17992 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17993
17994 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17995
17996 Add an :exit-function for completion-at-point.
17997
17998 * minibuffer.el (completion--done): New fun.
17999 (completion--do-completion): Use it. New arg `expect-exact'.
18000 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18001 since completion--do-completion does it for us now.
18002 (minibuffer-force-complete): Use completion--done and
18003 completion--replace. Handle sole-completion case with more care.
18004 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18005 (completion-extra-properties): New var.
18006 (completion-annotate-function): Make obsolete.
18007 (minibuffer-completion-help): Adjust accordingly.
18008 Use completion-list-insert-choice-function.
18009 (completion-at-point, completion-help-at-point):
18010 Bind completion-extra-properties.
18011 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18012 * simple.el (completion-list-insert-choice-function): New var.
18013 (completion-setup-function): Preserve it.
18014 (choose-completion): Pay attention to it, shuffle the code a bit.
18015 (choose-completion-string): New arg `insert-function'.
18016
18017 * textmodes/bibtex.el: Convert to lexical binding.
18018 (bibtex-mode-map): Use completion-at-point.
18019 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18020 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18021 (bibtex-complete): Define as obsolete alias.
18022 (bibtex-complete-internal): Remove.
18023 (bibtex-format-entry): Remove unused sub-group in regexp.
18024 * shell.el (shell--command-completion-data)
18025 (shell-environment-variable-completion):
18026 * pcomplete.el (pcomplete-completions-at-point):
18027 * comint.el (comint--complete-file-name-data): Use :exit-function
18028 instead of completion-table-with-terminator so it also works for
18029 choose-completion.
18030
18031 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18032
18033 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18034
18035 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18036 (bug#8710).
18037
18038 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18039
18040 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18041
18042 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18043 customization variable and implement: If non-nil, auto-fill will
18044 be inhibited while on topic's header line.
18045
18046 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18047
18048 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18049 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18050 always have a solution in grid size = 5 cases.
18051 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18052 (5x5-solver-output, 5x5-log-buffer): New vars.
18053 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18054 Make these variables buffer local to achieve 5x5 multi-session-ness.
18055 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18056 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18057 (5x5-solve-suggest): New funs.
18058 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18059 randomize a grid so that we ensure that there is always a solution.
18060 (5x5-make-random-grid): Allow other movement than flipping.
18061
18062 2011-05-23 Kevin Ryde <user42@zip.com.au>
18063
18064 * emacs-lisp/advice.el (ad-read-advised-function):
18065 Use `function-called-at-point' as the default, if it has
18066 advice and passes PREDICATE.
18067
18068 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18069
18070 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18071 byte-compile-lambda if it's actually a lambda.
18072
18073 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18074 Fix function quoting. Use backquote better.
18075
18076 2011-05-22 Yuanle Song <sylecn@gmail.com>
18077
18078 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18079 matching (Bug#8516).
18080
18081 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18082
18083 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18084 different face (Bug#8178).
18085
18086 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18087
18088 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18089 defface (Bug#8144).
18090
18091 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18092
18093 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18094 funcall as well (bug#8712). Warn when performing those conversions.
18095 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18096
18097 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18098
18099 2011-05-22 Glenn Morris <rgm@gnu.org>
18100
18101 * files.el (hack-local-variables-prop-line): Small simplifications.
18102 (hack-local-variables, hack-local-variables-prop-line):
18103 If MODE-ONLY, return the mode, rather than just `t'.
18104
18105 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18106
18107 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18108
18109 2011-05-21 Glenn Morris <rgm@gnu.org>
18110
18111 * files.el (hack-local-variables-prop-line, hack-local-variables):
18112 If only interested in the mode, don't bother doing the other stuff.
18113
18114 * image-mode.el (image-after-revert-hook):
18115 Redraw all frames on which the image is visible. (Bug#8567)
18116
18117 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18118
18119 * wid-edit.el (widget-checklist-match-inline):
18120 Fix 2011-04-19 change. (Bug#8649)
18121
18122 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18123
18124 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18125 Also allow singlespace after single-letter capitals followed by a dot.
18126
18127 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18128 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18129
18130 2011-05-20 Nix <nix@esperi.org.uk>
18131
18132 * files.el (basic-save-buffer-2):
18133 Fix handling of break-hardlink-on-save with non-existent files.
18134
18135 2011-05-19 Deniz Dogan <deniz@dogan.se>
18136
18137 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18138 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18139
18140 2011-05-19 Glenn Morris <rgm@gnu.org>
18141
18142 * progmodes/f90.el (f90-type-def-re):
18143 Handle "type, bind(c)". (Bug#8691)
18144
18145 * emacs-lisp/autoload.el (batch-update-autoloads):
18146 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18147
18148 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18149
18150 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18151 property for the correct connection in case of multihops.
18152
18153 2011-05-18 Glenn Morris <rgm@gnu.org>
18154
18155 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18156 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18157
18158 Rationalize calendar handling of day and month abbrev-arrays.
18159 * calendar/calendar.el (calendar-customized-p): New function.
18160 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18161 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18162 Add :set function.
18163 (calendar-abbrev-length, calendar-day-abbrev-array)
18164 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18165 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18166 Elements may no longer be nil.
18167 (calendar-day-name, calendar-month-name):
18168 Update for changed nature of abbrev arrays.
18169 * calendar/diary-lib.el (diary-name-pattern):
18170 Update for changed nature of abbrev arrays.
18171 (diary-mark-entries-1): Update calendar-make-alist calls.
18172 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18173 * calendar/cal-html.el (cal-html-day-abbrev-array):
18174 Simply inherit from calendar-day-abbrev-array.
18175
18176 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18177
18178 * progmodes/grep.el (grep-mode): Disable default
18179 compilation-directory-matcher setting (bug#8684).
18180
18181 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18182
18183 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18184 instead of "head" and "tail". There were problems with SunOS 5.9,
18185 and it performs better.
18186
18187 2011-05-17 Glenn Morris <rgm@gnu.org>
18188
18189 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18190
18191 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18192 Replace obsolete function.
18193
18194 * shell.el (pcomplete-parse-arguments-function): Declare.
18195
18196 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18197 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18198 (appt-check): Doc fixes.
18199 (appt-disp-window-function, appt-delete-window-function):
18200 Remove needless special case in custom :type.
18201 (appt-display-count): Default to 0, not nil.
18202 (appt-check): Reset appt-display-count to 0, not nil.
18203
18204 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18205
18206 * progmodes/python.el (python-font-lock-keywords):
18207 Add the Python 3.X keyword "nonlocal" (bug#8639).
18208
18209 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18210
18211 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18212
18213 2011-05-16 Kevin Ryde <user42@zip.com.au>
18214
18215 * info-look.el (makefile-automake-mode): New setups, looking in
18216 automake manual, then makefile-mode.
18217 (makefile-mode): Remove automake manual, have it just in
18218 makefile-automake-mode since there's various things different or
18219 not relevant to plain make.
18220 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18221 believe a hypothetical automake-mode would go to makefile-mode,
18222 not the other way around.
18223
18224 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18225
18226 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18227 hunk-end tags (Bug#8672).
18228
18229 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18230 vc-annotate-show-diff-revision-at-line (Bug#8671).
18231
18232 2011-05-14 Glenn Morris <rgm@gnu.org>
18233
18234 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18235 in the middle of an existing one with multiple authors. (Bug#8645)
18236 (change-log-font-lock-keywords): Also handle multiple author lines
18237 with leading tabs. (Bug#8644)
18238
18239 * calendar/appt.el (appt-check): Rename some local variables.
18240 Some simplification/reordering.
18241
18242 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18243 (feedmail-sendmail-f-doesnt-sell-me-out)
18244 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18245 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18246 (feedmail-queue-runner-message-sender): Set :version.
18247 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18248 (bbdb-dwim-net-address, vm-mail): Declare.
18249 (feedmail-binmail-gnulinuxish-template):
18250 Rename from feedmail-binmail-linuxish-template.
18251 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18252 Use insert-buffer-substring.
18253
18254 2011-05-14 Bill Carpenter <bill@carpenter.org>
18255
18256 * mail/feedmail.el (feedmail-patch-level): Increase.
18257 (feedmail-debug): New custom group.
18258 (feedmail-confirm-outgoing-timeout)
18259 (feedmail-sendmail-f-doesnt-sell-me-out)
18260 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18261 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18262 (feedmail-sender-line, feedmail-from-line)
18263 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18264 (feedmail-spray-this-address)
18265 (feedmail-spray-address-fiddle-plex-list)
18266 (feedmail-queue-use-send-time-for-date)
18267 (feedmail-queue-use-send-time-for-message-id)
18268 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18269 (feedmail-buffer-eating-function):
18270 Doc fixes.
18271 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18272 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18273 (feedmail-message-action-scroll-down): New functions.
18274 (feedmail-queue-directory, feedmail-queue-draft-directory):
18275 Use expand-file-name.
18276 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18277 Remove C-v help entry.
18278 (feedmail-queue-buffer-file-name): New variable.
18279 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18280 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18281 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18282 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18283 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18284 (feedmail-message-action-toggle-spray)
18285 (feedmail-run-the-queue-no-prompts)
18286 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18287 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18288 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18289 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18290 (feedmail-envelope-deducer, feedmail-fiddle-from)
18291 (feedmail-fiddle-sender, feedmail-default-date-generator)
18292 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18293 (feedmail-fiddle-spray-address)
18294 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18295 (feedmail-fiddle-list-of-fiddle-plexes)
18296 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18297 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18298 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18299 Change default. Doc fix.
18300 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18301 (feedmail-binmail-linuxish-template): New constant.
18302 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18303 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18304 (feedmail-send-it): Add debug call.
18305 Use feedmail-queue-buffer-file-name, and
18306 feedmail-send-it-immediately-wrapper.
18307 (feedmail-message-action-send): Add debug call.
18308 Use feedmail-send-it-immediately-wrapper.
18309 (feedmail-queue-express-to-queue): Add debug call.
18310 Run feedmail-queue-express-hook.
18311 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18312 (feedmail-message-action-help-blat):
18313 Rename from feedmail-queue-send-edit-prompt-help-first.
18314 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18315 Check line-endings. Handle errors better.
18316 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18317 Doc fix. Add debug call.
18318 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18319 Use feedmail-queue-send-edit-prompt-inner.
18320 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18321 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18322 from feedmail-queue-send-edit-prompt.
18323 (feedmail-queue-send-edit-prompt-help)
18324 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18325 (feedmail-tidy-up-slug): Add debug call.
18326 Respect feedmail-queue-slug-suspect-regexp.
18327 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18328 (feedmail-dump-message-to-queue): Add debug call.
18329 Expand queue-directory.
18330 (feedmail-dump-message-to-queue): Change message slightly.
18331 Use feedmail-say-chatter.
18332 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18333 (feedmail-send-it-immediately-wrapper): New function.
18334 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18335 Insert empty string rather than newline. Handle full-frame case.
18336 Use catch/throw. Use feedmail-say-chatter.
18337 (feedmail-fiddle-from): Try mail-host-address.
18338 (feedmail-default-message-id-generator): Doc fix.
18339 Bind system-time-locale. Handle missing end.
18340 (feedmail-fiddle-x-mailer): Add debug call.
18341 Handle feedmail-x-mailer-line being nil.
18342 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18343 Add debug call. Use buffer-substring-no-properties.
18344 (feedmail-say-debug, feedmail-say-chatter): New functions.
18345 (feedmail-find-eoh): Give an explicit error.
18346
18347 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18348
18349 * net/newst-treeview.el (newsticker-treeview-face): Change default
18350 family from helvetica to sans.
18351 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18352 etc/images/newsticker.
18353
18354 * net/newst-reader.el (newsticker-feed-face): Change default
18355 family from helvetica to sans.
18356
18357 * net/newst-plainview.el (newsticker-new-item-face)
18358 (newsticker-old-item-face, newsticker-immortal-item-face)
18359 (newsticker-obsolete-item-face, newsticker-date-face)
18360 (newsticker-statistics-face): Change default family from
18361 helvetica to sans.
18362 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18363 etc/images/newsticker.
18364
18365 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18366 (newsticker--process-auto-mark-filter-match): Tell user about
18367 auto-marking.
18368
18369 2011-05-13 Didier Verna <didier@xemacs.org>
18370
18371 Common Lisp indentation improvements on defmethod and lambda-lists.
18372 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18373 TODO entries.
18374 (lisp-lambda-list-keyword-parameter-indentation)
18375 (lisp-lambda-list-keyword-parameter-alignment)
18376 (lisp-lambda-list-keyword-alignment): New customizable user options.
18377 (lisp-indent-defun-method): Improve docstring.
18378 (extended-loop-p): Fix comment.
18379 (lisp-indent-lambda-list-keywords-regexp): New variable.
18380 (lisp-indent-lambda-list): New function.
18381 (lisp-indent-259): Use it.
18382 (lisp-indent-defmethod): Support for more than one
18383 method qualifier and properly indent methods lambda-lists.
18384 (defgeneric): Provide a missing common-lisp-indent-function property.
18385
18386 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18387
18388 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18389 bounds for the empty string (bug#8667).
18390
18391 2011-05-13 Glenn Morris <rgm@gnu.org>
18392
18393 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18394
18395 * mail/sendmail.el (sendmail-program): Try executable-find first.
18396 (sendmail-send-it): `sendmail-program' cannot be unbound.
18397
18398 * calendar/appt.el (appt-make-list): Simplify.
18399 (appt-time-msg-list): Doc fix.
18400 (appt-check): Change mode-line message at the time of the appointment.
18401
18402 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18403
18404 * progmodes/ld-script.el (ld-script-keywords)
18405 (ld-script-builtins): Update keywords list.
18406
18407 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18408
18409 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18410
18411 * shell.el (shell-completion-vars): New function.
18412 (shell-mode):
18413 * simple.el (read-shell-command): Use it.
18414 (blink-matching-open): No need for " [...]" in minibuffer-message.
18415
18416 2011-05-12 Glenn Morris <rgm@gnu.org>
18417
18418 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18419 (appt-check): Simplify.
18420
18421 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18422
18423 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18424 literal "/dev/null".
18425
18426 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18427
18428 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18429 Fix typo.
18430
18431 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18432
18433 * progmodes/which-func.el (which-function):
18434 Use add-log-current-defun instead of add-log-current-defun-function,
18435 which might not be defined (Bug#8260).
18436
18437 2011-05-12 Glenn Morris <rgm@gnu.org>
18438
18439 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18440 Let byte-compile-initial-macro-environment always take precedence.
18441
18442 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18443
18444 * net/rcirc.el: Add support for SSL/TLS connections.
18445 (rcirc-server-alist): New field `encryption'.
18446 (rcirc): Check `encryption' settings.
18447 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18448 Merge make-local-variable into `set'.
18449 (rcirc--connection-open-p): New function.
18450 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18451 the process is not a network process (e.g. running gnutls-cli).
18452 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18453 Make rcirc-(en|de)code-coding-system local here.
18454 (rcirc-mode): Merge make-local-variable into `set'.
18455 (rcirc-parent-buffer): Make permanent buffer-local.
18456 (rcirc-multiline-minor-mode): Don't do it here.
18457 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18458 there's no server buffer.
18459
18460 2011-05-11 Glenn Morris <rgm@gnu.org>
18461
18462 * newcomment.el (comment-kill): Prefix "unused" local.
18463
18464 * term/w32console.el (get-screen-color): Declare.
18465
18466 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18467 Handle symbol elements of byte-compile-initial-macro-environment.
18468
18469 2011-05-10 Leo Liu <sdl.web@gmail.com>
18470
18471 * bookmark.el (bookmark-bmenu-mode-map):
18472 Bind bookmark-bmenu-search to `/'.
18473
18474 * mail/footnote.el: Convert to utf-8 encoding.
18475 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18476 (Footnote-unicode): New function.
18477 (footnote-style-alist): Add unicode style to the list.
18478 (footnote-style): Doc fix.
18479
18480 2011-05-10 Jim Meyering <meyering@redhat.com>
18481
18482 Fix doubled-word typos.
18483 * international/quail.el (quail-insert-kbd-layout): and and -> and
18484 * kermit.el: and and -> and
18485 * net/ldap.el (ldap-search-internal): to to -> to
18486 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18487 * progmodes/js.el (js-mode): and and -> and
18488 * textmodes/artist.el (artist-move-to-xy): at at -> at
18489 (artist-draw-region-trim-line-endings): if if -> if
18490 And Safetyc -> Safety.
18491 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18492
18493 2011-05-10 Glenn Morris <rgm@gnu.org>
18494 Stefan Monnier <monnier@iro.umontreal.ca>
18495
18496 * files.el (hack-one-local-variable-eval-safep):
18497 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18498
18499 2011-05-10 Glenn Morris <rgm@gnu.org>
18500
18501 * calendar/diary-lib.el (diary-list-entries-hook)
18502 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18503 (diary-nongregorian-marking-hook, diary-list-entries)
18504 (diary-include-other-diary-files, diary-mark-entries)
18505 (diary-mark-included-diary-files): Doc fixes.
18506
18507 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18508
18509 * misc.el: Require tabulated-list.el during compilation.
18510
18511 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18512
18513 * progmodes/compile.el (compilation-start):
18514 Run compilation-filter-hook for the async case too.
18515 (compilation-filter-hook): Doc fix.
18516
18517 2011-05-09 Deniz Dogan <deniz@dogan.se>
18518
18519 * wdired.el: Remove outdated installation comment. Fix usage
18520 comment.
18521
18522 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18523
18524 * misc.el: Implement new command `list-dynamic-libraries'.
18525 (list-dynamic-libraries--loaded-only-p): New variable.
18526 (list-dynamic-libraries--refresh): New function.
18527 (list-dynamic-libraries): New command.
18528
18529 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18530
18531 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18532 Fix the ant regexp to handle end-line and end-column info from jikes.
18533 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18534 higher priority to avoid clobbering by gnu.
18535
18536 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18537
18538 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18539 if the face has existing theme settings (Bug#8454).
18540
18541 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18542
18543 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18544 Only match variables declared via `my' or `our' (Bug#8261).
18545
18546 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18547 special file names `.' and `..' (Bug#8259).
18548
18549 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18550
18551 * progmodes/grep.el (grep-mode-font-lock-keywords):
18552 Remove buffer-changing entries.
18553 (grep-filter): New function.
18554 (grep-mode): Add it to compilation-filter-hook.
18555
18556 * progmodes/compile.el (compilation-filter-hook)
18557 (compilation-filter-start): New defvars.
18558 (compilation-filter): Call compilation-filter-hook prior to
18559 updating the process mark.
18560
18561 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18562
18563 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18564
18565 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18566
18567 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18568 mailclient-send-it even if window-system is nil. (Bug#8595)
18569
18570 * term/w32console.el (terminal-init-w32console):
18571 Call get-screen-color and use its output to set the frame
18572 background-mode. (Bug#8597)
18573
18574 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18575
18576 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18577 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18578 New functions.
18579 (defgeneric, eieio--defmethod): Use them.
18580 (eieio-defgeneric): Remove.
18581 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18582
18583 2011-05-07 Glenn Morris <rgm@gnu.org>
18584
18585 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18586 Use let rather than let*.
18587 (timeclock-find-discrep): Remove unused local.
18588
18589 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18590
18591 * calendar/appt.el (appt-time-msg-list): Doc fix.
18592
18593 2011-05-06 Noah Friedman <friedman@splode.com>
18594
18595 * apropos.el (apropos-print-doc): Only use
18596 emacs-lisp-docstring-fill-column when it is bound to an integer,
18597 per that variable's documentation.
18598
18599 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18600
18601 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18602 and warnings are not silently discarded (e.g. use -d instead of -P).
18603
18604 2011-05-06 Glenn Morris <rgm@gnu.org>
18605
18606 * calendar/appt.el (appt-message-warning-time): Doc fix.
18607 (appt-warning-time-regexp): New option.
18608 (appt-make-list): Respect appt-message-warning-time.
18609
18610 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18611 New options.
18612 (diary-add-to-list): Strip comments from the displayed string.
18613 (diary-mode): Set comment-start and comment-end.
18614
18615 * vc/diff-mode.el (smerge-refine-subst): Declare.
18616 (diff-refine-hunk): Don't require smerge-mode when compiling.
18617
18618 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18619
18620 * simple.el (list-processes): Return nil as the docstring says.
18621
18622 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18623
18624 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18625 to "".
18626 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18627 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18628 determining of binary transfer. (Bug#7383)
18629
18630 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18631
18632 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18633 Fix port computation bug. (Bug#8618)
18634
18635 2011-05-05 Glenn Morris <rgm@gnu.org>
18636
18637 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18638
18639 * simple.el (shell-dynamic-complete-functions)
18640 (comint-dynamic-complete-functions): Declare.
18641
18642 * net/network-stream.el (gnutls-negotiate):
18643 * simple.el (tabulated-list-print): Fix declarations.
18644
18645 * progmodes/gud.el (syntax-symbol, syntax-point):
18646 Remove unnecessary and incorrect declarations.
18647
18648 * emacs-lisp/check-declare.el (check-declare-scan):
18649 Handle byte-compile-initial-macro-environment in bytecomp.el.
18650
18651 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18652
18653 Fix earlier half-done eieio-defmethod change (bug#8338).
18654 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18655 Streamline and change calling convention.
18656 (defmethod): Adjust accordingly and simplify.
18657 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18658 new eieio--defmethod.
18659 (slot-boundp): Minor CSE simplification.
18660
18661 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18662
18663 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18664 (glasses-make-readable): Use glasses-separate-capital-groups.
18665
18666 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18667
18668 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18669 (warning-series): Doc fix.
18670 (display-warning): Don't try to create the buffer if we just found it.
18671
18672 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18673
18674 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18675 (autoload-find-generated-file): New function.
18676 (generate-file-autoloads): Bind generated-autoload-file to
18677 buffer-file-name.
18678 (update-file-autoloads, update-directory-autoloads):
18679 Use autoload-find-generated-file. If called interactively, prompt for
18680 output file (Bug#7989).
18681 (batch-update-autoloads): Doc fix.
18682
18683 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18684
18685 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18686
18687 2011-05-04 Glenn Morris <rgm@gnu.org>
18688
18689 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18690 function, so it follows changes in calendar-date-style.
18691 (diary-fancy-date-matcher): New function.
18692 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18693 (diary-fancy-font-lock-fontify-region-function):
18694 Use diary-fancy-date-pattern as a function.
18695
18696 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18697 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18698
18699 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18700
18701 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18702 instead of positional arguments. Allow :keylist and :crlfiles
18703 arguments.
18704 (open-gnutls-stream): Call it.
18705
18706 * net/network-stream.el (network-stream-open-starttls): Adjust to
18707 call `gnutls-negotiate' with :process and :hostname arguments.
18708
18709 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18710
18711 * minibuffer.el (completion--message): New function.
18712 (completion--do-completion, minibuffer-complete)
18713 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18714 (completion--do-completion): Don't ignore completion-auto-help when in
18715 icomplete-mode.
18716
18717 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18718 internal encoding (e.g. tibetan zero is not whitespace).
18719 (global-whitespace-mode): Prefer save-current-buffer.
18720 (whitespace-trailing-regexp): Remove useless save-match-data.
18721 (whitespace-empty-at-bob-regexp): Minor simplification.
18722
18723 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18724
18725 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18726
18727 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18728
18729 * textmodes/ispell.el (ispell-add-per-file-word-list):
18730 Use `concat' to create string for insertion.
18731
18732 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18733
18734 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18735 Avoid open-line which runs post-self-insert-hook.
18736 (bibtex-fill-entry): Remove unused `end' var.
18737
18738 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18739
18740 * textmodes/ispell.el (ispell-add-per-file-word-list):
18741 Protect against `nil' value of `comment-start' (Bug#8579).
18742
18743 2011-05-03 Leo Liu <sdl.web@gmail.com>
18744
18745 * isearch.el (isearch-yank-pop): New command.
18746 (isearch-mode-map): Bind it to `M-y'.
18747 (isearch-forward): Mention it.
18748
18749 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18750
18751 * simple.el (minibuffer-complete-shell-command): Remove.
18752 (minibuffer-local-shell-command-map): Use completion-at-point.
18753 (read-shell-command): Setup completion vars here instead.
18754 (read-expression-map): Bind TAB to symbol completion.
18755
18756 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18757 error directly rather via storing it into `results'.
18758
18759 2011-05-02 Leo Liu <sdl.web@gmail.com>
18760
18761 * vc/diff.el: Fix description.
18762
18763 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18764
18765 * server.el (server-eval-at): New function.
18766
18767 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18768
18769 * net/network-stream.el (open-network-stream): Take a :nowait
18770 parameter and pass it on to `make-network-process'.
18771 (network-stream-open-plain): Ditto.
18772
18773 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18774
18775 * faces.el (face-spec-set-match-display): Don't match toolkit
18776 options on terminal frames.
18777
18778 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18779
18780 * progmodes/pascal.el: Use lexical binding.
18781 (pascal-mode-map): Remove author preferences.
18782
18783 * pcomplete.el (pcomplete-std-complete): Don't abuse
18784 completion-at-point.
18785
18786 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18787
18788 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18789 removing code that has been dead since 1991 or so.
18790
18791 * startup.el (command-line): When warning about "_emacs", use a
18792 delayed warning to allow the user to filter it out.
18793
18794 2011-04-28 Deniz Dogan <deniz@dogan.se>
18795
18796 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18797 user has not joined.
18798
18799 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18800
18801 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18802 aren't any completions at point.
18803
18804 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18805
18806 * subr.el (display-delayed-warnings): New function.
18807 (delayed-warnings-hook): New variable.
18808
18809 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18810
18811 * minibuffer.el (completion-at-point, completion-help-at-point):
18812 Don't presume that a given completion-at-point-function will always
18813 use the same calling convention.
18814
18815 * pcomplete.el (pcomplete-completions-at-point):
18816 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18817 pcomplete-seen is non-nil.
18818 (pcomplete-comint-setup): Also recognize the new comint/shell
18819 completion functions.
18820 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18821 pcomplete-seen is non-nil.
18822
18823 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18824
18825 * calendar/icalendar.el (diary-lib): Add require statement.
18826 (icalendar--create-uid): Read out a uid from a text-property on
18827 the first character in the entry. This allows for code to add its
18828 own uid to the entry.
18829 (icalendar--convert-float-to-ical): Add export of
18830 `diary-float'-entries save for those with the optional DAY
18831 argument.
18832
18833 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18834
18835 * subr.el (shell-quote-argument): Use alternate escaping strategy
18836 when we spot a variable reference in a string.
18837
18838 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18839
18840 * cus-start.el (all): Define customization for debug-on-event.
18841
18842 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18843
18844 * subr.el (shell-quote-argument): Escape correctly under Windows.
18845
18846 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18847
18848 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18849
18850 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18851
18852 * net/tramp.el (tramp-process-actions): Add POS argument.
18853 Delete region between POS and (pos).
18854
18855 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18856 Use `nil' position in `tramp-process-actions' call.
18857 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18858
18859 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18860 position in `tramp-process-actions' call.
18861
18862 * net/trampver.el: Update release number.
18863
18864 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18865
18866 * custom.el (defcustom): Obey lexical-binding.
18867
18868 Fix octave-inf completion problems reported by Alexander Klimov.
18869 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18870 Inherit from octave-mode-syntax-table.
18871 (inferior-octave-mode): Set info-lookup-mode.
18872 (inferior-octave-completion-at-point): New function.
18873 (inferior-octave-complete): Use it and completion-in-region.
18874 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18875 comint-filename-completion.
18876 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18877 symbol elements which shouldn't be word elements.
18878 (octave-font-lock-keywords, octave-beginning-of-defun)
18879 (octave-function-header-regexp): Adjust regexps accordingly.
18880 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18881
18882 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18883
18884 * net/gnutls.el (gnutls-errorp): Declare before first use.
18885
18886 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18887
18888 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18889 verify-error, and verify-hostname-error parameters. Check whether
18890 default trustfile exists before going to use it. Add missing
18891 argument to gnutls-message-maybe call. Return value.
18892 Reported by Claudio Bley <claudio.bley@gmail.com>.
18893 (open-gnutls-stream): Add usage example.
18894
18895 * net/network-stream.el (network-stream-open-starttls): Give host
18896 parameter to `gnutls-negotiate'.
18897 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18898 * subr.el (shell-quote-argument): Escape correctly under Windows.
18899
18900 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18901
18902 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18903 Use correct match group (bug#8438).
18904
18905 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18906
18907 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18908 (package-menu--generate): New arg specifying packages to show.
18909 (package-menu-refresh, package-menu-execute, list-packages):
18910 Callers changed.
18911 (package-show-package-list): New function, replacing deleted
18912 package--list-packages (renamed because it is non-internal).
18913
18914 * finder.el (finder-list-matches): Use package-show-package-list
18915 instead of deleted package--list-packages.
18916
18917 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18918 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18919 (vc-annotate-mode-map): Bind it to RET.
18920
18921 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18922
18923 * progmodes/etags.el (next-file): Don't use set-buffer to change
18924 buffers (Bug#8478).
18925
18926 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18927
18928 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18929
18930 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18931 (apropos-accumulator): Doc fix.
18932 (apropos-function, apropos-macro, apropos-command)
18933 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18934 (apropos-plist): Add face property.
18935 (apropos-symbols-internal): Fix indentation.
18936 (apropos-print): Simplify help, and recognize apropos-multi-type.
18937 (apropos-print-doc): Use button-type-get to extract the button's
18938 face property. Fill docstring (Bug#8352).
18939
18940 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18941
18942 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18943
18944 * play/mpuz.el (mpuz-silent): Doc fix.
18945 (mpuz-mode-map): Use mapc.
18946 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18947 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18948 Fix typos in docstrings.
18949
18950 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18951 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18952
18953 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18954
18955 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18956
18957 * minibuffer.el (completion--do-completion): Avoid the "Next char
18958 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18959
18960 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18961 mouse-2 into unread-command-events, it is interpreted correctly.
18962
18963 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18964 (image-toggle-display): Doc fix.
18965
18966 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18967
18968 * textmodes/page.el (what-page): Use line-number-at-pos to
18969 calculate line number (Bug#6825).
18970
18971 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18972
18973 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18974 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18975 Pass argument NO-DEFAULT to `find-tag-interactive'.
18976
18977 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18978
18979 Lexical-binding cleanup.
18980
18981 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18982 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18983 * progmodes/ada-prj.el (ada-prj-initialize-values)
18984 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18985 (ada-prj-show-value):
18986 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18987 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18988 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18989 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18990 * progmodes/bug-reference.el (bug-reference-push-button):
18991 * progmodes/fortran.el (fortran-line-length):
18992 * progmodes/glasses.el (glasses-change):
18993 * progmodes/octave-mod.el (octave-fill-paragraph):
18994 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18995 (python-pdbtrack-grub-for-buffer, python-sentinel):
18996 * progmodes/sql.el (sql-save-connection):
18997 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18998 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18999 Mark unused parameters.
19000
19001 * progmodes/compile.el (compilation--flush-directory-cache)
19002 (compilation--flush-parse, compile-internal): Mark unused parameters.
19003 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19004 (compilation-next-error-function): Remove unused variable `timestamp'.
19005
19006 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19007 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19008
19009 * progmodes/dcl-mode.el (dcl-end-of-command):
19010 Remove unused variable `start'.
19011 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19012 (dcl-option-value-basic, dcl-option-value-offset)
19013 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19014 Mark unused parameters.
19015 (dcl-save-local-variable): Remove unused variable `val'.
19016 (mode): Declare.
19017
19018 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19019 Mark unused parameters.
19020 (delphi-ignore-changes): Move before first use.
19021 (delphi-charset-token-at): Remove unused variable `start'.
19022 (delphi-else-start): Remove unused variable `if-count'.
19023 (delphi-comment-block-start, delphi-comment-block-end):
19024 Remove unused variable `kind'.
19025 (delphi-indent-line): Remove unused variable `new-point'.
19026
19027 * progmodes/ebrowse.el (ebrowse-files-list)
19028 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19029 Mark unused parameters. Don't quote `lambda'.
19030 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19031 Don't quote `lambda'.
19032 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19033 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19034 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19035 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19036 Use `ignore-errors'.
19037 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19038 (ebrowse-view/find-file-and-search-pattern)
19039 (ebrowse-view/find-member-declaration/definition):
19040 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19041 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19042 Rename parameter PREFIX-ARG to PREFIX.
19043 (ebrowse-tags-read-name): Remove unused variables `start' and
19044 `member-info'.
19045 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19046 to `tags-file'.
19047
19048 * progmodes/etags.el (local-find-tag-hook): Declare.
19049 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19050 Mark unused parameters.
19051
19052 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19053 (executable-interpret): Mark unused parameter.
19054
19055 * progmodes/flymake.el (flymake-process-sentinel)
19056 (flymake-after-change-function)
19057 (flymake-create-temp-with-folder-structure)
19058 (flymake-get-include-dirs-dot): Mark unused parameters.
19059 (flymake-safe-delete-directory): Remove unused variable `err'.
19060
19061 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19062 (speedbar-timer-fn, speedbar-line-text)
19063 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19064 (speedbar-center-buffer-smartly): Declare functions.
19065 (gdb-find-watch-expression): Remove unused variable `array'.
19066 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19067 (gdb-starting): Mark unused parameters.
19068 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19069 (gdb-table-string): Remove unused variable `res'.
19070 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19071 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19072 (gdb-display-buffer): Remove unused variable `cur-size'.
19073
19074 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19075 allow lexical-binding compilation.
19076 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19077 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19078 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19079 Mark unused parameters.
19080 (gud-gdb-marker-filter): Remove unused variable `match'.
19081 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19082 lambda expressions and funcall them, instead of using `fset'.
19083
19084 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19085 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19086
19087 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19088 variable `header-beg'; use `let'.
19089
19090 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19091 `restart', `last-sexp' and `at-do'.
19092
19093 * progmodes/js.el (js--debug): Mark unused parameter.
19094 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19095 (js--splice-into-items): Remove unused variable `item'.
19096 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19097
19098 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19099 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19100 (makefile-complete): Remove unused variable `try'.
19101 (makefile-fill-paragraph, makefile-match-function-end):
19102 Mark unused parameters.
19103
19104 * progmodes/octave-inf.el (inferior-octave-complete):
19105 Remove unused variable `proc'.
19106 (inferior-octave-output-digest): Mark unused parameter.
19107
19108 * progmodes/perl-mode.el (perl-calculate-indent):
19109 Remove unused variable `err'.
19110
19111 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19112 (prolog-indent-line): Mark unused parameters.
19113 (prolog-indent-line): Remove unused variable `beg'.
19114
19115 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19116 (reporter-dont-compact-list): Declare.
19117
19118 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19119 Remove unused variable `char'.
19120 (sh-debug): Mark unused parameter.
19121 (sh-get-indent-info): Remove unused variable `start'.
19122 (sh-calculate-indent): Remove unused variable `var'.
19123
19124 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19125 (simula-electric-keyword): Remove unused variable `null'.
19126 (simula-search-backward, simula-search-forward): Remove unused
19127 variables `begin' and `end'.
19128
19129 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19130 Remove unused variable `pos'.
19131 (vera-electric-tab, vera-comment-uncomment-region):
19132 Mark unused parameters.
19133 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19134
19135 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19136
19137 * emacs-lisp/package.el (package--builtins, package-alist)
19138 (package-load-descriptor, package-built-in-p, package-activate)
19139 (define-package, package-installed-p)
19140 (package-compute-transaction, package-buffer-info)
19141 (package--push): Doc fix. Distinguish more clearly between
19142 version strings and version lists.
19143
19144 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19145
19146 Lexical-binding cleanup.
19147
19148 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19149 (5x5-make-mutate-best):
19150 * play/fortune.el (fortune-in-buffer):
19151 * play/gomoku.el (gomoku-init-display):
19152 * play/solitaire.el (solitaire, solitaire-do-check):
19153 * play/tetris.el (tetris-default-update-speed-function):
19154 Mark unused parameters.
19155
19156 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19157 (bubbles--shift): Remove unused variable `char-org'.
19158 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19159 (bubbles--show-images): Remove unused variable `char'.
19160
19161 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19162 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19163 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19164 (decipher-analyze-buffer): Use ?\s.
19165 (decipher-make-checkpoint): Remove unused variable `mapping'.
19166
19167 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19168
19169 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19170 Remove unused variable `result'; use `let'.
19171
19172 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19173 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19174 (gametree-children-shown-p, gametree-compute-reduced-score):
19175 Use `ignore-errors'.
19176
19177 * play/handwrite.el (ps-lpr-switches): Declare.
19178 (handwrite): Remove unused variables `pmin' and `lastp'.
19179
19180 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19181
19182 * play/landmark.el (landmark-init-display)
19183 (landmark-update-naught-weights): Mark unused parameters.
19184 (landmark-y): Remove unused variable `noise'. Simplify.
19185 (landmark-human-plays): Remove unused variable `score'.
19186
19187 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19188 (mpuz-try-proposal): Remove unused variable `game'.
19189
19190 * play/zone.el (life-patterns): Declare.
19191
19192 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19193
19194 * vc/vc.el (ediff-vc-internal): Declare function.
19195
19196 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19197
19198 * shell.el: Use lexical-binding and std completion UI.
19199 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19200 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19201 comint-preoutput-filter-functions rather than on
19202 comint-output-filter-functions.
19203 (shell-command-completion, shell--command-completion-data)
19204 (shell-filename-completion, shell-environment-variable-completion)
19205 (shell-c-a-p-replace-by-expanded-directory): New functions.
19206 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19207 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19208 (shell-dynamic-complete-environment-variable): Use them.
19209 (shell-dynamic-complete-as-environment-variable)
19210 (shell-dynamic-complete-as-command): Remove.
19211 (shell-match-partial-variable): Match past point.
19212 * comint.el: Clean up use of completion-at-point-functions.
19213 (comint-completion-at-point): New function.
19214 (comint-mode): Use it completion-at-point-functions.
19215 (comint-dynamic-complete): Make it obsolete.
19216 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19217 (comint-c-a-p-replace-by-expanded-history): New function.
19218 (comint-dynamic-complete-functions)
19219 (comint-replace-by-expanded-history): Use it.
19220 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19221 termination strings. Try harder to avoid second try-completion.
19222 (completion-in-region-mode-map): Disable bindings that don't work yet.
19223
19224 * comint.el: Use lexical-binding. Require CL.
19225 (comint-dynamic-complete-functions): Use comint-filename-completion.
19226 (comint-completion-addsuffix): Tweak custom type.
19227 (comint-filename-completion, comint--common-suffix)
19228 (comint--common-quoted-suffix, comint--table-subvert)
19229 (comint--complete-file-name-data): New functions.
19230 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19231 (comint-dynamic-list-filename-completions): Use them.
19232 (comint-dynamic-simple-complete): Make obsolete.
19233
19234 * minibuffer.el (completion-in-region-mode):
19235 Keep completion-in-region-mode--predicate global.
19236 (completion-in-region--postch):
19237 Assume completion-in-region-mode--predicate is not null.
19238
19239 * progmodes/flymake.el (flymake-start-syntax-check-process):
19240 Obey `dir'. Simplify.
19241
19242 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19243 we're in VC after all.
19244
19245 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19246
19247 * vc/vc.el (vc-diff-build-argument-list-internal)
19248 (vc-version-ediff, vc-ediff): New commands.
19249 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19250
19251 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19252
19253 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19254 add sanity check.
19255
19256 * obsolete/erc-hecomplete.el: Make obsolete.
19257 * obsolete/: Standardize obsolescence info in the header.
19258
19259 2011-04-20 Glenn Morris <rgm@gnu.org>
19260
19261 * calendar/solar.el (solar-horizontal-coordinates):
19262 Use the longitude argument rather than `calendar-longitude'.
19263 (solar-date-next-longitude): Remove unused locals.
19264
19265 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19266
19267 * whitespace.el: New version 13.2.1.
19268
19269 2011-04-20 felix <EmacsWiki> (tiny change)
19270
19271 * whitespace.el (global-whitespace-mode): Keep highlight when
19272 switching between major modes on a file.
19273
19274 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19275
19276 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19277 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19278 multi-line comments as well.
19279
19280 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19281
19282 Lexical-binding cleanup.
19283
19284 * arc-mode.el (archive-mode-revert):
19285 * cmuscheme.el (scheme-interactively-start-process):
19286 * custom.el (custom-initialize-delay):
19287 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19288 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19289 * emacs-lock.el (emacs-lock-clear-sentinel):
19290 * ezimage.el (defezimage):
19291 * follow.el (follow-avoid-tail-recenter):
19292 * fringe.el (set-fringe-mode-1):
19293 * generic-x.el (bat-generic-mode-compile):
19294 * help-mode.el (help-info-variable, help-do-xref)
19295 (help-mode-revert-buffer):
19296 * help.el (view-emacs-todo):
19297 * iswitchb.el (iswitchb-completion-help):
19298 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19299 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19300 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19301 * locate.el (locate-update):
19302 * longlines.el (longlines-encode-region)
19303 (longlines-after-change-function):
19304 * outline.el (outline-isearch-open-invisible):
19305 * ps-def.el (declare-function, charset-dimension, char-width)
19306 (encode-char):
19307 * ps-mule.el (ps-mule-plot-string):
19308 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19309 (recentf-edit-list-select, recentf-edit-list-validate)
19310 (recentf-open-files-action):
19311 * rect.el (delete-whitespace-rectangle-line)
19312 (rectangle-number-line-callback):
19313 * register.el (window-configuration-to-register)
19314 (frame-configuration-to-register):
19315 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19316 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19317 (xselect-convert-to-targets, xselect-convert-to-delete)
19318 (xselect-convert-to-filename, xselect-convert-to-charpos)
19319 (xselect-convert-to-lineno, xselect-convert-to-colno)
19320 (xselect-convert-to-os, xselect-convert-to-host)
19321 (xselect-convert-to-user, xselect-convert-to-class)
19322 (xselect-convert-to-name, xselect-convert-to-integer)
19323 (xselect-convert-to-atom, xselect-convert-to-identity):
19324 * subr.el (declare, ignore, process-kill-without-query)
19325 (text-clone-maintain):
19326 * terminal.el (te-get-char, te-tic-sentinel):
19327 * tool-bar.el (tool-bar-make-keymap):
19328 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19329 * type-break.el (type-break-mode, type-break-noninteractive-query):
19330 * view.el (View-back-to-mark):
19331 * wid-browse.el (widget-browse-action, widget-browse-widget)
19332 (widget-browse-widgets, widget-browse-sexp):
19333 * widget.el (define-widget-keywords):
19334 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19335 Mark unused parameters.
19336
19337 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19338 (align-areas): Remove unused variable `look'.
19339 (align-region): Remove unused variables `real-end' and `pos-list'.
19340
19341 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19342
19343 * bindings.el (mode-line-modified, mode-line-remote):
19344 Mark unused parameters.
19345 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19346
19347 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19348 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19349
19350 * comint.el (comint-history-isearch-pop-state)
19351 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19352 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19353 (comint-substitute-in-file-name): Doc fix.
19354
19355 * completion.el (cmpl-statistics-block): Mark unused parameter.
19356 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19357 (save-completions-to-file, load-completions-from-file):
19358 Remove unused local variable `e'.
19359
19360 * composite.el (compose-chars): Remove unused variable `len'.
19361 (lgstring-insert-glyph): Remove unused variable `g'.
19362 (compose-glyph-string): Remove unused variables `ascent',
19363 `descent', `lbearing' and `rbearing'.
19364 (compose-glyph-string-relative): Remove unused variables
19365 `lbearing', `rbearing' and `wadjust'.
19366 (compose-gstring-for-graphic): Remove unused variables `header',
19367 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19368 (compose-gstring-for-terminal): Remove unused variables `header'
19369 and `nchars'. Use `let', not `let*'.
19370
19371 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19372 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19373 (Custom-buffer-done, custom-buffer-create-internal)
19374 (custom-browse-visibility-action, custom-browse-group-tag-action)
19375 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19376 (widget-magic-mouse-down-action, custom-toggle-parent)
19377 (custom-add-parent-links, custom-toggle-hide-variable)
19378 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19379 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19380 (custom-face-menu-create, custom-variable-menu-create, get)
19381 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19382 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19383 (customize-apropos): Remove unused variable `tests'.
19384 (custom-group-value-create): Remove unused variable `hidden-p'.
19385 (sort-fold-case): Declare.
19386
19387 * cus-theme.el (custom-reset-standard-faces-list)
19388 (custom-reset-standard-variables-list): Declare.
19389 (customize-create-theme, custom-theme-revert, custom-theme-write)
19390 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19391 Mark unused parameters.
19392
19393 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19394
19395 * delim-col.el (delimit-columns-max): Move defvar before first use.
19396
19397 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19398 (describe-char): Don't quote `lambda'. Mark unused parameter.
19399
19400 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19401 (auto-insert): Declare.
19402 (desktop-restore-file-buffer): Rename desktop-* parameters;
19403 mark unused ones.
19404 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19405 (desktop-buffer): Rename desktop-* parameters.
19406
19407 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19408 (dframe-reposition-frame-xemacs, dframe-help-echo)
19409 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19410 Mark unused parameters.
19411
19412 * dired-aux.el (backup-extract-version-start, overwrite-query)
19413 (overwrite-backup-query, rename-regexp-query)
19414 (rename-non-directory-query): Declare.
19415 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19416 (dired-add-entry): Remove unused variable `orig-file-name'.
19417 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19418 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19419 `dired-copy-preserve-time' directly.
19420 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19421 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19422
19423 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19424 (dired-virtual-revert, dired-make-relative-symlink):
19425 Mark unused parameters.
19426 (manual-program): Declare.
19427 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19428 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19429 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19430
19431 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19432
19433 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19434
19435 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19436 Declare.
19437
19438 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19439
19440 * electric.el (Electric-command-loop): Rename parameter
19441 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19442
19443 * expand.el (expand-in-literal): Remove unused variable `here'.
19444
19445 * facemenu.el (facemenu-add-new-color):
19446 Remove unused variable `docstring'.
19447
19448 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19449 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19450 (face-attr-construct): Mark unused parameter. Doc fix.
19451 (read-color): Remove unused variable `hex-string'.
19452
19453 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19454 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19455 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19456 (display-buffer-other-frame): Remove unused variable `old-window'.
19457 (kill-buffer-hook): Declare.
19458 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19459 Mark unused parameters.
19460 (after-find-file): Pass 1 to `auto-save-mode', not t.
19461
19462 * files-x.el (auto-insert): Declare.
19463 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19464
19465 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19466 variable `buf'. Mark unused parameter.
19467 (find-lisp-insert-directory): Mark unused parameter.
19468
19469 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19470 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19471 (format-common-tail): Remove, unused.
19472 (format-deannotate-region): Remove unused variable `loc'.
19473 (format-annotate-region): Remove unused variable `p'.
19474 (format-annotate-single-property-change): Remove unused variables
19475 `default' and `tail'.
19476
19477 * forms.el (read-file-filter): Declare.
19478 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19479
19480 * frame.el (frame-creation-function-alist): Mark unused parameter.
19481 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19482
19483 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19484 Remove unused parameters.
19485 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19486 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19487
19488 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19489 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19490 (hfy-prepare-tag-map): Mark unused parameters.
19491 (htmlfontify-buffer): Use `called-interactively-p'.
19492
19493 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19494 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19495 (ibuffer-do-occur): Mark unused parameters.
19496 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19497 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19498
19499 * ibuffer.el: Don't quote `lambda'.
19500 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19501 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19502 Mark unused parameters.
19503
19504 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19505 (ido-completing-read): Mark unused parameters.
19506 (ido-copy-current-word): Mark unused parameters;
19507 remove unused variable `name'.
19508 (ido-sort-merged-list): Remove unused parameter `dirs'.
19509
19510 * ielm.el (ielm-input-sender): Mark unused parameter.
19511 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19512 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19513 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19514 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19515 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19516
19517 * image-dired.el (image-dired-display-thumbs): Remove unused
19518 variables `curr-file' and `count'.
19519 (image-dired-remove-tag): Remove unused variable `start'.
19520 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19521 variable `curr-file'
19522 (image-dired-rotate-original): Remove unused variable `temp-file'.
19523 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19524 Remove unused variable `file'.
19525 (image-dired-gallery-generate): Remove unused variable `curr'.
19526 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19527
19528 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19529
19530 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19531
19532 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19533
19534 * isearch.el (minibuffer-history-symbol): Declare.
19535 (isearch-edit-string): Remove unused variable `err'.
19536 (isearch-message-prefix, isearch-message-suffix):
19537 Mark unused parameters.
19538
19539 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19540
19541 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19542
19543 * makesum.el (double-column): Remove unused variable `cnt'.
19544
19545 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19546 (ido-ignore-item-temp-list): Declare.
19547
19548 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19549 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19550 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19551 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19552 `mouse-col-delta'.
19553
19554 * mouse-sel.el (mouse-extend-internal):
19555 Remove unused variable `orig-window-frame'.
19556
19557 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19558 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19559 Move declarations before first use.
19560 (pcomplete-opt): Mark unused parameters; doc fix.
19561
19562 * proced.el (proced-revert): Mark unused parameter.
19563 (proced-send-signal): Remove unused variable `err'.
19564
19565 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19566 Rename parameter PREFIX-ARG to ARG.
19567 (ps-basic-plot-string, ps-basic-plot-whitespace):
19568 Mark unused parameters.
19569
19570 * replace.el (replace-count): Define.
19571 (occur-revert-function): Mark unused parameters.
19572 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19573 (isearch-case-fold-search, isearch-string): Declare.
19574 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19575 bind `case-fold-search'. Remove unused variables `beg' and `end',
19576 and simplify.
19577 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19578 COUNT and bind `replace-count'.
19579 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19580 to COUNT.
19581
19582 * savehist.el (print-readably, print-string-length): Declare.
19583
19584 * shadowfile.el (shadow-expand-cluster-in-file-name):
19585 Remove unused variable `cluster'.
19586 (shadow-copy-file): Remove unused variable `i'.
19587 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19588 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19589 (shadow-define-literal-group, shadow-define-regexp-group)
19590 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19591
19592 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19593 (shell): Use `called-interactively-p'.
19594 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19595
19596 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19597 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19598 (delete-backward-char): Remove unused variable `ocol'.
19599 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19600 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19601 (event-apply-hyper-modifier, event-apply-shift-modifier)
19602 (event-apply-control-modifier, event-apply-meta-modifier):
19603 Mark unused parameters.
19604 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19605 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19606
19607 * speedbar.el (speedbar-ignored-directory-expressions)
19608 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19609 (speedbar-find-file, speedbar-dir-follow)
19610 (speedbar-directory-buttons-follow, speedbar-tag-find)
19611 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19612 (speedbar-buffers-line-directory, speedbar-buffer-click):
19613 Mark unused parameters.
19614 (speedbar-tag-file): Remove unused variable `mode'.
19615 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19616
19617 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19618
19619 * talk.el (talk): Remove unused variable `display'.
19620
19621 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19622 (tar-write-region-annotate): Mark unused parameter.
19623
19624 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19625 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19626 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19627 warning by another.
19628
19629 * time-stamp.el (time-stamp-string-preprocess):
19630 Remove unused variable `require-padding'.
19631
19632 * tree-widget.el (widget-glyph-enable): Declare.
19633 (tree-widget-action): Mark unused parameter.
19634
19635 * w32-fns.el (x-get-selection): Mark unused parameter.
19636 (autoload-make-program, generated-autoload-file): Declare.
19637
19638 * wdired.el (wdired-revert): Mark unused parameters.
19639 (wdired-xcase-word): Remove unused variable `err'.
19640
19641 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19642 (whitespace-help-scroll): Remove unused variable `data-help'.
19643
19644 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19645 (widget-image-insert, widget-after-change, default)
19646 (widget-default-format-handler, widget-default-notify)
19647 (widget-default-prompt-value, widget-info-link-action)
19648 (widget-url-link-action, widget-function-link-action)
19649 (widget-variable-link-action, widget-file-link-action)
19650 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19651 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19652 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19653 (widget-insert-button-action, widget-delete-button-action, visibility)
19654 (widget-documentation-link-action, widget-documentation-string-action)
19655 (widget-const-prompt-value, widget-regexp-match, symbol)
19656 (widget-coding-system-prompt-value)
19657 (widget-key-sequence-value-to-external, sexp)
19658 (widget-sexp-value-to-internal, character, vector, cons)
19659 (widget-choice-prompt-value, widget-boolean-prompt-value)
19660 (widget-color--choose-action): Mark unused parameters.
19661 (widget-item-match-inline, widget-choice-match-inline)
19662 (widget-checklist-match, widget-checklist-match-inline)
19663 (widget-group-match): Rename parameter VALUES to VALS.
19664 (widget-field-value-set): Remove unused variable `size'.
19665 (widget-color-action): Remove unused variables `value' and `start'.
19666
19667 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19668 variable `dir'. Doc fix.
19669 (windmove-find-other-window): Don't pass it.
19670
19671 * window.el (count-windows): Mark unused parameter.
19672 (bw-adjust-window): Remove unused variable `err'.
19673
19674 * woman.el (woman-file-name): Remove unused variable `default'.
19675 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19676 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19677 (global-font-lock-mode): Declare.
19678 (woman-decode-region): Mark unused parameter.
19679 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19680
19681 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19682 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19683 (x-dnd-handle-moz-url): Remove unused variable `title'.
19684 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19685
19686 * xml.el (xml-parse-tag, xml-parse-attlist):
19687 Remove unused variable `pos'.
19688
19689 2011-04-19 Glenn Morris <rgm@gnu.org>
19690
19691 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19692 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19693 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19694 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19695 * calendar/cal-html.el (cal-html-insert-minical):
19696 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19697 (calendar-mark-date-pattern):
19698 Prefix "unused" locals.
19699
19700 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19701 optional argument `style'.
19702
19703 * calendar/appt.el (appt-make-list):
19704 * calendar/cal-china.el (calendar-chinese-date-string):
19705 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19706 (diary-hebrew-yahrzeit):
19707 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19708 * calendar/calendar.el (calendar-generate-window):
19709 * calendar/time-date.el (time-to-days):
19710 Remove unused local variables.
19711
19712 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19713
19714 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19715 glyphless-char-display table.
19716 (tabulated-list-glyphless-char-display): New var.
19717
19718 2011-04-18 Sam Steingold <sds@gnu.org>
19719
19720 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19721 to acknowledgments.
19722
19723 2011-04-17 Glenn Morris <rgm@gnu.org>
19724
19725 * calendar/diary-lib.el (diary-sexp-entry):
19726 * calendar/holidays.el (holiday-sexp):
19727 Set debug-on-error rather than the removed stack-trace-on-error.
19728
19729 2011-04-16 Glenn Morris <rgm@gnu.org>
19730
19731 * progmodes/f90.el: Use lexical-binding.
19732 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19733
19734 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19735
19736 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19737 (mail-mode): Setup mailalias completion here instead.
19738 * mail/mailalias.el: Use lexical-binding.
19739 (pattern, mailalias-done): Declare dynamic.
19740 (mail-completion-at-point-function): New function, from mail-complete.
19741 (mail-complete): Use it.
19742 (mail-completion-expand): New function.
19743 (mail-get-names): Use it.
19744 (mail-directory, mail-directory-process, mail-directory-stream):
19745 Don't use `pattern' for lexically bound arg.
19746
19747 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19748
19749 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19750 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19751 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19752
19753 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19754 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19755 (byte-interactive-p): Define them again, for use when inlining
19756 old code.
19757
19758 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19759
19760 * loadup.el: Use `string-to-number', not `string-to-int'.
19761
19762 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19763
19764 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19765 gud-gdb-complete-command.
19766 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19767 (gud-gdb-completion-at-point): New function.
19768 (gud-gdb-completions): Remove.
19769
19770 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19771
19772 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19773 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19774 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19775 whether `executable-find' is bound.
19776
19777 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19778
19779 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19780
19781 * minibuffer.el (completion-in-region-mode-predicate)
19782 (completion-in-region-mode--predicate): New vars.
19783 (completion-in-region, completion-in-region--postch)
19784 (completion-in-region-mode): Use them.
19785 (completion--capf-wrapper): Also return the hook function.
19786 (completion-at-point, completion-help-at-point):
19787 Adjust and provide a predicate.
19788
19789 Preserve arg names for advice of subr and lexical functions (bug#8457).
19790 * help-fns.el (help-function-arglist): Consolidate the subr and
19791 new-byte-code cases. Add argument `preserve-names' to extract names
19792 from the docstring when needed.
19793 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19794 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19795 (ad-arglist): Use help-function-arglist's new arg.
19796 (ad-definition-type): Use cond.
19797
19798 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19799
19800 * autorevert.el (auto-revert-handler):
19801 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19802 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19803 Don't quote lambda.
19804
19805 * image-mode.el (image-transform-set-scale):
19806 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19807
19808 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19809
19810 * net/network-stream.el (network-stream-open-starttls): Only do
19811 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19812 Upgrades via gnutls-cli are too slow to be done opportunistically.
19813
19814 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19815
19816 * dframe.el (dframe-current-frame): Remove spurious quote.
19817
19818 2011-04-12 Glenn Morris <rgm@gnu.org>
19819
19820 * calendar/cal-tex.el (cal-tex-end-document):
19821 Try to automatically use latin1 input if needed.
19822
19823 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19824 Don't try to cons a mark onto an empty element.
19825
19826 2011-04-11 Leo Liu <sdl.web@gmail.com>
19827
19828 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19829 buffers.
19830 (ido-kill-buffer-at-head): Support killing virtual buffers.
19831
19832 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19833
19834 * minibuffer.el (completion-show-inline-help): New var.
19835 (completion--do-completion, minibuffer-complete)
19836 (minibuffer-force-complete, minibuffer-complete-word):
19837 Inhibit minibuffer messages if completion-show-inline-help is nil.
19838
19839 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19840 to avoid interference from inline help (Bug#5849).
19841
19842 2011-04-10 Leo Liu <sdl.web@gmail.com>
19843
19844 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19845 Fix typo.
19846
19847 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19848
19849 * image-mode.el (image-toggle-display-image): Signal an error if
19850 not in Image mode.
19851 (image-transform-mode, image-transform-resize)
19852 (image-transform-set-rotation): Doc fix.
19853 (image-transform-set-resize): Delete.
19854 (image-transform-set-scale, image-transform-fit-to-height)
19855 (image-transform-fit-to-width): Handle image-toggle-display-image
19856 and image-transform-resize directly.
19857
19858 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19859
19860 * doc-view.el (doc-view-fit-width-to-window)
19861 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19862 New functions for fitting the shown image to the Emacs window size.
19863 (doc-view-mode-map): Add bindings for the new functions.
19864
19865 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19866
19867 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19868 Fix typo in docstring.
19869
19870 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19871
19872 * files.el (file-size-human-readable): Produce one digit after
19873 decimal, like "ls -lh" does.
19874
19875 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19876 the file size representation.
19877
19878 * simple.el (list-processes): If async subprocesses are not
19879 available, error out with a clear error message.
19880
19881 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19882
19883 * help.el (help-form-show): New function, to be called from C.
19884 Put help-form output in a buffer named differently than *Help*.
19885
19886 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19887
19888 * files.el (file-size-human-readable): New function.
19889
19890 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19891 computing the representation inline. Don't require `cl'.
19892
19893 2011-04-08 Glenn Morris <rgm@gnu.org>
19894
19895 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19896
19897 * net/browse-url.el (browse-url-firefox):
19898 Test system-type, not system-configuration.
19899
19900 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19901 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19902 Use log-edit-empty-buffer-p. (Bug#7598)
19903
19904 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19905 (rlogin-mode-map): Initialize in the defvar.
19906 (rlogin): Use ignore-errors.
19907
19908 * replace.el (occur-mode-map): Some fixes for menu items.
19909
19910 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19911
19912 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19913
19914 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19915
19916 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19917 issuing unused warnings.
19918
19919 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19920 macro directly.
19921
19922 * simple.el: Lisp reimplement of list-processes. Based on an
19923 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19924 (process-menu-mode): New major mode.
19925 (list-processes--refresh, list-processes):
19926 (process-menu-visit-buffer): New functions.
19927
19928 * files.el (save-buffers-kill-emacs): Don't assume any return
19929 value of list-processes, which is undocumented anyway.
19930
19931 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19932
19933 * emacs-lisp/tabulated-list.el: New file.
19934
19935 * emacs-lisp/package.el: Use Tabulated List mode.
19936 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19937 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19938 table format using Tabulated List mode variables.
19939 (package--push): New macro, replacing package-list-maybe-add.
19940 (package-menu--generate): Use package--push. Renamed from
19941 package--generate-package-list.
19942 (package-menu-refresh, list-packages): Use it.
19943 (package-menu--print-info): Rename from package-print-package.
19944 Return insertion data instead of inserting it directly.
19945 (package-menu-describe-package, package-menu-execute):
19946 Use tabulated-list-get-id.
19947 (package-menu-mark-delete, package-menu-mark-install)
19948 (package-menu-mark-unmark, package-menu-backup-unmark)
19949 (package-menu-mark-obsolete-for-deletion):
19950 Use tabulated-list-put-tag.
19951 (package--list-packages, package-menu-revert)
19952 (package-menu-get-package, package-menu-get-version)
19953 (package-menu-sort-by-column): Functions deleted.
19954 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19955 (package-menu--status-predicate, package-menu--version-predicate)
19956 (package-menu--name-predicate)
19957 (package-menu--description-predicate): Handle arguments in the
19958 Tabulated List format.
19959 (package-list-packages-no-fetch): Call list-packages.
19960
19961 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19962
19963 * files.el (after-find-file-from-revert-buffer): Remove variable.
19964 (after-find-file): Don't bind it.
19965 (revert-buffer-in-progress-p): New variable.
19966 (revert-buffer): Bind it.
19967 Pass nil for `after-find-file-from-revert-buffer'.
19968
19969 * saveplace.el (save-place-find-file-hook): Use new variable
19970 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19971
19972 2011-04-06 Glenn Morris <rgm@gnu.org>
19973
19974 * Makefile.in (AUTOGEN_VCS): New variable.
19975 (autoloads): Use $AUTOGEN_VCS.
19976
19977 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19978 * calendar/calendar.el (calendar-mode-map):
19979 Check for toolkit scroll bars. (Bug#8305)
19980
19981 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19982
19983 * minibuffer.el (completion-in-region--postch)
19984 (completion-in-region-mode): Remove unnecessary messages.
19985
19986 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19987
19988 * font-lock.el (font-lock-refresh-defaults):
19989 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19990 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19991
19992 * info.el (Info-directory-list, Info-read-node-name-2)
19993 (Info-split-parameter-string): Doc fixes.
19994 (Info-virtual-nodes): Reflow docstring.
19995 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19996 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19997 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19998 Fix typos in docstrings.
19999 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20000 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20001 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20002 (Info-restore-desktop-buffer): Mark unused parameters.
20003 (Info-directory-find-file, Info-directory-find-node)
20004 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20005 (Info-virtual-index-find-node, Info-apropos-find-file)
20006 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20007 Mark unused parameters; fix typos in docstrings.
20008 (Info-virtual-index): Remove unused local variable `nodename'.
20009
20010 2011-04-05 Deniz Dogan <deniz@dogan.se>
20011
20012 * net/rcirc.el: Update my e-mail address.
20013 (rcirc-mode-map): Remove M-o binding.
20014
20015 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20016
20017 * startup.el (command-line): Save the cursor's theme-face
20018 directly, instead of using face-override-spec.
20019
20020 * custom.el (load-theme): Minor optimization in assigning faces.
20021
20022 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20023
20024 * help-fns.el (describe-variable): Complete all variables having
20025 documentation, including keywords.
20026 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20027
20028 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20029
20030 Convert to lexical-binding.
20031
20032 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20033 (bs--get-marked-string, bs--get-modified-string)
20034 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20035 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20036 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20037
20038 * ehelp.el (electric-help-execute-extended)
20039 (electric-help-ctrl-x-prefix):
20040 * hexl.el (hexl-revert-buffer-function):
20041 * linum.el (linum-after-change, linum-after-scroll):
20042 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20043
20044 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20045
20046 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20047
20048 * epa-dired.el:
20049 * epa-mail.el:
20050 * epa-hook.el:
20051 * epa-file.el:
20052 * epa.el:
20053 * epg.el: Use lexical binding.
20054
20055 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20056
20057 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20058
20059 * textmodes/flyspell.el (flyspell-word): Recognize default
20060 dictionary case for flyspell-mark-duplications-exceptions.
20061 Use regexp matching for languages.
20062 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20063 default dictionary (Bug#7926).
20064
20065 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20066
20067 * emacs-lisp/package.el (package--with-work-buffer):
20068 Recognize https URLs.
20069
20070 * net/network-stream.el: Move from gnus/proto-stream.el.
20071 Change prefix to network-stream throughout.
20072 (open-protocol-stream): Merge into open-network-stream, leaving
20073 open-protocol-stream as an alias. Handle nil BUFFER args.
20074
20075 * subr.el (open-network-stream): Move to net/network-stream.el.
20076
20077 2011-04-02 Glenn Morris <rgm@gnu.org>
20078
20079 * find-dired.el (find-exec-terminator): New option.
20080 (find-ls-option): Test for -ls support.
20081 (find-ls-subdir-switches): Test for -b in find-ls-option.
20082 (find-dired, find-grep-dired): Doc fixes.
20083 (find-dired): Use find-exec-terminator.
20084
20085 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20086 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20087 (find-name-arg): Remove purecopy.
20088
20089 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20090 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20091 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20092 accordingly. Don't add the null-device if not needed.
20093
20094 * files.el (save-some-buffers): Doc fix.
20095
20096 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20097
20098 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20099
20100 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20101
20102 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20103 Use `dolist' rather than `mapcar'.
20104
20105 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20106
20107 Add lexical binding.
20108
20109 * subr.el (apply-partially): Use new closures rather than CL.
20110 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20111 (dolist, dotimes): Use slightly different expansion for lexical code.
20112 (functionp): Move to C.
20113 (letrec): New macro.
20114 (with-wrapper-hook): Use it and apply-partially instead of CL.
20115 (eval-after-load): Preserve lexical-binding.
20116 (save-window-excursion, with-output-to-temp-buffer): Turn them
20117 into macros.
20118
20119 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20120
20121 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20122 than the arglist.
20123 (help-add-fundoc-usage): Don't add `Not documented'.
20124 (help-function-arglist): Handle closures, subroutines, and new
20125 byte-code-functions.
20126 (help-make-usage): Remove leading underscores.
20127 (describe-function-1): Handle closures.
20128 (describe-variable): Use special-variable-p for completion.
20129
20130 * files.el (lexical-binding): Declare safe.
20131
20132 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20133 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20134 (pcase): Add `let' pattern.
20135 Change memoization so it actually works.
20136 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20137 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20138 <let>: New case.
20139
20140 * emacs-lisp/macroexp.el: Use lexical binding.
20141 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20142 Don't convert ' to #' without checking that it's indeed quoting
20143 a lambda.
20144
20145 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20146 Use eval-sexp-add-defvars.
20147 (eval-sexp-add-defvars): New fun.
20148
20149 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20150
20151 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20152 Don't autoload.
20153 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20154 than the internal `byte-compile-lambda'.
20155 (defmethod): Don't hide code under quotes.
20156 (eieio-defmethod): New `code' argument.
20157
20158 * emacs-lisp/eieio-comp.el: Remove.
20159
20160 * emacs-lisp/edebug.el (edebug-eval-defun)
20161 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20162 (edebug-toggle): Avoid `eval'.
20163
20164 * emacs-lisp/disass.el (disassemble-internal): Handle new
20165 `closure' objects.
20166 (disassemble-1): Handle new byte codes.
20167
20168 * emacs-lisp/cl.el (pushnew): Silence warning.
20169
20170 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20171 (cl-byte-compile-throw): Remove.
20172 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20173
20174 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20175 closures.
20176
20177 * emacs-lisp/cconv.el: New file.
20178
20179 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20180 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20181 (byte-compile-initial-macro-environment):
20182 Handle declare-function here.
20183 (byte-compile--lexical-environment): New var.
20184 (byte-stack-ref, byte-stack-set, byte-discardN)
20185 (byte-discardN-preserve-tos): New lap codes.
20186 (byte-interactive-p): Don't use any more.
20187 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20188 New macros.
20189 (byte-compile-lapcode): Use them and handle new lap codes.
20190 (byte-compile-obsolete): Remove.
20191 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20192 (byte-compile-arglist-warn): Check late def of inlinable funs.
20193 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20194 since they should have been expanded by now.
20195 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20196 (byte-compile-from-buffer): Remove unused second arg.
20197 (byte-compile-preprocess): New function.
20198 (byte-compile-toplevel-file-form): New function to distinguish
20199 file-form calls from outside from file-form calls from hunk-handlers.
20200 (byte-compile-file-form): Simplify.
20201 (byte-compile-file-form-defsubst): Remove.
20202 (byte-compile-file-form-defmumble): Simplify now that
20203 byte-compile-lambda always returns a byte-code-function.
20204 (byte-compile): Preprocess.
20205 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20206 Remove, not used any more.
20207 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20208 (byte-compile-make-args-desc): New funs.
20209 (byte-compile-lambda): Handle lexical functions. Always return
20210 a byte-code-function.
20211 (byte-compile-reserved-constants): New var, to make up room for
20212 closed-over variables.
20213 (byte-compile-constants-vector): Obey it.
20214 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20215 (byte-compile-macroexpand-declare-function): New function.
20216 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20217 byte-code-functions.
20218 (byte-compile-form): Check obsolescence here.
20219 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20220 (byte-compile-variable-ref): Remove.
20221 (byte-compile-dynamic-variable-op): New fun.
20222 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20223 (byte-compile-variable-set): New funs.
20224 (byte-compile-discard): Add 2 args.
20225 (byte-compile-stack-ref, byte-compile-stack-set)
20226 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20227 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20228 macroexpand-all instead.
20229 (byte-compile-quote-form): Remove.
20230 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20231 (byte-compile-bind, byte-compile-unbind): New funs.
20232 (byte-compile-let): Handle let* and lexical binding.
20233 (byte-compile-let*): Remove.
20234 (byte-compile-catch, byte-compile-unwind-protect)
20235 (byte-compile-track-mouse, byte-compile-condition-case):
20236 Handle a new :fun-body form, used for lexical scoping.
20237 (byte-compile-save-window-excursion)
20238 (byte-compile-with-output-to-temp-buffer): Remove.
20239 (byte-compile-defun): Simplify.
20240 (byte-compile-stack-adjustment): New fun.
20241 (byte-compile-out): Use it.
20242 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20243
20244 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20245 handler any more.
20246
20247 * emacs-lisp/byte-opt.el: Use lexical binding.
20248 (byte-inline-lapcode): Remove (to bytecomp).
20249 (byte-compile-inline-expand): Pay attention to inlining to/from
20250 lexically bound code.
20251 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20252 any more.
20253 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20254 any more and don't call compiler-macros.
20255 (byte-compile-splice-in-already-compiled-code): Remove.
20256 (byte-code): Don't inline any more.
20257 (disassemble-offset): Receive `bytes' as argument rather than via
20258 dynamic scoping.
20259 (byte-compile-tag-number): Declare before first use.
20260 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20261 `return' even if make-spliceable.
20262 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20263 obsolete interactive-p.
20264 (byte-optimize-lapcode): Optimize new lap-codes.
20265 Don't trip up on new form of `byte-constant' lap code.
20266
20267 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20268
20269 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20270
20271 * custom.el (custom-initialize-default, custom-declare-variable):
20272 Use `defvar'.
20273
20274 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20275 New variables.
20276 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20277 (COMPILE_FIRST): Add macroexp and cconv.
20278 * makefile.w32-in: Mirror changes in Makefile.in.
20279
20280 * vc/cvs-status.el:
20281 * vc/diff-mode.el:
20282 * vc/log-edit.el:
20283 * vc/log-view.el:
20284 * vc/smerge-mode.el:
20285 * textmodes/bibtex-style.el:
20286 * textmodes/css-mode.el:
20287 * startup.el:
20288 * uniquify.el:
20289 * minibuffer.el:
20290 * newcomment.el:
20291 * reveal.el:
20292 * server.el:
20293 * mpc.el:
20294 * emacs-lisp/smie.el:
20295 * doc-view.el:
20296 * dired.el:
20297 * abbrev.el: Use lexical binding.
20298
20299 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20300
20301 * info.el (info-display-manual): New function.
20302
20303 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20304
20305 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20306
20307 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20308
20309 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20310 an entry for that server in rcirc-authinfo. (Bug#8385)
20311
20312 2011-03-31 Glenn Morris <rgm@gnu.org>
20313
20314 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20315
20316 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20317
20318 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20319
20320 * progmodes/python.el (python-default-interpreter)
20321 (python-python-command-args, python-jython-command-args)
20322 (python-which-shell, python-which-args, python-which-bufname)
20323 (python-file-queue, python-comint-output-filter-function)
20324 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20325 variables and functions.
20326
20327 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20328
20329 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20330 (completion-in-region-mode): New minor mode.
20331 (completion-in-region): Use it.
20332 (completion-in-region--data, completion-in-region-mode-map): New vars.
20333 (completion-in-region--postch): New function.
20334 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20335 New vars.
20336 (completion--capf-wrapper): New function.
20337 (completion-at-point): Use it to track well-behavedness of
20338 hook functions.
20339 (completion-help-at-point): New command.
20340
20341 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20342
20343 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20344 syntax class to search for whitespace on a single line
20345 (Message-ID: <4D938140.4030905@redhat.com>).
20346
20347 2011-03-30 Leo Liu <sdl.web@gmail.com>
20348
20349 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20350 New commands.
20351 (edit-abbrevs-map): Bind them here.
20352 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20353
20354 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20355
20356 * allout.el (allout-hide-by-annotation, allout-flag-region):
20357 Reduce possibility of overlay leakage by making them volatile.
20358
20359 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20360 hash is not shared between buffers. Mode initialization is
20361 responsible for giving it a useful starting value.
20362 (allout-item-span): Reduce possibility of overlay leakage by
20363 making them volatile.
20364 (allout-widgets-count-buttons-in-region): Add diagnostic function
20365 for tracking down button overlay leaks.
20366
20367 2011-03-29 Leo Liu <sdl.web@gmail.com>
20368
20369 * ido.el (ido-read-internal): Use the default history var
20370 minibuffer-history if no HISTORY is specified.
20371
20372 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20373
20374 * net/imap.el (imap-shell-open, imap-process-connection-type):
20375 Use imap-process-connection-type for 'shell' streams as well as
20376 Kerberos, SSL, other subprocesses.
20377
20378 2011-03-28 Leo Liu <sdl.web@gmail.com>
20379
20380 * abbrev.el (abbrev-table-empty-p): New function.
20381 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20382 nonempty ones. (Bug#5937)
20383
20384 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20385
20386 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20387
20388 2011-03-27 Leo Liu <sdl.web@gmail.com>
20389
20390 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20391 for foreground and background colors.
20392 (ansi-color-make-color-map): Adapt.
20393
20394 2011-03-25 Leo Liu <sdl.web@gmail.com>
20395
20396 * midnight.el (midnight-time-float): Remove. Note it calculates
20397 the microsecond component incorrectly and seconds-to-time does the
20398 same job.
20399 Remove redundant (require 'timer).
20400
20401 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20402 (ido-completions): Remove unused arguments. (Bug#8329)
20403
20404 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20405
20406 * minibuffer.el (completion--flush-all-sorted-completions):
20407 Remove itself from hook.
20408 (completion-at-point): Let the functions perform the completion
20409 immediately and return nil or t.
20410 * comint.el (comint-dynamic-complete-functions): Now identical to
20411 completion-at-point-functions.
20412 (comint-dynamic-list-input-ring): Remove unused var `index'.
20413 (comint--match-partial-filename, comint--unquote&expand-filename):
20414 New funs, split from comint-match-partial-filename.
20415 (comint-dynamic-complete): Use completion-at-point.
20416 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20417
20418 2011-03-24 Drew Adams <drew.adams@oracle.com>
20419
20420 * thingatpt.el: Support `defun'.
20421
20422 2011-03-23 Leo Liu <sdl.web@gmail.com>
20423
20424 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20425
20426 * help-mode.el (help-mode-finish): Tweak regexp.
20427
20428 2011-03-23 Glenn Morris <rgm@gnu.org>
20429
20430 * eshell/esh-opt.el (eshell-eval-using-options):
20431 Do not bind unused local variable `eshell-option-stub'.
20432
20433 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20434
20435 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20436
20437 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20438 keymap variable in `with-no-warnings' to avoid a warning when the
20439 keymap has been already `defconst'ed.
20440
20441 2011-03-22 Leo Liu <sdl.web@gmail.com>
20442
20443 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20444 encode all chars in abbrevs; otherwise use emacs-mule or
20445 utf-8-emacs. (Bug#8308)
20446
20447 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20448
20449 * simple.el (backward-delete-char-untabify):
20450 Avoid warning about using `delete-backward-char'.
20451
20452 * image.el (image-type-file-name-regexps): Make it variable.
20453 `imagemagick-register-types' modifies it, and the user may want
20454 to add new extensions for known image types.
20455 (imagemagick-register-types): Throw error if not using ImageMagick.
20456
20457 2011-03-22 Leo Liu <sdl.web@gmail.com>
20458
20459 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20460 located before rcirc-prompt-end-marker.
20461 (rcirc-complete): Error if point is not after rcirc prompt.
20462 Handle the case when table is nil.
20463 (rcirc-user-authenticated): Define to fix compiler warning.
20464
20465 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20466
20467 * custom.el (custom--inhibit-theme-enable): Make it affect only
20468 custom-theme-set-variables and custom-theme-set-faces.
20469 (provide-theme): Ignore custom--inhibit-theme-enable.
20470 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20471 (custom-enabling-themes): Delete variable.
20472 (enable-theme): Accept only loaded themes as arguments.
20473 Ignore the special custom-enabled-themes variable.
20474 (custom-enabled-themes): Forbid themes from setting this.
20475 Eliminate use of custom-enabling-themes.
20476 (custom-push-theme): Quote "changed" custom var entry.
20477
20478 2011-03-21 Leo Liu <sdl.web@gmail.com>
20479
20480 * ido.el (ido-read-internal): Add ido-selected to history instead
20481 of user input.
20482
20483 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20484
20485 * subr.el (deferred-action-list, deferred-action-function):
20486 Mark obsolete.
20487
20488 2011-03-21 Leo Liu <sdl.web@gmail.com>
20489
20490 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20491 change on 2011-02-13 (bug#8309).
20492
20493 * minibuffer.el (read-file-name-function): Change default value.
20494 (read-file-name--defaults): Rename from read-file-name-defaults.
20495 (read-file-name-default): Rename from read-file-name.
20496 (read-file-name): Call read-file-name-function.
20497
20498 2011-03-21 Glenn Morris <rgm@gnu.org>
20499
20500 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20501 Doc fixes.
20502
20503 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20504
20505 * cus-theme.el: Add missing provide statement.
20506 (customize-create-theme): Extract theme value correctly.
20507 (custom-theme-visit-theme): Autoload.
20508 (customize-create-theme): Prompt before inserting default faces.
20509
20510 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20511
20512 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20513 units and musical notes.
20514
20515 2011-03-20 Leo Liu <sdl.web@gmail.com>
20516
20517 * ido.el (ido-read-internal): Use completing-read-default.
20518 (ido-completing-read): Fix compatibility with completing-read.
20519
20520 2011-03-20 Christian Ohler <ohler@gnu.org>
20521
20522 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20523 (ert-delete-all-tests): Use `called-interactively-p' rather than
20524 `interactive-p'.
20525 (ert--make-xrefs-region): Respect END.
20526
20527 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20528
20529 * dired-aux.el (dired-create-directory): Signal an error if the
20530 directory already exists (Bug#8246).
20531
20532 * facemenu.el (list-colors-display): Call list-faces-display
20533 inside with-help-window.
20534 (list-colors-print): Use display property to align the final
20535 column, instead of checking window-width.
20536
20537 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20538
20539 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20540 windows-nt systems.
20541 (emerge-protect-metachars): Quote correctly for ms-dos and
20542 windows-nt systems.
20543
20544 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20545
20546 * info.el (info-initialize): Replace all uses of `:' with
20547 path-separator for compatibility with non-Unix systems.
20548 Cache quoting of path-separator. (Bug#8258)
20549
20550 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20551
20552 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20553 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20554 (mouse-avoidance-mode): Fix typos in docstrings.
20555
20556 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20557
20558 * startup.el (package-subdirectory-regexp): Move from package.el.
20559 Omit \\` and \\', and let callers add them.
20560
20561 * emacs-lisp/package.el (package-strip-version)
20562 (package-load-all-descriptors): Add \\` and \\' to
20563 package-subdirectory-regexp before using it.
20564 (package-untar-buffer): New arg DIR; ensure that file untars only
20565 into this expected directory. Remove superfluous delete-region.
20566 (package-unpack): Caller changed.
20567 (package-tar-file-info): Use package-subdirectory-regexp.
20568
20569 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20570
20571 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20572 diff-mode-shared-map (bug#8284).
20573 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20574
20575 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20576
20577 * calendar/time-date.el (format-seconds): Use assoc instead of
20578 assoc-string, since assoc-string doesn't exist in XEmacs.
20579
20580 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20581
20582 * custom.el (custom-known-themes): Reflow docstring.
20583 (custom-theme-load-path): Fix typo in docstring.
20584 (load-theme): Fix typo in error message.
20585 (custom-available-themes, custom-variable-theme-value):
20586 Use `let', not `let*'.
20587
20588 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20589
20590 * calc/README: Mention inclusion of musical notes.
20591
20592 * calc/calc-units.el (calc-lu-quant): Rename from
20593 `calc-logunits-quantity'.
20594 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20595 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20596 (calc-db): Rename from `calc-dblevel'.
20597 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20598 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20599 (calc-np): Rename from `calc-nplevel'.
20600 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20601 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20602 (calc-lu-plus): Rename from `calc-logunits-add'.
20603 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20604 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20605 (calc-lu-minus): Rename from `calc-logunits-sub'.
20606 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20607 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20608 (calc-lu-times): Rename from `calc-logunits-mul'.
20609 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20610 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20611 (calc-lu-divide): Rename from `calc-logunits-div'.
20612 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20613 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20614
20615 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20616 functions being autoloaded.
20617
20618 * calc/calc.el (calc-lu-power-reference): Rename from
20619 `calc-logunits-power-reference'.
20620 (calc-lu-field-reference): Rename from
20621 `calc-logunits-field-reference'.
20622
20623 * calc/calc-help.el (calc-l-prefix-help):
20624 Mention musical note functions.
20625
20626 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20627
20628 * minibuffer.el (completion-all-sorted-completions):
20629 Use :completion-cycle-penalty text property if present.
20630
20631 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20632
20633 * allout.el (allout-yank-processing): Adjust for new rebulleting
20634 regime so bullet being yanked is used without prompting the user
20635 for a choice.
20636
20637 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20638
20639 * startup.el (command-line): Warn the user that _emacs is deprecated.
20640
20641 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20642
20643 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20644 (delphi-verbose, delphi-comment-face, delphi-string-face)
20645 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20646 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20647 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20648 (delphi-new-comment-line, delphi-font-lock-defaults)
20649 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20650 Fix typos in docstrings.
20651
20652 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20653
20654 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20655 Invert the roles of character and string values for INSTEAD, so a
20656 string is used for the more common case of a defaulting prompt.
20657
20658 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20659
20660 * progmodes/ruby-mode.el (ruby-backward-sexp):
20661 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20662 * play/gamegrid.el (gamegrid-make-face):
20663 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20664 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20665 * notifications.el (notifications-notify):
20666 * net/xesam.el (xesam-search-engines):
20667 * net/quickurl.el (quickurl-list-insert):
20668 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20669
20670 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20671
20672 * startup.el (command-line): Update package subdirectory regexp.
20673
20674 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20675
20676 * allout.el (allout-abbreviate-flattened-numbering)
20677 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20678
20679 * subr.el (read-char-choice): Only show the cursor after the prompt,
20680 not after the answer.
20681
20682 2011-03-15 Kevin Ryde <user42@zip.com.au>
20683
20684 * help-fns.el (variable-at-point): Skip leading quotes, if any
20685 (bug#8253).
20686
20687 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20688
20689 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20690 warning message.
20691
20692 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20693
20694 * shell.el (shell): When called interactively, offer to change the
20695 shell file name on remote hosts.
20696
20697 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20698
20699 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20700 integration for LDAP parameters. The host, base, user or binddn,
20701 and secret tokens can be specified in a netrc file, for instance.
20702 This is optional because an `auth-source' parameter must be
20703 specified in the search attributes.
20704
20705 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20706
20707 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20708
20709 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20710
20711 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20712 into declaration. Remove redundant and harmful binding.
20713
20714 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20715
20716 * files.el (file-ownership-preserved-p): Pass `integer' as an
20717 explicit 2nd argument to `file-attributes'. If the file's owner
20718 is the Administrators group on Windows, and the current user is
20719 Administrator, consider that a match.
20720
20721 * server.el (server-ensure-safe-dir): Consider server directory
20722 safe on MS-Windows if its owner is the Administrators group while
20723 the current Emacs user is Administrator. Use `=' to compare
20724 numerical UIDs, since they could be integers or floats.
20725
20726 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20727
20728 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20729
20730 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20731
20732 Sync with Tramp 2.2.1.
20733
20734 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20735
20736 * net/trampver.el: Update release number.
20737
20738 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20739
20740 * progmodes/compile.el (compilation--previous-directory): Fix up
20741 various nil/dead-marker mismatches (bug#8014).
20742 (compilation-directory-properties, compilation-error-properties):
20743 Don't call it at a position past the one we're about to change.
20744
20745 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20746 Disable obsolescence warnings in the file that declares it.
20747
20748 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20749
20750 * allout-widgets.el (allout-widgets-tally):
20751 Initialize allout-widgets-tally as a hash table rather than nil to
20752 prevent mode-line redisplay warnings. Also, clarify the module
20753 description and fix a comment typo.
20754
20755 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20756
20757 * help-fns.el (describe-variable): Don't complete keywords.
20758 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20759
20760 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20761
20762 * emacs-lisp/package.el (package-version-join): Impose a standard
20763 string representation for pre/alpha/beta version lists.
20764 (package-unpack-single): Standardize the directory name by passing
20765 it through package-version-join.
20766 (package-strip-rcs-id): Accept any version string that does not
20767 signal an error in version-to-list.
20768
20769 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20770
20771 * simple.el (delete-trailing-whitespace): Return nil for the
20772 benefit of `write-file-functions'.
20773
20774 2011-03-10 Glenn Morris <rgm@gnu.org>
20775
20776 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20777
20778 * vc/vc-git.el (vc-git-program): New option.
20779 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20780 (vc-git--call): Use it.
20781
20782 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20783
20784 * cus-edit.el (Custom-newline): If no button at point, look
20785 for a subgroup button at start-of-line. (Bug#2298)
20786
20787 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20788
20789 2011-03-10 Julien Danjou <julien@danjou.info>
20790
20791 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20792 `cursor-type' is nil.
20793
20794 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20795
20796 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20797
20798 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20799
20800 * allout.el: Change so yank of distinctive-bullet items
20801 preserves the existing header prefix, rebulleting it if necessary,
20802 rather than replacing it. This is necessary for proper operation
20803 of cooperative addons like allout-widgets.
20804 (allout-make-topic-prefix, allout-rebullet-heading):
20805 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20806 value as alternate bullet to be used, instead of prompting the user
20807 for a bullet character.
20808
20809 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20810
20811 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20812 Do not use `tramp-file-name-port', because this returns also
20813 `tramp-default-port'.
20814
20815 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20816
20817 * net/rcirc.el (rcirc-handler-001): Remove useless
20818 with-rcirc-process-buffer.
20819 (rcirc-check-auth-status): Swap arguments to string-match.
20820
20821 2011-03-09 Glenn Morris <rgm@gnu.org>
20822
20823 * shell.el (shell-mode):
20824 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20825
20826 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20827 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20828
20829 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20830
20831 * emacs-lisp/package.el (package-refresh-contents)
20832 (package-menu-execute): Use condition-case-no-debug.
20833
20834 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20835
20836 * simple.el (shell-command-to-string): Use `process-file'.
20837
20838 * emacs-lisp/package.el (package-tar-file-info): Handle also
20839 remote files.
20840
20841 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20842 Use `equal' for upload base check.
20843
20844 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20845
20846 * textmodes/texinfo.el (texinfo-environments):
20847 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20848
20849 2011-03-08 Glenn Morris <rgm@gnu.org>
20850
20851 * cus-start.el (cursor-in-non-selected-windows):
20852 Fix :set quoting oddness. (Bug#8192)
20853
20854 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20855 in some setf expressions. (Bug#2159)
20856
20857 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20858
20859 * custom.el (custom-available-themes): Return themes in
20860 alphabetical order.
20861
20862 See ChangeLog.15 for earlier changes.
20863
20864 ;; Local Variables:
20865 ;; coding: utf-8
20866 ;; End:
20867
20868 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20869
20870 This file is part of GNU Emacs.
20871
20872 GNU Emacs is free software: you can redistribute it and/or modify
20873 it under the terms of the GNU General Public License as published by
20874 the Free Software Foundation, either version 3 of the License, or
20875 (at your option) any later version.
20876
20877 GNU Emacs is distributed in the hope that it will be useful,
20878 but WITHOUT ANY WARRANTY; without even the implied warranty of
20879 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20880 GNU General Public License for more details.
20881
20882 You should have received a copy of the GNU General Public License
20883 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.