* Makefile.in (EMACS_NAME): New variable.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4 Silence bogus compiler warnings for ad-do-it.
5
6 * bookmark.el (bookmark-completing-read): Set the completion category
7 to `bookmark' (bug#11131).
8
9 2012-10-26 Bastien <bzg@altern.org>
10 Stefan Monnier <monnier@iro.umontreal.ca>
11
12 * face-remap.el: Use lexical-binding.
13 (text-scale-adjust): Improve docstring. Use itself for the temporary
14 overlay-map bindings, so as to repeat the "Use..." message each time.
15
16 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17
18 * emacs-lisp/macroexp.el (macroexp--expand-all):
19 Obey byte-compile-warning-enabled-p (bug#12486).
20
21 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
22 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
23
24 2012-10-26 Martin Rudalics <rudalics@gmx.at>
25
26 * mouse.el (mouse-drag-line): Move last form into preceding when
27 clause (Bug#12731).
28
29 * help.el (resize-temp-buffer-window): Fix doc-string.
30
31 2012-10-25 David Engster <deng@randomsample.de>
32
33 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
34 Remove. This feature is already integrated in imenu.
35
36 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
37 always loaded. Require `speedbar' unconditionally.
38
39 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
42
43 * minibuffer.el (minibuffer-force-complete): Fix thinko.
44
45 * net/ldap.el (ldap-search-internal): The official ldif format starts
46 with a "version: 1" header (bug#12724).
47
48 * emacs-lisp/package.el (package-installed-p): Warn if not ready
49 (bug#12721).
50
51 2012-10-25 Glenn Morris <rgm@gnu.org>
52
53 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
54
55 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * minibuffer.el (minibuffer-force-complete): Use one more marker
58 for the temporary-overlay-map command (bug#12619).
59
60 2012-10-24 Chong Yidong <cyd@gnu.org>
61
62 * time.el (display-time-world-mode): Derive from special-mode.
63 (display-time-world): Use display-buffer (Bug#12708).
64 (display-time-world-mode-map): Variable deleted.
65 (display-time-world-display): Wrap the final delete-char inside
66 inhibit-read-only.
67
68 2012-10-24 Chong Yidong <cyd@gnu.org>
69
70 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
71 Doc fix.
72
73 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
74
75 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * minibuffer.el (completion--all-sorted-completions-location): New var.
78 (completion--cache-all-sorted-completions)
79 (completion--flush-all-sorted-completions): Use it.
80 (completion-in-region, completion-in-region--postch)
81 (completion-at-point, completion-help-at-point): Use markers in
82 completion-in-region--data (bug#12619).
83
84 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
85
86 * progmodes/compile.el (compilation-start): Try to handle common
87 quoting of `cd' argument (bug#12640).
88
89 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
90 (bug#12671).
91
92 2012-10-23 Glenn Morris <rgm@gnu.org>
93
94 * progmodes/gud.el (gud-menu-map):
95 Check gdb-active-process is bound. (Bug#12358)
96
97 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
98
99 * repeat.el (repeat): Set real-this-command (bug#12232).
100
101 * htmlfontify.el (hfy-post-html-hook):
102 * filesets.el (filesets-cache-fill-content-hook):
103 * arc-mode.el (archive-extract-hook):
104 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
105 * net/rcirc.el (rcirc-sentinel-functions)
106 (rcirc-receive-message-functions, rcirc-activity-functions)
107 (rcirc-print-functions):
108 * net/dbus.el (dbus-event-error-functions):
109 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
110 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
111 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
112 * term/sun.el (sun-raw-prefix-hooks):
113 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
114
115 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
116
117 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
118 Set `tramp-chunksize' to 1. This improves the performance.
119 (tramp-smb-wait-for-output): Add timeout to
120 `tramp-accept-process-output' calls.
121
122 2012-10-23 Chong Yidong <cyd@gnu.org>
123
124 * faces.el (font-list-limit): Define as an obsolete variable.
125
126 * startup.el (command-line):
127 * cus-start.el: Don't refer to font-list-limit.
128
129 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
130
131 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
132
133 * subr.el (internal-temp-output-buffer-show): Rename from
134 temp-output-buffer-show, since previously compiled files expect this name.
135
136 2012-10-23 Glenn Morris <rgm@gnu.org>
137
138 * image.el (image-type-from-file-name): If multiple types match,
139 return the first one that is supported. (Bug#9045)
140
141 2012-10-22 Glenn Morris <rgm@gnu.org>
142
143 * image.el (imagemagick-enabled-types): Doc fix.
144
145 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
146
147 * progmodes/which-func.el (which-func-current): The hash-table may have
148 an explicit nil (bug#12338).
149
150 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
151
152 * electric.el (electric-pair-delete-selection-self-insert-function):
153 Rename to electric-pair-will-use-region, return a boolean.
154 (electric-pair-mode): Adjust accordingly. Don't require delsel.
155
156 * delsel.el (delete-selection-helper): Use a function instead of a hook.
157 (delete-selection-pre-hook): Use use-region-p.
158 (delete-selection-self-insert-function): Remove.
159 (self-insert-command): Obey self-insert-uses-region-functions.
160 (self-insert-iso): Revert to previous setting, since we don't actually
161 know what that command does.
162 (delete-selection-self-insert-hooks): Remove.
163
164 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
165
166 * delsel.el (delete-selection-helper): New function, extracted from
167 delete-selection-pre-hook.
168 (delete-selection-pre-hook): Use it.
169 (delete-selection-self-insert-function): New function.
170 (delete-selection-self-insert-hooks): New hook.
171 (self-insert-command, self-insert-iso): Use it.
172 * electric.el (electric-pair-syntax): New function, extracted from
173 electric-pair-post-self-insert-function.
174 (electric-pair-post-self-insert-function): Use it.
175 (electric-pair-delete-selection-self-insert-function): New function.
176 (electric-pair-mode): Require delsel and setup
177 delete-selection-self-insert-hooks (bug#11520).
178
179 2012-10-20 Chong Yidong <cyd@gnu.org>
180
181 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
182 no changes to show (Bug#12586).
183
184 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
185 list explicitly (Bug#12571).
186
187 2012-10-20 Arne Jørgensen <arne@arnested.dk>
188
189 * progmodes/flymake.el (flymake-create-temp-inplace):
190 Use file-truename.
191
192 2012-10-20 Eli Zaretskii <eliz@gnu.org>
193
194 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
195
196 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
197
198 * calc/calc-units.el (math-extract-units): Properly extract powers
199 of units.
200
201 2012-10-20 Daniel Colascione <dancol@dancol.org>
202
203 * frame.el (make-frame): Set x-display-name as we used to in order
204 to unbreak creating an X11 frame from an Emacs daemon started
205 without a display.
206
207 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * minibuffer.el (minibuffer-force-complete): Make the next completion use
210 the same completion-field (bug@12221).
211
212 2012-10-19 Martin Rudalics <rudalics@gmx.at>
213
214 * emacs-lisp/debug.el (debug): Record height of debugger window
215 also when debugger will be back (Bug#8789).
216
217 2012-10-18 Chong Yidong <cyd@gnu.org>
218
219 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
220 Convert to defcustom.
221 (gdb-get-source-file): Don't bind pop-up-windows.
222
223 * progmodes/gud.el (gud-display-line): Don't specially re-use
224 other frames for the gdb-mi case (Bug#12648).
225
226 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * emacs-lisp/advice.el: Clean up commentary a bit.
229 (ad-do-advised-functions, ad-with-originals): Use `declare'.
230 (byte-code-function-p): Never redefine.
231
232 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
233
234 2012-10-18 Glenn Morris <rgm@gnu.org>
235
236 * dired.el (dired-sort-toggle): Some ls implementations only allow
237 a single option string. (Bug#12666)
238
239 * minibuffer.el (completion-cycle-threshold): Doc fix.
240
241 2012-10-17 Kenichi Handa <handa@gnu.org>
242
243 * international/mule.el (set-keyboard-coding-system):
244 Recover input meta mode when the new coding system doesn not use 8-bit.
245 Supply TERMINAL arg to set-input-meta-mode.
246
247 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
248
249 * wdired.el (wdired-old-marks): New variable.
250 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
251 (wdired-do-renames): Move point with renamed file and don't lose
252 mark status (Bug#11795).
253
254 2012-10-16 Juri Linkov <juri@jurta.org>
255
256 * replace.el (query-replace-help): Mention multi-buffer replacement
257 keys in the Help message. (Bug#12655)
258
259 2012-10-15 Chong Yidong <cyd@gnu.org>
260
261 * emacs-lisp/byte-run.el (defsubst): Doc fix.
262
263 2012-10-14 Eli Zaretskii <eliz@gnu.org>
264
265 * window.el (display-buffer): Doc fix.
266
267 * progmodes/compile.el (compilation-error-regexp-alist-alist):
268 Adjust the msft regexp to the output of Studio 2010, and move msft
269 before edg-1. See the discussion on emacs-devel,
270 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
271 for the details.
272
273 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
276 (oset): Move uses of object-class-fast macro after its definition.
277
278 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
279
280 2012-10-13 Chong Yidong <cyd@gnu.org>
281
282 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
283 enabled, re-enable it (Bug#11963).
284
285 2012-10-13 Martin Rudalics <rudalics@gmx.at>
286
287 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
288 non-nil, restore window configuration (Bug#12623).
289
290 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * help-fns.el (describe-variable, describe-function-1):
293 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
294
295 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
296
297 2012-10-12 Glenn Morris <rgm@gnu.org>
298
299 * mail/rmailsum.el (rmail-header-summary):
300 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
301
302 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
303
304 * progmodes/python.el (python-mode-map):
305 Replace subtitute-key-definition with proper command remapping.
306 (python-nav--up-list): Fix behavior for blocks on the same level.
307
308 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
311
312 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
313 changes to the format of load-history.
314
315 * international/mule-cmds.el (read-char-by-name): Move let-binding of
316 completion-ignore-case in case that var is buffer-local (bug#12615).
317
318 2012-10-11 Kenichi Handa <handa@gnu.org>
319
320 * international/eucjp-ms.el: Re-generated.
321
322 2012-10-10 Kenichi Handa <handa@gnu.org>
323
324 * select.el (xselect--encode-string): If a coding is specified for
325 selection, and that is compatible with COMPOUND_TEXT, use it.
326
327 2012-10-10 Martin Rudalics <rudalics@gmx.at>
328
329 * window.el (switch-to-buffer-preserve-window-point): New option.
330 (switch-to-buffer):
331 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
332
333 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
336 Don't document nil as a useful value (bug#12583).
337
338 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
339
340 * net/tramp.el (tramp-debug-message):
341 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
342 (with-tramp-progress-reporter): Rename from
343 `tramp-with-progress-reporter'.
344 (with-tramp-file-property, with-tramp-connection-property):
345 Move from tramp-cache.el, rename from `with-file-property' and
346 `with-connection-property', respectively.
347
348 * net/tramp-cache.el: Remove `with-file-property' and
349 `with-connection-property'.
350
351 * net/tramp.el:
352 * net/tramp-gvfs.el:
353 * net/tramp-sh.el:
354 * net/tramp-smb.el: Adapt callees.
355
356 * net/trampver.el: Update release number.
357
358 2012-10-09 Glenn Morris <rgm@gnu.org>
359
360 * w32-fns.el (set-message-beep):
361 * term/w32-win.el (set-message-beep): Update declarations.
362
363 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
364
365 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
366 (mode-line-widen, mode-line-input-method-map)
367 (mode-line-coding-system-map, mode-line-remote)
368 (mode-line-unbury-buffer, mode-line-bury-buffer)
369 (mode-line-next-buffer, mode-line-previous-buffer):
370 Replace save-selected-window+select-window => with-selected-window.
371
372 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
373 * progmodes/cc-vars.el (bq-process): Remove, unused.
374
375 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
376
377 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
378
379 Implemented `backward-up-list'-like navigation.
380 * progmodes/python.el (python-nav-up-list)
381 (python-nav-backward-up-list): New functions.
382 (python-mode-map): Define substitute key for backward-up-list to
383 python-nav-backward-up-list.
384
385 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
386
387 * progmodes/python.el (python-fill-paragraph): Rename from
388 python-fill-paragraph-function. Fixed fill-paragraph for
389 decorators (Bug#12605).
390
391 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
392
393 * progmodes/python.el (python-shell-output-filter): Handle extra
394 carriage return in OSX (Bug#12409).
395
396 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
397
398 Fix shell handling of unbalanced quotes and parens in output.
399 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
400 (python-syntax-propertize-function): Use it.
401 (python-shell-output-syntax-table): New var.
402 (inferior-python-mode): Prevent unbalanced parens/quotes from
403 previous output mess with current input context.
404
405 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
406
407 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
408 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
409
410 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
411
412 * ffap.el (ffap-replace-file-component): Support Tramp file name
413 syntax, not only ange-ftp's one.
414
415 2012-10-08 Glenn Morris <rgm@gnu.org>
416
417 * cus-start.el (message-log-max): Set :version.
418
419 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
420
421 2012-10-08 Martin Rudalics <rudalics@gmx.at>
422
423 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
424 the minibuffer window (Bug#10851).
425
426 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
427
428 Enhancements on forward-sexp movement.
429 * progmodes/python.el (python-nav-beginning-of-statement)
430 (python-nav-end-of-statement): Return point-marker.
431 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
432 (python-info-current-symbol)
433 (python-info-statement-starts-block-p): Rename from
434 python-info-beginning-of-block-p.
435 (python-info-statement-ends-block-p): Rename from
436 python-info-end-of-block-p.
437 (python-info-beginning-of-statement-p)
438 (python-info-end-of-statement-p)
439 (python-info-beginning-of-block-p, python-info-end-of-block-p):
440 New functions.
441
442 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
443
444 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
445 frame-selected-windows.
446
447 2012-10-08 Daniel Colascione <dancol@dancol.org>
448
449 * battery.el (battery-status-function): Check for
450 w32-battery-status itself, not system-time windows-nt.
451
452 * frame.el: Require cl-lib.
453 (display-format-alist): New variable mapping frame types to
454 functions that initialize them.
455 (window-system-for-display): New function: interprets
456 display-format-alist.
457 (make-frame-on-display): Remove existing display-selection logic
458 and just forward to make-frame, which will now DTRT.
459 (make-frame): Restructure to use window-system-for-display to
460 figure out how to create a frame on a given display.
461 (display-mouse-p): Look for frame-type w32, not a particular
462 system-type.
463
464 * loadup.el: Load w32 lisp code when we have the w32 feature.
465
466 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
467 system-type windows-nt.
468
469 * server.el (server-create-window-system-frame): Look for window
470 type.
471 (server-proces-filter): Only force a window system when windows-nt
472 _and_ w32. Explain why.
473
474 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
475 of window systems we configure for the mode.
476
477 * startup.el (command-line): Mark window system is initialized
478 after we've done it.
479
480 * common-win.el (x-select-text): Look for w32, not windows-nt.
481
482 * ns-win.el: Require cl-lib. Add ourselves to
483 display-format-alist.
484 (ns-initialize-window-system): Assert we're not initialized twice.
485
486 * w32-win.el: Enable lexical binding; require cl-lib; add
487 ourselves to display-format-alist.
488 (w32-handle-dropped-file): Convert incoming dropped files from
489 Windows paths to Cygwin ones before passing them on to the rest of
490 Emacs.
491 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
492 (w32-initialize-window-system): Assert we're not initialized twice.
493
494 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
495 (x-initialize-window-system): Assert we're not initialized twice.
496
497 * w32-common-fns.el: New File.
498 (w32-version, w32-using-nt, w32-get-clipboard-data)
499 (w32-set-clipboard-data, x-set-selection, x-get-selection)
500 (w32-charset-info-alist, x-last-selected, text)
501 (x-get-selection-value, x-selection-value): Move here.
502
503 * w32-fns.el: Require w32-common-fns.
504 (w32-version, w32-using-nt, w32-get-clipboard-data)
505 (w32-set-clipboard-data, x-set-selection, x-get-selection)
506 (w32-charset-info-alist, x-last-selected, text)
507 (x-get-selection-value, x-selection-value): Move to
508 w32-common-fns.
509
510 * w32-vars.el:
511 (w32-allow-system-shell, w32-system-shells): Define only in
512 non-cygwin case.
513
514 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
517 (read-passwd): Remove a few more potential sources of leaks.
518
519 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
520
521 * progmodes/python.el (inferior-python-mode)
522 (python-shell-make-comint): Fix initialization of local
523 variables copied from parent buffer.
524
525 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
526
527 * term/ns-win.el (ns-read-file-name): Update declaration to match
528 nsfns.m.
529 (ns-respond-to-change-font): Change fontsize separatly so we are sure
530 it is set when font is acted upon.
531
532 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
533
534 Enhancements to indentation.
535 * progmodes/python.el (python-indent-context): Give priority to
536 inside-string context. Make comments indentation markers.
537 (python-indent-region): Do not mess with strings, unless it's the
538 enclosing set of quotes.
539
540 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
541
542 * window.el (internal--before-save-selected-window)
543 (internal--after-save-selected-window): New functions extracted from
544 save-selected-window. Make sure we return the `alist' we construct.
545 (save-selected-window): Use them.
546
547 * textmodes/tex-mode.el (tex-recenter-output-buffer):
548 Use with-selected-window.
549
550 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
551 forms that define macros (bug#12593).
552
553 2012-10-07 Kenichi Handa <handa@gnu.org>
554
555 * international/mule-conf.el (compound-text-with-extensions):
556 Add :mime-charset property as x-ctext.
557
558 2012-10-07 Stefan Merten <smerten@oekonux.de>
559
560 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
561 (rst-indent-literal-normal, rst-indent-literal-minimized)
562 (rst-indent-comment): Correct :version tag.
563 (rst-official-cvs-rev): Correct version string.
564
565 2012-10-07 Glenn Morris <rgm@gnu.org>
566
567 * mail/rmailmm.el (rmail-mime-process-multipart):
568 Do not confuse a multipart message with an epilogue
569 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
570
571 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
572
573 Fix shell output retrieval and comint-prompt-regexp init.
574 * progmodes/python.el (inferior-python-mode):
575 (python-shell-make-comint): Fix initialization of
576 comint-prompt-regexp from copied file local variables.
577 (python-shell-fetched-lines): Remove var.
578 (python-shell-output-filter-in-progress): Rename from
579 python-shell-fetch-lines-in-progress.
580 (python-shell-output-filter-buffer): Rename from
581 python-shell-fetch-lines-string.
582 (python-shell-fetch-lines-filter): Delete function.
583 (python-shell-output-filter): New function.
584 (python-shell-send-string-no-output): Use them.
585
586 2012-10-07 Glenn Morris <rgm@gnu.org>
587
588 * hi-lock.el (hi-lock-process-phrase):
589 Try to make it less fragile. (Bug#7161)
590
591 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
592
593 2012-10-06 Glenn Morris <rgm@gnu.org>
594
595 * ehelp.el (electric-help-mode): Use help-mode rather than
596 non-existent mode `help'.
597 (electric-help-map): Use button-buffer-map. (Bug#10917)
598
599 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
600 (reftex-create-bibtex-footer): Fix custom types.
601
602 * progmodes/sh-script.el (sh-indent-after-continuation):
603 Add explicit :group.
604
605 * textmodes/rst.el (rst-preferred-decorations)
606 (rst-shift-basic-offset): Clarify obsolescence versions.
607
608 * profiler.el (profiler): Add missing group :version tag.
609 * avoid.el (mouse-avoidance-banish-position):
610 * proced.el (proced-renice-command):
611 * calc/calc.el (calc-ensure-consistent-units):
612 * calendar/icalendar.el (icalendar-import-format-uid):
613 * net/tramp.el (tramp-save-ad-hoc-proxies):
614 * progmodes/bug-reference.el (bug-reference-bug-regexp):
615 * progmodes/flymake.el (flymake-error-bitmap)
616 (flymake-warning-bitmap, flymake-fringe-indicator-position):
617 * progmodes/sh-script.el (sh-indent-after-continuation):
618 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
619 (verilog-before-save-font-hook, verilog-after-save-font-hook):
620 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
621 (vhdl-array-index-record-field-in-sensitivity-list)
622 (vhdl-indent-comment-like-next-code-line):
623 * textmodes/reftex-vars.el (reftex-ref-style-alist)
624 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
625 (reftex-cite-key-separator, reftex-create-bibtex-header)
626 (reftex-create-bibtex-footer):
627 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
628 (rst-indent-literal-normal, rst-indent-literal-minimized)
629 (rst-indent-comment): Add missing custom :version tags.
630
631 * calendar/timeclock.el (timeclock-modeline-display):
632 Add missing obsolete alias for renamed user option.
633
634 * strokes.el (strokes-modeline-string):
635 * emulation/crisp.el (crisp-mode-modeline-string):
636 * eshell/esh-mode.el (eshell-status-in-modeline):
637 Aliases to defcustoms must come before the defcustom.
638
639 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
640 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
641 (cal-tex-cursor-week-monday): Doc fixes.
642 (cal-tex-cursor-week2-summary): Doc fix.
643 Rename from cal-tex-cursor-week-at-a-glance.
644
645 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
646 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
647
648 * calendar/calendar.el (calendar-mode-map):
649 Add cal-tex-cursor-week2-summary.
650
651 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
654
655 * subr.el (read-passwd-map): New var.
656 (read-passwd): Use `read-string' again.
657 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
658
659 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
660
661 * register.el (append-to-register, prepend-to-register):
662 Deactivate mark, as does `copy-to-register' (bug#12389).
663
664 2012-10-06 Chong Yidong <cyd@gnu.org>
665
666 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
667
668 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
669
670 * international/characters.el: Fix simple mistake ((car chars) ->
671 elt), delete duplicated code.
672
673 2012-10-06 Glenn Morris <rgm@gnu.org>
674
675 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
676
677 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
678
679 * color.el (color-hsl-to-rgb): Fix incorrect results for
680 small and large hue values. (Bug#12559)
681
682 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
683
684 Enhancements to docstring formatting when filling paragraphs.
685 * progmodes/python.el (python-fill-docstring-style): Rename from
686 python-fill-string-style. Added new style.
687 (python-fill-string): Use new style. Better checks for
688 docstrings.
689
690 2012-10-05 Glenn Morris <rgm@gnu.org>
691
692 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
693
694 * color.el (color-name-to-rgb, color-rgb-to-hex)
695 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
696 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
697 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
698 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
699
700 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
701
702 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
703
704 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
705 to get the correct size across symlinks.
706
707 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
708
709 2012-10-04 Juri Linkov <juri@jurta.org>
710
711 * replace.el (query-replace-interactive): Declare obsolete.
712 (query-replace-read-from): Add the last incremental search string
713 to the list of default values accessible via M-n.
714 (map-query-replace-regexp): Use `read-regexp'.
715 (query-replace, query-replace-regexp, query-replace-regexp-eval)
716 (map-query-replace-regexp, replace-string, replace-regexp):
717 Fix docstrings to replace mentions of `query-replace-interactive'
718 with alternatives. (Bug#12526)
719
720 2012-10-04 Juri Linkov <juri@jurta.org>
721
722 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
723 (dired-pop-to-buffer): Declare obsolete.
724 (dired-mark-pop-up): Doc fix.
725
726 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
727
728 Allow user to set docstring style for fill-paragraph.
729 * progmodes/python.el
730 (python-fill-comment-function, python-fill-string-function)
731 (python-fill-decorator-function, python-fill-paren-function):
732 Remove :safe for defcustoms.
733 (python-fill-string-style): New defcustom
734 (python-fill-paragraph-function): Enhance context detection.
735 (python-fill-string): Honor python-fill-string-style settings.
736
737 2012-10-04 Martin Rudalics <rudalics@gmx.at>
738
739 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
740 after setting its buffer (Bug#10805).
741
742 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
743
744 Fix cornercase for string syntax.
745 * progmodes/python.el (python-syntax-propertize-function):
746 Simplify and enhance the regexp for unescaped quotes. Now it also
747 matches quotes in weird situations like the single quote in
748 "something\"'".
749 (python-syntax-stringify): Simplify num-quotes detecting code.
750
751 2012-10-03 Glenn Morris <rgm@gnu.org>
752
753 * help-macro.el (three-step-help):
754 Revert 2012-09-29 change. (Bug#12567)
755
756 2012-10-03 Martin Rudalics <rudalics@gmx.at>
757
758 * menu-bar.el (kill-this-buffer): Don't do anything when
759 `menu-frame' is not alive or visible (Bug#8184).
760
761 * emacs-lisp/debug.el (debug): When quitting the debugger window
762 restore current buffer (Bug#12502).
763
764 2012-10-02 Chong Yidong <cyd@gnu.org>
765
766 * progmodes/hideif.el (hif-lookup, hif-defined):
767 Handle semantic-c-takeover-hideif.
768
769 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
770
771 Change sampling interval units from ms to ns.
772 * profiler.el (profiler-sampling-interval): Change units
773 from ms to ns, multiplying the default by 1000000 so that
774 it remains 1 ms.
775 (profiler-report-cpu-line-format): Give enough room for
776 the maximum counters on 64-bit hosts.
777 (profiler-report-render-calltree-1): Call them "CPU samples",
778 not "Time (ms)", since they are not milliseconds now (and
779 never really were).
780
781 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
782
783 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
784 Fix querying BBDB for entries without a last name (Bug#11580).
785
786 2012-10-02 Chong Yidong <cyd@gnu.org>
787
788 * emacs-lisp/eieio.el: Restore Version header.
789
790 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
791
792 * vc/diff-mode.el (diff--auto-refine-data): New var.
793 (diff-hunk): Use it to delay refinement.
794 (diff-mode): Remove overlays when we turn off font-lock.
795
796 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
797 (table-initialize-table-fixed-width-mode)
798 (table-set-table-fixed-width-mode): Remove functions.
799 (table-command-list): Move initialization into declaration.
800 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
801 (table-with-cache-buffer): Use `declare'.
802 (table-span-cell): Simplify via CSE.
803 (table-fixed-width-mode): Use define-minor-mode.
804 (table-call-interactively, table-funcall, table-apply): Remove.
805 (table-function): New function, to replace them.
806
807 * bookmark.el (bookmark-search-pattern): Remove var.
808 (bookmark-read-search-input): Remove function.
809 (bookmark-bmenu-search): Reimplement using a minibuffer.
810
811 * faces.el (modeline): Remove obsolete face name.
812
813 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
814 and give a non-nil default value.
815 (add-change-log-entry): Simplify accordingly.
816
817 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
818
819 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
820 (vc-git-log-edit-toggle-amend): New function.
821 (vc-git-log-edit-toggle-signoff): New function.
822 (vc-git-log-edit-mode): New major mode.
823 (vc-git-log-edit-mode-map): Keymap for it.
824 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
825
826 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
827 header names.
828 (log-edit-toggle-header): New function.
829 (log-edit-extract-headers): Accept function values in HEADERS alist.
830
831 2012-10-01 David Engster <deng@randomsample.de>
832
833 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
834 from symbol property and change message to be more consistent with
835 Emacs proper.
836 (eieio-describe-generic): Add filename for each implementation.
837 Fix indices for generic and normal methods.
838 (eieio-method-def, eieio-class-def): New buttons.
839 (eieio-help-find-method-definition)
840 (eieio-help-find-class-definition): New functions.
841 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
842 class, constructor and method definitions.
843
844 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
845 information in symbol property.
846 (scoped-class): Remove.
847 (eieio-slot-name-index, call-next-method): Check if it is bound.
848
849 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
850
851 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
852 (eieio-custom-mode): New major mode.
853 (eieio-customize-object): Use it.
854
855 2012-10-01 Eric Ludlam <zappo@gnu.org>
856
857 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
858 specifying the expected class, and whether subclassing is allowed.
859 (eieio-persistent-convert-list-to-object):
860 (eieio-persistent-validate/fix-slot-value)
861 (eieio-persistent-slot-type-is-class-p): New functions.
862 (eieio-named::slot-missing): Doc fix.
863
864 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
865 Stop using unused publd variable.
866
867 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
868 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
869 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
870 (eieio-speedbar-handle-click): Do not specify a class for the
871 method. Fixes method invocation order problems with EDE.
872
873 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
874
875 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
876 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
877
878 2012-10-01 Karl Fogel <kfogel@red-bean.com>
879
880 * bookmark.el (bookmark-version-control): Give tags in the
881 :type choices (Bug#12309), and improve doc string.
882 (bookmark-write-file): Bind `print-circle' to `t' to allow
883 circular custom bookmark types. (Bug#12503)
884
885 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
886
887 Revert the FOLLOW-SYMLINKS change for file-attributes.
888 * files.el (remote-file-name-inhibit-cache, after-find-file):
889 * time.el (display-time-file-nonempty-p): Undo last change.
890
891 * profiler.el (profiler-sampling-interval): Change default back to 1.
892 See Stefan Monnier in
893 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
894
895 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
896
897 Shell output catching a la gud-gdb.
898 * progmodes/python.el (python-shell-fetch-lines-in-progress)
899 (python-shell-fetch-lines-string, python-shell-fetched-lines):
900 New Vars.
901 (python-shell-fetch-lines-filter): New function.
902 (python-shell-send-string-no-output): Use them.
903
904 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
905
906 * profiler.el (profiler-sampling-interval): Rename from
907 profiler-sample-interval.
908 (profiler-sampling-interval): Default to 10.
909 (profiler-find-profile): New command (was profiler-find-log).
910 (profiler-find-profile-other-window): New command.
911 (profiler-find-profile-other-frame): New command.
912 (profiler-profile): Introduce API-level data structure.
913
914 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
915
916 file-attributes has a new optional arg FOLLOW-SYMLINKS.
917 * files.el (remote-file-name-inhibit-cache):
918 * time.el (display-time-file-nonempty-p): Use it.
919 * files.el (after-find-file): Don't chase links before calling
920 file-exists-p, as file-exists-p already does the right thing.
921
922 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
923
924 Merge from standalone RefTeX repository.
925
926 The following ChangeLog entries are shortened versions of the
927 original ones with file paths adapted. A not so strongly edited
928 version of the original ChangeLog can be found in the commit log.
929
930 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
931 (reftex-arg-cite): Use `reftex-cite-key-separator'.
932 Correctly handle new value type returned by `reftex-citation'.
933
934 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
935 that entries with whitespace at various places are found.
936 Doc fix. Include entries that are cross-referenced from cited entries.
937 Include @String definitions in the resulting bib file. Add header
938 and footer defined in `reftex-create-bibtex-header' and
939 `reftex-create-bibtex-footer'.
940 (reftex-do-citation): Make it possible again to insert
941 non-existent entries. Save match data when asking for optional
942 arguments. Return all keys, not just the first one.
943 (reftex-all-used-citation-keys): Fix regexp to correctly extract
944 all citations in the same line.
945 (reftex-parse-bibtex-entry): Accept additional optional argument
946 `raw' and keep quotes or braces if it is non-nil. Match fields
947 containing hyphens besides word constituents.
948 (reftex-get-string-refs): New function.
949 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
950 and ask if it should be reread in case it did.
951 (reftex-pop-to-bibtex-entry)
952 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
953 entries with spaces or tabs in front of arguments.
954 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
955 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
956 Match entries containing numbers and symbol constituents.
957 (reftex-do-citation, reftex-figure-out-cite-format):
958 Use `reftex-cite-key-separator'.
959
960 * textmodes/reftex-dcr.el: Move provide statement to end of file.
961 (reftex-mouse-view-crossref): Explain why point is set.
962
963 * textmodes/reftex-global.el: Whitespace changes.
964
965 * textmodes/reftex-index.el: Move provide statement to end of
966 file.
967 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
968 (reftex-index-visit-phrases-buffer): Set marker when visiting
969 buffer. This allows for returning from the phrases file to the
970 file one was just editing instead of the file where the last
971 phrases was added from.
972 (reftex-index-phrases-syntax-table): New variable. Give ?\"
973 punctuation syntax as it usually is not used as string quote in
974 TeX-related modes and may occur unmatched. The change also
975 prevents fontification of quoted content.
976 (reftex-index-phrases-mode): Use it.
977
978 * textmodes/reftex-parse.el (reftex-parse-from-file):
979 Move backward one char if a `\' was matched after a section macro.
980 (reftex-parse-from-file): Use beginning of match instead of end as
981 bound.
982
983 * textmodes/reftex-ref.el: Adapt creation of
984 `reftex-<package>-<macro>' functions to new structure of
985 `reftex-ref-style-alist'.
986 (reftex-reference): Use `reftex-ref-style-list' function.
987 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
988 reference macro if `reftex-ref-macro-prompt' is non-nil.
989 (reftex-reference): Pass refstyle to `reftex-format-special'.
990 Determine reference macro by looking at
991 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
992 Use only one special format function.
993 (reftex-varioref-vref, reftex-fancyref-fref)
994 (reftex-fancyref-Fref): Remove definitions. The functions are now
995 generated from `reftex-ref-style-alist'.
996 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
997 Remove.
998 (reftex-format-special): New function.
999
1000 * textmodes/reftex-sel.el
1001 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1002 of `reftex-ref-style-alist'. Remove code for testing macro type.
1003 (reftex-select-toggle-varioref)
1004 (reftex-select-toggle-fancyref): Remove.
1005 (reftex-select-cycle-ref-style-internal)
1006 (reftex-select-cycle-ref-style-forward)
1007 (reftex-select-cycle-ref-style-backward): New functions.
1008 (reftex-select-label-map): Use `v' and `V' for general cycling
1009 through reference styles. Add `p' for switching between number
1010 and page reference types.
1011
1012 * textmodes/reftex-toc.el (reftex-re-enlarge):
1013 Call `enlarge-window' only if there is something to do because in Emacs
1014 the horizontal version throws an error even if the parameter is 0.
1015
1016 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1017 (reftex-plug-into-AUCTeX): Doc fix.
1018 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1019 string. Adapt to new name.
1020 (reftex-ref-style-alist): Change structure so that it is not
1021 possible to use multiple different package names within a style.
1022 Remove the symbols for symbols for macro type distinction.
1023 Add characters for macro selection.
1024 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1025 (reftex-create-bibtex-footer): New variables.
1026 (reftex-format-ref-function): Mention third argument of special
1027 format function.
1028 (reftex-ref-style-alist, reftex-ref-style-default-list):
1029 New variables.
1030 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1031 to new implementation. Mark as obsolete. Add compatibility code
1032 for honoring the variable values in case they are set.
1033 (reftex-cite-format-builtin, reftex-bibliography-commands):
1034 Add support for ConTeXt.
1035 (reftex-format-ref-function, reftex-format-cite-function):
1036 Fix custom type.
1037 (reftex-cite-key-separator): New variable.
1038
1039 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1040 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1041 `reftex-syntax-table' because parens have to retain their paren
1042 syntax in order for parsing of BibTeX entries like @book(...) to
1043 work.
1044 (reftex-in-comment): Do not error out if `comment-start-skip' is
1045 not set. Deal correctly with escaped comment characters.
1046 (reftex-tie-multifile-symbols): Add doc string.
1047 Initialize `reftex-ref-style-list'.
1048 (reftex-untie-multifile-symbols): Add doc string.
1049 (reftex-add-index-macros): Doc fix.
1050 (reftex-ref-style-activate, reftex-ref-style-toggle)
1051 (reftex-ref-style-list): New functions.
1052 (reftex-mode-menu): Use them. Adapt to new structure of
1053 `reftex-ref-style-alist'.
1054 (reftex-select-with-char): Kill the RefTeX Select buffer when
1055 done.
1056 (reftex-remove-if): New function.
1057 (reftex-erase-all-selection-and-index-buffers)
1058 (reftex-mode-menu): Reference styles are now computed from
1059 `reftex-ref-style-alist'. Fix typo.
1060 (reftex-report-bug): New function.
1061 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1062 algorithms with O(n log n). Introduce optional argument SORT (not
1063 yet used).
1064
1065 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1066
1067 Enhancements for triple-quote string syntax.
1068 * progmodes/python.el (python-syntax-propertize-function):
1069 Match both quote cases in one regexp.
1070 (python-syntax-stringify): Handle matches properly.
1071
1072 2012-09-30 Juri Linkov <juri@jurta.org>
1073
1074 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1075 to nil around the call to `insert' to prevent
1076 directory time modification by lock_file. (Bug#2295)
1077 * tar-mode.el (tar-summarize-buffer): Idem.
1078
1079 2012-09-30 Juri Linkov <juri@jurta.org>
1080
1081 * facemenu.el (list-colors-sort): Add option "Luminance".
1082 (list-colors-sort-key): Implement it.
1083
1084 * vc/diff-mode.el (diff-refine-removed):
1085 * vc/ediff-init.el (ediff-fine-diff-A):
1086 * vc/smerge-mode.el (smerge-refined-removed):
1087 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1088
1089 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1090
1091 * term/ns-win.el (x-file-dialog): New function.
1092
1093 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1094
1095 * ido.el (ido-max-directory-size): Default to nil; the current
1096 default is small for POSIX systems, and impractical on Windows 7
1097 now that lstat returns directory sizes for NTFS.
1098
1099 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1100
1101 In buffer display functions handle window-height/window-width
1102 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1103 * window.el (window--display-buffer): New argument ALIST.
1104 Obey window-height and window-width alist entries.
1105 (window--try-to-split-window): New argument ALIST.
1106 Bind window-combination-limit to t when the window's size shall be
1107 changed and window-combination-limit equals `window-size'.
1108 (display-buffer-in-atom-window)
1109 (display-buffer-in-major-side-window)
1110 (display-buffer-in-side-window, display-buffer-same-window)
1111 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1112 (display-buffer-pop-up-window, display-buffer-below-selected)
1113 (display-buffer-at-bottom, display-buffer-in-previous-window)
1114 (display-buffer-use-some-window): Adjust all callers of
1115 window--display-buffer and window--try-to-split-window.
1116 (fit-frame-to-buffer): New option.
1117 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1118 is non-nil.
1119 (display-buffer-in-major-side-window): Evaluate window-height /
1120 window-width alist entries.
1121
1122 * help.el (temp-buffer-resize-frames)
1123 (temp-buffer-resize-regexps): Remove options.
1124 (temp-buffer-resize-mode): Adjust doc-string.
1125 (resize-temp-buffer-window): Don't consult
1126 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1127 temp-buffer-resize-frames.
1128
1129 * dired.el (dired-mark-pop-up):
1130 Call display-buffer-below-selected with a fit-window-to-buffer alist
1131 entry.
1132
1133 2012-09-30 Chong Yidong <cyd@gnu.org>
1134
1135 * server.el (server-host): Document the security implications.
1136 (server-auth-key): Doc fix.
1137
1138 * startup.el (initial-buffer-choice): Doc fix.
1139
1140 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1141
1142 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1143 restriction change.
1144
1145 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1146
1147 * help-fns.el (help-fns--obsolete): Fix last change.
1148
1149 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1152 (minor-mode-map-alist): Remove redundant code.
1153
1154 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1155 visited in a buffer.
1156 (cvs-insert-visited-file): New function.
1157 (find-file-hook): Use it.
1158
1159 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1160
1161 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1162 chose face.
1163 (log-edit-empty-buffer-p): Don't require a space after a header.
1164
1165 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1166
1167 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1168
1169 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1170 a proper minor-mode.
1171
1172 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1173
1174 2012-09-29 Glenn Morris <rgm@gnu.org>
1175
1176 * winner.el (winner-mode): Remove variable (let define-minor-mode
1177 handle it).
1178 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1179 Doc fixes.
1180 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1181 (winner-mode): Use define-minor-mode.
1182
1183 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1184 the full definition in loaddefs, rather than duplicating it.
1185
1186 * help-macro.el (three-step-help): No need to autoload defcustom.
1187
1188 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1189 (inferior-lisp-program, inferior-lisp-load-command)
1190 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1191 No need to autoload defcustoms.
1192
1193 * hippie-exp.el (hippie-expand-try-functions-list)
1194 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1195 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1196 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1197 (hippie-expand-only-buffers): No need to autoload defcustoms.
1198 * progmodes/vhdl-mode.el (vhdl-line-expand):
1199 Explicitly load hippie-exp, so it does not get autoloaded
1200 while hippie-expand-try-functions-list is let-bound.
1201
1202 2012-09-28 Glenn Morris <rgm@gnu.org>
1203
1204 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1205
1206 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1207 Only "cl.el" counts as cl these days.
1208
1209 2012-09-28 Juri Linkov <juri@jurta.org>
1210
1211 Display archive errors in the echo area instead of inserting
1212 to the file buffer.
1213
1214 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1215 to STDERR-TEST that can be a regexp matching a successful output.
1216 Create a temporary file and redirect stderr to it. Search for
1217 STDERR-TEST in the stderr output and display it in the echo area
1218 if no match is found.
1219 (archive-extract-by-file): New function like
1220 `archive-extract-by-stdout' but extracting archives to files
1221 and looking for successful matches in stdout. Function body is
1222 mostly copied from `archive-rar-extract'.
1223 (archive-rar-extract): Use `archive-extract-by-file'.
1224 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1225
1226 2012-09-28 Leo Liu <sdl.web@gmail.com>
1227
1228 * pcomplete.el (pcomplete-show-completions):
1229 Use minibuffer-message to make pcomplete usable in minibuffer.
1230
1231 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1232
1233 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1234
1235 * type-break.el: Use lexical-binding.
1236 (type-break-mode): Use define-minor-mode.
1237
1238 * emacs-lisp/pcase.el (pcase--mark-used): New.
1239 (pcase--u1): Use it (bug#12512).
1240
1241 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1242 in load-history with the right file name.
1243
1244 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1245
1246 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1247 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1248 (doc-view-get-bounding-box): Make bounding box slicing work for
1249 ODF and DVI documents.
1250
1251 2012-09-28 Glenn Morris <rgm@gnu.org>
1252
1253 * type-break.el (type-break-mode, type-break-interval)
1254 (type-break-good-rest-interval, type-break-keystroke-threshold):
1255 No need to autoload.
1256 (type-break-good-rest-interval, type-break-keystroke-threshold):
1257 Add :set-after.
1258
1259 2012-09-28 Chong Yidong <cyd@gnu.org>
1260
1261 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1262 Add :version tag.
1263
1264 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1265
1266 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1267
1268 2012-09-27 Glenn Morris <rgm@gnu.org>
1269
1270 * faces.el (x-display-name): Declare (for without-x builds).
1271
1272 * linum.el (linum-format): Don't autoload it. Improve :type.
1273
1274 * progmodes/tcl.el: Don't require outline when compiling.
1275 (outline-regexp, outline-level): Declare.
1276 * textmodes/sgml-mode.el: Don't require outline when compiling.
1277 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1278
1279 * term.el (term-ansi-reset):
1280 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1281
1282 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1283 files for RCS and SCCS. (Bug#9781)
1284
1285 2012-09-27 Chong Yidong <cyd@gnu.org>
1286
1287 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1288 change; value should be t.
1289
1290 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * image-mode.el: Use lexical-binding.
1293 (image-mode-winprops): Use t to stand for the window of
1294 a buffer that's not displayed.
1295 * doc-view.el (doc-view-new-window-function): Handle the new
1296 t in winprops.
1297 (doc-view-enlarge): Make it a real nop if the size is not changed.
1298 (doc-view-display): Handle the case where the buffer is not (yet?)
1299 displayed in any window.
1300 (doc-view-saved-settings): New var.
1301 (doc-view-mode): Use it.
1302 (doc-view-fallback-mode): Set it.
1303
1304 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1305 Set lexical-binding.
1306 (minibuffer-eldef-shorten-default): New var.
1307 (minibuffer-default-in-prompt-regexps): Use it for new default.
1308 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1309
1310 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1311
1312 * international/uni-bidi.el:
1313 * international/uni-category.el:
1314 * international/uni-name.el:
1315 * international/uni-numeric.el: Regenerate.
1316
1317 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1318 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * profiler.el: New file.
1321
1322 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1323
1324 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1325 (testcover-reinstrument): Simplify with CSE.
1326
1327 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1328
1329 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1330
1331 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1332
1333 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1334 (verilog-auto-input, verilog-auto-insert-lisp)
1335 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1336 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1337 (verilog-auto-unused, verilog-auto-wire)
1338 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1339 newline. Reported by Andrew Jones.
1340 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1341 Reported by Brad Dobbie.
1342 (verilog-batch-delete-trailing-whitespace):
1343 Create verilog-batch-delete-trailing-whitespace.
1344 Reported by Brad Dobbie.
1345 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1346 parameters from another module. Reported by Dan Katz.
1347 (verilog-auto, verilog-auto-assign-modport)
1348 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1349 AUTOINOUTMODPORT for UVM interface module shell generation.
1350 Reported by Brad Dobbie.
1351 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1352 standard behavior.
1353 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1354 Reported by Matt Martin.
1355
1356 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1357
1358 * window.el (window--resize-child-windows): When resizing child
1359 windows proportionally, process them in reverse order to
1360 preserve the "when splitting a window the new one gets the odd
1361 line" behavior.
1362 (window--resize-root-window-vertically): When resizing the
1363 minibuffer window try to affect only windows at the bottom of the
1364 frame. (Bug#12419)
1365
1366 2012-09-25 Chong Yidong <cyd@gnu.org>
1367
1368 * subr.el (declare): Doc fix.
1369
1370 * help-fns.el (help-fns--obsolete): Handle macros properly.
1371
1372 2012-09-25 Chong Yidong <cyd@gnu.org>
1373
1374 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1375 this function obsolete.
1376
1377 * calendar/cal-x.el (calendar-two-frame-setup)
1378 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1379 * calendar/calendar.el (american-calendar, european-calendar)
1380 (calendar-for-loop):
1381 * comint.el (comint-dynamic-simple-complete)
1382 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1383 * desktop.el (desktop-load-default):
1384 * dired-x.el (dired-omit-here-always)
1385 (dired-hack-local-variables, dired-default-directory):
1386 * emacs-lisp/derived.el (derived-mode-class):
1387 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1388 * emacs-lock.el (toggle-emacs-lock):
1389 * epa.el (epa-display-verify-result):
1390 * epg.el (epg-sign-keys, epg-start-sign-keys)
1391 (epg-passphrase-callback-function):
1392 * eshell/esh-util.el (eshell-for):
1393 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1394 (eshell-add-to-window-buffer-names):
1395 * files.el (locate-file-completion):
1396 * imenu.el (imenu-example--create-c-index)
1397 (imenu-example--create-lisp-index)
1398 (imenu-example--lisp-extract-index-name)
1399 (imenu-example--name-and-position):
1400 * international/mule-cmds.el (princ-list):
1401 * international/mule-diag.el (decode-codepage-char):
1402 * international/mule-util.el (detect-coding-with-priority):
1403 * iswitchb.el (iswitchb-read-buffer):
1404 * mail/mailalias.el (mail-complete):
1405 * mail/sendmail.el (mail-sent-via):
1406 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1407 (mouse-major-mode-menu):
1408 * password-cache.el (password-read-and-add):
1409 * pcomplete.el (pcomplete-parse-comint-arguments):
1410 * progmodes/sh-script.el (sh-maybe-here-document):
1411 * replace.el (query-replace-regexp-eval):
1412 * savehist.el (savehist-load):
1413 * simple.el (choose-completion-delete-max-match):
1414 * term.el (term-dynamic-simple-complete):
1415 * vc/ediff-init.el (ediff-check-version):
1416 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1417 * vc/vc.el (vc-diff-switches-list):
1418 * view.el (view-return-to-alist-update): Likewise.
1419
1420 * subr.el (eval-next-after-load, makehash, insert-string)
1421 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1422 mark obsolete.
1423 (mode-line-inverse-video): Variable deleted.
1424
1425 * international/mule-util.el (string-to-sequence): Remove.
1426
1427 * calendar/calendar.el (calendar-version):
1428 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1429 (icalendar-convert-diary-to-ical):
1430 * cus-edit.el (custom-mode):
1431 * ansi-color.el (ansi-color-unfontify-region):
1432 * international/latin1-disp.el (latin1-char-displayable-p):
1433 * progmodes/cwarn.el (turn-on-cwarn-mode):
1434 * progmodes/which-func.el (which-func-update-1):
1435 Use define-obsolete-function-alias.
1436
1437 * net/newst-backend.el (newsticker-cache-filename):
1438 * net/newst-treeview.el (newsticker-groups-filename):
1439 Fix incorrect obsolescence declaration.
1440
1441 * allout.el (allout-passphrase-hint-string): Likewise.
1442 (allout-init): Use a declare form to mark obsolete.
1443
1444 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1445 this applies to functions.
1446
1447 * iswitchb.el (iswitchb-read-buffer): Move code of
1448 iswitchb-define-mode-map here, and delete that obsolete function.
1449
1450 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1451 font-lock-reference-face.
1452
1453 2012-09-25 Glenn Morris <rgm@gnu.org>
1454
1455 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1456 Doc fixes.
1457
1458 * eshell/em-term.el (eshell-term-name):
1459 Default to term-term-name. (Bug#12485)
1460
1461 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1462
1463 * progmodes/python.el (python-shell-send-buffer): Better handling
1464 of "if __name__ == '__main__':" conditionals when sending the buffer.
1465
1466 2012-09-24 Glenn Morris <rgm@gnu.org>
1467
1468 * eshell/esh-cmd.el (eshell-find-alias-function):
1469 Tighten up file-name regexp. (Bug#12499)
1470
1471 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1472
1473 Enhancements for triple-quote string syntax.
1474 * progmodes/python.el (python-quote-syntax): Remove.
1475 (python-syntax-propertize-function): New value.
1476 (python-syntax-count-quotes, python-syntax-stringify):
1477 New functions.
1478
1479 2012-09-24 Chong Yidong <cyd@gnu.org>
1480
1481 * mail/supercite.el (sc-version): Remove obsolete function.
1482 (sc-describe): Don't mark as obsolete, since it is bound.
1483 (sc-submit-bug-report): Remove.
1484
1485 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1486 (cvs-commit-buffer-require-final-newline): Remove.
1487 (log-edit-require-final-newline)
1488 (log-edit-changelog-full-paragraphs): Default to t.
1489
1490 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1491 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1492 * vc/vc.el (vc-checkout-carefully): Likewise.
1493
1494 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1495 (emerge-version): Remove.
1496
1497 * progmodes/compile.el (compile-internal): Remove.
1498 (compilation-parse-errors-function): Fix typo.
1499
1500 * international/mule.el (set-char-table-default): Remove.
1501 (set-coding-priority, make-coding-system, generic-char-p)
1502 (charset-list, charset-bytes, charset-id): Use declare to mark
1503 functions as obsolete.
1504
1505 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1506 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1507 * vc/vc-hooks.el (vc-default-registered): Don't use
1508 vc-master-templates.
1509
1510 * font-lock.el (font-lock-reference-face):
1511 Use define-obsolete-variable-alias.
1512
1513 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1514 * calendar/calendar.el (calendar-font-lock-keywords):
1515 * calendar/diary-lib.el (diary-font-lock-keywords)
1516 (diary-fancy-font-lock-keywords):
1517 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1518 * textmodes/reftex-index.el (reftex-insert-index):
1519 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1520 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1521 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1522 * progmodes/prolog.el (prolog-font-lock-keywords):
1523 * progmodes/idlwave.el (idlwave-idl-keywords):
1524 * progmodes/ada-mode.el (ada-font-lock-keywords):
1525 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1526
1527 2012-09-24 Glenn Morris <rgm@gnu.org>
1528
1529 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1530
1531 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1532
1533 * progmodes/python.el (python-indent-line): More consistent cursor
1534 movement behavior.
1535
1536 2012-09-23 Stefan Merten <smerten@oekonux.de>
1537
1538 * textmodes/rst.el: Fix compiler warning.
1539
1540 2012-09-23 Roland Winkler <winkler@gnu.org>
1541
1542 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1543 Transcribe also LaTeX hyphenation.
1544 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1545 bibtex-reformat-previous-options.
1546
1547 2012-09-23 Roland Winkler <winkler@gnu.org>
1548
1549 * proced.el (proced-renice-command): New variable.
1550 (proced-marked-processes): New function.
1551 (proced-with-processes-buffer): New macro.
1552 (proced-send-signal): Use them.
1553 (proced-renice): New command bound to r.
1554
1555 2012-09-23 Roland Winkler <winkler@gnu.org>
1556
1557 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1558 ibuffer-saved-filter-groups has one element, shortcut the call of
1559 completing-read. (Bug#12331)
1560
1561 2012-09-23 Chong Yidong <cyd@gnu.org>
1562
1563 * bindings.el (mode-line-toggle-read-only):
1564 * bs.el (bs-toggle-readonly):
1565 * buff-menu.el (Buffer-menu-toggle-read-only):
1566 * dired.el (dired-toggle-read-only):
1567 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1568
1569 2012-09-23 Chong Yidong <cyd@gnu.org>
1570
1571 * image.el (image-type-available-p): Adapt to init-image-library
1572 argument changes.
1573
1574 2012-09-22 Juri Linkov <juri@jurta.org>
1575
1576 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1577 `dired-toggle-read-only'. (Bug#12462)
1578
1579 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1580
1581 * subr.el (temp-output-buffer-show): New function.
1582 (with-output-to-temp-buffer): Call temp-output-buffer-show
1583 instead of internal-temp-output-buffer-show.
1584
1585 2012-09-22 Chong Yidong <cyd@gnu.org>
1586
1587 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1588 (Bug#12462).
1589
1590 * repeat.el (repeat): Doc fix (Bug#12348).
1591
1592 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1593 (Bug#10909).
1594
1595 * simple.el (shell-command-on-region): Doc fix.
1596 (read-only-mode): Doc fix.
1597
1598 2012-09-22 Eli Zaretskii <eliz@gnu.org>
1599
1600 * emacs-lisp/timer.el (run-with-idle-timer)
1601 (timer-activate-when-idle): Warn against reinvoking an idle timer
1602 from within its own timer action. (Bug#12447)
1603
1604 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1605
1606 * cus-start.el (window-combination-limit): Add new optional
1607 values.
1608 * window.el (temp-buffer-window-show)
1609 (window--try-to-split-window): Handle new values of
1610 window-combination-limit (Bug#1806).
1611 (split-window): Test window-combination-limit for t instead of
1612 non-nil.
1613 (display-buffer-at-bottom): New buffer display action function.
1614 * help.el (temp-buffer-resize-regexps): New option.
1615 (temp-buffer-resize-mode): Rewrite doc-string.
1616 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1617 Don't resize reused window. Suggested by Glenn Morris.
1618
1619 2012-09-22 Stefan Merten <smerten@oekonux.de>
1620
1621 * textmodes/rst.el: Revamp section title faces.
1622 (rst-official-version)
1623 (rst-package-emacs-version-alist): Sync with official version
1624 V1.4.0.
1625 (rst-faces-defaults, rst-set-level-default)
1626 (rst-level-face-max, rst-level-face-base-color)
1627 (rst-level-face-base-light, rst-level-face-format-light)
1628 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1629 (rst-adornment-faces-alist): Match new setup.
1630 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1631 (rst-level-5, rst-level-6): New faces.
1632
1633 2012-09-22 Chong Yidong <cyd@gnu.org>
1634
1635 * simple.el (undo): Handle indirect buffers (Bug#8207).
1636
1637 2012-09-21 Leo Liu <sdl.web@gmail.com>
1638
1639 IDO: Disable match re-ordering for buffer switching.
1640 * ido.el (ido-buffer-disable-smart-matches): New variable.
1641 (ido-set-matches-1): Use it. (Bug#2042)
1642
1643 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
1644
1645 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1646 Fix 2011-05-17 change. (Bug#12418)
1647
1648 2012-09-21 Leo Liu <sdl.web@gmail.com>
1649
1650 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1651
1652 2012-09-21 Glenn Morris <rgm@gnu.org>
1653
1654 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1655 Be more robust about locating simple.el.
1656
1657 2012-09-21 Glenn Morris <rgm@gnu.org>
1658
1659 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1660
1661 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1662
1663 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1664
1665 2012-09-20 Juri Linkov <juri@jurta.org>
1666
1667 * replace.el (query-replace-read-from): Use `read-regexp' instead
1668 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1669 (occur-read-primary-args): Use `read-regexp' instead of
1670 `read-string'.
1671 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1672 `read-from-minibuffer'.
1673 * isearch.el (isearch-occur): Use `read-regexp' instead of
1674 `read-string'.
1675 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1676 `read-from-minibuffer'.
1677 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1678 of `read-string'. (Bug#7567)
1679
1680 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1681 and allow accepting a list of strings prepended to a list of
1682 standard default values. Doc fix. (Bug#12321)
1683
1684 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1685
1686 * replace.el (read-regexp): Don't add ": " when PROMPT already
1687 ends with a colon and space. (Bug#12321)
1688
1689 2012-09-20 Tassilo Horn <tsdh@gnu.org>
1690
1691 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1692 error.
1693
1694 2012-09-20 Stefan Merten <smerten@oekonux.de>
1695
1696 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1697 Fixes feature request bug#11711.
1698 (rst-mode): Create `imenu-create-index-function'.
1699 (rst-get-stripped-line): Delete after refactoring.
1700 (rst-section-tree, rst-section-tree-rec)
1701 (rst-section-tree-point): Refactor and document properly.
1702 (rst-imenu-find-adornments-for-position)
1703 (rst-imenu-convert-cell, rst-imenu-create-index):
1704 New function.
1705
1706 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1707
1708 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1709 (macroexp--expand-all): Use it.
1710 (macroexp--funcall-and-return): Remove by folding it into its sole
1711 caller (macroexp--warn-and-return).
1712 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1713 Use macroexp--obsolete-warning.
1714
1715 * calc/calc.el: Fix last change by removing the whole chunk, since it
1716 was only needed back when Calc was not bundled.
1717
1718 2012-09-20 Martin Rudalics <rudalics@gmx.at>
1719
1720 * emacs-lisp/debug.el (debug): Restore assignment to
1721 debugger-old-buffer removed on 2012-09-08.
1722
1723 2012-09-20 Juri Linkov <juri@jurta.org>
1724
1725 * dired-aux.el (dired-diff): Remove (require 'diff) since
1726 `diff-latest-backup-file' is now autoloaded.
1727
1728 2012-09-20 Chong Yidong <cyd@gnu.org>
1729
1730 * vc/diff.el (diff-latest-backup-file): Autoload.
1731
1732 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * calc/calc.el: Remove redundant autoload shape check.
1735 (sel-mode): Don't defvar.
1736 (calc-get-stack-element): Add `sel-mode' arg instead.
1737 (calc-top, calc-top-list): Pass it this additional argument.
1738 * calc/calc-store.el (calc-store-map):
1739 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1740 (calc-map-equation, calc-outer-product, calc-inner-product):
1741 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1742
1743 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1744
1745 2012-09-19 Juri Linkov <juri@jurta.org>
1746
1747 * dired-aux.el (dired-diff): Add (require 'diff) because
1748 `diff-latest-backup-file' is not autoloaded.
1749 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1750 of `dired-get-filename' to t to not report error when there is
1751 no default file on the current line.
1752
1753 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1754
1755 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1756 macroexp--eval-if-compile.
1757 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1758 (macroexp--expand-all): Use them (bug#12371).
1759
1760 * doc-view.el (doc-view-guess-paper-size)
1761 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1762
1763 2012-09-19 Tassilo Horn <tsdh@gnu.org>
1764
1765 New feature: set optimal slice from BoundingBox information.
1766 * doc-view.el (doc-view-mode-map): Add keybinding.
1767 (doc-view-menu): Add menu entry.
1768 (doc-view-set-slice): Adapt docstring.
1769 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1770 (doc-view-scale-bounding-box)
1771 (doc-view-set-slice-from-bounding-box): New functions.
1772 (doc-view-paper-sizes): New defvar.
1773
1774 2012-09-19 Glenn Morris <rgm@gnu.org>
1775
1776 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1777 (byte-compile-log-warning): Autoload. (Bug#12371)
1778
1779 * calendar/calendar.el (calendar-american-month-header)
1780 (calendar-european-month-header, calendar-iso-month-header)
1781 (calendar-month-header): New options.
1782 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1783 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1784
1785 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1786
1787 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1788
1789 2012-09-18 Juri Linkov <juri@jurta.org>
1790
1791 * dired-aux.el (dired-diff): Restore original functionality of
1792 getting the default value, but keep new feature of using the
1793 latest existing backup file (`diff-latest-backup-file').
1794
1795 2012-09-18 Juri Linkov <juri@jurta.org>
1796
1797 * dired.el (dired-mark): If the region is active in Transient Mark
1798 mode, mark all files in the active region. Doc fix.
1799 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1800 Doc fix. (Bug#10624)
1801
1802 2012-09-18 Juri Linkov <juri@jurta.org>
1803
1804 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1805 attributes for M-n are pulled from the file at point.
1806 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1807 Suggested by Drew Adams. (Bug#10624)
1808
1809 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1810
1811 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1812 whitespace after "end".
1813 (ruby-do-end-to-brace): Collapse block to one line if it fits
1814 within fill-column.
1815
1816 2012-09-18 Martin Rudalics <rudalics@gmx.at>
1817
1818 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1819 value.
1820 (debug): Don't remove debugger window when debugger is expected
1821 to be back.
1822
1823 2012-09-18 Chong Yidong <cyd@gnu.org>
1824
1825 * custom.el (defface): Doc fix.
1826
1827 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1828
1829 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1830
1831 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1832 to initialize query-on-exit; then test that instead (bug#12288).
1833
1834 2012-09-17 Stefan Merten <smerten@oekonux.de>
1835
1836 * textmodes/rst.el: Add support for `testcover'.
1837 (rst-defcustom-testcover, rst-testcover-add-compose)
1838 (rst-testcover-add-1value): New functions.
1839 (rst-portable-mark-active-p): Replace by `use-region-p'.
1840 (rst-update-section, rst-classify-adornment)
1841 (rst-find-title-line): Mark `1value' forms.
1842 (rst-classify-adornment): Remove superfluous form.
1843 (rst-update-section, rst-get-adornments-around)
1844 (rst-adornment-complete-p, rst-get-next-adornment)
1845 (rst-adjust, rst-promote-region)
1846 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1847 (rst-find-pfx-in-region, rst-section-tree-rec)
1848 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1849 (rst-toc-node, rst-toc, rst-forward-section)
1850 (rst-iterate-leftmost-paragraphs)
1851 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1852 (rst-bullet-list-region)
1853 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1854 (rst-compile-find-conf, rst-compile)
1855 (rst-repeat-last-character): Fix style.
1856
1857 2012-09-17 Chong Yidong <cyd@gnu.org>
1858
1859 * comint.el (comint--complete-file-name-data): Don't add a space
1860 if the status is `sole'; that adds a gratuitous space in the
1861 completion-cycling case (Bug#12092).
1862
1863 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1864
1865 2012-09-17 Richard Stallman <rms@gnu.org>
1866
1867 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1868 only in the mime-shown mode, not in raw mode.
1869 (rmail-mime): Toggle off mime by displaying the message without
1870 mime processing. (Bug#12305)
1871
1872 * mail/rmail.el (rmail-retry-failure):
1873 Turn off mime processing first. (Bug#12037)
1874
1875 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1876
1877 2012-09-17 Chong Yidong <cyd@gnu.org>
1878
1879 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1880 (shell-dynamic-complete-functions): Convert to defcustom.
1881 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1882
1883 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1884 * comint.el (comint-prompt-read-only):
1885 * custom.el (defcustom):
1886 * hi-lock.el (hi-lock-mode):
1887 * ibuffer.el (ibuffer-formats):
1888 * ielm.el (ielm-prompt-read-only):
1889 * novice.el (disable-command):
1890 * saveplace.el (toggle-save-place):
1891 * speedbar.el (speedbar-supported-extension-expressions):
1892 * startup.el (auto-save-list-file-prefix, init-file-user)
1893 (after-init-hook, inhibit-startup-echo-area-message):
1894 * strokes.el (strokes-help):
1895 * time-stamp.el (time-stamp):
1896 * calendar/calendar.el (calendar, diary-file):
1897 * calendar/diary-lib.el (diary-mail-entries, diary)
1898 (diary-list-entries-hook):
1899 * calendar/holidays.el (holidays, calendar-holidays):
1900 * calendar/lunar.el (lunar-phases):
1901 * calendar/solar.el (sunrise-sunset):
1902 * emulation/edt.el (edt-load-keys):
1903 * emulation/viper.el (viper-mode):
1904 * eshell/em-alias.el (eshell-command-aliases-list):
1905 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1906 * international/ogonek.el (ogonek-information):
1907 * net/tramp-cmds.el (tramp-bug):
1908 * net/quickurl.el (quickurl-reread-hook-postfix):
1909 * play/decipher.el (decipher-font-lock-keywords):
1910 * progmodes/cc-styles.el (c-set-style):
1911 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1912 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1913 * progmodes/octave-mod.el (octave-mode):
1914 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1915 * progmodes/verilog-mode.el (verilog-read-defines):
1916 * textmodes/two-column.el (2C-mode): Likewise.
1917
1918 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1919
1920 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1921 that holds many addresses.
1922
1923 2012-09-16 Chong Yidong <cyd@gnu.org>
1924
1925 * align.el (align-areas): Call the indication function with
1926 positions instead of markers for arguments (Bug#12343).
1927
1928 * files.el (parse-colon-path): Use split-string (Bug#12351).
1929
1930 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1931 (display-buffer-function): Mark as obsolete.
1932
1933 * progmodes/compile.el (compilation-parse-errors): Accept list
1934 values similar to font-lock-keywords (Bug#12136).
1935 Suggested by Oleksandr Manzyuk.
1936 (compilation-error-regexp-alist): Doc fix.
1937
1938 2012-09-15 Glenn Morris <rgm@gnu.org>
1939
1940 * version.el (emacs-bzr-version-bzr): New function.
1941 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1942
1943 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1944 checkouts, check the parent dirstate matches the branch.
1945 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1946 empty string.
1947
1948 * version.el (emacs-bzr-version): Doc fix.
1949 (emacs-bzr-version-dirstate): New function.
1950 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1951 is local try and check that it matches the branch. If not, just
1952 use dirstate information. (Bug#12441)
1953
1954 2012-09-14 Juri Linkov <juri@jurta.org>
1955
1956 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1957 (Bug#12399)
1958
1959 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1960
1961 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1962
1963 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1964 Remove obsolete byte-compiler hack that tried to silence some warnings.
1965 (edebug-submit-bug-report): Remove.
1966 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1967 Remove aliases, use the un-prefixed name instead.
1968 (edebug-pop-to-buffer): Consider other frames.
1969 (edebug-original-read):: Make it more obvious that it's always defined.
1970 (edebug--make-form-data-entry, edebug--form-data-name)
1971 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1972 single-dashed name, and implement with cl-defstruct.
1973 (edebug-set-form-data-entry): Use the standard accessors.
1974 (edebug-make-top-form-data-entry): Use push.
1975 (edebug-no-match): Drop useless `funcall'.
1976 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1977 to functions.
1978 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1979 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1980 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1981 (easy-menu-define, with-custom-print): Remove redundant specs.
1982 (edebug-outside-overriding-local-map)
1983 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1984 (edebug--display): Bind unread-command-events directly to nil rather
1985 than binding it to unread-command-events and later setting it to nil.
1986 (edebug--display): Kill edebug-eval-buffer here...
1987 (edebug--recursive-edit): ...rather than here.
1988 Bind standard-output and standard-input.
1989 (edebug-eval): Check cl-macroexpand-all is fboundp.
1990 (edebug-temp-display-freq-count): Fix last change.
1991
1992 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1993 * subr.el (noreturn, 1value): Add `debug' spec.
1994 * emacs-lisp/advice.el: Require cl-lib.
1995 (ad-copy-tree): Remove, use copy-tree instead.
1996 (ad-dolist): Remove use dolist or cl-dolist instead.
1997 (ad-do-return): Remove, use cl-return instead.
1998 (defadvice): Add `debug' spec.
1999
2000 2012-09-13 Juri Linkov <juri@jurta.org>
2001
2002 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2003 (Bug#12399)
2004
2005 2012-09-13 Glenn Morris <rgm@gnu.org>
2006
2007 * calc/calc.el (math-compose-expr):
2008 * calc/calc-ext.el (math-compose-expr):
2009 * progmodes/cc-defs.el (cl-macroexpand-all):
2010 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2011 (cl-macroexpand-all): Update declarations.
2012
2013 * vc/vc.el: No need to require ediff.
2014 (ediff-load-version-control): Declare.
2015 (ediff-vc-internal): Fix declaration.
2016 (vc-version-ediff): Require ediff.
2017
2018 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2019
2020 Use a more backwards-compatible timer format (Bug#12430).
2021 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2022 being right after USECS, as that better supports old code that
2023 inadvisedly looked directly at the timer vector.
2024
2025 2012-09-13 Kenichi Handa <handa@gnu.org>
2026
2027 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2028 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2029 `coding-priority' property of these language environment.
2030
2031 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2032
2033 Fix glitches caused by addition of psec to timers (Bug#12430).
2034 * image.el (image-animate-timer):
2035 * time.el (display-time-world-timer):
2036 Use timer--function and timer--args rather than raw access to
2037 timer vector.
2038
2039 2012-09-13 Glenn Morris <rgm@gnu.org>
2040
2041 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2042 If not compiling a file, try using load-file-name.
2043
2044 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2045
2046 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2047 Fix last change.
2048 (edebug-update-eval-list): Use `push'.
2049
2050 * emacs-lisp/edebug.el: Use lexical-binding.
2051 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2052 Mark unused args with underscore.
2053 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2054 (edebug-form-data): Use defvar-local.
2055 (edebug-make-before-and-after-form, edebug-make-after-form):
2056 Use backquote.
2057 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2058 Not dynamically scoped any more.
2059 (edebug--enter-trace): Add arguments `function' and `args'.
2060 Rename from edebug-enter-trace.
2061 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2062 (edebug--update-coverage): Add `after-index' and `value' args.
2063 Rename from edebug-update-coverage.
2064 (edebug-slow-after): Call it accordingly.
2065 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2066 edebug-recursive-edit.
2067 (edebug--display): Call it accordingly. Add args `value',
2068 `offset-index', and `arg-mode'. Rename from edebug-display.
2069 (edebug-debugger, edebug): Call it accordingly.
2070 (edebug-eval-display-list): Use dolist.
2071
2072 2012-09-12 Juri Linkov <juri@jurta.org>
2073
2074 * info.el (Info-search): Don't check for isearch-mode and
2075 isearch-regexp before let-binding search-spaces-regexp to
2076 Info-search-whitespace-regexp.
2077 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2078 search-whitespace-regexp if isearch-lax-whitespace or
2079 isearch-regexp-lax-whitespace is non-nil.
2080 (Info-mode): Don't set local variable search-whitespace-regexp.
2081 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2082
2083 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2084
2085 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2086 (debugger-env-macro): Remove support for unread-command-char.
2087
2088 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2089 the temporary map re-appearing on emulation-mode-map-alists.
2090
2091 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2092 since 22.1.
2093
2094 * ehelp.el (with-electric-help): Accept functions in
2095 electric-help-form-to-execute.
2096 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2097 And replace unread-command-char -> unread-command-events.
2098
2099 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2100
2101 Sync with Tramp 2.2.6.
2102
2103 * net/tramp.el (tramp-accept-process-output): Don't use
2104 JUST-THIS-ONE in the XEmacs case.
2105
2106 * net/trampver.el: Update release number.
2107
2108 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2109
2110 * emacs-lisp/debug.el (debugger-previous-window-height):
2111 New variable.
2112 (debug): When debugger-jumping-flag is non-nil try to restore
2113 height of debugger window. (Bug#8789)
2114
2115 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2118 overriding-local-map and pre/post-command-hook here.
2119 (edebug-recursive-edit): Do it here instead (bug#12345).
2120 (edebug-outside-unread-command-char): Remove all uses of
2121 unread-command-char.
2122
2123 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2124 inhibit-debugger is bound instead.
2125
2126 2012-09-11 Bastien Guerry <bzg@gnu.org>
2127
2128 * subr.el (set-temporary-overlay-map): Add a docstring.
2129 (Bug#12346)
2130
2131 2012-09-11 Bastien Guerry <bzg@gnu.org>
2132
2133 * minibuffer.el (completion-table-subvert): Fix docstring.
2134 (Bug#12347)
2135
2136 2012-09-11 Bastien Guerry <bzg@gnu.org>
2137
2138 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2139
2140 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2141
2142 * progmodes/sql.el: Version 3.1
2143 (sql-db2-escape-newlines): New variable.
2144 (sql-escape-newlines-filter): Use it.
2145
2146 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2147
2148 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2149
2150 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2151
2152 * vc/diff-mode.el (diff-mode-menu):
2153 Bind diff-remove-trailing-whitespace.
2154
2155 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2156
2157 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2158 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2159 (emacs-lisp-byte-code-mode): New functions.
2160 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2161 (eval-defun-2): Remove bogus interactive spec.
2162 (lisp-indent-line): Remove redundant whole-exp code, now done in
2163 indent-according-to-mode.
2164 (save-match-data): Remove redundant indent data.
2165
2166 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2167 Use `declare'.
2168
2169 2012-09-09 Juri Linkov <juri@jurta.org>
2170
2171 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2172 (replace-lax-whitespace, query-replace-regexp)
2173 (query-replace-regexp-eval, replace-regexp): Doc fix.
2174 (perform-replace, replace-highlight): Let-bind
2175 isearch-lax-whitespace to replace-lax-whitespace and
2176 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2177
2178 * isearch.el (isearch-query-replace): Let-bind
2179 replace-lax-whitespace to isearch-lax-whitespace and
2180 replace-regexp-lax-whitespace to
2181 isearch-regexp-lax-whitespace. (Bug#10885)
2182
2183 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2184
2185 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2186
2187 2012-09-09 Alan Mackenzie <acm@muc.de>
2188
2189 * progmodes/cc-engine.el (c-state-cache-init):
2190 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2191 (c-record-parse-state-state):
2192 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2193
2194 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2195
2196 * register.el (register-separator): Rename from
2197 separator-register. All uses changed. Doc fix.
2198 (register): Fix version.
2199
2200 2012-09-09 Chong Yidong <cyd@gnu.org>
2201
2202 * replace.el (query-replace-map): Bind four new symbols for
2203 requesting window scrolling.
2204
2205 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2206 query-replace-map (Bug#8948).
2207
2208 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2209
2210 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2211 since they are now in query-replace-map.
2212
2213 * window.el (scroll-other-window-down): Make the arg optional.
2214
2215 2012-09-09 Chong Yidong <cyd@gnu.org>
2216
2217 * files.el (hack-local-variables-confirm): Use quit-window to kill
2218 the *Local Variables* buffer.
2219
2220 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2221
2222 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2223 not just expect to be at its beginning. Adjust callees.
2224 Succeed when do-end block has no space before the pipe character.
2225 (ruby-brace-to-do-end): When the original block is one-liner,
2226 convert to multiline. Reindent the result.
2227
2228 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2229
2230 * register.el (register): New group.
2231 (separator-register): New user option.
2232 (increment-register): Route it to `append-to-register', if
2233 register contains text. Implication is that `C-x r +' can now be
2234 used for appending to a text register (bug#12217).
2235 (append-to-register, prepend-to-register): Add separator based on
2236 `separator-register'.
2237
2238 2012-09-08 Alan Mackenzie <acm@muc.de>
2239
2240 AWK Mode: make auto-newline work when there's "==" in the pattern.
2241 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2242 correctly.
2243 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2244 Test more rigorously for "=" token.
2245
2246 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2247
2248 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2249 Only fail when reached LIMIT.
2250
2251 2012-09-08 Chong Yidong <cyd@gnu.org>
2252
2253 * dired.el (dired-mode-map): Don't bind M-=.
2254
2255 * dired-aux.el (dired-diff): Use backup file as default.
2256
2257 2012-09-08 Drew Adams <drew.adams@oracle.com>
2258
2259 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2260
2261 2012-09-08 Chong Yidong <cyd@gnu.org>
2262
2263 * subr.el (syntax-after, syntax-class): Doc fix.
2264
2265 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2266
2267 * window.el (display-buffer-in-previous-window): New buffer
2268 display action function.
2269
2270 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2271 (debugger-previous-window): New variable.
2272 (debug): Rewrite using display-buffer-in-previous-window,
2273 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2274
2275 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2276
2277 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2278
2279 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2280
2281 * progmodes/python.el (python-shell-send-string):
2282 When default-directory is remote, create temp file on remote
2283 filesystem.
2284 (python-shell-send-file): When file is remote, pass local view of
2285 file paths to remote Python interpreter. (Bug#12340)
2286
2287 2012-09-07 Chong Yidong <cyd@gnu.org>
2288
2289 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2290
2291 * files.el (after-find-file): Don't fail on a read-only buffer if
2292 require-final-newline is `visit' or `visit-save' (Bug#11156).
2293
2294 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2295
2296 * userlock.el (ask-user-about-supersession-threat):
2297 Use read-char-choice (Bug#12093).
2298
2299 2012-09-07 Chong Yidong <cyd@gnu.org>
2300
2301 * subr.el (buffer-narrowed-p): New function.
2302
2303 * ses.el (ses-widen):
2304 * simple.el (count-words--buffer-message):
2305 * net/browse-url.el (browse-url-of-buffer): Use it.
2306
2307 * simple.el (count-words-region): Don't signal an error if there
2308 is a non-nil prefix arg and the mark is not set.
2309
2310 * help.el (describe-key-briefly): Allow the message to be seen
2311 when invoked from the minibuffer (Bug#7014).
2312
2313 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2314
2315 * progmodes/ruby-mode.el (ruby-end-of-defun)
2316 (ruby-beginning-of-defun): Simplify, allow indentation before
2317 block beginning and end keywords.
2318 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2319 (ruby-end-of-defun): Expect that the point is at the beginning of
2320 the defun.
2321
2322 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2323
2324 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2325 (bug#12367).
2326 (cl--make-usage-args): Strip _ from argument names.
2327
2328 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2329
2330 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2331 obsolete alias speedbar-key-map.
2332 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2333 (vhdl-index-menu-init): Don't use obsolete variable
2334 font-lock-maximum-size.
2335
2336 2012-09-06 Chong Yidong <cyd@gnu.org>
2337
2338 * frame.el (window-system-version): Mark as obsolete.
2339
2340 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2341 of obsolete variable speedbar-key-map.
2342
2343 2012-09-06 Juri Linkov <juri@jurta.org>
2344
2345 * replace.el (replace-lax-whitespace): New defcustom.
2346 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2347 (replace-string, replace-regexp): Mention it in docstrings.
2348 (perform-replace, replace-highlight): Let-bind
2349 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2350 to the values of replace-lax-whitespace and regexp-flag.
2351 Don't let-bind search-whitespace-regexp. (Bug#10885)
2352
2353 * isearch.el (isearch-query-replace): Let-bind
2354 replace-lax-whitespace instead of let-binding
2355 replace-search-function and replace-re-search-function.
2356 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2357 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2358 (isearch-toggle-symbol): Set isearch-regexp to nil
2359 in isearch-word mode (like in isearch-toggle-word).
2360
2361 2012-09-06 Juri Linkov <juri@jurta.org>
2362
2363 * replace.el (replace-search-function)
2364 (replace-re-search-function): Set default values to nil.
2365 (perform-replace): Let-bind isearch-related variables based on
2366 replace-related values, call `isearch-search-fun' and let-bind
2367 the result to `search-function'. Remove code that sets
2368 `search-function' and `search-string' separately for
2369 `delimited-flag'.
2370 (replace-highlight): Add new argument `delimited-flag' and
2371 rename other arguments to the names used in `perform-replace'.
2372 Let-bind `isearch-word' to the argument `delimited-flag'.
2373 (Bug#10885, bug#10887)
2374
2375 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2376
2377 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2378 ruby-beginning-of-indent, simplify, allow all keywords to have
2379 indentation before them.
2380 (ruby-beginning-of-indent): Adjust for above. Search until the
2381 found point is not inside a string or comment.
2382 (ruby-font-lock-keywords): Allow symbols to start with "@"
2383 character, give them higher priority than variables.
2384 (ruby-syntax-propertize-function)
2385 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2386 matchers. Expression expansions are not comments when inside a
2387 string, and there comment syntax status is irrelevant.
2388 (ruby-match-expression-expansion): New function. Check that
2389 expression expansion is inside a string, and it's not escaped.
2390 (ruby-font-lock-keywords): Use it.
2391
2392 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2393
2394 * help.el (temp-buffer-max-height): New default value.
2395 (temp-buffer-resize-frames): New option.
2396 (resize-temp-buffer-window): Optionally resize frame.
2397
2398 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2399 (fit-frame-to-buffer): New function.
2400
2401 2012-09-05 Glenn Morris <rgm@gnu.org>
2402
2403 * emulation/cua-rect.el (cua--init-rectangles):
2404 * textmodes/picture.el (picture-mode-map):
2405 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2406 like forward-char and backward-char. (Bug#12317)
2407
2408 2012-09-05 Leo Liu <sdl.web@gmail.com>
2409
2410 * progmodes/flymake.el (flymake-warning-re): New variable.
2411 (flymake-parse-line): Use it.
2412
2413 2012-09-05 Glenn Morris <rgm@gnu.org>
2414
2415 * calendar/holidays.el (holiday-christian-holidays):
2416 Rename an entry. (Bug#12289)
2417
2418 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2421 (bug#12222).
2422
2423 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * loadup.el: Load macroexp. Remove hack.
2426 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2427 (macroexp--expand-all): Use it to get better warnings.
2428 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2429 (internal-macroexpand-for-load): New functions.
2430 (macroexp--pending-eager-loads): New var.
2431 (emacs-startup-hook): New hack to replace one in loadup.el.
2432 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2433 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2434 (cl-psetf): Simplify.
2435 (cl-defstruct): Add indent rule.
2436
2437 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2438
2439 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2440 over `user-mail-address' for the SMTP MAIL FROM envelope.
2441 (smtpmail-via-smtp): Ditto.
2442
2443 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2444
2445 * progmodes/ruby-mode.el: Clean up keybindings.
2446 (ruby-mode-map): Don't bind ruby-electric-brace,
2447 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2448 backward-kill-word, reindent-then-newline-and-indent.
2449 (ruby-mark-defun): Remove.
2450 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2451 (ruby-mode): Set local beginning-of-defun-function and
2452 end-of-defun-function values.
2453
2454 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2455
2456 * window.el (temp-buffer-window-setup-hook)
2457 (temp-buffer-window-show-hook): New hooks.
2458 (temp-buffer-window-setup, temp-buffer-window-show)
2459 (with-temp-buffer-window): New functions.
2460 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2461 (special-display-popup-frame): Make sure the window used shows BUFFER.
2462
2463 * help.el (temp-buffer-resize-mode): Fix doc-string.
2464 (resize-temp-buffer-window): New optional argument WINDOW.
2465
2466 * files.el (recover-file, save-buffers-kill-emacs):
2467 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2468
2469 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2470
2471 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2472 remote definition of `default-directory', ensure we can connect.
2473
2474 2012-09-02 Juri Linkov <juri@jurta.org>
2475
2476 Toggle whitespace matching mode with M-s SPC.
2477 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2478
2479 * isearch.el (search-whitespace-regexp): Doc fix.
2480 Remove cons cell customization.
2481 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2482 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2483 New variables.
2484 (isearch-forward, isearch-forward-regexp): Doc fix.
2485 (isearch-toggle-lax-whitespace): New command.
2486 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2487 (re-search-forward-lax-whitespace)
2488 (re-search-backward-lax-whitespace): New functions.
2489 (isearch-whitespace-regexp): Remove function.
2490 (isearch-query-replace): Let-bind replace-search-function and
2491 replace-re-search-function.
2492 (isearch-occur): Let-bind search-spaces-regexp according to the
2493 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2494 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2495 condition for C-q SPC.
2496 (isearch-search-fun-default): Use new functions mentioned above.
2497 (isearch-search-forward, isearch-search-backward): Remove functions.
2498 (isearch-search): Don't let-bind search-spaces-regexp.
2499 (isearch-lazy-highlight-space-regexp): Remove variable.
2500 (isearch-lazy-highlight-lax-whitespace)
2501 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2502 (isearch-lazy-highlight-new-loop): Use them.
2503 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2504
2505 2012-09-02 Chong Yidong <cyd@gnu.org>
2506
2507 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2508
2509 2012-09-02 Glenn Morris <rgm@gnu.org>
2510
2511 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2512
2513 2012-09-01 Glenn Morris <rgm@gnu.org>
2514
2515 * term.el: Tidy up menu definitions.
2516 (term-mode-map): Use easymenu for In/Out, Complete menus.
2517 (term-pager-break-map): Initialize in the defvar.
2518 (term-terminal-menu, term-signals-menu): Define with easymenu.
2519 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2520 (term-pager-menu): New, extracted from term-process-pager.
2521 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2522 (term-update-mode-line): Propertize line/char and page items.
2523 (term-process-pager): Move keymap initialization elsewhere.
2524
2525 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2526
2527 * window.el (switch-to-prev-buffer): Handle additional values of
2528 BURY-OR-KILL argument. Don't switch in minibuffer window.
2529 (switch-to-next-buffer): Don't switch in minibuffer window.
2530 (quit-restore-window): New function based on quit-window.
2531 Handle additional values of former KILL argument.
2532 (quit-window): Call quit-restore-window with appropriate
2533 interpretation of KILL argument.
2534 (display-buffer-below-selected): New buffer display action
2535 function.
2536
2537 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 * minibuffer.el (completion-at-point-functions): Complete docstring
2540 (bug#12254).
2541
2542 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2543
2544 Better seed support for (random).
2545 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2546 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2547 * play/mpuz.el, play/tetris.el, play/zone.el:
2548 * calc/calc-comb.el (math-init-random-base):
2549 * play/blackbox.el (bb-init-board):
2550 * play/life.el (life):
2551 * server.el (server-use-tcp):
2552 * type-break.el (type-break):
2553 Remove unnecessary call to (random t).
2554 * net/sasl.el (sasl-unique-id-function):
2555 Change (random t) to (random), now that the latter is more random.
2556 * play/life.el (life-initialized): Remove no-longer-needed var.
2557
2558 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2559
2560 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2561 Consider frame's buffer predicate when choosing the buffer.
2562 (Bug#12081)
2563
2564 2012-08-30 Richard Stallman <rms@gnu.org>
2565
2566 * simple.el (special-mode-map): Delete binding for `z'.
2567
2568 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2569
2570 * progmodes/compile.el (compilation-always-kill): Doc fix.
2571
2572 2012-08-30 Chong Yidong <cyd@gnu.org>
2573
2574 * window.el (display-buffer-reuse-frames): Make the obsolescence
2575 message more informative.
2576
2577 2012-08-30 Glenn Morris <rgm@gnu.org>
2578
2579 * paren.el (show-paren-delay):
2580 Add a :set function. Doc fix. (Bug#12297)
2581
2582 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2583
2584 * progmodes/compile.el (compilation-always-kill): New var.
2585 (compilation-start): Use it.
2586
2587 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2588
2589 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2590 * files.el (read-only-mode): Move to simple.el.
2591
2592 * files.el (read-only-mode): New minor mode.
2593 (toggle-read-only): Use it and mark obsolete.
2594 (find-file--read-only):
2595 * vc/vc.el (vc-next-action, vc-checkout):
2596 * vc/vc-cvs.el (vc-cvs-checkout):
2597 * obsolete/vc-mcvs.el (vc-mcvs-update):
2598 * ffap.el (ffap--toggle-read-only): Update callers.
2599
2600 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2601
2602 * eshell/esh-ext.el (eshell-external-command): Do not examine
2603 remote shell scripts.
2604 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2605
2606 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2607 "/usr/local/sbin".
2608
2609 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2610
2611 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2612
2613 2012-08-28 Leo Liu <sdl.web@gmail.com>
2614
2615 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2616 completion-at-point. (Bug#12220)
2617
2618 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2619
2620 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2621
2622 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2623
2624 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2625 be buffer-local; add delete-trailing-whitespace (bug#12259).
2626
2627 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2628
2629 * progmodes/hideif.el (hif-compress-define-list):
2630 Fix typo. (Bug#11951)
2631
2632 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2633
2634 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2635 buffer local setting.
2636
2637 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2638 rcirc-encode-coding-system.
2639
2640 2012-08-28 Leo Liu <sdl.web@gmail.com>
2641
2642 * net/rcirc.el (rcirc-split-message): New function.
2643 (rcirc-send-message): Use it. (Bug#12051)
2644
2645 2012-08-28 Juri Linkov <juri@jurta.org>
2646
2647 * info.el (Info-fontify-node): Hide empty lines at the end of
2648 the node. (Bug#12272)
2649
2650 2012-08-27 Drew Adams <drew.adams@oracle.com>
2651
2652 * dired.el (dired-pop-to-buffer): Make window start at beginning
2653 of buffer (Bug#12281).
2654
2655 2012-08-26 Chong Yidong <cyd@gnu.org>
2656
2657 * window.el (special-display-regexps, special-display-frame-alist)
2658 (special-display-buffer-names, special-display-function)
2659 (display-buffer-reuse-frames): Mark as obsolete.
2660
2661 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2662
2663 * help.el (help-print-return-message): Don't treat
2664 display-buffer-reuse-frames specially.
2665
2666 2012-08-26 Chong Yidong <cyd@gnu.org>
2667
2668 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2669 New variable, replacing gdb-frame-parameters.
2670 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2671 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2672 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2673 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2674 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2675 the functions directly with gdb-display-buffer-other-frame-action.
2676 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2677 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2678 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2679 (gdb-display-registers-buffer): Define directly.
2680 (def-gdb-display-buffer): Macro deleted.
2681 (gdb-display-buffer): Remove second and third args, callers don't
2682 use them. Defer to the default display-buffer behavior, apart
2683 from making windows dedicated.
2684 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2685
2686 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2687
2688 * window.el (display-buffer-pop-up-frame): Handle a
2689 pop-up-frame-parameters alist entry.
2690 (display-buffer): Document it.
2691
2692 2012-08-26 Chong Yidong <cyd@gnu.org>
2693
2694 * isearch.el (search-whitespace-regexp): Make string and nil
2695 values apply to both ordinary and regexp search. Allow a cons
2696 cell value to distinguish between the two.
2697 (isearch-whitespace-regexp, isearch-search-forward)
2698 (isearch-search-backward): New functions.
2699 (isearch-occur, isearch-search-fun-default, isearch-search)
2700 (isearch-lazy-highlight-new-loop): Use them.
2701 (isearch-forward, isearch-forward-regexp): Doc fix.
2702
2703 2012-08-26 Chong Yidong <cyd@gnu.org>
2704
2705 * faces.el (help-argument-name): Always inherit from italic
2706 (Bug#12213).
2707
2708 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2709
2710 * window.el (window--even-window-heights): Even heights when
2711 WINDOW and the selected window form a vertical combination.
2712 (display-buffer-use-some-window): Provide that window used gets
2713 sized back by quit-window. (Bug#11880) and (Bug#12091)
2714
2715 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2716
2717 Fix file time stamp problem with bzr and CVS (Bug#12001).
2718 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2719 in the file's time stamp, since the version control system loses
2720 that information.
2721
2722 2012-08-22 Juri Linkov <juri@jurta.org>
2723
2724 * info.el (Info-fontify-node): Hide the suffix of the
2725 Info file name in the header line. (Bug#12187)
2726
2727 2012-08-22 Glenn Morris <rgm@gnu.org>
2728
2729 * calendar/cal-tex.el (cal-tex-weekly-common):
2730 Restore leading blank page.
2731
2732 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2733
2734 * misc.el (forward-to-word, backward-to-word): Activate or extend
2735 the region under `shift-select-mode'. (Bug#12231)
2736
2737 2012-08-22 Bastien Guerry <bzg@gnu.org>
2738
2739 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2740 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2741 gives details on why the space is never needed.
2742
2743 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2744
2745 * window.el (walk-window-tree, window-with-parameter):
2746 New optional argument MINIBUF to control whether these functions
2747 should run on the minibuffer window.
2748 (window-at-side-list): Don't operate on minibuffer window.
2749 (window-in-direction): Simplify and rewrite doc-string.
2750 (window--size-ignore): Rename to window--size-ignore-p.
2751 Update callers.
2752 (display-buffer-in-atom-window, window--major-non-side-window)
2753 (window--major-side-window, display-buffer-in-major-side-window)
2754 (delete-side-window, display-buffer-in-side-window):
2755 New functions.
2756 (window--side-check, window-deletable-p, delete-window)
2757 (delete-other-windows, split-window): Handle side windows and
2758 atomic windows appropriately.
2759 (window--display-buffer): Call display-buffer-record-window also
2760 when the window buffer did not change.
2761
2762 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2763
2764 * help-fns.el (help-fns--key-bindings):
2765 Abbreviate non-symbol remap targets. (Bug#12174)
2766
2767 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2768
2769 * dired.el (dired-mark-remembered): Don't clobber point.
2770 (Bug#11795)
2771
2772 2012-08-22 Glenn Morris <rgm@gnu.org>
2773
2774 * progmodes/bug-reference.el (bug-reference): New custom group.
2775 (bug-reference-bug-regexp): Make it a defcustom.
2776
2777 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2778
2779 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2780 (js-paren-indent-offset, js-square-indent-offset)
2781 (js-curly-indent-offset): Add :safe (Bug#12257).
2782
2783 2012-08-22 Edward O'Connor <hober0@gmail.com>
2784
2785 * json.el (json-key-format): Add error properties.
2786 (json-encode-key): New function.
2787 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2788 Use json-encode-key.
2789
2790 2012-08-22 Glenn Morris <rgm@gnu.org>
2791
2792 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2793 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2794 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2795 Update for above change.
2796
2797 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2798
2799 * cus-face.el (custom-face-attributes): Fix customize type for the
2800 :underline attribute. (Bug#11805)
2801
2802 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2803
2804 * window.el (window-point-1, set-window-point-1): Remove.
2805 (window-in-direction, record-window-buffer)
2806 (set-window-buffer-start-and-point, split-window-below)
2807 (window--state-get-1, display-buffer-record-window):
2808 Replace calls to window-point-1 and set-window-point-1 by calls to
2809 window-point and set-window-point respectively.
2810
2811 2012-08-21 Glenn Morris <rgm@gnu.org>
2812
2813 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2814 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2815 Use it.
2816
2817 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2818 (cal-tex-shortday): New function.
2819 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2820 (cal-tex-cursor-filofax-daily): Use the above.
2821
2822 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2823 New functions.
2824 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2825 (cal-tex-cursor-filofax-week): Use them.
2826
2827 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2828 New constants.
2829 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2830 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2831
2832 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2833 (cal-tex-end-document): Don't rely on buffer name.
2834
2835 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2836 Use cal-tex-vspace.
2837 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2838 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2839 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2840 Use cal-tex-arg.
2841
2842 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2843 (cal-tex-cursor-week, cal-tex-cursor-week2)
2844 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2845 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2846 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2847 (cal-tex-insert-preamble, cal-tex-b-document)
2848 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2849 Improve cal-tex-cmd usage.
2850
2851 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2852 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2853 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2854 (cal-tex-weekly-paper): New function.
2855 (cal-tex-cursor-week, cal-tex-cursor-week2)
2856 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2857 (cal-tex-cursor-day): Use it.
2858
2859 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2860 (cal-tex-cursor-filofax-week): Remove leading blank page.
2861
2862 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2863 Add autoload cookie. For now at least, don't use color, since
2864 no other cal-tex function does.
2865
2866 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2867 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2868 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2869
2870 2012-08-21 Juri Linkov <juri@jurta.org>
2871
2872 * info.el (Info-file-attributes): New variable.
2873 (info-insert-file-contents): Add file attributes to
2874 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2875 `Info-toc-nodes' when previous modtime of the Info file is less
2876 than new modtime.
2877 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2878 of info.el. (Bug#12230)
2879
2880 2012-08-20 Glenn Morris <rgm@gnu.org>
2881
2882 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2883 * calendar/holidays.el (calendar-holiday-list):
2884 Report errors with display-warning rather than beep'n'sleep.
2885
2886 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2887
2888 * net/tramp.el (tramp-accept-process-output): Accept only output
2889 from PROC. Otherwise, process filters and sentinels might be
2890 confused. (Bug#12145)
2891
2892 2012-08-20 Chong Yidong <cyd@gnu.org>
2893
2894 * descr-text.el (describe-text-properties-1): Use overlays-in to
2895 report on empty overlays (Bug#3322).
2896
2897 2012-08-20 Glenn Morris <rgm@gnu.org>
2898
2899 * mail/rmailout.el (rmail-output-read-file-name):
2900 Trap and report errors in rmail-output-file-alist elements.
2901
2902 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2903 since most non-font-lock faces are not also variables).
2904
2905 2012-08-20 Edward Reingold <reingold@iit.edu>
2906
2907 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2908 New function. (Bug12160)
2909
2910 2012-08-19 Glenn Morris <rgm@gnu.org>
2911
2912 * mail/rmailout.el (rmail-output-read-file-name):
2913 Fix previous change (when the alist is nil or does not match).
2914
2915 2012-08-19 Chong Yidong <cyd@gnu.org>
2916
2917 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2918 (Bug#12228).
2919
2920 2012-08-18 Chong Yidong <cyd@gnu.org>
2921
2922 * simple.el (yank-handled-properties): New defcustom.
2923 (yank-excluded-properties): Add font-lock-face and category.
2924 (yank): Doc fix.
2925
2926 * subr.el (remove-yank-excluded-properties):
2927 Obey yank-handled-properties. The special handling of font-lock-face
2928 and category is now done this way, instead of being hard-coded.
2929 (insert-for-yank-1): Remove font-lock-face handling.
2930 (yank-handle-font-lock-face-property)
2931 (yank-handle-category-property): New function.
2932
2933 2012-08-17 Glenn Morris <rgm@gnu.org>
2934
2935 * mail/rmailout.el (rmail-output-read-file-name):
2936 Check rmail-output-file-alist against the full message body
2937 in the correct rmail buffer. (Bug#12214)
2938
2939 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2940
2941 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2942 Eliminate superfluous prompt. (Bug#12203)
2943
2944 2012-08-17 Chong Yidong <cyd@gnu.org>
2945
2946 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2947 font spec, set the font directly (Bug#3228).
2948
2949 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2950
2951 * window.el (delete-window): Fix last fix.
2952
2953 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2954
2955 * window.el (window-valid-p): Move to window.c.
2956 (window-child, window-child-count, window-last-child)
2957 (window-normalize-window, window-combined-p)
2958 (window-combinations, window-atom-root, window-min-size)
2959 (window-sizable, window-sizable-p, window-size-fixed-p)
2960 (window-min-delta, window-max-delta, window--resizable)
2961 (window--resizable-p, window-resizable, window-total-size)
2962 (window-full-height-p, window-full-width-p, window-body-size)
2963 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2964 (minimize-window, window-deletable-p, delete-window)
2965 (delete-other-windows, set-window-buffer-start-and-point)
2966 (next-buffer, previous-buffer, split-window, balance-windows-2)
2967 (set-window-text-height, window-buffer-height)
2968 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2969 (truncated-partial-width-window-p): Minor code adjustments.
2970 In doc-strings state whether the argument window has to denote a
2971 live, valid or any window.
2972
2973 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2974
2975 * progmodes/subword.el (subword-forward-function)
2976 (subword-backward-function, subword-forward-regexp)
2977 (subword-backward-regexp): New variables.
2978 (subword-forward, subword-forward-internal, subword-backward-internal):
2979 Use new variables, eg so that different "word" definitions
2980 can be easily used. (Bug#11411)
2981
2982 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2983
2984 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2985 for composite selectors.
2986 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2987 operation just because we can't find a previous revision.
2988
2989 2012-08-15 Chong Yidong <cyd@gnu.org>
2990
2991 * frame.el (set-frame-font): Accept font objects.
2992
2993 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2994
2995 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2996
2997 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2998
2999 * man.el (Man-overstrike-face, Man-underline-face)
3000 (Man-reverse-face): Remove variables.
3001 (Man-overstrike, Man-underline, Man-reverse): New faces.
3002 (Man-fontify-manpage): Use them instead of the variables.
3003 (Man-cleanup-manpage): Comment change.
3004 (Man-ansi-color-map): New variable.
3005 (Man-fontify-manpage): Use it.
3006 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3007
3008 Implement ANSI SGR parameters 22-27 (bug#12146).
3009 * ansi-color.el (ansi-colors): Doc fix.
3010 (ansi-color-context, ansi-color-context-region): Doc fix.
3011 (ansi-color--find-face): New function.
3012 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3013 Rename the local variable `face' to `codes' since it is now a list of
3014 ansi codes. Doc fix.
3015 (ansi-color-get-face): Remove.
3016 (ansi-color-parse-sequence): New function, derived from
3017 ansi-color-get-face.
3018 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3019 codes 22-27.
3020
3021 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3022
3023 * subr.el (read-passwd): Allow use from a minibuffer.
3024
3025 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3026
3027 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3028 inside comments and strings as identifiers.
3029
3030 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3031 expression to evaluate. This allows to evaluate expressions with
3032 embedded whitespace.
3033 (gud-tooltip-tips): Add a blank before the newline in the
3034 message-box text, for the benefit of message-box emulation on
3035 MS-Windows.
3036
3037 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3038 messages from GDB, pop them up in a tooltip to give feedback to
3039 user.
3040 (gdb-tooltip-print-1): Quote the expression to evaluate.
3041 This allows to evaluate expressions with embedded whitespace.
3042 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3043 if the TTY name is nil or empty (which happens when communicating
3044 with the inferior via pipes, e.g. on MS-Windows).
3045 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3046 don't send that to the GUD buffer.
3047
3048 2012-08-14 Glenn Morris <rgm@gnu.org>
3049
3050 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3051 Optimize away setq-default with no args, as for setq. (Bug#12195)
3052
3053 2012-08-14 Chong Yidong <cyd@gnu.org>
3054
3055 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3056
3057 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3058 (Bug#12085).
3059
3060 2012-08-14 Glenn Morris <rgm@gnu.org>
3061
3062 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3063
3064 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3065
3066 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3067 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3068 Use cached shell name.
3069
3070 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3071
3072 * progmodes/python.el (python-shell-send-string):
3073 (python-shell-send-setup-code): Do not use `format' with `message'.
3074
3075 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3076
3077 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3078 (ruby-percent-literal-beg-re): New constant.
3079 (ruby-syntax-general-delimiters-goto-beg): Rename to
3080 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3081 (ruby-syntax-propertize-general-delimiters): Rename to
3082 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3083 popular term. Adjust comments everywhere.
3084 (ruby-syntax-propertize-percent-literal): Only propertize when not
3085 inside a simple string or comment. When the literal is unclosed,
3086 leave the text after it unpropertized.
3087 (ruby-syntax-methods-before-regexp): New constant.
3088 (ruby-syntax-propertize-function): Use it to recognize regexps.
3089 Don't look at the text after regexp, just use the whitelist.
3090
3091 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3092
3093 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3094 non-nil always load the compiled file if it exists. (Bug#12197)
3095
3096 2012-08-14 Chong Yidong <cyd@gnu.org>
3097
3098 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3099 (hi-lock-set-pattern): When deciding whether to use font lock or
3100 overlays, look at font-lock-mode instead of font-lock-fontified
3101 (Bug#12168).
3102 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3103 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3104
3105 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3106
3107 * subr.el (internal--after-with-selected-window): Fix typo
3108 (Bug#12193).
3109
3110 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3111
3112 Use `completion-table-dynamic' for completion functions.
3113 * progmodes/python.el
3114 (python-shell-completion--do-completion-at-point)
3115 (python-shell-completion--get-completions):
3116 Remove functions.
3117 (python-shell-completion-complete-at-point): New function.
3118 (python-completion-complete-at-point): Use it.
3119
3120 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3121
3122 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3123 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3124
3125 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 * subr.el (function-get): Refine `autoload' arg so it can also
3128 autoload functions for gv.el (bug#12191).
3129 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3130 autoloads macros.
3131
3132 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3133 Prefer pcase-let over destructuring-bind.
3134 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3135 Also, remove whitespace as we go, rather than after accumulating the
3136 various places.
3137
3138 * subr.el (internal--before-with-selected-window)
3139 (internal--after-with-selected-window): Fix typo seleted->selected.
3140 (with-selected-window): Adjust callers.
3141 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3142
3143 2012-08-13 Bastien Guerry <bzg@gnu.org>
3144
3145 * window.el (special-display-popup-frame): Minor docstring
3146 enhancement. (Bug#12172)
3147
3148 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3149
3150 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3151 type 1-6.
3152 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3153 extended headers.
3154
3155 * files.el (hack-local-variables-filter): Remove useless eval.
3156
3157 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3158
3159 * subr.el (with-selected-window): Fix last change.
3160
3161 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * subr.el (internal--before-with-seleted-window)
3164 (internal--after-with-seleted-window): New functions.
3165 (with-selected-window): Use them, to replace dependency on
3166 tty-top-frame.
3167
3168 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3169
3170 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3171 binding for `newline'.
3172 (ruby-move-to-block): When moving backward, stop at block opening,
3173 not indentation.
3174 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3175 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3176 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3177 `ruby-toggle-block'.
3178
3179 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3180
3181 * ibuffer.el (ibuffer-do-toggle-read-only):
3182 * dired.el (dired-toggle-read-only):
3183 * buff-menu.el (Buffer-menu-toggle-read-only):
3184 * bindings.el (mode-line-toggle-read-only):
3185 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3186
3187 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3188
3189 * descr-text.el (describe-char): Put the overlays over the
3190 "displayed as" character.
3191
3192 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3193
3194 * calc/calc-units.el (math-default-units-table): Give an
3195 initial value.
3196 (math-put-default-units): Add options to put composite units and
3197 unit systems in the default units table.
3198 (calc-convert-units): Send composite units to
3199 `math-put-default-units' when appropriate.
3200
3201 2012-08-11 Glenn Morris <rgm@gnu.org>
3202
3203 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3204
3205 * tutorial.el (help-with-tutorial):
3206 * emacs-lisp/copyright.el (copyright-update-directory):
3207 * emacs-lisp/autoload.el (autoload-find-generated-file)
3208 (autoload-find-file): Disable local eval: (for insurance).
3209
3210 * files.el (hack-local-variables-filter): If an eval: form is not
3211 known to be safe, and enable-local-variables is :safe, then ignore
3212 the form totally, as is done for non-eval forms. (Bug#12155)
3213 This is CVE-2012-3479.
3214
3215 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3216
3217 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3218 (rx-form): Simplify.
3219
3220 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3221
3222 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3223 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3224 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3225 (ruby-syntax-propertize-function): Adjust for changes in
3226 `ruby-syntax-propertize-heredoc'.
3227
3228 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3229
3230 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3231 binding (use `M-;' instead).
3232 (ruby-singleton-class-p): New function.
3233 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3234
3235 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3238
3239 2012-08-10 Chong Yidong <cyd@gnu.org>
3240
3241 * progmodes/python.el (python-shell-get-process-name): Don't mess
3242 with same-window-buffer-names.
3243
3244 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3245 (eshell-remove-from-window-buffer-names): Make obsolete.
3246 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3247 (eshell): Just use pop-to-buffer-same-window instead.
3248
3249 2012-08-10 Chong Yidong <cyd@gnu.org>
3250
3251 * bindings.el: Bind M-= back to count-words-region.
3252
3253 * simple.el (count-words-region): Accept a prefix arg for acting
3254 on the entire buffer.
3255 (count-words--buffer-message): New helper function.
3256
3257 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3260 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3261 (event-start, event-end): Use posn-at-point to return a more
3262 informative posn.
3263 (posnp): New function.
3264 * mouse.el (popup-menu-normalize-position): Use it.
3265
3266 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3267
3268 * mouse.el (popup-menu-normalize-position): New function.
3269 (popup-menu): Use `popup-menu-normalize-position' to normalize
3270 the form for POSITION argument.
3271
3272 * term/x-win.el (x-menu-bar-open):
3273 Use the value returend from (posn-at-point) as position
3274 passed to `popup-menu'.
3275
3276 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3277
3278 * calc/calccomp.el (math-compose-expr): Add extra argument
3279 indicating that parentheses should be put around products in
3280 denominators. Give multiplication precedence over division during
3281 composition.
3282
3283 2012-08-09 Chong Yidong <cyd@gnu.org>
3284
3285 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3286 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3287 (Man-untabify-command, manual-program): Convert to defcustom
3288 (Bug#10429).
3289
3290 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3291
3292 * descr-text.el (describe-char): Don't insert extra newlines
3293 (Bug#10127).
3294
3295 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3296 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3297
3298 * align.el (align-region): Delete temporary markers (Bug#10047).
3299 Plus some code cleanups.
3300
3301 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3302
3303 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3304 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3305 (python-shell-internal-last-output): Use make-local-variable
3306 instead of make-variable-buffer-local.
3307
3308 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3309
3310 * progmodes/python.el: Enhancements to forward-sexp.
3311 (python-nav-forward-sexp): Rename from
3312 python-nav-forward-sexp-function.
3313 (python-nav--forward-sexp, python-nav--backward-sexp):
3314 New functions.
3315
3316 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3317
3318 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3319 modes and simplification modes.
3320
3321 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3322
3323 * delsel.el (delete-selection-pre-hook): Don't propagate the
3324 file-supersession signals (bug#12161).
3325
3326 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3327
3328 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3329 (cl-map-extents): Add compatibility aliases (bug#12135).
3330
3331 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3332
3333 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3334 tests by `ignore-error'.
3335 (tramp-find-shell): Open also a new shell, when cache is already
3336 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3337
3338 2012-08-08 Juri Linkov <juri@jurta.org>
3339
3340 * bookmark.el: Add `defaults' property to the bookmark record.
3341 (bookmark-current-buffer): Doc fix.
3342 (bookmark-make-record): Add `defaults' property with default values
3343 to the bookmark record.
3344 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3345 with `bookmark-insert-current-bookmark'.
3346 (bookmark-set): Get `defaults' property from the bookmark record
3347 and use it in `read-from-minibuffer'.
3348 (bookmark-insert-current-bookmark): Remove function.
3349
3350 * info.el (Info-bookmark-make-record): Add `defaults' property
3351 with values of canonical Info node name, the current Info file
3352 name and the current Info node name. (Bug#12107)
3353
3354 2012-08-08 Juri Linkov <juri@jurta.org>
3355
3356 * files.el (basic-save-buffer): Use `buffer-name' as the default
3357 of `read-file-name' when buffer is not visiting a file (bug#12128).
3358
3359 2012-08-08 Juri Linkov <juri@jurta.org>
3360
3361 * info.el (Info-isearch-search): Doc fix.
3362 (Info-search): Change search-failed message from "initial node" to
3363 "end of node" (bug#12078).
3364 (Info-isearch-search): Change `isearch-string-state' to
3365 `isearch--state-string'.
3366
3367 2012-08-08 Glenn Morris <rgm@gnu.org>
3368
3369 * language/persian.el: Remove file.
3370 * language/misc-lang.el: Move unique part of persian.el here.
3371 * loadup.el: Remove language/persian.
3372
3373 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3374
3375 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3376
3377 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3378
3379 * progmodes/python.el Fixed defsubst warning.
3380 (python-syntax-context) Rename from python-info-ppss-context.
3381 (python-syntax-context-type): Rename from
3382 python-info-ppss-context-type.
3383 (python-syntax-comment-or-string-p): Rename from
3384 python-info-ppss-comment-or-string-p.
3385
3386 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3387
3388 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3389
3390 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3391
3392 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3393 a defcustom that is quoted with backquote.
3394
3395 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3396 Fix handling of interactive spec when the body uses return.
3397 (math-do-arg-check, math-define-function-body): Use backquote forms.
3398 * calc/calc-ext.el (math-defcache): Likewise.
3399 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3400 * allout.el (allout-new-exposure): Likewise.
3401 * calc/calcalg2.el (math-tracing-integral): Likewise.
3402 * info.el (Info-last-menu-item): Likewise.
3403 * emulation/vip.el (vip-loop): Likewise.
3404 * textmodes/artist.el (artist-funcall): Likewise.
3405 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3406 Construct menu-item directly.
3407
3408 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3409 Don't declare.
3410
3411 2012-08-07 Chong Yidong <cyd@gnu.org>
3412
3413 * simple.el (deactivate-mark): Preserve text properties when
3414 saving the primary selection (Bug#8384).
3415
3416 2012-08-07 Kevin Ryde <user42@zip.com.au>
3417
3418 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3419 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3420 and continue processing (Bug#12110).
3421
3422 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3423
3424 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3425 syntax-propertize-function (bug#10095).
3426
3427 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3428
3429 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3430 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3431 describe-function-1.
3432 (describe-function-1): Use them. Move compiler macro after sig.
3433 (help-fns--compiler-macro): Use function-get. Assume we're already in
3434 standard-output. Adjust layout to new call order.
3435
3436 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3437 re-binding a symbol that has a symbol-macro (bug#12119).
3438
3439 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3440
3441 * language/persian.el: New file. (Bug#11812)
3442 * loadup.el: Add language/persian.el.
3443
3444 2012-08-06 Chong Yidong <cyd@gnu.org>
3445
3446 * window.el (window--maybe-raise-frame): New function.
3447 (window--display-buffer): Split off from here.
3448 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3449 (display-buffer-pop-up-window, display-buffer-use-some-window):
3450 Obey an inhibit-switch-frame action alist entry.
3451 (display-buffer): Update doc.
3452
3453 * replace.el (occur-after-change-function): Avoid losing focus by
3454 using the inhibit-switch-frame display parameter (Bug#12139).
3455
3456 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3457
3458 Make internal shell process buffer names start with space.
3459 * progmodes/python.el (python-shell-make-comint): Add optional
3460 argument INTERNAL.
3461 (run-python-internal): Use it.
3462 (python-shell-internal-get-or-create-process): Check for new
3463 internal buffer names.
3464
3465 2012-08-06 Glenn Morris <rgm@gnu.org>
3466
3467 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3468 Do less getting and setting of environment variables.
3469
3470 2012-08-05 Chong Yidong <cyd@gnu.org>
3471
3472 * proced.el (proced): Add substitution string to docstring to
3473 trigger autoloading of the proced library on C-h f (Bug#1768).
3474
3475 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3476 Don't show defvars which have no second argument (Bug#8638).
3477
3478 * imenu.el (imenu-generic-expression): Move documentation here
3479 from imenu--generic-function.
3480 (imenu--generic-function): Refer to imenu-generic-expression.
3481
3482 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3483
3484 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3485 indentation declaration.
3486 (viper-loop): Add indentation declaration (Bug#7025).
3487
3488 2012-08-05 Chong Yidong <cyd@gnu.org>
3489
3490 * help-fns.el (describe-variable): Add hyperlink for
3491 directory-local variables files. Improve buffer-local and
3492 permanent-local reporting; suggested by MON KEY (Bug#6644).
3493
3494 * help-mode.el (help-dir-local-var-def): New button type.
3495
3496 * files.el (kill-buffer-hook): Provide a defvar.
3497
3498 2012-08-05 Glenn Morris <rgm@gnu.org>
3499
3500 * eshell/esh-ext.el (eshell/addpath):
3501 Also update eshell-path-env. (Bug#12013)
3502
3503 2012-08-05 Chong Yidong <cyd@gnu.org>
3504
3505 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3506
3507 * fringe.el (fringe-styles): Add docstring.
3508 (fringe--check-mode): New function.
3509 (set-fringe-mode, set-fringe-style): Use it.
3510 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3511
3512 * files.el (set-auto-mode): Fix invalid setq call.
3513
3514 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3515
3516 * isearch.el: Misc simplification; use defstruct.
3517 (isearch-mode-map): Dense maps now work like sparse ones.
3518 (isearch--state): New defstruct.
3519 (isearch-string-state, isearch-message-state, isearch-point-state)
3520 (isearch-success-state, isearch-forward-state)
3521 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3522 (isearch-wrapped-state, isearch-barrier-state)
3523 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3524 replaced by defstruct's accessors.
3525 (isearch--set-state): Rename from isearch-top-state and change
3526 calling convention.
3527 (isearch-push-state): Use new isearch--get-state.
3528 (isearch-toggle-word): Disable regexp when enabling word.
3529 (isearch-message-prefix): Remove unused arg _c-q-hack.
3530 (isearch-message-suffix): Remove unused arg _ellipsis.
3531
3532 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3533
3534 * simple.el (list-processes--refresh): For a server use :host or
3535 :local as the address.
3536 (list-processes): Doc fix.
3537
3538 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3539
3540 * lisp/mpc.el: Support password in host argument.
3541 (mpc--proc-connect): Parse and use new password element.
3542 Set mpc-proc variable instead of returning process.
3543 (mpc-proc): Adjust accordingly.
3544
3545 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3546
3547 * whitespace.el (whitespace-display-mappings): Use Unicode
3548 codepoints, instead of emacs-mule codepoints. See
3549 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3550 for the details.
3551
3552 * files.el (file-truename): Don't skip symlink-chasing part on
3553 windows-nt. Incorporate the resolution of 8+3 short aliases on
3554 Windows into the loop that recursively chases symlinks.
3555 Compare directory and its parent case-insensitively on MS-Windows and
3556 MS-DOS.
3557
3558 2012-08-03 Chong Yidong <cyd@gnu.org>
3559
3560 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3561
3562 * sort.el (sort-regexp-fields): Doc fix.
3563
3564 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3565
3566 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3567 labels regex position point at the expected place.
3568
3569 2012-08-03 MON KEY <monkey@sandpframing.com>
3570
3571 * net/imap.el (imap-interactive-login, imap-authenticate)
3572 (imap-mailbox-lsub, imap-mailbox-list)
3573 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3574 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3575 (imap-parse-response): Doc fix.
3576
3577 2012-08-03 João Távora <joaotavora@gmail.com>
3578
3579 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3580 if sexp scanning does not move point (Bug#5734).
3581
3582 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3583
3584 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3585 Add listings, minted, and ctable packages.
3586 (reftex-label-alist-builtin): Move listings, minted, and ctable
3587 entries before LaTeX.
3588 (reftex-label-alist): Docfix.
3589
3590 2012-08-02 Bastien Guerry <bzg@gnu.org>
3591
3592 * replace.el (occur): Fix docstring (bug#12122).
3593
3594 2012-08-02 Glenn Morris <rgm@gnu.org>
3595
3596 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3597
3598 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3599
3600 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3601 * international/mule-cmds.el: Create
3602 inactivate-current-input-method-function as an obsolete alias for
3603 deactivate-current-input-method-function. See Katsumi Yamaoka in
3604 <http://bugs.gnu.org/10150#46>.
3605
3606 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3607
3608 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3609 of nested `if's.
3610
3611 2012-08-01 Glenn Morris <rgm@gnu.org>
3612
3613 * progmodes/autoconf.el (autoconf-definition-regexp):
3614 Add AH_TEMPLATE, adjust submatch numbering.
3615 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3616 (autoconf-current-defun-function): Update for above change.
3617 (autoconf-current-defun-function): First skip to end of current word.
3618
3619 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3620
3621 * calendar/cal-html.el (cal-html-insert-agenda-days):
3622 Fix typo. (Bug#12018)
3623
3624 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3625
3626 Shell processes: enhancements to startup and CEDET compatibility.
3627 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3628 (python-shell-make-comint): accept-process-output at startup.
3629 (run-python-internal): Set inferior-python-mode-hook to nil.
3630 (python-shell-internal-get-or-create-process): call sit-for.
3631 (python-preoutput-result): Add obsolete alias.
3632 (python-shell-internal-send-string): Use it.
3633 (python-shell-send-setup-code): Remove call to
3634 accept-process-output.
3635
3636 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3637
3638 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3639 (Bug#12108)
3640
3641 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3642
3643 * calc-mode.el (calc-basic-simplification-mode): Rename from
3644 `calc-limited-simplification-mode'.
3645 (calc-alg-simplification-mode): New function.
3646 (calc-set-simplify-mode): Adjust message.
3647
3648 * calc.el (calc-set-mode-line): Adjust mode line display for
3649 basic simplification mode.
3650
3651 * calc-help.el (calc-m-prefix-help): Update help message.
3652
3653 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3654 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3655
3656 2012-07-31 Bastien Guerry <bzg@gnu.org>
3657
3658 * man.el (man): Fix comment. (bug#12101)
3659
3660 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3661
3662 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3663 Don't return a non-nil value when no suitable buffer was found.
3664
3665 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3666
3667 * progmodes/python.el (run-python-internal): Disable font lock for
3668 internal shells.
3669
3670 2012-07-30 Stefan Merten <smerten@oekonux.de>
3671
3672 * textmodes/rst.el: Silence `checkdoc-ispell'.
3673 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3674 (rst-official-version, rst-official-cvs-rev)
3675 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3676 (rst-mode-map): New key binding.
3677
3678 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3679
3680 Update .PHONY listings in makefiles.
3681 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3682 autoloads, update-subdirs, updates, bzr-update, update-authors,
3683 compile-onefile, compile-calc, backup-compiled-files,
3684 compile-after-backup, compile-one-process, mh-autoloads,
3685 bootstrap-clean, distclean, maintainer-clean.
3686
3687 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3688
3689 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3690 (calc-set-mode-line): Don't display "AlgSimp ".
3691
3692 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3693 (calc-lim-simplify-mode): New function.
3694 (calc-set-simplify-mode): Default to 'alg.
3695 (calc-default-simplify-mode): Make algebraic simplifications
3696 the default.
3697
3698 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3699 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3700
3701 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3702 indicate new simplification modes.
3703
3704 * calc/README: Mention new default simplification mode.
3705
3706 * calc/calc.el (math-normalize-error): New variable.
3707 (math-normalize): Set `math-normalize-error' to t
3708 when there's an error.
3709
3710 * calc/calc-alg.el (math-simplify): Don't simplify when
3711 `math-normalize' returns an error.
3712
3713 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3714
3715 * international/mule-cmds.el (set-locale-environment): Revert last
3716 change, since display-graphic-p returns nil when this function is
3717 called during startup. Instead...
3718
3719 * term/w32console.el (terminal-init-w32console): ...setup the
3720 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3721
3722 2012-07-29 Juri Linkov <juri@jurta.org>
3723
3724 * simple.el (goto-line): Don't display default line number in the
3725 prompt because it should be displayed by `read-number' (bug#9952).
3726 Add the current line number to the defaults of `goto-line' to
3727 allow its easier modification by users with `M-n' (bug#9201).
3728
3729 * subr.el (read-number): Support multiple default values like in
3730 other minibuffer reading functions. Replace `read' with
3731 `string-to-number' for consistency with `number-to-string'.
3732
3733 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3734
3735 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3736 * emulation/viper-init.el (viper-deactivate-input-method-action):
3737 Rename from viper-inactivate-input-method-action.
3738 (viper-deactivate-input-method):
3739 Rename from viper-inactivate-input-method.
3740 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3741 * international/mule-cmds.el (deactivate-input-method):
3742 Rename from inactivate-input-method.
3743 Also run input-method-deactivate-hook.
3744 (deactivate-current-input-method-function):
3745 Rename from inactivate-current-input-method-function.
3746 (input-method-deactivate-hook): New hook.
3747 (input-method-inactivate-hook): Mark obsolete.
3748 (inactivate-input-method): Mark obsolete.
3749
3750 * international/quail.el (quail-activate):
3751 Also run quail-deactivate-hook.
3752 (quail-deactivate): Rename from quail-inactivate.
3753 * international/robin.el (robin-activate):
3754 Also run robin-deactivate-hook.
3755 (robin-deactivate): Rename from robin-inactivate.
3756
3757 2012-07-29 Chong Yidong <cyd@gnu.org>
3758
3759 * simple.el (indicate-copied-region): New function.
3760 (kill-ring-save): Split off from here.
3761
3762 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3763 (kill-rectangle): Set deactivate-mark to t on read-only error.
3764
3765 * register.el (copy-to-register, copy-rectangle-to-register):
3766 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3767 (append-to-register, prepend-to-register): Call indicate-copied-region.
3768
3769 2012-07-29 Juri Linkov <juri@jurta.org>
3770
3771 * simple.el (async-shell-command-buffer): New defcustom.
3772 (shell-command): Use it. (Bug#4719)
3773
3774 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3775
3776 * international/mule-cmds.el (set-locale-environment): In a
3777 console session on MS-Windows, set up keyboard and terminal
3778 encoding from the OEM codepage, not the ANSI codepage.
3779 (Bug#12055)
3780
3781 2012-07-28 Chong Yidong <cyd@gnu.org>
3782
3783 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3784 gdb-get-location.
3785
3786 2012-07-28 Leo Liu <sdl.web@gmail.com>
3787
3788 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3789 the alist (bug#12029).
3790
3791 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3792
3793 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3794 (compile-always, compile-first)
3795 ($(lisp)/calendar/cal-loaddefs.el)
3796 ($(lisp)/calendar/diary-loaddefs.el)
3797 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3798 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3799 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3800 instead of on update-subdirs.
3801 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3802
3803 2012-07-28 Chong Yidong <cyd@gnu.org>
3804
3805 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3806 directory if vc-deduce-backend returns nil (Bug#7350).
3807
3808 * simple.el (delete-trailing-lines): New option.
3809 (delete-trailing-whitespace): Obey it (Bug#11879).
3810
3811 2012-07-28 David Engster <deng@randomsample.de>
3812
3813 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3814 Explanation of new 'symbol-qnames feature in doc-strings.
3815 (xml-maybe-do-ns): Return expanded names as plain symbols if
3816 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3817 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3818
3819 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3820
3821 Consistent completion in inferior python with emacs -nw.
3822 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3823 binding in inferior-python-mode-map with "\t".
3824 (python-shell-completion-complete-at-point)
3825 (python-completion-complete-at-point): Remove interactive spec.
3826
3827 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3828
3829 * calc/calccomp.el (math-compose-expr): Undo previous change.
3830
3831 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3832
3833 * progmodes/python.el (python-mode-map): Add keybinding for
3834 run-python.
3835 (python-shell-make-comint): Fix pop-to-buffer call.
3836 (run-python): Autoload. New arg SHOW.
3837 (python-shell-get-or-create-process): Do not pop python process
3838 buffer.
3839
3840 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3841
3842 * notifications.el (notifications-on-action-signal)
3843 (notifications-on-closed-signal): Use also the bus address for the map.
3844 (notifications-notify, notifications-close-notification)
3845 (notifications-get-capabilities): Add optional argument BUS.
3846
3847 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3848
3849 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3850 Add support for the lstlisting and minted environments, and for the
3851 ctable macro.
3852 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3853 labels written in keyvals syntax.
3854
3855 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3856
3857 * calc/calccomp.el (math-compose-expr): Use parentheses when
3858 there is a product in the denominator of a fraction.
3859
3860 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3861
3862 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3863 ($(lisp)/calendar/diary-loaddefs.el)
3864 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3865 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3866 Fixes failures in parallel bootstrap because subdirs.el is being
3867 rewritten while the autoload files are built at the same time,
3868 which needs to load subdirs.el.
3869
3870 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3871
3872 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3873 (mouse-drag-line): Don't exit tracking when a switch-frame or
3874 switch-window event occurs (Bug#12006).
3875
3876 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * mouse.el (popup-menu): Fix last change.
3879
3880 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3881
3882 Autoload from Lisp with more care. Follow aliases when looking for
3883 function properties.
3884 * subr.el (autoloadp): New function.
3885 (symbol-file): Use it.
3886 (function-get): New function.
3887 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3888 autoload-do-load.
3889 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3890 (lisp-indent-function):
3891 * emacs-lisp/gv.el (gv-get):
3892 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3893 * emacs-lisp/byte-opt.el (byte-optimize-form):
3894 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3895 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3896 Use function-get.
3897 * emacs-lisp/cl.el: Don't propagate function properties any more.
3898
3899 * speedbar.el (speedbar-add-localized-speedbar-support):
3900 * emacs-lisp/disass.el (disassemble-internal):
3901 * desktop.el (desktop-load-file):
3902 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3903 (describe-function-1):
3904 * emacs-lisp/find-func.el (find-function-noselect):
3905 * emacs-lisp/elp.el (elp-instrument-function):
3906 * emacs-lisp/advice.el (ad-has-proper-definition):
3907 * apropos.el (apropos-safe-documentation, apropos-macrop):
3908 * emacs-lisp/debug.el (debug-on-entry):
3909 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3910 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3911 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3912
3913 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3914
3915 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3916 function, not an obsolete variable (Bug#12046).
3917
3918 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3919
3920 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3921
3922 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3923
3924 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3925 window only if it is still live (Bug#12034).
3926
3927 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3928
3929 * subr.el (redirect-frame-focus): Add advertised calling
3930 convention (Bug#12030).
3931
3932 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3933
3934 Prefer typical American spelling for "acknowledgment".
3935 * vc/add-log.el (change-log-acknowledgment): Rename from
3936 change-log-acknowledgement, with an alias for the old name.
3937
3938 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3939
3940 * calc-alg.el (math-simplify-divide): Don't cross multiply
3941 in an equation when the lhs is a variable.
3942
3943 2012-07-24 Julien Danjou <julien@danjou.info>
3944
3945 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3946 Remove, unused.
3947
3948 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3949
3950 * startup.el (command-line): Don't display an empty user name in
3951 the error message about non-existent home directory, when
3952 init-file-user was set to an empty string. See
3953 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3954 for the details and context.
3955
3956 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3957
3958 * ses.el (ses-cell-formula-aset): New macro.
3959 (ses-cell-references-aset): New macro.
3960 (ses-cell-p): New function.
3961 (ses-rename-cell): Do no longer rely on complex operations like
3962 ses-cell-set-formula or ses-set-cell to change the cell and handle
3963 the undo at the same time, but rather use lower level new macros
3964 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3965 the undo directly. Refresh the mode line.
3966
3967 2012-07-21 Leo Liu <sdl.web@gmail.com>
3968
3969 * progmodes/cc-cmds.el (c-defun-name):
3970 Use match-string-no-properties instead for consistency.
3971
3972 2012-07-20 Leo Liu <sdl.web@gmail.com>
3973
3974 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3975 (Bug#7879)
3976
3977 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3978
3979 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3980
3981 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3982 * progmodes/bug-reference.el, misearch.el: Provide themselves
3983 (bug#11915).
3984
3985 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3986 of narrowed buffer (bug#11966).
3987
3988 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3989
3990 * ses.el (ses-rename-cell): Set new name also in reference list of
3991 cells of which the renamed cell depends.
3992
3993 2012-07-20 Masatake YAMATO <yamato@redhat.com>
3994
3995 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3996 to check whether menu-bar is shown or not. If not shown,
3997 show the menu-bar as a popup menu instead of using tmm.
3998 * mouse.el (popup-menu): Accept `point' as `position' argument.
3999
4000 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4001
4002 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4003 up inside string symbol literal (bug#11923).
4004
4005 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4006
4007 * startup.el (fancy-startup-text): Read the whole tutorial, not
4008 just its first 256 bytes. Prevents gibberish in display of the
4009 tutorial title.
4010
4011 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4012
4013 Drop idle buffer compaction due to an absence of the
4014 proved efficiency.
4015 * compact.el: Remove.
4016
4017 2012-07-19 Sam Steingold <sds@gnu.org>
4018
4019 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4020 vc-bzr-pull & vc-bzr-merge-branch.
4021 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4022 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4023 for consistency with compilation-error-regexp-alist.
4024 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4025 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4026 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4027 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4028
4029 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4030
4031 * emacs-lisp/chart.el: Use lexical-binding.
4032 (chart-emacs-storage): Don't hardcode the list of entries.
4033
4034 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4035
4036 Next round of tweaks caused by Fgarbage_collect changes.
4037 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4038
4039 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4040
4041 Compact buffers when idle.
4042 * compact.el: New file.
4043
4044 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * subr.el (eventp): Presume that if it looks vaguely like an event,
4047 it's an event (bug#10190).
4048
4049 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4050
4051 Enhancements to ppss related code (thanks Stefan).
4052 * progmodes/python.el (python-indent-context)
4053 (python-indent-calculate-indentation, python-indent-dedent-line)
4054 (python-indent-electric-colon, python-nav-forward-block)
4055 (python-mode-abbrev-table)
4056 (python-info-assignment-continuation-line-p): Simplify checks
4057 for ppss context.
4058 (python-info-continuation-line-p): Cleanup.
4059 (python-info-ppss-context): Do not catch 'quote.
4060 (python-info-ppss-context-type)
4061 (python-info-ppss-comment-or-string-p): Simplify.
4062
4063 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4064
4065 * progmodes/python.el: Enhancements to eldoc support.
4066 (python-info-current-symbol): New function.
4067 (python-eldoc-at-point): Use python-info-current-symbol.
4068 (python-info-current-defun): Fix cornercase on first defun scan.
4069 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4070 and signal error when no inferior python process is available.
4071
4072 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4073
4074 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4075 assume it's always t.
4076 (vc-git-registered): Remove caching, the function is only called
4077 once.
4078 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4079
4080 2012-07-18 Chong Yidong <cyd@gnu.org>
4081
4082 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4083
4084 * simple.el (count-words): Report on narrowing (Bug#9959).
4085
4086 * bindings.el: Bind M-= to count-words.
4087
4088 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4089
4090 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4091
4092 * progmodes/sh-script.el (sh-imenu-generic-expression):
4093 Capture a function with `function' keyword and without parentheses
4094 like "function FOO" (bug#11856).
4095
4096 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4097
4098 * window.el (split-window-sensibly): Make WINDOW argument
4099 optional.
4100
4101 2012-07-18 Chong Yidong <cyd@gnu.org>
4102
4103 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4104
4105 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4106 and make C-x 8 RET exit isearch (Bug#11439).
4107
4108 * international/iso-transl.el: Move isearch-mode-map key
4109 definitions to isearch.el.
4110
4111 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4112
4113 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4114 (eieio-defclass): Use gv-define-setter when possible.
4115
4116 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4117
4118 Reflect recent changes in Fgarbage_collect.
4119 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4120 reflect new format of data returned by Fgarbage_collect.
4121
4122 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4123
4124 New utility functions + python-info-ppss-context fix (Bug#11910).
4125 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4126 (python-info-ppss-comment-or-string-p): New functions.
4127 (python-info-ppss-context): Small fix for string check.
4128
4129 2012-07-17 Juri Linkov <juri@jurta.org>
4130
4131 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4132 (dired-do-async-shell-command): Don't add `*' at the end of the
4133 command (Bug#11815).
4134 (dired-do-shell-command): Doc fix.
4135 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4136 Join the individual commands using either "&" or ";" as the
4137 separator depending on the values of these trailing characters.
4138 At the end re-add the trailing "&". (Bug#10598)
4139
4140 * simple.el (async-shell-command): Sync the interactive spec with
4141 `shell-command'. Doc fix.
4142 (shell-command): Doc fix.
4143
4144 2012-07-17 Juri Linkov <juri@jurta.org>
4145
4146 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4147
4148 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4149
4150 Final renames and doc fixes for movement commands (bug#11899).
4151 * progmodes/python.el (python-nav-beginning-of-statement):
4152 Rename from python-nav-statement-start.
4153 (python-nav-end-of-statement): Rename from
4154 python-nav-statement-end.
4155 (python-nav-beginning-of-block): Rename from
4156 python-nav-block-start.
4157 (python-nav-end-of-block): Rename from python-nav-block-end.
4158
4159 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4160
4161 * progmodes/python.el (python-shell-send-string-no-output):
4162 Allow accept-process-output to quit, keeping shell process ready for
4163 future interactions (Bug#11868).
4164
4165 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4168
4169 * emacs-lisp/elint.el (elint-find-args-in-code):
4170 Use help-function-arglist, so as to handle lexical byte-code.
4171
4172 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4173 change (bug#11826).
4174
4175 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4178 Avoid spuriously marking the buffer as modified because of c-is-sws.
4179
4180 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4181 as not-a-comment (bug#11946).
4182
4183 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4184 for uninterned vars.
4185
4186 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4187 Use read-event since we don't really want to read chars but bytes.
4188
4189 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4190 $$..$$ but also $..$ using regexps (bug#11953).
4191 Use tex-verbatim for \url and \path.
4192 (tex-font-lock-keywords): Define as defconst like the others.
4193 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4194
4195 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4196
4197 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4198 alias for insert-char.
4199
4200 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4201
4202 * progmodes/python.el: Simplified imenu implementation.
4203 (python-nav-jump-to-defun): Remove command.
4204 (python-mode-map): Use `imenu' instead.
4205 (python-nav-list-defun-positions-cache)
4206 (python-imenu-include-defun-type, python-imenu-make-tree)
4207 (python-imenu-subtree-root-label, python-imenu-index-alist):
4208 Remove vars.
4209 (python-nav-list-defun-positions, python-nav-read-defun)
4210 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4211 (python-imenu-make-tree, python-imenu-create-index):
4212 Remove functions.
4213 (python-mode): Update to interact with imenu by setting
4214 `imenu-extract-index-name-function' only.
4215
4216 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4217
4218 * progmodes/python.el: Enhancements to navigation commands.
4219 (python-nav-backward-sentence)
4220 (python-nav-forward-sentence): Remove.
4221 (python-nav-backward-statement, python-nav-forward-statement)
4222 (python-nav-statement-start, python-nav-statement-end)
4223 (python-nav-backward-block, python-nav-forward-block)
4224 (python-nav-block-start, python-nav-block-end)
4225 (python-nav-forward-sexp-function)
4226 (python-info-current-line-comment-p)
4227 (python-info-current-line-empty-p): New functions.
4228 (python-indent-context): Use `python-nav-statement-start'.
4229
4230 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4231
4232 * eshell/em-ls.el (eshell/ls): Use `apply'.
4233
4234 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4235 multi-hops, instead of Tramp internals.
4236
4237 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4238
4239 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4240 when F1 and F2 are located on different hosts.
4241
4242 2012-07-14 Chong Yidong <cyd@gnu.org>
4243
4244 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4245 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4246 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4247 (xterm-mouse--read-event-sequence-1000)
4248 (xterm-mouse--read-event-sequence-1006): New functions. For old
4249 mouse protocol, handle M-mouse-X events correctly.
4250 (xterm-mouse-event): New arg specifying mouse protocol.
4251 (turn-on-xterm-mouse-tracking-on-terminal)
4252 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4253 sequence to toggle extended coordinates on newer XTerms.
4254 This appears to be harmless on terminals which do not support this.
4255
4256 2012-07-14 Leo Liu <sdl.web@gmail.com>
4257
4258 Add fringe bitmap indicators for flymake. (Bug#11253)
4259 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4260 (flymake-make-overlay): New arg BITMAP.
4261 (flymake-error-bitmap, flymake-warning-bitmap)
4262 (flymake-fringe-indicator-position): New user variables.
4263
4264 * fringe.el: New bitmap exclamation-mark.
4265
4266 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4267
4268 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4269 also (Bug#7879).
4270
4271 2012-07-14 Chong Yidong <cyd@gnu.org>
4272
4273 * electric.el (electric-pair-post-self-insert-function): Fix pair
4274 insertion in empty-region case (Bug#11520).
4275
4276 2012-07-14 Chong Yidong <cyd@gnu.org>
4277
4278 * bindings.el: Consolidate ctl-x-r-map bindings.
4279 Bind copy-rectangle-as-kill to C-x r w.
4280
4281 * rect.el, register.el: Move bindings to bindings.el.
4282
4283 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4284
4285 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4286
4287 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4288
4289 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4290
4291 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4292
4293 * bindings.el (top): Use `mapc' instead of `mapcar'.
4294
4295 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4296
4297 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4298
4299 * progmodes/sql.el (sql-comint): Suppress the check for program on
4300 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4301 (Bug#11908)
4302
4303 2012-07-13 Chong Yidong <cyd@gnu.org>
4304
4305 * bindings.el: Assign a non-nil permanent-local property to
4306 per-buffer variables which lack a default value (Bug#11930).
4307
4308 * help-fns.el (describe-variable): In the "automatically becomes
4309 local" notice, take note of permanent-local variables.
4310
4311 2012-07-13 Chong Yidong <cyd@gnu.org>
4312
4313 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4314 to allow printing the message when called from Lisp.
4315
4316 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4317 Remove toggle-read-only.
4318
4319 * bs.el (bs-toggle-readonly):
4320 * buff-menu.el (Buffer-menu-toggle-read-only):
4321 Remove with-no-warnings around toggle-read-only.
4322
4323 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4324 Remove with-no-warnings around toggle-read-only.
4325 (ffap-read-only, ffap-read-only-other-window)
4326 (ffap-read-only-other-frame): Callers changed.
4327
4328 * help-mode.el: Don't require view package.
4329 (help-mode-finish): Set buffer-read-only instead of calling
4330 toggle-read-only.
4331
4332 * bindings.el (mode-line-toggle-read-only):
4333 * dired.el (dired-toggle-read-only):
4334 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4335 with non-nil second arg.
4336
4337 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4338 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4339 directly.
4340
4341 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4342
4343 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4344 not incf.
4345
4346 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 More CL cleanups and reduction of use of cl.el.
4349 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4350 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4351 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4352 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4353 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4354 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4355 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4356 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4357 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4358 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4359 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4360 * eshell/em-cmpl.el, eshell/em-banner.el:
4361 * calendar/parse-time.el: Use cl-lib.
4362 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4363 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4364 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4365 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4366 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4367 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4368 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4369 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4370 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4371 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4372 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4373 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4374 `lambda' rather than with `quote'.
4375 (eshell-do-opt): Adjust accordingly.
4376 (eshell-process-option): Simplify.
4377 * eshell/esh-var.el:
4378 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4379 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4380 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4381 to `pcase--dontcare'.
4382 * emacs-lisp/cl.el (labels): Mark obsolete.
4383 (cl--letf, letf): Move to cl-lib.
4384 (cl--letf*, letf*): Remove.
4385 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4386 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4387 (cl-progv): Rewrite.
4388 (cl--letf, cl-letf): Move from cl.el.
4389 (cl-letf*): New macro.
4390 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4391
4392 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4393
4394 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4395
4396 2012-07-11 Chong Yidong <cyd@gnu.org>
4397
4398 * vc/log-edit.el (log-edit-vc-backend): New variable.
4399 (log-edit): Doc fix.
4400
4401 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4402 argument of log-edit to set up all local variables.
4403 (vc-start-logentry): New optional arg specifying VC backend.
4404
4405 * vc/vc.el (vc-checkin): Use it.
4406 (vc-deduce-fileset): Handle Log Edit buffers.
4407 (vc-diff): Make first argument optional too.
4408
4409 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4410
4411 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4412
4413 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4414 command, just in case. The function is not needed anymore.
4415 (eshell-external-command): Do not call `eshell-remote-command'.
4416
4417 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4418
4419 Reduce use of (require 'cl).
4420 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4421 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4422 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4423 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4424 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4425 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4426 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4427 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4428 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4429 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4430 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4431 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4432 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4433 (byte-compile-unfold-bcf, byte-compile-check-variable):
4434 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4435 (byte-compile-nilconstp):
4436 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4437 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4438
4439 * emacs-lisp/gv.el (cond): Make it a valid place.
4440 (if): Simplify slightly.
4441
4442 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4443 (pcase--self-quoting-p): New function.
4444 (pcase--u1): Use it.
4445
4446 2012-07-10 Glenn Morris <rgm@gnu.org>
4447
4448 * emacs-lisp/authors.el (authors-fixed-entries):
4449 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4450
4451 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4452
4453 Rename configure.in to configure.ac (Bug#11603).
4454 * emacs-lisp/authors.el (authors-canonical-file-name):
4455 * progmodes/autoconf.el (autoconf-mode):
4456 Prefer configure.ac to configure.in.
4457
4458 2012-07-08 Chong Yidong <cyd@gnu.org>
4459
4460 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4461 Implement the mouse-1-click-follows-link handling properly.
4462
4463 * info.el (Info-link-keymap): Use follow-link mechanism for
4464 header-line links (Bug#374).
4465
4466 * simple.el (deactivate-mark): Do not set the primary selection
4467 if another program has acquired it (Bug#11772).
4468
4469 2012-07-07 Kevin Ryde <user42@zip.com.au>
4470
4471 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4472 (woman-decode-region): Replace escaped-escapes without destroying
4473 bold or underline (Bug#11552).
4474 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4475
4476 2012-07-07 Chong Yidong <cyd@gnu.org>
4477
4478 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4479 (interprogram-cut-function, interprogram-paste-function):
4480 Mention that we typically mean the clipboard.
4481
4482 2012-07-06 Glenn Morris <rgm@gnu.org>
4483
4484 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4485
4486 * files.el (toggle-read-only): Restrict message to interactive use.
4487
4488 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4489
4490 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4491
4492 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4493
4494 2012-07-06 Glenn Morris <rgm@gnu.org>
4495
4496 * Makefile.in (compile-one-process): Rename from "recompile".
4497
4498 * Makefile.in (bzr-update): "compile" is the same as "recompile
4499 autoloads", but parallelizable, so use that instead.
4500
4501 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4502
4503 * window.el (quit-window): Always restore window height when
4504 it's saved in quit-restore parameter (Bug#11810).
4505
4506 2012-07-06 Glenn Morris <rgm@gnu.org>
4507
4508 * simple.el (kill-whole-line): Doc tweak.
4509
4510 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4511
4512 * files.el (file-relative-name): Compare file names
4513 case-insensitively if on MS-Windows or MS-DOS, or if
4514 read-file-name-completion-ignore-case is non-nil. Don't use
4515 case-fold-search for this purpose. (Bug#11827)
4516
4517 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4518
4519 * calendar/cal-dst.el (calendar-current-time-zone):
4520 Return calendar-current-time-zone-cache if non-nil.
4521
4522 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4523 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4524
4525 * calendar/cal-dst.el (calendar-current-time-zone):
4526 Return calendar-current-time-zone-cache if non-nil.
4527
4528 2012-07-06 Glenn Morris <rgm@gnu.org>
4529
4530 * Makefile.in (cvs-update): Remove old alias.
4531
4532 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4533
4534 Sync with Tramp 2.2.6-pre.
4535
4536 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4537 compatible declaration.
4538
4539 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4540 Protect `list-load-path-shadows' call.
4541
4542 * net/tramp-compat.el (top): Require packages, which aren't
4543 autoloaded anymore for XEmacs. Protect call of
4544 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4545 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4546 it hurts at least for SXEmacs.
4547 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4548 standard-value for `temporary-file-directory'.
4549
4550 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4551 Redirect stderr to /dev/null.
4552 (tramp-sh-handle-write-region): uid and gid can be floats.
4553 Reported by Russell Sim <russell.sim@gmail.com>.
4554 (tramp-sh-handle-vc-registered): Hide errors.
4555 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4556 and `start-file-process'.
4557 (tramp-maybe-open-connection): Check also whether `non-essential'
4558 is bound.
4559
4560 2012-07-04 Chong Yidong <cyd@gnu.org>
4561
4562 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4563 (xml-parse-tag): Likewise, and avoid changing entity tables.
4564 (xml-syntax-table): Define from scratch, making sure not to give
4565 x2000 and other Unicode spaces whitespace syntax, since those are
4566 not spaces in XML.
4567 (xml-parse-fragment): Delete unused function.
4568 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4569 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4570 (xml-entity-ref, xml-pe-reference-re)
4571 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4572 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4573 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4574 (xml-entity-value-re): Use syntax references in regexps where
4575 possible; no need to define inside a let-binding.
4576 (xml-parse-dtd): Use xml-pe-reference-re.
4577 (xml-entity-or-char-ref-re): New defconst.
4578 (xml-parse-string, xml-substitute-special): Use it.
4579
4580 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4583 (find-file--read-only): New function.
4584 (find-file-read-only, find-file-read-only-other-window)
4585 (find-file-read-only-other-frame): Use it.
4586 (insert-file-contents-literally): Don't `fset'.
4587 (get-free-disk-space): Use locate-dominating-file.
4588
4589 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4590 function is already compiled.
4591
4592 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4593
4594 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4595
4596 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4597 files on the same host.
4598
4599 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4600
4601 * help-fns.el (describe-function-1): Only call
4602 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4603
4604 2012-07-03 Chong Yidong <cyd@gnu.org>
4605
4606 * xml.el: Protect parser against XML bombs.
4607 (xml-entity-expansion-limit): New variable.
4608 (xml-parse-string, xml-substitute-special): Use it.
4609 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4610
4611 2012-07-03 Glenn Morris <rgm@gnu.org>
4612
4613 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4614 Allow linking to specific messages in debbugs reports (eg 123#5).
4615
4616 2012-07-02 Chong Yidong <cyd@gnu.org>
4617
4618 * xml.el: Fix entity and character reference expansion, allowing
4619 them to expand into markup as per XML spec.
4620 (xml-default-ns): New variable.
4621 (xml-entity-alist): Use XML spec definitions for lt and amp.
4622 (xml-parse-region): Make first two arguments optional.
4623 Discard text properties.
4624 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4625 All callers changed.
4626 (xml-parse-tag): Call xml-parse-tag-1. For backward
4627 compatibility, this function should not modify buffer contents.
4628 (xml-parse-tag-1): Fix opening-tag regexp.
4629 (xml-parse-string): Rewrite, handling entity and character
4630 references properly.
4631 (xml--entity-replacement-text): Signal an error if a parameter
4632 entity is undefined.
4633
4634 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * comint.el (comint-output-filter): Filter out repeated prompts.
4637
4638 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4639 and file-name-absolute-p.
4640 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4641 internal calls.
4642
4643 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4644
4645 Spelling fixes.
4646 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4647 Rename from byte-compile--refiy-function. All uses changed.
4648
4649 2012-07-01 Chong Yidong <cyd@gnu.org>
4650
4651 * xml.el (xml--parse-buffer): New function. Move most of
4652 xml-parse-region here.
4653 (xml-parse-region): Copy region into a temporary buffer, since
4654 parameter entity substitution requires changing buffer contents.
4655 Use xml--parse-buffer.
4656 (xml-parse-file): Use xml--parse-buffer.
4657 (xml-parse-dtd): Make parameter entity substitution work right.
4658 Use proper regexps for ELEMENT declarations (Bug#7172).
4659
4660 2012-06-30 Glenn Morris <rgm@gnu.org>
4661
4662 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4663
4664 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4665 Remove outdated and unnecessary dbus declarations.
4666
4667 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4668
4669 * emacs-lisp/timer.el (timer-until): Subtract results of
4670 float-time, instead of taking float-time of the result of
4671 time-subtract, since float-time signals an error for negative time
4672 arguments.
4673
4674 2012-06-30 Chong Yidong <cyd@gnu.org>
4675
4676 * xml.el (xml-*-re): Convert defvars into defconsts, and
4677 eval-and-compile them so eval-and-compile works on derivatives.
4678 (xml--entity-replacement-text): Use eval-and-comple.
4679
4680 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4681
4682 * vc/vc-git.el (vc-git-registered): Use cache property
4683 `git-registered'.
4684 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4685 `vc-git-working-revision' in order to benefit from the cache.
4686 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4687
4688 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4689
4690 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4691 removed (likely outside Emacs). (Bug#11757)
4692
4693 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4694
4695 * emacs-lisp/cl-lib.el: Require macroexp.
4696
4697 2012-06-30 Chong Yidong <cyd@gnu.org>
4698
4699 * xml.el: Implement XML parameter entities.
4700 (xml-parameter-entity-alist): New variable.
4701 (xml-parse-region, xml-parse-fragment): Preserve previous values
4702 of xml-entity-alist and xml-parameter-entity-alist, so that
4703 repeated calls on different documents do not change them.
4704 (xml-parse-tag): Fix doctype regexp.
4705 (xml--entity-replacement-text): New function.
4706 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4707 properly requires url retrieval which is unimplemented.
4708 (xml-escape-string): Doc fix.
4709
4710 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4713
4714 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4715
4716 * fringe.el (fringe-mode): Doc fix.
4717
4718 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4719
4720 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4721 is non-nil.
4722 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4723 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4724
4725 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4726
4727 * calendar/cal-dst.el (calendar-current-time-zone):
4728 Return calendar-current-time-zone-cache if non-nil.
4729
4730 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4731
4732 * progmodes/which-func.el (which-func-format):
4733 Add mouse-face. (Bug#11698)
4734
4735 2012-06-29 Leo Liu <sdl.web@gmail.com>
4736
4737 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4738
4739 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4740
4741 * minibuffer.el (minibuffer-confirm-exit-commands):
4742 Add completion-at-point (bug#11725).
4743
4744 2012-06-29 Glenn Morris <rgm@gnu.org>
4745
4746 * progmodes/f90.el (f90-font-lock-keywords-2):
4747 Add some preprocessor elements. (Bug#10499)
4748
4749 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4750
4751 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4752 Use syntax-propertize (bug#11739).
4753
4754 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4755
4756 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4757
4758 2012-06-28 Julien Danjou <julien@danjou.info>
4759
4760 * term.el (term-handle-colors-array): Use a set of new faces to
4761 color the terminal. Also uses :inverse-video property.
4762 (term-default-fg-color): Set to nil by default, deprecate in favor
4763 of `term-face'.
4764 (term-default-bg-color): Set to nil by default, deprecate in favor
4765 of `term-face'.
4766 (term-current-face): Use `term-face' by default.
4767 (term-bold-attribute): Variable deleted.
4768
4769 2012-06-28 Glenn Morris <rgm@gnu.org>
4770
4771 * simple.el (completion-list-mode-finish):
4772 Don't use toggle-read-only. (Since completion-list-mode has
4773 a special mode-class, it wasn't doing anything extra anyway.)
4774
4775 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4776
4777 Make inlining of other-mode interpreted functions work (bug#11799).
4778 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4779 (byte-compile): Use it to fix compilation of lexical-binding closures.
4780 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4781 function, if needed.
4782
4783 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * help-mode.el (help-make-xrefs): Don't just withstand
4786 cyclic-variable-indirection but any error in documentation-property.
4787
4788 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4789 memory use.
4790 * bindings.el (bindings--define-key): New function.
4791 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4792 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4793 * bindings.el: Use it to purecopy define-key bindings.
4794
4795 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4796
4797 * emacs-lisp/cl.el (flet): Mark obsolete.
4798 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4799 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4800 * progmodes/js.el (js-c-fill-paragraph):
4801 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4802 (ebrowse-switch-member-buffer-to-derived-class):
4803 * play/5x5.el (5x5-solver): Use cl-flet.
4804
4805 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4806 (cl--symbol-function): New macro.
4807 (cl--letf, cl--letf*): Use it.
4808
4809 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4810 Strip "toggle-" if any.
4811
4812 2012-06-27 Glenn Morris <rgm@gnu.org>
4813
4814 * info.el (Info-default-directory-list): Move here from paths.el.
4815 * paths.el: Remove file, which is now empty.
4816 * loadup.el: No longer load "paths".
4817
4818 * custom.el (custom-initialize-delay): Doc fix.
4819
4820 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4821 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4822 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4823 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4824 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4825 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4826 * eshell/eshell.el (eshell-defgroup): Remove alias.
4827
4828 2012-06-27 Chong Yidong <cyd@gnu.org>
4829
4830 * help.el (help-enable-auto-load): New variable.
4831
4832 * help-fns.el (help-fns--autoloaded-p): New function.
4833 (describe-function-1): Refer to a function as "autoloaded" if it
4834 was autoloaded at any time in the past. Perform autoloading if
4835 help-enable-auto-load is non-nil.
4836
4837 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4838
4839 * makefile.w32-in (compile, compile-always): Depend on
4840 update-subdirs, not on subdirs.el. Otherwise, several different
4841 sub-targets of 'bootstrap' running in parallel could
4842 simultaneously write to subdirs.el, producing a garbled file.
4843
4844 2012-06-26 Sam Steingold <sds@gnu.org>
4845
4846 * files.el (file-name-base): New convenience function.
4847 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4848 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4849 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4850 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4851 * textmodes/ispell.el, textmodes/reftex-ref.el:
4852 * textmodes/tex-mode.el: Use it.
4853 Did not touch cedet and org because they are maintained elsewhere.
4854
4855 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4856
4857 * calendar/calendar.el (calendar-exit): Don't try to delete or
4858 iconify last frame. See:
4859 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4860
4861 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4862
4863 * server.el (server-process-filter): Remember dir in the
4864 process's `server-client-directory' properties.
4865
4866 2012-06-24 Chong Yidong <cyd@gnu.org>
4867
4868 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4869 non-tag text.
4870
4871 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4872
4873 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4874
4875 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4876
4877 * help-fns.el (describe-variable): Don't croak when doc is not found.
4878 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4879 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4880 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4881 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4882 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4883 ((lambda ..) ..).
4884 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4885
4886 2012-06-23 Chong Yidong <cyd@gnu.org>
4887
4888 * info.el (Info-mouse-follow-link): Accept symbol values of
4889 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4890 (Info-fontify-node): Use Info-link-keymap for all navigation
4891 buttons, with link-args property to perform the desired action.
4892 (Info-link-keymap): Doc fix.
4893 (Info-next-link-keymap, Info-prev-link-keymap)
4894 (Info-up-link-keymap): Delete now-unused keymaps.
4895
4896 2012-06-23 Chong Yidong <cyd@gnu.org>
4897
4898 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4899
4900 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4901 system abbrevs.
4902
4903 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4904
4905 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4906
4907 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4908 (bug#11719).
4909
4910 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4911 the requote function doesn't work properly (bug#11714).
4912
4913 2012-06-23 Glenn Morris <rgm@gnu.org>
4914
4915 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4916
4917 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4918
4919 Further GV/CL cleanups.
4920 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4921 gv-expander.
4922 (gv--defun-declaration): New function.
4923 (defun-declarations-alist): Use it.
4924 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4925 (gv-place): Autoload.
4926 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4927 original definition of dotimes and dolist.
4928 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4929 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4930 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4931 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4932 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4933 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4934 to the function's definition.
4935 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4936 * window.el:
4937 * files.el:
4938 * faces.el:
4939 * env.el: Don't use CL.
4940
4941 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4942
4943 Support higher-resolution time stamps (Bug#9000).
4944
4945 * calendar/time-date.el (with-decoded-time-value): New arg
4946 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4947 (encode-time-value): New optional arg PICO. New type 3.
4948 (time-to-seconds) [!float-time]: Support the new picoseconds
4949 component if it's used.
4950 (seconds-to-time, time-subtract, time-add):
4951 Support ps-resolution time stamps as well.
4952
4953 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4954 (timerp): Timer vectors now have length 9, not 8.
4955 (timer--time): Support new-style (4-part) time stamps.
4956 (timer-next-integral-multiple-of-time): Time stamps now have
4957 picosecond resolution, so take a bit more care about rounding.
4958 (timer-relative-time, timer-inc-time): New optional arg psecs.
4959 (timer-set-time-with-usecs): Set psecs to 0.
4960 (timer--activate): Check psecs component, too.
4961
4962 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4963
4964 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4967 Move the non-essential binding to the post/pre-command-hook where it is
4968 more obviously correct.
4969
4970 * subr.el (read-passwd): Don't use a history at all.
4971 * savehist.el (savehist-save): Remove password saved accidentally
4972 because of the above bug.
4973
4974 2012-06-22 Bastien Guerry <bzg@gnu.org>
4975
4976 * files.el (toggle-read-only): Display a message telling whether
4977 the buffer is read-only or not (bug#11726).
4978
4979 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4980
4981 * emacs-lisp/gv.el: New file.
4982 * subr.el (push, pop): Extend to generalized variables.
4983 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4984 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4985 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4986 gv-define-simple-setter, and gv-define-expander.
4987 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4988 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4989 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4990 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4991 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4992 gv-letplace.
4993 (cl-defstruct): Don't define setf-method any more.
4994 * emacs-lisp/cl.el (flet): Don't autoload.
4995 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4996 (define-setf-expander, defsetf, define-modify-macro)
4997 (cl-struct-setf-expander): Move from cl-lib.el.
4998 * emacs-lisp/syntax.el:
4999 * emacs-lisp/ewoc.el:
5000 * emacs-lisp/smie.el:
5001 * emacs-lisp/cconv.el:
5002 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5003 (timer--time): Use gv-define-simple-setter.
5004 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5005 to avoid coding-system problems in subr.el. Adjust all users.
5006 (macroexp--maxsize, macroexp-small-p): New functions.
5007 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5008 * scroll-bar.el (scroll-bar-mode):
5009 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5010 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5011 * winner.el (winner-configuration, winner-make-point-alist)
5012 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5013 * files.el (locate-file-completion-table): Avoid list*.
5014
5015 2012-06-22 Chong Yidong <cyd@gnu.org>
5016
5017 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5018 (dired-create-files): Doc fix (Bug#11329).
5019 (dired-do-copy): Doc fix (Bug#11334).
5020 (dired-mark-read-string): Doc fix (Bug#11553).
5021
5022 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5023 Doc fix (Bug#11326).
5024 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5025 (dired-dwim-target): Doc fix.
5026
5027 * wdired.el (wdired-mode): Doc fix.
5028
5029 2012-06-22 Glenn Morris <rgm@gnu.org>
5030
5031 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5032 (pcmpl-rpm-cache-stamp-file): New constant.
5033 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5034 (pcmpl-rpm-packages): Optionally cache list of packages.
5035
5036 * pcmpl-rpm.el (pcmpl-rpm): New group.
5037 (pcmpl-rpm-query-options): New option.
5038 (pcmpl-rpm-packages): No need to inline it.
5039 Use pcmpl-rpm-query-options.
5040
5041 * calendar/calendar.el (calendar-in-read-only-buffer):
5042 Avoid some needless mode changes.
5043
5044 2012-06-21 Chong Yidong <cyd@gnu.org>
5045
5046 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5047 (desktop-path): Remove . from the default value (Bug#10977).
5048 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5049
5050 2012-06-20 Chong Yidong <cyd@gnu.org>
5051
5052 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5053
5054 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5055
5056 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5057 (bug#11201).
5058
5059 2012-06-20 Chong Yidong <cyd@gnu.org>
5060
5061 * term.el (term-window-width): Handle the case of a missing right
5062 fringe (Bug#8837).
5063 (term-check-size): Use window-text-height (Bug#5445).
5064 (term-mode): Use define-derived-mode. Minor cleanups.
5065 Set font-lock-defaults (Bug#7692).
5066 (term-move-columns, term-insert-char, term-emulate-terminal)
5067 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5068
5069 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5070
5071 * net/ange-ftp.el (ange-ftp-get-passwd):
5072 Bind `enable-recursive-minibuffers'.
5073 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5074
5075 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5076
5077 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5078
5079 2012-06-19 Glenn Morris <rgm@gnu.org>
5080
5081 * progmodes/python.el (python-mode): Derive from prog-mode.
5082
5083 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5084
5085 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5086 (edt-user-menu-bar-update-buffers): New functions.
5087 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5088
5089 2012-06-19 Chong Yidong <cyd@gnu.org>
5090
5091 * subr.el (with-selected-window): Preserve the selected window's
5092 terminal's top-frame (Bug#4702).
5093
5094 * window.el (save-selected-window): Likewise.
5095
5096 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5097
5098 * progmodes/python.el (python-rx-constituents): Move backquote.
5099 (python-skeleton-define, python-define-auxiliary-skeleton):
5100 Use `declare'.
5101
5102 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5103
5104 * minibuffer.el (read-file-name-default): Revert the patch from
5105 2012-06-17.
5106
5107 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5108
5109 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5110 (pcase--u1, pcase--q1): Don't use apply-partially.
5111
5112 2012-06-18 Glenn Morris <rgm@gnu.org>
5113
5114 * progmodes/python.el (python-proc, python-buffer)
5115 (python-send-receive, python-send-string): Fix obsolete versions.
5116
5117 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5118
5119 * window.el (special-display-p): Completely remove stringp
5120 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5121
5122 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5123
5124 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5125
5126 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5127
5128 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5129 * net/tramp-sh.el (tramp-maybe-open-connection):
5130 Throw if `non-essential' is non-nil.
5131
5132 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5133
5134 * window.el (special-display-p): Signal an error if BUFFER-NAME
5135 is not a string (Bug#11713).
5136
5137 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5138
5139 * progmodes/python.el (python-info-beginning-of-backslash):
5140 Rename from python-info-beginning-of-backlash, as a spelling fix.
5141
5142 2012-06-17 Chong Yidong <cyd@gnu.org>
5143
5144 * term.el (term-emulate-terminal): If term-check-size is called,
5145 move point to the process mark without resetting point (Bug#4635).
5146
5147 2012-06-17 Glenn Morris <rgm@gnu.org>
5148
5149 * international/mule-cmds.el (mule-menu-keymap)
5150 (set-language-environment, set-locale-environment): Doc tweaks.
5151
5152 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5153
5154 * cus-face.el (custom-face-attributes): Add wave-style underline
5155 attribute.
5156 * faces.el (set-face-attribute): Update docstring to describe
5157 wave-style underline attribute.
5158
5159 2012-06-16 Chong Yidong <cyd@gnu.org>
5160
5161 * term/xterm.el (terminal-init-xterm): Discard input before
5162 querying background mode (Bug#10959).
5163
5164 2012-06-16 Stefan Merten <smerten@oekonux.de>
5165
5166 * textmodes/rst.el: Added and corrected some comments.
5167 (rst-re-alist-def): Improve symbol syntax.
5168 (rst-mode-syntax-table): Correct syntax entries.
5169 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5170 (rst-official-version, rst-official-cvs-rev): Update version
5171 information.
5172
5173 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5174
5175 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5176 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5177
5178 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5179
5180 * progmodes/python.el: New python.el merge.
5181 (python-guess-indent): Obsolete var.
5182 (python-indent-guess-indent-offset): New defcustom.
5183 (python-indent): Obsolete var.
5184 (python-indent-offset): New defcustom.
5185 (python-python-command, python-jython-command): Delete var.
5186 (python-shell-interpreter): New defcustom.
5187 (python-pdbtrack-do-tracking-p): Delete var.
5188 (python-pdbtrack-activate): New defcustom.
5189 (python-use-skeletons): Obsolete var.
5190 (python-skeleton-autoinsert): New defcustom.
5191 (inferior-python-filter-regexp, python-continuation-offset)
5192 (python-honour-comment-indentation, python-indent-string-contents)
5193 (python-jython-packages, python-mode-hook)
5194 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5195 (python-shell-prompt-alist)
5196 (python-source-modes): Delete defcustoms.
5197 (python-check-buffer-name, python-eldoc-setup-code)
5198 (python-eldoc-string-code, python-ffap-setup-code)
5199 (python-ffap-string-code, python-fill-comment-function)
5200 (python-fill-decorator-function, python-fill-paren-function)
5201 (python-fill-string-function, python-imenu-include-defun-type)
5202 (python-imenu-make-tree, python-imenu-subtree-root-label)
5203 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5204 (python-shell-compilation-regexp-alist)
5205 (python-shell-completion-module-string-code)
5206 (python-shell-completion-pdb-string-code)
5207 (python-shell-completion-setup-code)
5208 (python-shell-completion-string-code)
5209 (python-shell-enable-font-lock, python-shell-exec-path)
5210 (python-shell-extra-pythonpaths)
5211 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5212 (python-shell-process-environment)
5213 (python-shell-prompt-block-regexp)
5214 (python-shell-prompt-output-regexp)
5215 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5216 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5217 (python-shell-virtualenv-path): New defcustoms.
5218 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5219 (inferior-python-mode-syntax-table, python--prompt-regexp)
5220 (python-buffer, python-command python-python-command)
5221 (python-default-template, python-imports, python-indent-index)
5222 (python-indent-list, python-indent-list-length)
5223 (python-mode-running, python-pdbtrack-is-tracking-p)
5224 (python-preoutput-continuation, python-preoutput-leftover)
5225 (python-preoutput-result, python-preoutput-skip-next-prompt)
5226 (python-prev-dir/file, python-recursing)
5227 (python-saved-check-command, python-version-checked)
5228 (python-which-func-length-limit)
5229 (view-return-to-alist): Delete vars.
5230 (python-check-custom-command, python-dotty-syntax-table)
5231 (python-imenu-index-alist, python-indent-current-level)
5232 (python-indent-dedenters, python-indent-levels)
5233 (python-nav-beginning-of-defun-regexp)
5234 (python-nav-list-defun-positions-cache)
5235 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5236 (python-shell-internal-buffer)
5237 (python-skeleton-available): New vars.
5238 (def-python-skeleton): Delete macro.
5239 (python-skeleton-define): New macro.
5240 (python-define-auxiliary-skeleton, python-rx): New macros.
5241 (python-insert-class): Delete command.
5242 (python-skeleton-class): New command.
5243 (python-insert-def): Delete command.
5244 (python-skeleton-def): New command.
5245 (python-insert-for): Delete command.
5246 (python-skeleton-for): New command.
5247 (python-insert-if): Delete command.
5248 (python-skeleton-if): New command.
5249 (python-insert-try/except, python-insert-try/finally): Delete commands.
5250 (python-skeleton-try): New command.
5251 (python-insert-while): Delete command.
5252 (python-skeleton-while): New command.
5253 (python-backspace): Delete command.
5254 (python-indent-dedent-line-backspace): New command.
5255 (python-electric-colon): Delete command.
5256 (python-indent-electric-colon): New command.
5257 (python-guess-indent): Delete command.
5258 (python-indent-guess-indent-offset): New command.
5259 (python-shift-left): Delete command.
5260 (python-indent-shift-left): New command.
5261 (python-shift-right): Delete command.
5262 (python-indent-shift-right): New command.
5263 (python-find-function): Delete command.
5264 (python-nav-jump-to-defun): New command.
5265 (python-next-statement): Delete command.
5266 (python-nav-forward-sentence): New command.
5267 (python-previous-statement): Delete command.
5268 (python-nav-backward-sentence): New command.
5269 (python-fill-paragraph): Delete command.
5270 (python-fill-paragraph-function): New command.
5271 (python-send-buffer): Delete command.
5272 (python-shell-send-buffer): New command.
5273 (python-send-defun): Delete command.
5274 (python-shell-send-defun): New command.
5275 (python-send-region, python-send-region-and-go): Delete commands.
5276 (python-shell-send-region)
5277 (python-shell-switch-to-shell): New commands.
5278 (python-send-string): Delete command.
5279 (python-shell-send-string): New command.
5280 (python-switch-to-python): Delete command.
5281 (python-shell-switch-to-shell): New command.
5282 (python-describe-symbol): Delete command.
5283 (python-eldoc-at-point): New command.
5284 (python--set-prompt-regexp, python-args-to-list)
5285 (python-after-info-look, python-check-version)
5286 (python-check-comint-prompt, python-find-imports)
5287 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5288 (python-unload-function, python-expand-template)
5289 (python-maybe-jython, python-preoutput-filter)
5290 (python-pdbtrack-get-source-buffer)
5291 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5292 (python-pdbtrack-toggle-stack-tracking)
5293 (python-pdbtrack-track-stack-file, python-initial-text)
5294 (python-first-word, python-comment-line-p, python-send-command)
5295 (python-setup-brm, python-sentinel, python-set-proc)
5296 (python-skip-out, python-input-filter, python-outdent-p)
5297 (python-outline-level, python-backslash-continuation-line-p)
5298 (python-end-of-block, python-end-of-statement, python-mark-block)
5299 (python-beginning-of-block, python-beginning-of-statement)
5300 (python-blank-line-p, python-beginning-of-string)
5301 (python-open-block-statement-p): Delete functions.
5302 (python-indent-line, python-indent-line-1): Delete functions.
5303 (python-indent-line): New function.
5304 (python-indentation-levels): Delete function.
5305 (python-indent-calculate-levels): New function.
5306 (python-proc): Delete function.
5307 (python-shell-get-process): New function.
5308 (python-send-receive): Delete function.
5309 (python-shell-send-string-no-output): New function.
5310 (python-module-path): Delete function.
5311 (python-ffap-module-path): New function.
5312 (python-completion-at-point)
5313 (python-symbol-completions): Delete functions.
5314 (python-completion-complete-at-point): New function.
5315 (python-load-file): Delete function.
5316 (python-shell-send-file): New function.
5317 (python-calculate-indentation): Delete function.
5318 (python-indent-calculate-indentation): New function.
5319 (python-skip-comments/blanks): Delete function.
5320 (python-util-forward-comment): New function.
5321 (python-continuation-line-p): Delete function.
5322 (python-info-continuation-line-p): New function.
5323 (python-which-func, python-current-defun): Delete function.
5324 (python-info-current-defun): New function.
5325 (python-beginning-of-defun): Delete function.
5326 (python-nav-beginning-of-defun): New function.
5327 (python-close-block-statement-p)
5328 (python-block-end-p): Delete function.
5329 (python-info-closing-block): New function.
5330 (python-comint-output-filter-function)
5331 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5332 (python-fill-comment, python-fill-decorator, python-fill-paren)
5333 (python-fill-string, python-imenu-make-element-tree)
5334 (python-imenu-make-tree, python-imenu-tree-assoc)
5335 (python-indent-context, python-indent-dedent-line)
5336 (python-indent-line-function)
5337 (python-indent-post-self-insert-function)
5338 (python-indent-toggle-levels)
5339 (python-info-assignment-continuation-line-p)
5340 (python-info-beginning-of-backlash)
5341 (python-info-block-continuation-line-p)
5342 (python-info-closing-block-message)
5343 (python-info-line-ends-backslash-p)
5344 (python-info-looking-at-beginning-of-defun)
5345 (python-info-ppss-context, python-info-ppss-context-type)
5346 (python-nav-list-defun-positions, python-nav-read-defun)
5347 (python-nav-sentence-end, python-nav-sentence-start)
5348 (python-pdbtrack-comint-output-filter-function)
5349 (python-pdbtrack-set-tracked-buffer)
5350 (python-shell-calculate-exec-path)
5351 (python-shell-calculate-process-environment)
5352 (python-shell-completion--do-completion-at-point)
5353 (python-shell-completion--get-completions)
5354 (python-shell-completion-complete-at-point)
5355 (python-shell-completion-complete-or-indent)
5356 (python-shell-get-or-create-process)
5357 (python-shell-get-process-name)
5358 (python-shell-internal-get-or-create-process)
5359 (python-shell-internal-get-process-name)
5360 (python-shell-internal-send-string, python-shell-make-comint)
5361 (python-shell-parse-command, python-shell-send-setup-code)
5362 (python-skeleton-add-menu-items)
5363 (python-util-clone-local-variables, python-util-position)
5364 (run-python-internal, python-indentation-levels)
5365 (python-nav-beginning-of-defun)
5366 (python-completion-complete-at-point): New functions.
5367 (run-python): Change arguments. New API requirements.
5368
5369 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5370
5371 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5372 (bug#11649).
5373
5374 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5375 (macroexp--expand-all): Use it.
5376
5377 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5378 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5379 Use `cl-function' instead.
5380
5381 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5382
5383 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5384 Suggested by Stefan Monnier while discussing bug#11657.
5385
5386 2012-06-14 Sam Steingold <sds@gnu.org>
5387
5388 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5389
5390 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5391
5392 * play/doctor.el (doctor-doc): Remove parameter and use
5393 doctor-sent instead of sent.
5394 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5395
5396 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * files.el: Require cl-lib.
5399 (file-name-non-special): Replace case -> cl-case.
5400
5401 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5402
5403 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5404 mapping from #' to function*.
5405
5406 2012-06-13 Chong Yidong <cyd@gnu.org>
5407
5408 * mouse.el (mouse-drag-track): Do not set the mark if the user
5409 releases the mouse without selecting anything (Bug#11588).
5410
5411 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5412
5413 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5414 as well (bug#11646).
5415
5416 * loadup.el: Count byte-code functions as well.
5417
5418 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5419 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5420
5421 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5422 (bug#11649). Add cl-defun and cl-defmacro.
5423
5424 2012-06-13 Drew Adams <drew.adams@oracle.com>
5425
5426 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5427 Fix last change.
5428
5429 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5430
5431 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5432 Otherwise, it blocks in batch mode.
5433
5434 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5435
5436 * help-mode.el (bookmark-make-record-default): Declare.
5437
5438 2012-06-13 Chong Yidong <cyd@gnu.org>
5439
5440 * emacs-lisp/package.el (list-packages): Compute a list of
5441 packages that are newly-available since the last list-packages
5442 invocation.
5443 (package-menu--new-package-list): New var.
5444 (package-menu--generate, package-menu--print-info)
5445 (package-menu--status-predicate, package-menu-mark-install):
5446 Handle new status label "new".
5447
5448 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5449
5450 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5451 conversion to backquotes.
5452
5453 2012-06-12 Chong Yidong <cyd@gnu.org>
5454
5455 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5456 Rename from gud-inhibit-global-bindings.
5457
5458 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5459
5460 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5461 hook from nxml-glyph-set-hook.
5462
5463 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5464 declaration.
5465
5466 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5467
5468 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5469 Convert to defcustom.
5470
5471 2012-06-12 Drew Adams <drew.adams@oracle.com>
5472
5473 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5474 New functions.
5475 (help-mode): Use them.
5476
5477 2012-06-11 Glenn Morris <rgm@gnu.org>
5478
5479 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5480 Use preprocessor face for directives.
5481 (fortran-directive-re): Doc fix.
5482
5483 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5484
5485 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5486 conversion to backquotes (bug#11652).
5487
5488 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5489 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5490 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5491 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5492 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5493 (cl-ninth, cl-tenth): Mark them as inlinable.
5494 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5495 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5496 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5497 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5498 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5499 (cl-list*, cl-adjoin): Don't put an autoload manually.
5500 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5501 (cl--compiler-macro-list*): Add autoload cookie.
5502 (cl--compiler-macro-cXXr): New function.
5503
5504 * help-fns.el (help-fns--compiler-macro): New function extracted from
5505 describe-function-1; follow aliases and use `compiler-macro' property.
5506 (describe-function-1): Use it.
5507
5508 2012-06-11 Chong Yidong <cyd@gnu.org>
5509
5510 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5511 is uninstalled, if imagemagick is installed.
5512
5513 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5514
5515 * emacs-lisp/cl-lib.el: Use lexical-binding.
5516 (cl-map-extents, cl-maclisp-member): Remove.
5517 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5518 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5519 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5520 * emacs-lisp/cl-extra.el: Use lexical-binding.
5521 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5522 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5523 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5524 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5525 * emacs-lisp/cl-seq.el: Use lexical-binding.
5526 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5527 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5528 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5529 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5530 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5531 CL's internals.
5532
5533 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5534
5535 Sync with Tramp 2.2.6-pre.
5536
5537 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5538 `print-length' and `print-level' to nil, in order to avoid
5539 truncation. Reported by Christopher Schmidt
5540 <christopher@ristopher.com>.
5541
5542 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5543
5544 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5545 New defmacro.
5546 (tramp-compat-copy-directory): Add optional argument
5547 COPY-CONTENTS. It is not handled yet.
5548
5549 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5550 (tramp-ftp-file-name-p): Simplify.
5551
5552 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5553 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5554 connection vector.
5555
5556 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5557 (tramp-methods): Do not use `tramp-password-end-of-line'.
5558 (tramp-completion-function-alist-putty): Handle UNIX case.
5559 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5560 (tramp-do-file-attributes-with-stat)
5561 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5562 gid as real numbers. They could run out of integer range on cygwin.
5563 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5564 (tramp-sh-handle-expand-file-name): Handle hops.
5565 (tramp-open-connection-setup-interactive-shell):
5566 Use `tramp-cleanup'. Move check for busyboxes ...
5567 (tramp-find-shell): ... here. Simplify implementation.
5568 Set "remote-shell" property also for alternative shells.
5569 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5570 If failing, a regular file would be written otherwise.
5571 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5572 (tramp-find-inline-encoding): Cache the coding commands in the
5573 process cache. Apply test command on the remote side, if defined.
5574 (tramp-find-inline-compress): Cache the compress commands in the
5575 process cache.
5576 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5577 when requested. Handle hops.
5578 (tramp-current-connection): New defvar.
5579 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5580 Throw `suppress', if there was a failed connection shortly before.
5581 Handle user interrupt. (Bug#10187)
5582 (tramp-get-inline-compress, tramp-get-inline-coding):
5583 Read connection properties from the process cache.
5584
5585 * net/tramp-smb.el (tramp-smb-server-version)
5586 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5587 New defconsts.
5588 (tramp-smb-prompt): Extend for powershell prompt.
5589 (tramp-smb-file-name-handler-alist): Add handlers for
5590 `process-file', `shell-command' and `start-file-process'.
5591 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5592 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5593 (tramp-smb-file-name-p): Simplify.
5594 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5595 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5596 (tramp-smb-shell-quote-argument): New defuns.
5597 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5598 Implement using "tar". By this, time-stamps are preserved.
5599 (tramp-smb-handle-copy-file): Handle also the case of directories.
5600 (tramp-smb-do-file-attributes-with-stat)
5601 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5602 Use `tramp-get-connection-buffer').
5603 (tramp-smb-handle-rename-file): Use "rename", when source and
5604 target are on the same share.
5605 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5606 Use `tramp-smb-server-version'.
5607 (tramp-smb-wait-for-output): Remove prompt.
5608
5609 * net/tramp.el (top): Require 'cl.
5610 (tramp-methods, tramp-rsh-end-of-line):
5611 Remove `tramp-password-end-of-line' from docstring.
5612 (tramp-save-ad-hoc-proxies): New defcustom.
5613 (tramp-completion-function-alist): Adapt docstring.
5614 (tramp-default-password-end-of-line): Remove defcustom.
5615 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5616 (tramp-user-regexp, tramp-file-name-regexp-unified)
5617 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5618 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5619 (tramp-remote-file-name-spec-regexp): New defconst.
5620 (tramp-file-name-structure): Extend structure for hops.
5621 (tramp-get-method-parameter): Move up.
5622 (tramp-file-name-p, tramp-dissect-file-name)
5623 (with-parsed-tramp-file-name): Handle hops.
5624 (tramp-file-name-hop): New defun.
5625 (tramp-make-tramp-file-name): New optional arg HOP.
5626 (tramp-message-show-progress-reporter-message): New defvar.
5627 (tramp-with-progress-reporter): Use it. We cannot use
5628 `tramp-message-show-message' here, because this suppresses also
5629 error buffers.
5630 (tramp-error-with-buffer): Suppress buffer view, if
5631 `tramp-message-show-message' is nil.
5632 Use `tramp-get-connection-buffer'.
5633 (tramp-cleanup): New defun.
5634 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5635 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5636 an error unchanged.
5637 (tramp-completion-handle-file-name-all-completions): Handle hops.
5638 Fix an error when called from ido.
5639 (tramp-completion-dissect-file-name): Use better local variable
5640 name. Add hop to the vector.
5641 (tramp-handle-insert-file-contents): Use progress-reporter for the
5642 whole scenario.
5643 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5644 to `t'.
5645 (tramp-check-for-regexp): Simplify search.
5646 (tramp-enter-password): Remove it. Move implementation ...
5647 (tramp-action-password): ... here.
5648 (tramp-mode-string-to-int, tramp-local-host-p)
5649 (tramp-make-tramp-temp-file, tramp-read-passwd)
5650 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5651 Set tramp-autoload cookie.
5652
5653 * net/trampver.el: Update release number.
5654
5655 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5656 Michael Albinus <michael.albinus@gmx.de>
5657
5658 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5659 (tramp-parse-group, tramp-parse-file)
5660 (tramp-parse-shostkeys-sknownhosts): New defuns.
5661 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5662 (tramp-parse-shosts-group, tramp-parse-sconfig)
5663 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5664 (tramp-parse-sknownhosts, tramp-parse-hosts)
5665 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5666 Use them.
5667 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5668 (tramp-parse-putty-group): Don't narrow.
5669 (tramp-parse-putty): Make a loop.
5670 (tramp-file-name-handler): Catch the `suppress' signal.
5671
5672 2012-06-11 Chong Yidong <cyd@gnu.org>
5673
5674 * image.el (imagemagick-register-types): Put the ImageMagick entry
5675 at the end of image-type-file-name-regexps.
5676
5677 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5678
5679 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5680 (pcase, pcase-let*, pcase-dolist): Use them.
5681
5682 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5683
5684 * emacs-lisp/pcase.el (pcase--let*): New function.
5685 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5686 (pcase--expand): Use macroexp-let².
5687
5688 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5691 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5692 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5693 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5694 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5695 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5696
5697 2012-06-10 Glenn Morris <rgm@gnu.org>
5698
5699 * mail/rmail.el (rmail-yank-current-message): Leave point at
5700 correct position. (Bug#11660)
5701
5702 2012-06-10 Chong Yidong <cyd@gnu.org>
5703
5704 * allout-widgets.el: Fix code header.
5705
5706 2012-06-10 Chong Yidong <cyd@gnu.org>
5707
5708 * cus-edit.el (customize-changed-options-previous-release):
5709 Bump to 24.1.
5710
5711 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5712
5713 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5714
5715 2012-06-09 Chong Yidong <cyd@gnu.org>
5716
5717 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5718
5719 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5720
5721 * window.el (special-display-popup-frame): Don't use
5722 window--display-buffer (Bug#11651).
5723
5724 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5725
5726 Fix parallel builds: make sure loaddefs.el is not being written
5727 while Lisp files are compiled.
5728 (compile): Don't depend on 'mh-autoloads'.
5729 (compile-CMD, compile-SH): Depend on 'autoloads'.
5730 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5731
5732 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5733
5734 2012-06-09 Chong Yidong <cyd@gnu.org>
5735
5736 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5737 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5738 Doc fixes (Bug#11225).
5739
5740 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5741
5742 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5743 a function if there's a clear indication that it has a compiler-macro.
5744 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5745 (macro-declarations-alist): Add arglist to declaration functions.
5746 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5747 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5748 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5749 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5750 Also add autoload to find the compiler macro.
5751 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5752 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5753 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5754 (cl--compiler-macro-get): New functions, replacing calls to
5755 cl-define-compiler-macro.
5756 (cl-typep) [compiler-macro]: Use macroexp-let².
5757
5758 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5759
5760 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5761 string properly, fixes Bug#11473.
5762
5763 2012-06-08 Chong Yidong <cyd@gnu.org>
5764
5765 * faces.el (set-face-attribute): Doc fix.
5766 (modify-face): Don't use :bold and :italic.
5767 (error, warning, success): Tweak definitions.
5768
5769 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5770 (custom-modified, custom-set, custom-changed, custom-themed)
5771 (custom-saved, custom-button, custom-button-mouse)
5772 (custom-button-pressed, custom-state, custom-comment-tag)
5773 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5774 (custom-group-subtitle): Use new-style face specs.
5775 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5776 (custom-set-face, custom-changed-face, custom-saved-face)
5777 (custom-button-face, custom-button-pressed-face)
5778 (custom-documentation-face, custom-state-face)
5779 (custom-comment-face, custom-comment-tag-face)
5780 (custom-variable-tag-face, custom-variable-button-face)
5781 (custom-face-tag-face, custom-group-tag-face-1)
5782 (custom-group-tag-face): Remove obsolete face alias.
5783
5784 * epa.el (epa-validity-high, epa-validity-medium)
5785 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5786 (epa-field-name, epa-field-body):
5787 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5788 (font-lock-keyword-face, font-lock-builtin-face)
5789 (font-lock-function-name-face, font-lock-variable-name-face)
5790 (font-lock-type-face, font-lock-constant-face):
5791 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5792 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5793 * speedbar.el (speedbar-button-face, speedbar-file-face)
5794 (speedbar-directory-face, speedbar-tag-face)
5795 (speedbar-selected-face, speedbar-highlight-face)
5796 (speedbar-separator-face):
5797 * whitespace.el (whitespace-newline, whitespace-space)
5798 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5799 (whitespace-line, whitespace-space-before-tab)
5800 (whitespace-space-after-tab, whitespace-indentation)
5801 (whitespace-empty):
5802 * emulation/cua-base.el (cua-global-mark):
5803 * eshell/em-prompt.el (eshell-prompt):
5804 * net/newst-plainview.el (newsticker-new-item-face)
5805 (newsticker-old-item-face, newsticker-immortal-item-face)
5806 (newsticker-obsolete-item-face, newsticker-date-face)
5807 (newsticker-statistics-face, newsticker-default-face):
5808 * net/newst-reader.el (newsticker-feed-face)
5809 (newsticker-extra-face, newsticker-enclosure-face):
5810 * net/newst-treeview.el (newsticker-treeview-face)
5811 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5812 (newsticker-treeview-immortal-face)
5813 (newsticker-treeview-obsolete-face)
5814 (newsticker-treeview-selection-face):
5815 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5816 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5817 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5818 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5819 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5820 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5821 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5822 (mpuz-text):
5823 * progmodes/vera-mode.el (vera-font-lock-number)
5824 (vera-font-lock-function, vera-font-lock-interface):
5825 * textmodes/table.el (table-cell): Use new-style face specs, and
5826 don't use the old :bold and :italic attributes.
5827
5828 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5829 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5830 (ebrowse-member-class, ebrowse-progress): Likewise.
5831 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5832 (ebrowse-file-name-face, ebrowse-default-face)
5833 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5834 (ebrowse-progress-face): Remove obsolete faces.
5835
5836 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5837 Inherit from error and warning faces respectively.
5838
5839 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5840 Likewise.
5841 (flyspell-incorrect-face, flyspell-duplicate-face):
5842 Remove obsolete aliases.
5843
5844 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5845
5846 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5847 Avoid infloop.
5848
5849 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5850
5851 * startup.el (argv, argi): Make lexically scoped.
5852 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5853 * emacs-lisp/cl-macs.el: Use lexical-binding.
5854 Rename cl-bind-* to cl--bind-*.
5855 * files.el: Don't require `cl' since it doesn't use it.
5856 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5857
5858 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5859
5860 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5861 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5862 instead of calling external sort utility.
5863 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5864
5865 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5866
5867 * descr-text.el (describe-char): Mention how to insert the
5868 character, if the current input method doesn't support it.
5869 See the discussion in this thread for the details:
5870 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5871
5872 2012-06-08 Sam Steingold <sds@gnu.org>
5873
5874 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5875 XF86Back to previous-buffer.
5876 (minibuffer-local-map): Bind them to next-history-element and
5877 previous-history-element respectively.
5878 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5879 help-go-back respectively.
5880 * info.el (Info-mode-map): Bind them to Info-history-forward and
5881 Info-history-back respectively.
5882 These are the keys next to Up on the ThinkPad keyboard.
5883
5884 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5885
5886 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5887 * emacs-lisp/cl-macs.el: Provide itself.
5888 (cl--labels-convert-cache): New var.
5889 (cl--labels-convert): New function.
5890 (cl-flet, cl-labels): New implementation with new semantics, relying on
5891 lexical-binding.
5892 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5893 (cl-closure-vars, cl--function-convert-cache)
5894 (cl--function-convert): Move from cl-macs.el.
5895 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5896 rename by removing the "cl-" prefix.
5897 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5898
5899 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5900
5901 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5902 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5903 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5904 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5905 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5906 (cl-hash-table-count): Add old compatibility aliases.
5907
5908 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5909 Use macroexpand-all-environment instead.
5910 (cl--old-macroexpand): New var.
5911 (cl--sm-macroexpand): New function.
5912 (cl-symbol-macrolet): Use it during macro expansion.
5913 (cl--function-convert-cache): New var.
5914 (cl--function-convert): New function, extracted from
5915 cl-macroexpand-all.
5916 (cl-lexical-let): Use it.
5917
5918 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5919 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5920 (cl-member): Remove old alias.
5921
5922 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5923 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5924 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5925 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5926 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5927 (cl-macroexpand-cmacs): Remove var.
5928 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5929 Use macroexpand-all instead.
5930
5931 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5932
5933 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5934 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5935 (macroexp-copyable-p): New functions and macros.
5936 * emacs-lisp/edebug.el (edebug-unwrap):
5937 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5938 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5939 (pcase--let*): Remove.
5940 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5941 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5942 macroexp-const-p instead.
5943 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5944
5945 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5946 instead of "cl-" for internal definitions. Use macroexp-const-p.
5947 (cl-old-bc-file-form): Remove var.
5948 (cl-const-exprs-p): Remove fun.
5949 (cl-labels, cl-macrolet): Use backquote.
5950 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5951 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5952 (cl-define-setf-expander): Rename from cl-define-setf-method.
5953 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5954
5955 * international/mule-cmds.el: Don't require CL.
5956 (view-hello-file): Don't use `letf'.
5957
5958 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5959
5960 * tmm.el (tmm-prompt): Use string-prefix-p.
5961 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5962 (tmm-add-prompt): Use minibuffer-completion-help.
5963 (tmm-delete-map): Remove.
5964
5965 * subr.el (kbd): Make it its own function.
5966
5967 2012-06-07 Stefan Merten <smerten@oekonux.de>
5968
5969 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5970 Silence compiler warnings. Fix versions.
5971 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5972 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5973 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5974 (rst-package-emacs-version-alist): Correct Emacs version to
5975 represent major merge with upstream.
5976 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5977
5978 2012-06-06 Glenn Morris <rgm@gnu.org>
5979
5980 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5981 Only print environment variables if set.
5982
5983 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5984
5985 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5986 (macroexp--cons): Rename from maybe-cons.
5987 (macroexp--accumulate): Rename from macroexp-accumulate.
5988 (macroexp--all-forms): Rename from macroexpand-all-forms.
5989 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5990 (macroexp--expand-all): Rename from macroexpand-all-1.
5991
5992 2012-06-06 Sam Steingold <sds@gnu.org>
5993
5994 * calendar/calendar.el (calendar-in-read-only-buffer):
5995 Call `special-mode' to enable the standard read-only keybindings.
5996
5997 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6000 with "loading" messages (bug#11635).
6001
6002 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6003
6004 * files.el (enable-remote-dir-locals): New option.
6005 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6006
6007 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6008 Ensure, that the temp directory is local.
6009
6010 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6011 `temporary-file-directory'.
6012
6013 * progmodes/python.el (python-send-region): Ensure, that the
6014 temporary file is created also in the remote case.
6015
6016 2012-06-06 Glenn Morris <rgm@gnu.org>
6017
6018 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6019 (vc-rcs-update-changelog): Use it.
6020
6021 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6022
6023 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6024 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6025 (vc-sccs-diff): Replace use of the external vcdiff script.
6026
6027 2012-06-05 Glenn Morris <rgm@gnu.org>
6028
6029 * ledit.el: Move to obsolete/.
6030
6031 2012-06-05 Sam Steingold <sds@gnu.org>
6032
6033 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6034 patch (Bug#11140).
6035
6036 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6037
6038 * emacs-lisp/cust-print.el: Move to obsolete.
6039
6040 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6041 compiler-macro expansion.
6042
6043 Add native compiler-macro support.
6044 * emacs-lisp/macroexp.el (macroexpand-all-1):
6045 Support compiler-macros directly. Properly follow aliases and apply
6046 the compiler macros more thoroughly.
6047 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6048 macroexpand now properly follows aliases.
6049 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6050 (cl-compiler-macroexpand): Use new prop.
6051 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6052
6053 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6054
6055 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6056
6057 * window.el (get-lru-window, get-mru-window, get-largest-window):
6058 New argument NOT-SELECTED to avoid picking the selected window.
6059 (window--display-buffer-1, window--display-buffer-2): Replace by
6060 new function window--display-buffer
6061 (display-buffer-same-window, display-buffer-reuse-window)
6062 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6063 Use window--display-buffer.
6064 (display-buffer-use-some-window): Remove temporary dedication
6065 hack by calling get-lru-window and get-largest-window with
6066 NOT-SELECTED argument non-nil. Call window--display-buffer.
6067
6068 2012-06-05 Glenn Morris <rgm@gnu.org>
6069
6070 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6071 Replace external vcdiff script.
6072
6073 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6074
6075 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6076
6077 2012-06-04 Chong Yidong <cyd@gnu.org>
6078
6079 * image.el (imagemagick-types-inhibit): Revert last change.
6080 Add INFO and M.
6081 (imagemagick-enabled-types): Remove CIN and EPS*.
6082
6083 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6084
6085 * emacs-lisp/cl-lib.el: Rename from cl.el.
6086 * emacs-lisp/cl.el: New compatibility file.
6087 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6088 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6089 to obey the "cl-" prefix.
6090 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6091
6092 2012-06-03 Glenn Morris <rgm@gnu.org>
6093
6094 * emacs-lisp/authors.el (authors-aliases): Addition.
6095
6096 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6097 Fix :version.
6098
6099 2012-06-03 Stefan Merten <smerten@oekonux.de>
6100
6101 * textmodes/rst.el: Add comments.
6102 (rst-transition, rst-adornment): New faces.
6103 (rst-adornment-faces-alist): Make default safe to reevaluate.
6104 Fixes
6105 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6106 Improve customization tags.
6107 (rst-define-level-faces): Clarify meaning.
6108
6109 2012-06-03 Chong Yidong <cyd@gnu.org>
6110
6111 * progmodes/compile.el (compilation-mode-line-fail)
6112 (compilation-mode-line-run, compilation-mode-line-exit):
6113 New faces.
6114 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6115
6116 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6117
6118 * progmodes/which-func.el (which-func-update-ediff-windows):
6119 New function. Use it in ediff-select-hook (Bug#11478).
6120
6121 2012-06-03 Chong Yidong <cyd@gnu.org>
6122
6123 * bindings.el: Remove explicit help text from format-mode-line.
6124 It is now supplied by mode-line-default-help-echo.
6125 (mode-line-front-space, mode-line-end-spaces)
6126 (mode-line-misc-info): New variables.
6127 (mode-line-modes, mode-line-position): Move the default value to
6128 the variable definition.
6129 (mode-line-default-help-echo): New defcustom.
6130 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6131 (mode-line-modified-help-echo): New functions.
6132 (mode-line-mule-info, mode-line-modified): Use them.
6133 (mode-line-eol-desc, propertized-buffer-identification):
6134 Consistency fixes for help text.
6135 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6136 set-buffer-file-coding-system (Bug#289).
6137 (mode-line-mule-info-help-echo): Update help text.
6138
6139 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * simple.el (execute-extended-command): Set real-this-command
6142 (bug#11506).
6143
6144 2012-06-02 Chong Yidong <cyd@gnu.org>
6145
6146 Remove incorrect uses of "modeline" in comments, docstrings, and
6147 function/variable names (Bug#10329).
6148
6149 * cus-edit.el (mode-line):
6150 * dframe.el (dframe-mouse-hscroll):
6151 * emacs-lisp/re-builder.el:
6152 * emacs-lisp/easy-mmode.el (define-minor-mode):
6153 * frame.el (set-frame-name):
6154 * help.el (lookup-minor-mode-from-indicator):
6155 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6156 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6157 (c-toggle-hungry-state):
6158 * progmodes/antlr-mode.el (antlr-language-alist):
6159 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6160 * progmodes/vhdl-mode.el (vhdl-mode):
6161 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6162 * term/ns-win.el (ns-face-at-pos):
6163 * term/sup-mouse.el (sup-mouse-report):
6164 * textmodes/flyspell.el (flyspell-mode-line-string):
6165 * textmodes/ispell.el (ispell-highlight-face):
6166 * textmodes/reftex-global.el:
6167 * vc/vc-arch.el (vc-arch-mode-line-string):
6168 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6169 * vc/vc-git.el (vc-git-mode-line-string):
6170 * vc/vc-hooks.el (vc-display-status)
6171 (vc-default-mode-line-string):
6172 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6173
6174 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6175
6176 * dired.el (dired-sort-set-mode-line): Rename from
6177 dired-sort-set-modeline. All callers changed.
6178
6179 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6180 eshell-status-in-modeline.
6181
6182 * foldout.el (foldout-mode-line-string): Rename from
6183 foldout-modeline-string. All callers changed.
6184 (foldout-update-mode-line): Rename from foldout-update-modeline.
6185
6186 * subr.el (redraw-modeline): Make into obsolete alias.
6187
6188 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6189 timeclock-modeline-display. Make old name an alias.
6190 (timeclock-update-mode-line): Likewise. All callers changed.
6191 (timeclock-mode-line-display): No need to check before using
6192 add-hook.
6193 (timeclock-relative, timeclock-day-over-hook)
6194 (timeclock-use-elapsed, timeclock-mode-string)
6195 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6196
6197 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6198 crisp-mode-modeline-string.
6199
6200 * play/solitaire.el (solitaire-build-mode-line): Rename from
6201 solitaire-build-modeline. All callers changed.
6202
6203 * play/zone.el (zone-hiding-mode-line): Rename from
6204 zone-hiding-modeline. All callers changed.
6205 (zone): Remove unusued `modeline-hidden-level' property.
6206
6207 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6208 xscheme-modeline-initialize. All callers changed.
6209
6210 * strokes.el (strokes-lighter): Rename from
6211 strokes-modeline-string.
6212
6213 * textmodes/sgml-mode.el (html-face-tag-alist)
6214 (html-tag-face-alist): Use mode-line face instead of obsolete
6215 alias modeline.
6216
6217 2012-06-02 Stefan Merten <smerten@oekonux.de>
6218
6219 * textmodes/rst.el: Always require `cl'.
6220 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6221
6222 2012-06-02 Chong Yidong <cyd@gnu.org>
6223
6224 * image.el (imagemagick-enabled-types): Rename from
6225 imagemagick-types-enable. Add many more types.
6226 (imagemagick-types-inhibit): Change default to nil.
6227 (imagemagick-filter-types): Caller changed.
6228
6229 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6230
6231 * emacs-lisp/cl-macs.el: Use backquotes.
6232 (cl-transform-function-property): Use eval-and-compile rather than
6233 abusing `require'.
6234 (defstruct): Use declare-function instead of with-no-warnings.
6235
6236 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6237 (byte-compile-output-docform): Re-add the print-circle bindings.
6238 (byte-compile-fix-header): Use #$ just because it's shorter.
6239 (byte-compile-output-file-form): Remove defun/defmacro.
6240
6241 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6242
6243 * simple.el (choose-completion): Remove now obsolete binding for
6244 owindow.
6245
6246 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6247
6248 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6249 in order to avoid "Stack overflow in regexp matcher".
6250
6251 2012-05-31 Glenn Morris <rgm@gnu.org>
6252
6253 * image.el: For clarity, call imagemagick-register-types at
6254 top-level, rather than relying on a custom :initialize.
6255 (imagemagick-types-enable): New option. (Bug#11557)
6256 (imagemagick-filter-types): New function. (Bug#7406)
6257 (imagemagick-register-types): Use imagemagick-filter-types.
6258 If disabling support, remove elements altogether rather
6259 than using an impossible regexp.
6260 (imagemagick-types-inhibit): Give it the default init function.
6261
6262 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6263
6264 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6265 Handle arbitrary file name lengths (Bug#11585).
6266
6267 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6268
6269 * desktop.el (desktop-read): Clear previous and next buffers for
6270 all windows and bury *Messages* buffer (bug#11556).
6271
6272 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6273
6274 Add `declare' for `defun'. Align `defmacro's with it.
6275 * emacs-lisp/easy-mmode.el (define-minor-mode)
6276 (define-globalized-minor-mode): Don't autoload the var definitions.
6277 * emacs-lisp/byte-run.el: Use lexical-binding.
6278 (defun-declarations-alist, macro-declarations-alist): New vars.
6279 (defmacro, defun): Use them.
6280 (make-obsolete, define-obsolete-function-alias)
6281 (make-obsolete-variable, define-obsolete-variable-alias):
6282 Use `declare'.
6283 (macro-declaration-function): Mark obsolete.
6284 * emacs-lisp/autoload.el: Use lexical-binding.
6285 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6286
6287 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6288
6289 * textmodes/ispell.el (ispell-with-no-warnings):
6290 Define as a macro.
6291 (ispell-kill-ispell, ispell-change-dictionary):
6292 Use `called-interactively-p' for Emacs instead of obsolete
6293 `interactive-p'.
6294
6295 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6298 (macro-declaration-function): Move var from C code.
6299 (macro-declaration-function): Define function with defalias.
6300 * emacs-lisp/macroexp.el (macroexpand-all-1):
6301 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6302 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6303 defun/defmacro any more.
6304 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6305 Provide fallback for unknown arglist.
6306 (byte-compile-arglist-warn): Change calling convention.
6307 (byte-compile-output-file-form): Move print-vars binding.
6308 (byte-compile-output-docform): Simplify accordingly.
6309 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6310 (byte-compile-defmacro-declaration): Remove.
6311 (byte-compile-file-form-defmumble): Generalize to defalias.
6312 (byte-compile-output-as-comment): Return byte-positions.
6313 Simplify callers accordingly.
6314 (byte-compile-lambda): Use `assert'.
6315 (byte-compile-defun, byte-compile-defmacro): Remove.
6316 (byte-compile-file-form-defalias):
6317 Use byte-compile-file-form-defmumble.
6318 (byte-compile-defalias-warn): Remove.
6319
6320 2012-05-29 Stefan Merten <smerten@oekonux.de>
6321
6322 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6323 possible. Fix authors. Improve comments. Improve loading of `cl'.
6324
6325 (rst-mode-abbrev-table): Merge definition.
6326 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6327 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6328
6329 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6330
6331 * calendar/icalendar.el
6332 (icalendar-export-region): Export UID properly.
6333
6334 2012-05-29 Leo Liu <sdl.web@gmail.com>
6335 * calendar/icalendar.el (icalendar-import-format):
6336 Add `icalendar-import-format-uid' (Bug#11525).
6337 (icalendar-import-format-uid): New.
6338 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6339 Export UID.
6340
6341 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6344 different alternative patterns.
6345 (pcase-codegen): Be more careful to preserve identity.
6346 (pcase--u1): Don't forget to mark vars as used.
6347
6348 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6349 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6350 (byte-compile-from-buffer): ...rather than here.
6351
6352 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6353 functions from byte-compile-function-environment.
6354
6355 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6356
6357 * window.el (window-deletable-p): Avoid deleting the root window
6358 of a frame with an active minibuffer.
6359
6360 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6361
6362 * simple.el (choose-completion): Use quit-window (Bug#11567).
6363
6364 2012-05-29 Chong Yidong <cyd@gnu.org>
6365
6366 * whitespace.el (whitespace-cleanup): Fix usage of
6367 whitespace-empty-at-bob-regexp (Bug#11492).
6368
6369 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6370
6371 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6372 revert (Bug#11488).
6373
6374 2012-05-29 Juri Linkov <juri@jurta.org>
6375
6376 * isearch.el (isearch-mode-map): Bind `M-s _' to
6377 `isearch-toggle-symbol'. Bind `M-s c' to
6378 `isearch-toggle-case-fold'.
6379 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6380 (isearch-forward): Add `M-s _' to the docstring.
6381 (isearch-forward-symbol, isearch-toggle-case-fold)
6382 (isearch-symbol-regexp): New functions. (Bug#11381)
6383
6384 2012-05-29 Juri Linkov <juri@jurta.org>
6385
6386 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6387 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6388 a function, call it to get the regexp.
6389 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6390 property `isearch-message-prefix' instead of the string "word ".
6391 (isearch-search-fun-default): For the case of `isearch-word',
6392 return a lambda that calls re-search-forward/re-search-backward
6393 with a regexp returned by `word-search-regexp' or by the function
6394 in `isearch-word'.
6395
6396 2012-05-29 Juri Linkov <juri@jurta.org>
6397
6398 * isearch.el (isearch-search-fun-default): New function.
6399 (isearch-search-fun): Move default part to the new function
6400 `isearch-search-fun-default'.
6401 (isearch-search-fun-function): Set the default value to
6402 `isearch-search-fun-default'. (Bug#11381)
6403
6404 * comint.el (comint-history-isearch-end):
6405 Use `isearch-search-fun-default'.
6406 (comint-history-isearch-search): Use `isearch-search-fun-default'
6407 and remove spacial case for `isearch-word'.
6408 (comint-history-isearch-wrap): Remove spacial case for
6409 `isearch-word'.
6410
6411 * hexl.el (hexl-isearch-search-function):
6412 Use `isearch-search-fun-default'.
6413
6414 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6415 Use `word-search-regexp' for `isearch-word'.
6416
6417 * misearch.el (multi-isearch-search-fun):
6418 Use `isearch-search-fun-default'.
6419
6420 * simple.el (minibuffer-history-isearch-search):
6421 Use `isearch-search-fun-default' and remove spacial case for
6422 `isearch-word'.
6423 (minibuffer-history-isearch-wrap): Remove spacial case for
6424 `isearch-word'.
6425
6426 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6427 Remove spacial case for `isearch-word'.
6428 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6429
6430 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6431
6432 Decrease XEmacs incompatibilities.
6433 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6434 Use `string-match'.
6435 (flyspell-delete-region-overlays): Use alternative definition for
6436 XEmacs.
6437 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6438 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6439 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6440 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6441 `define-obsolete-face-alias' under XEmacs, but old method.
6442
6443 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6444 `with-no-warnings' definition or Emacs alias.
6445 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6446 (ispell-word): Do not use `region-p' if XEmacs.
6447
6448 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6449
6450 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6451 Check for `ispell-dictionary-base-alist' instead of full
6452 `ispell-dictionary-alist'.
6453 (ispell-init-process): Show spellchecker when starting new Ispell
6454 process.
6455
6456 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6459 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6460
6461 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6462
6463 * version.el (motif-version-string, gtk-version-string)
6464 (ns-version-string): Declare.
6465
6466 2012-05-27 Juri Linkov <juri@jurta.org>
6467
6468 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6469 after the `eval-defun-1' specialcaseing
6470 like in `edebug-eval-defun' (bug#10181).
6471
6472 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6473 like in `eval-defun-1'.
6474
6475 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6476
6477 * mail/sendmail.el (mail-yank-region):
6478 Recognize rmail-yank-current-message in addition to insert-buffer.
6479 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6480 a *mail* buffer created through rmail-start-mail with sendmail as
6481 mail-user-agent.
6482
6483 2012-05-27 Chong Yidong <cyd@gnu.org>
6484
6485 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6486 Default to 256 (Bug#11267).
6487
6488 * help.el (describe-mode): Doc fix.
6489
6490 2012-05-26 Glenn Morris <rgm@gnu.org>
6491
6492 * w32-fns.el (w32-init-info): Remove.
6493 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6494
6495 * info.el (info-initialize): For self-contained NS builds, put the
6496 included info/ directory at the front. (Bug#2791)
6497
6498 * paths.el (Info-default-directory-list): Make it a defcustom,
6499 mainly so that we can use custom-initialize-delay.
6500
6501 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6502
6503 * subr.el (buffer-has-markers-at): Mark obsolete.
6504
6505 * subr.el (lambda): Use declare.
6506
6507 * emacs-lisp/lisp-mode.el (lambda):
6508 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6509
6510 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6511
6512 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6513
6514 2012-05-26 Glenn Morris <rgm@gnu.org>
6515
6516 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6517
6518 2012-05-25 Glenn Morris <rgm@gnu.org>
6519
6520 * paths.el: Remove no-byte-compile.
6521 * loadup.el: No need to load paths.el uncompiled.
6522
6523 * image.el (imagemagick-types-inhibit): Doc fix.
6524
6525 * version.el: Remove no-byte-compile and associated formatting.
6526 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6527 is ancient code from when there was an "inc-vers.el".
6528
6529 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6530
6531 * progmodes/gdb-mi.el: Minor style changes.
6532 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6533 Turn into minor modes.
6534 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6535 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6536 (gdb-shell): Remove unneeded let-binding.
6537 (gdb-get-many-fields): Eliminate O(n²) behavior.
6538
6539 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6540
6541 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6542 platforms that don't link in fontset.c.
6543
6544 2012-05-25 Juri Linkov <juri@jurta.org>
6545
6546 Use the same diff color scheme as in modern VCSes (bug#10181).
6547
6548 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6549 to avoid confusion with `diff-added' that now uses green colors.
6550 (diff-removed): Use shades of red.
6551 (diff-added): Use shades of green.
6552 (diff-changed): Leave just the yellow color.
6553 (diff-use-changed-face): New variable.
6554 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6555 how to highlight context diff changes.
6556 (diff-refine-change): Use shades of yellow.
6557 (diff-refine-removed): New face that uses shades of red.
6558 (diff-refine-added): New face that uses shades of green.
6559 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6560 `diff-refine-removed' in the call to `smerge-refine-subst'
6561 depending on the value of `diff-use-changed-face'.
6562
6563 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6564 (smerge-other): Use shades of green.
6565 (smerge-base): Use shades of yellow.
6566 (smerge-refined-change): Empty face.
6567 (smerge-refined-removed): New face that uses shades of red.
6568 (smerge-refined-added): New face that uses shades of green.
6569 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6570 args `props-r' and `props-a', and use them. Doc fix.
6571 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6572 on its value use different faces `smerge-refined-change',
6573 `smerge-refined-removed', `smerge-refined-added' in the call to
6574 `smerge-refine-subst'.
6575
6576 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6577 Add face condition `min-colors 88' with shades of red.
6578 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6579 `min-colors 88' with shades of green.
6580 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6581 `min-colors 88' with shades of yellow.
6582
6583 2012-05-24 Glenn Morris <rgm@gnu.org>
6584
6585 * paths.el (prune-directory-list, remote-shell-program): Move to...
6586 * files.el (prune-directory-list, remote-shell-program): ...here.
6587 For the latter, delay initialization, prefer ssh, just search PATH.
6588
6589 * paths.el (term-file-prefix): Move to faces.el (the only user).
6590 * faces.el (term-file-prefix): Move here, make it a defcustom.
6591
6592 * paths.el (news-directory, news-path, news-inews-program):
6593 Move to gnus/nnspool.el.
6594
6595 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6596
6597 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6598 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6599 Make the latter a defcustom, with a delayed initialization.
6600
6601 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6602 These were deleted from Gnus itself late 2010.
6603
6604 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6605
6606 * progmodes/which-func.el (which-func-ff-hook):
6607 Check against user-error, not error.
6608
6609 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6610 cl-specs.el, which no longer exists.
6611
6612 2012-05-22 Glenn Morris <rgm@gnu.org>
6613
6614 * info.el (info-emacs-bug): New command.
6615 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6616 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6617
6618 2012-05-21 Glenn Morris <rgm@gnu.org>
6619
6620 * makefile.w32-in (update-subdirs-SH):
6621 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6622
6623 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6626
6627 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6628 Simplify Maven regexp, and make sure the file can't start with a space
6629 (bug#11517).
6630
6631 2012-05-21 Glenn Morris <rgm@gnu.org>
6632
6633 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6634 Scrap superfluous subshells.
6635
6636 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6639 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6640
6641 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6642
6643 * calc/calc.el (calc-ensure-consistent-units): New variable.
6644
6645 * calc/calc-units.el (math-consistent-units-p)
6646 (math-check-unit-consistency): New functions.
6647 (calc-quick-units, calc-convert-units):
6648 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6649 is non-nil.
6650 (calc-extract-units): Fix typo.
6651
6652 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6653
6654 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6655
6656 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6657 (flyspell-default-deplacement-commands): Don't spell check after
6658 repeated window/frame switches (e.g. triggered by mouse-movement).
6659 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6660 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6661 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6662 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6663 Remove unused vars.
6664 (flyspell-get-casechars, flyspell-get-not-casechars):
6665 Simplify; Don't bother removing a ] just to add it back.
6666 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6667
6668 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6669
6670 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6671 New functions.
6672 (math-function-table): Add support for more C functions.
6673
6674 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6675
6676 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6677 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6678 Protect delay handling for otherchars against empty otherchars.
6679
6680 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6681
6682 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6683 their respective macro declarations.
6684 * skeleton.el (define-skeleton):
6685 * progmodes/compile.el (define-compilation-mode):
6686 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6687 (define-ibuffer-filter):
6688 * emacs-lisp/generic.el (define-generic-mode):
6689 * emacs-lisp/easy-mmode.el (define-minor-mode)
6690 (define-globalized-minor-mode):
6691 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6692 * emacs-lisp/byte-run.el (defsubst):
6693 * custom.el (deftheme): Add doc-string metadata.
6694
6695 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6696
6697 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6698
6699 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6702
6703 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6704 * emacs-lisp/cl-macs.el: Idem.
6705 * emacs-lisp/cl-specs.el: Remove.
6706
6707 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6708
6709 Minor renaming of internal CL functions and variables.
6710 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6711 (cl--position): Rename from cl-position.
6712 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6713 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6714 (cl--random-state): Rename from *random-state*.
6715
6716 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6717
6718 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6719 parens around the arg list (bug#11499).
6720
6721 2012-05-17 Juri Linkov <juri@jurta.org>
6722
6723 * isearch.el (word-search-regexp, word-search-backward)
6724 (word-search-forward, word-search-backward-lax)
6725 (word-search-forward-lax): Move functions from search.c
6726 (bug#10145, bug#11381).
6727
6728 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6729
6730 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6731 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6732 Delay for otherchars as for normal word components.
6733
6734 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6735
6736 * minibuffer.el (completion--sifn-requote): Fix last change.
6737 (minibuffer-local-must-match-filename-map):
6738 Move define-obsolete-variable-alias before its var.
6739
6740 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6741
6742 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6743
6744 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6745 behavior.
6746 (completion--string-equal-p): New function.
6747 (completion--twq-all): Use it to get better assertion failure data.
6748
6749 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6750 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6751 (shell--requote-argument): New functions.
6752 (shell-completion-vars): Use them.
6753 (shell--parse-pcomplete-arguments): Rename from
6754 shell-parse-pcomplete-arguments.
6755 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6756 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6757 Obey comint-file-name-quote-list.
6758
6759 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6760 (smie-indent-keyword): Use it.
6761
6762 2012-05-14 Stefan Merten <smerten@oekonux.de>
6763
6764 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6765
6766 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 * net/rlogin.el (rlogin-mode-map): Fix last change.
6769
6770 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6771
6772 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6773 the following \r\n using a single `process-send-string', since the
6774 Lotus SMTP server refuses to accept any commands if they are sent
6775 with two `process-send-string's (Bug#11444).
6776
6777 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6778
6779 * shell.el (shell-parse-pcomplete-arguments):
6780 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6781
6782 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6783
6784 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6785 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6786 (image-transform-width, image-transform-fit-width): New functions.
6787 (image-transform-properties): Use them.
6788 (image-transform-check-size): New function.
6789 (image-toggle-display-image): Use it (for testing).
6790 (image-transform-set-rotation): Reduce angle mod 360.
6791 Delete obsolete comment.
6792
6793 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6794
6795 * image-mode.el: Fix scaling (bug#11399).
6796 (image-transform-resize): Doc fix.
6797 (image-transform-properties): Default scale is 1 and height should
6798 be an integer.
6799
6800 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6801
6802 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6803 than hard-coding `car', to fix misbehavior when moving forward.
6804
6805 2012-05-13 Chong Yidong <cyd@gnu.org>
6806
6807 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6808 (tabulated-list-entries, tabulated-list-padding)
6809 (tabulated-list-sort-key): Make permanent-local.
6810
6811 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6812 (electric-buffer-list): Put electric buffer menu
6813 command descriptions in this docstring, instead of the docstring
6814 of electric-buffer-menu-mode. Code cleanups.
6815 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6816 Electric-buffer-menu-mode.
6817 (electric-buffer-update-highlight): Minor code cleanup.
6818
6819 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6820
6821 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6822 (Bug#11447)
6823
6824 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6825
6826 Move define-obsolete-variable-alias before the var's definition.
6827 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6828 * tooltip.el (tooltip-hook):
6829 * textmodes/reftex-toc.el (reftex-toc-map):
6830 * textmodes/reftex-sel.el (reftex-select-label-map)
6831 (reftex-select-bib-map):
6832 * textmodes/reftex-index.el (reftex-index-map)
6833 (reftex-index-phrases-map):
6834 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6835 * progmodes/meta-mode.el (meta-mode-map):
6836 * novice.el (disabled-command-hook):
6837 * loadhist.el (unload-hook-features-list):
6838 * frame.el (blink-cursor):
6839 * files.el (find-file-not-found-hooks, write-file-hooks)
6840 (write-contents-hooks):
6841 * emulation/tpu-edt.el (GOLD-map):
6842 * emacs-lock.el (emacs-lock-from-exiting):
6843 * emacs-lisp/generic.el (generic-font-lock-defaults):
6844 * emacs-lisp/chart.el (chart-map):
6845 * dos-fns.el (register-name-alist):
6846 * dired-x.el (dired-omit-files-p):
6847 * desktop.el (desktop-enable):
6848 * cus-edit.el (custom-mode-hook):
6849 * buff-menu.el (buffer-menu-mode-hook):
6850 * bookmark.el (bookmark-read-annotation-text-func)
6851 (bookmark-exit-hooks):
6852 * allout.el (allout-mode-deactivate-hook)
6853 (allout-exposure-change-hook, allout-structure-added-hook)
6854 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6855 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6856 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6857 comes before the corresponding variable's definition.
6858
6859 2012-05-12 Chong Yidong <cyd@gnu.org>
6860
6861 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6862 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6863 (Buffer-menu-mode-map): Bind it.
6864 (Buffer-menu--pretty-name): Add a mouse-face property.
6865
6866 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6867
6868 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6869 (prolog-upper-case-string, prolog-lower-case-string)
6870 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6871 (prolog-use-smie, prolog-smie-grammar): New vars.
6872 (prolog-smie-forward-token, prolog-smie-backward-token)
6873 (prolog-smie-rules): New funs.
6874 (prolog-comment-indent): Remove.
6875 (prolog-mode-variables): Use default comment indentation instead.
6876 Setup SMIE.
6877 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6878 (prolog-mode): Don't call them any more.
6879 (prolog-electric-colon, prolog-electric-dash)
6880 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6881
6882 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6883
6884 * minibuffer.el (completion--twq-all): Again, allow case differences.
6885
6886 * term.el: Move keymap initialization code to be more idiomatic.
6887 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6888 (term-terminal-menu): Move initialization into declaration.
6889 (term-escape-char): Let the user set it in her .emacs.
6890
6891 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6892 Provide SMIE-based indentation (not enabled by default yet).
6893 (sh-mode-map): Don't bind electric keys.
6894 Use electric-pair-mode instead of skeleton-pair.
6895 (sh-assignment-regexp): Fit within 80 columns.
6896 (sh-indent-supported): Specify actual shell name instead of boolean.
6897 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6898 (sh-maybe-here-document): Use it. Make obsolete.
6899 (sh-electric-here-document-mode) New minor mode.
6900 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6901 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6902 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6903 (sh-smie-rc-grammar, sh-use-smie): New vars.
6904 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6905 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6906 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6907 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6908 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6909 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6910 (sh-set-shell): Use smie-setup if requested.
6911
6912 * term.el (term-set-escape-char): Properly set term-escape-char.
6913 See http://stackoverflow.com/questions/10524656.
6914
6915 2012-05-10 Chong Yidong <cyd@gnu.org>
6916
6917 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6918 Use url-generic-parse-url, and handle host names and Windows
6919 filenames properly.
6920 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6921 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6922 URL schemes to work on.
6923 (ffap--toggle-read-only): New function.
6924 (ffap-read-only, ffap-read-only-other-window)
6925 (ffap-read-only-other-frame): Use it.
6926 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6927 necessary for ffap-url-unwrap-remote.
6928
6929 2012-05-10 Dave Abrahams <dave@boostpro.com>
6930
6931 * cus-start.el (create-lockfiles): Add it.
6932
6933 2012-05-09 Chong Yidong <cyd@gnu.org>
6934
6935 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6936 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6937
6938 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6939
6940 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6941
6942 2012-05-09 Chong Yidong <cyd@gnu.org>
6943
6944 * ansi-color.el (ansi-color-process-output): Check for validity of
6945 comint-last-output-start before using it. This avoids a bad
6946 interaction with gdb-mi's input/output buffer.
6947
6948 2012-05-09 Glenn Morris <rgm@gnu.org>
6949
6950 * files.el (dir-locals-read-from-file):
6951 Mention dir-locals in any error message.
6952
6953 2012-05-09 Chong Yidong <cyd@gnu.org>
6954
6955 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6956 package (Bug#11410).
6957
6958 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6959 variables into description.
6960
6961 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6962
6963 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6964 shell-delimiter-argument-list (bug#11348).
6965 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6966
6967 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6968
6969 * textmodes/rst.el: Silence byte-compiler warnings.
6970 (rst-re-alist, rst-reset-section-caches): Move around.
6971 (rst-re): Use `characterp', not `char-valid-p'.
6972 (font-lock-beg, font-lock-end): Declare.
6973
6974 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6975 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6976
6977 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6978
6979 2012-05-08 Glenn Morris <rgm@gnu.org>
6980
6981 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6982
6983 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * vc/log-edit.el: Add GNU coding standards highlighting.
6986 (log-edit-font-lock-gnu-style)
6987 (log-edit-font-lock-gnu-keywords): New vars.
6988 (log-edit-font-lock-keywords): New fun.
6989 (log-edit-mode): Don't fold case in font-lock.
6990 (log-edit-font-lock-keywords): Do not assume case-folding.
6991
6992 * imenu.el: Misc cleanup. Make docstrings out of comments.
6993 Use lexical-binding.
6994 (imenu--index-alist, imenu--last-menubar-index-alist)
6995 (imenu-menubar-modified-tick): Use defvar-local.
6996 (imenu--split-menu): Remove unused var.
6997 (imenu--cleanup-seen): Declare as global.
6998 (imenu--cleanup): Use dolist.
6999
7000 * subr.el (defvar-local): Add debug spec and doc-string position.
7001
7002 2012-05-08 Glenn Morris <rgm@gnu.org>
7003
7004 * language/burmese.el, language/cham.el, language/czech.el:
7005 * language/english.el, language/georgian.el, language/greek.el:
7006 * language/japanese.el, language/khmer.el, language/korean.el:
7007 * language/lao.el, language/misc-lang.el, language/romanian.el:
7008 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7009 * language/thai.el, language/utf-8-lang.el:
7010 Remove no-byte-compile setting.
7011
7012 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7013
7014 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7015
7016 * progmodes/make-mode.el (makefile-browse):
7017 Remove unnecessary interactive. (Bug#11324)
7018
7019 2012-05-07 Glenn Morris <rgm@gnu.org>
7020
7021 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7022
7023 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7024
7025 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 * loadup.el: Preload newcomment.el.
7028 * newcomment.el: Move autoload-only code to toplevel.
7029
7030 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7031 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7032 Handle new :right-align column property.
7033 (tabulated-list-print-col): Idem, plus use `display' text-property to
7034 try and preserve alignment for variable pitch fonts.
7035
7036 2012-05-07 Chong Yidong <cyd@gnu.org>
7037
7038 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7039 (tabulated-list-use-header-line): New var.
7040 (tabulated-list-init-header): Use it.
7041 (tabulated-list-print-fake-header): New function.
7042 (tabulated-list-print): Use it.
7043 (tabulated-list-sort-button-map): Add non-header-line commands.
7044 (tabulated-list-init-header): Add column name property to basic
7045 labels as well.
7046 (tabulated-list-col-sort): Handle non-header-line button case.
7047 (tabulated-list--sort-by-column-name): Fix a corner case.
7048
7049 * buff-menu.el (list-buffers--refresh):
7050 Handle Buffer-menu-use-header-line.
7051
7052 2012-05-06 Chong Yidong <cyd@gnu.org>
7053
7054 * buff-menu.el: Convert to Tabulated List mode.
7055 (Buffer-menu-buffer+size-width): Make obsolete.
7056 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7057 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7058 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7059 documentation into docstring of buffer-menu.
7060 (Buffer-menu-toggle-files-only): Add an informative message.
7061 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7062 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7063 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7064 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7065 (Buffer-menu-execute, Buffer-menu-select)
7066 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7067 (Buffer-menu-bury): Use Tabulated List machinery.
7068 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7069 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7070 Delete.
7071 (list-buffers--refresh): New function.
7072 (list-buffers-noselect): Use it.
7073 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7074 (Buffer-menu--pretty-file-name): New helper functions.
7075
7076 * loadup.el: Preload tabulated-list.
7077
7078 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7079 tabulated-list-sort-column.
7080 (tabulated-list-init-header): Add the initial aligning space even
7081 if tabulated-list-padding is zero.
7082
7083 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7084
7085 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7086 whose cdr is not a cons cell correctly (bug#11038).
7087
7088 2012-05-06 Chong Yidong <cyd@gnu.org>
7089
7090 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7091 Accept additional plist in column descriptors.
7092 (tabulated-list-init-header): Obey it.
7093 (tabulated-list-get-entry): New function.
7094 (tabulated-list-put-tag): Use it. Use string-width instead of
7095 length.
7096 (tabulated-list--column-number): New function.
7097 (tabulated-list-print): Use it.
7098 (tabulated-list-print-col): New function.
7099 Set `tabulated-list-column-name' property on each column's text.
7100 (tabulated-list-print-entry): Use it.
7101 (tabulated-list-delete-entry, tabulated-list-set-col):
7102 New functions.
7103 (tabulated-list-sort-column): New command (Bug#11337).
7104
7105 * buff-menu.el (list-buffers): Move C-x C-b binding from
7106 buff-menu.el to bindings.el.
7107
7108 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7109 :advertised-binding feature.
7110
7111 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7112
7113 * progmodes/compile.el (compilation-internal-error-properties):
7114 Calculate start position correctly when end-col is set but
7115 end-line is not (Bug#11382).
7116
7117 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7118
7119 * man.el (Man-unindent): Use text-property-default-nonsticky to
7120 prevent untabify from inheriting face properties (Bug#11408).
7121
7122 2012-05-05 Stefan Merten <smerten@oekonux.de>
7123
7124 * textmodes/rst.el: Major merge with upstream development up to
7125 Docutils SVN r7399 / rst.el V1.2.1.
7126
7127 Clarify maintainership and authors.
7128
7129 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7130 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7131 (rst-official-version, rst-official-cvs-rev, rst-version)
7132 (rst-package-emacs-version-alist): New functions and variables
7133 for version information.
7134
7135 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7136 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7137 (rst-mode-syntax-table, rst-mode): New and corrected functions
7138 and variables representing reStructuredText features.
7139
7140 (rst-re): New function for reStructuredText regexes. Use in
7141 many places.
7142
7143 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7144 (rst-mode-map): Rebind keys.
7145
7146 (rst-mode-lazy, rst-font-lock-keywords)
7147 (rst-font-lock-extend-region)
7148 (rst-font-lock-extend-region-internal)
7149 (rst-font-lock-extend-region-extend)
7150 (rst-font-lock-find-unindented-line-limit)
7151 (rst-font-lock-find-unindented-line-match)
7152 (rst-adornment-level, rst-font-lock-adornment-level)
7153 (rst-font-lock-adornment-match)
7154 (rst-font-lock-handle-adornment-pre-match-form)
7155 (rst-font-lock-handle-adornment-matcher): Major revision of
7156 font-locking. Integrate with other code. Use `jit-lock-mode'.
7157
7158 (rst-preferred-adornments, rst-adjust-hook)
7159 (rst-new-adornment-down, rst-preferred-bullets)
7160 (rst-preferred-bullets, rst-indent, rst-indent-width)
7161 (rst-indent-field, rst-indent-literal-normal)
7162 (rst-indent-literal-minimized, rst-indent-comment): Change,
7163 extend and improve customization.
7164
7165 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7166 (rst-normalize-cursor-position, rst-get-decoration)
7167 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7168 (rst-rstrip, rst-toc-insert-find-delete-contents)
7169 (rst-shift-fill-region, rst-compute-bullet-tabs)
7170 (rst-debug-print-tabs, rst-debug-mark-found)
7171 (rst-shift-region-guts, rst-shift-region-right)
7172 (rst-shift-region-left, rst-use-char-classes)
7173 (rst-font-lock-keywords-function)
7174 (rst-font-lock-indentation-point)
7175 (rst-font-lock-find-unindented-line-begin)
7176 (rst-font-lock-find-unindented-line-end)
7177 (rst-font-lock-find-unindented-line)
7178 (rst-font-lock-adornment-point, rst-font-lock-level)
7179 (rst-adornment-level-alist): Remove functions and variables.
7180
7181 (rst-compare-adornments, rst-get-adornment-match)
7182 (rst-suggest-new-adornment, rst-get-adornments-around)
7183 (rst-adornment-complete-p, rst-get-next-adornment)
7184 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7185 (rst-straighten-adornments): Standardize function names to
7186 use "adornment" instead of "decoration". Correct callers.
7187 Similar standardizing in many places.
7188
7189 (rst-update-section, rst-adjust, rst-promote-region)
7190 (rst-enumerate-region, rst-bullet-list-region)
7191 (rst-repeat-last-character): Correct use of `interactive'.
7192
7193 (rst-classify-adornment, rst-find-all-adornments)
7194 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7195 (rst-find-leftmost-column, rst-repeat-last-character):
7196 Refactor functions.
7197
7198 (rst-find-title-line, rst-reset-section-caches)
7199 (rst-get-adornments-around, rst-adjust-adornment-work)
7200 (rst-arabic-to-roman, rst-roman-to-arabic)
7201 (rst-insert-list-pos, rst-insert-list-new-item)
7202 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7203 New functions.
7204
7205 (rst-all-sections, rst-section-hierarchy)
7206 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7207 New variables.
7208
7209 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7210 configuration instead of only buffer. Change where necessary.
7211
7212 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7213 (rst-shift-region, rst-adaptive-fill): New functions for
7214 indentation and filling.
7215
7216 (rst-comment-line-break, rst-comment-indent)
7217 (rst-comment-insert-comment, rst-comment-region)
7218 (rst-uncomment-region): New functions for handling comments.
7219
7220 (rst-compile): Quote shell arguments.
7221
7222 (rst-compile-pdf-preview, rst-compile-slides-preview):
7223 Delete temporary files after use.
7224
7225 2012-05-05 Glenn Morris <rgm@gnu.org>
7226
7227 * calendar/cal-html.el: Optionally include holidays in the output.
7228 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7229 (cal-html-holidays): New option.
7230 (cal-html-css-default): Add holiday entry.
7231 (holiday-in-range): Autoload it.
7232 (cal-html-htmlify-entry): Add optional class argument.
7233 (cal-html-htmlify-list): Add optional holidays argument.
7234 (cal-html-insert-agenda-days): Include holidays in the output.
7235 (cal-html-one-month): Maybe include holidays.
7236
7237 * calendar/holidays.el (holiday-in-range):
7238 Move here from cal-tex-list-holidays.
7239 * calendar/cal-tex.el (cal-tex-list-holidays):
7240 Make it an obsolete alias for holiday-in-range. Update all callers.
7241
7242 2012-05-05 Chong Yidong <cyd@gnu.org>
7243
7244 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7245 Nextstep.
7246
7247 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7248
7249 * files.el (file-auto-mode-skip): New var.
7250 (set-auto-mode-1): Use it.
7251
7252 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7253
7254 * repeat.el: Use lexical-binding.
7255 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7256 (repeat-undo-count): Remove.
7257 (repeat):
7258 * progmodes/octave-mod.el (octave-abbrev-start):
7259 * progmodes/f90.el (f90-abbrev-start):
7260 * face-remap.el (text-scale-adjust):
7261 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7262
7263 * emacs-lisp/pcase.el (pcase--let*): New function.
7264 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7265 a bit more.
7266 (pcase--split-pred): Be more clever about ruling out overlap between
7267 a predicate and some constant pattern.
7268 (pcase--q1): Use `null' instead of (eq foo nil).
7269
7270 * subr.el (setq-local, defvar-local): New macros.
7271 (kbd): Redefine as an alias.
7272 (with-selected-window): Leave unrelated frames alone.
7273 (set-temporary-overlay-map): New function.
7274
7275 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7276
7277 * subr.el (user-error): New function.
7278 * window.el (switch-to-buffer):
7279 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7280 (smerge-match-conflict):
7281 * simple.el (previous-matching-history-element)
7282 (next-matching-history-element, goto-history-element, undo-more)
7283 (undo-start):
7284 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7285 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7286 (next-file, tags-loop-scan, list-tags, complete-tag):
7287 * progmodes/compile.el (compilation-loop):
7288 * mouse.el (mouse-minibuffer-check):
7289 * man.el (Man-bgproc-sentinel, Man-goto-page):
7290 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7291 (Info-history-forward, Info-follow-reference, Info-menu)
7292 (Info-extract-menu-item, Info-extract-menu-counting)
7293 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7294 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7295 (Info-next-reference, Info-prev-reference, Info-index)
7296 (Info-index-next, Info-follow-nearest-node)
7297 (Info-copy-current-node-name):
7298 * imenu.el (imenu--make-index-alist)
7299 (imenu-default-create-index-function, imenu-add-to-menubar):
7300 * files.el (basic-save-buffer, recover-file):
7301 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7302 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7303 (checkdoc-message-text, checkdoc-defun):
7304 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7305 * cus-edit.el (customize-changed-options, customize-rogue)
7306 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7307 (custom-variable-mark-to-reset-standard)
7308 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7309 (custom-file):
7310 * completion.el (check-completion-length):
7311 * comint.el (comint-search-arg)
7312 (comint-previous-matching-input-string-position)
7313 (comint-previous-matching-input)
7314 (comint-replace-by-expanded-history-before-point, comint-send-input)
7315 (comint-copy-old-input, comint-backward-matching-input)
7316 (comint-goto-process-mark, comint-set-process-mark):
7317 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7318 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7319
7320 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * dabbrev.el (dabbrev--ignore-case-p): New function.
7323 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7324 Use it.
7325
7326 * files.el (automount-dir-prefix): Mark as obsolete.
7327
7328 2012-05-04 Glenn Morris <rgm@gnu.org>
7329
7330 * patcomp.el, play/bruce.el: Move to obsolete/.
7331
7332 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7333
7334 Fix minor Y10k bugs.
7335 * arc-mode.el (archive-unixdate):
7336 * autoinsert.el (auto-insert-alist):
7337 * calc/calc-forms.el (math-this-year):
7338 * emacs-lisp/copyright.el (copyright-current-year)
7339 (copyright-update-year, copyright):
7340 * tar-mode.el (tar-clip-time-string):
7341 * time.el (display-time-update):
7342 Don't assume years have 4 digits.
7343
7344 2012-05-04 Chong Yidong <cyd@gnu.org>
7345
7346 * dos-w32.el (file-name-buffer-file-type-alist)
7347 (direct-print-region-use-command-dot-com):
7348 * ffap.el (ffap-menu-regexp):
7349 * find-file.el (ff-special-constructs):
7350 * follow.el (follow-debug):
7351 * forms.el (forms--debug):
7352 * iswitchb.el (iswitchb-all-frames):
7353 * ido.el (ido-all-frames):
7354 * emacs-lisp/timer.el (timer-max-repeats):
7355 * mail/feedmail.el (feedmail-mail-send-hook)
7356 (feedmail-mail-send-hook-queued):
7357 * mail/footnote.el (footnote-signature-separator):
7358 * mail/mailabbrev.el (mail-alias-separator-string)
7359 (mail-abbrev-mode-regexp):
7360 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7361 * progmodes/idlwave.el (idlwave-libinfo-file)
7362 (idlwave-default-completion-case-is-down)
7363 (idlwave-library-routines): Convert defvars to defcustoms.
7364
7365 * mail/rmail.el (rmail-decode-mime-charset):
7366 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7367 (idlwave-shell-fix-inserted-breaks)
7368 (idlwave-shell-activate-alt-keybindings)
7369 (idlwave-shell-use-breakpoint-glyph):
7370 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7371
7372 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7373
7374 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7375
7376 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7377
7378 * progmodes/verilog-mode.el (font-lock-keywords):
7379 Fix mis-highligting auto. Reported by Craig Barner.
7380 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7381 defines from global name space. Reported by Dan Dever.
7382 (verilog-auto-reset, verilog-auto-reset-widths)
7383 (verilog-auto-tieoff): Support using unbased numbers for
7384 AUTORESET and AUTOTIEOFF.
7385 (verilog-submit-bug-report): Update variable list.
7386 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7387 parenthesis from not matching. Reported by Michael Rytting.
7388 (verilog-auto-template-lint): Fix hash error when linting modules
7389 with no used templates.
7390 (verilog-warn, verilog-warn-error)
7391 (verilog-warn-fatal): When non-interactive report multiple
7392 warnings before exiting. Suggested by Brad Dobbie.
7393 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7394 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7395 to report unused template errors. Reported by Brad Dobbie.
7396 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7397 nets, bug438. Reported by Vns Blore.
7398 (verilog-auto-inout-module, verilog-auto-reg)
7399 (verilog-read-decls, verilog-read-sub-decls-sig)
7400 (verilog-signals-edit-wire-reg, verilog-signals-with):
7401 Fix passing of Verilog data types in ANSI input/output ports
7402 such as "output logic" into the AUTOs. Special case "wire" and
7403 "reg" for backwards compatibility presuming Verilog 2001.
7404 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7405 (verilog-preprocess): Fix replication of preprocess output.
7406 Reported by Brad Dobbie.
7407 (verilog-auto-inst-interfaced-ports):
7408 Create verilog-auto-inst-interfaced-ports, bug429.
7409 Reported by Julian Gorfajn.
7410 (verilog-after-save-font-hook)
7411 (verilog-before-save-font-hook): New variable.
7412 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7413 (verilog-save-font-mods): Wrap disabling fontification, reported
7414 by David Rogoff.
7415 (verilog-do-indent, verilog-pretty-declarations-auto)
7416 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7417 Reported by Pierre-David Pfister.
7418 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7419 of class declarations, bug292. Reported by Kevin Heilman.
7420 (verilog-read-decls): Fix 'parameter type' not appearing in
7421 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7422 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7423 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7424 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7425 Reported by David Kravitz.
7426
7427 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7428
7429 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7430 assignment with tests in ifs and for loops.
7431 (verilog-extended-complete-re, verilog-complete-reg): Change so
7432 that DPI inport functions don't look like fuction declarations.
7433 (verilog-pretty-expr): Don't line up assignment
7434 operations to the test and increment in if and for loops
7435 (verilog-extended-complete-re, verilog-complete-reg): Change so
7436 that DPI inport functions don't look like fuction declarations.
7437
7438 2012-05-03 Kenichi Handa <handa@m17n.org>
7439
7440 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7441 decoding, and show a warning message without signaling an error
7442 (Bug#11282).
7443
7444 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7445
7446 * emacs-lisp/bytecomp.el
7447 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7448 since cconv.el might have introduced :fun-body, internal-make-closure,
7449 and friends for bytecomp to handle (bug#11391).
7450 * custom.el (defcustom): Avoid ((λ ..) ..).
7451
7452 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7453
7454 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7455
7456 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7457
7458 * notifications.el (dbus-debug):
7459 * term/linux.el (gpm-mouse-enable):
7460 * term/screen.el (xterm-register-default-colors): Declare.
7461
7462 2012-05-02 Chong Yidong <cyd@gnu.org>
7463
7464 * cus-start.el (gc-cons-percentage, exec-suffixes)
7465 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7466 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7467 (make-cursor-line-fully-visible, void-text-area-pointer)
7468 (font-list-limit): Add customization data.
7469
7470 * allout.el (allout-exposure-change-functions)
7471 (allout-structure-added-functions)
7472 (allout-structure-deleted-functions)
7473 (allout-structure-shifted-functions): Rename abnormal hooks from
7474 *-hook, and convert to defcustoms.
7475 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7476 Convert to defcustoms.
7477 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7478
7479 * allout-widgets.el: Hook callers changed.
7480
7481 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7482
7483 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7484 the yanked message in preference to the default value of
7485 buffer-file-coding-system.
7486
7487 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7488
7489 * window.el (display-buffer--action-function-custom-type):
7490 Fix entry.
7491
7492 2012-05-02 Alan Mackenzie <acm@muc.de>
7493
7494 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7495
7496 2012-05-01 Glenn Morris <rgm@gnu.org>
7497
7498 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7499
7500 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7501
7502 * cus-edit.el (custom-variable-documentation): Simplify with format.
7503
7504 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7505 Stefan Monnier <monnier@iro.umontreal.ca>
7506
7507 * simple.el (suggest-key-bindings, execute-extended-command):
7508 Move from keyboard.c.
7509
7510 2012-05-01 Chong Yidong <cyd@gnu.org>
7511
7512 * follow.el: Eliminate advice.
7513 (set-process-filter, process-filter, sit-for): Advice deleted.
7514 (follow-mode-off-hook): Obsolete hook removed.
7515 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7516 Vars deleted.
7517 (follow-auto): Use a :set function.
7518 (follow-mode): Rewritten. Don't advise process filters.
7519 (follow-switch-to-current-buffer-all, follow-scroll-up)
7520 (follow-scroll-down): Assume follow-mode is bound.
7521 (follow-comint-scroll-to-bottom)
7522 (follow-align-compilation-windows): New functions.
7523 (follow--window-sorter): New function.
7524 (follow-all-followers): Use it to explicitly sort windows by their
7525 positions; don't make assumptions about next-window order.
7526 (follow-windows-start-end, follow-delete-other-windows-and-split)
7527 (follow-calc-win-start): Doc fix.
7528 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7529 vertical-motion unnecessarily.
7530 (follow-adjust-window): New function.
7531 (follow-post-command-hook): Use it.
7532 (follow-call-set-process-filter, follow-call-process-filter)
7533 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7534 (follow-stop-intercept-process-output, follow-generic-filter):
7535 Functions deleted.
7536 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7537 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7538 New functions, replacing advice on scroll-bar-* commands.
7539 (follow-mwheel-scroll): New function (Bug#4112).
7540
7541 * comint.el (comint-adjust-point): New function.
7542 (comint-postoutput-scroll-to-bottom): Use it.
7543 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7544
7545 2012-05-01 Glenn Morris <rgm@gnu.org>
7546
7547 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7548 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7549 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7550 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7551 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7552 Remove no-byte-compile setting.
7553
7554 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7555
7556 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7557 all-completions code to not return a number in the last cdr.
7558
7559 2012-04-30 Leo Liu <sdl.web@gmail.com>
7560
7561 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7562 read-only error.
7563
7564 2012-04-29 Chong Yidong <cyd@gnu.org>
7565
7566 * follow.el (follow-calc-win-end): Rewrite to handle partial
7567 screen lines correctly (Bug#8390).
7568 (follow-avoid-tail-recenter): Minor cleanup.
7569
7570 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7571
7572 Avoid the obsolete `assoc' package.
7573 * speedbar.el (speedbar-refresh): Avoid adelete.
7574 (speedbar-file-lists): Simplify and avoid aput.
7575 * man.el (Man--sections, Man--refpages): New vars, replacing
7576 Man-sections-alist and Man-refpages-alist.
7577 (Man-build-section-alist, Man-build-references-alist):
7578 Use them; avoid aput.
7579 (Man--last-section, Man--last-refpage): New vars.
7580 (Man-follow-manual-reference): Use them.
7581 Use the `default' arg of completing-read.
7582 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7583
7584 2012-04-27 Chong Yidong <cyd@gnu.org>
7585
7586 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7587
7588 * startup.el (x-apply-session-resources): New function.
7589
7590 * term/ns-win.el (ns-initialize-window-system):
7591 * term/w32-win.el (w32-initialize-window-system):
7592 * term/x-win.el (x-initialize-window-system): Use it to properly
7593 set menu-bar-mode and other vars from X resources, even if the
7594 initial frame is not a window-system frame (Bug#2299).
7595
7596 * subr.el (read-key): Avoid running filter function when setting
7597 up temporary tool bar entries (Bug#9922).
7598
7599 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7600
7601 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7602 (Bug#11344)
7603
7604 2012-04-27 Chong Yidong <cyd@gnu.org>
7605
7606 * select.el (xselect--encode-string): New function, split from
7607 xselect-convert-to-string.
7608 (xselect-convert-to-string): Use it.
7609 (xselect-convert-to-filename, xselect-convert-to-os)
7610 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7611 returned strings are properly encoded (Bug#11315).
7612
7613 2012-04-27 Chong Yidong <cyd@gnu.org>
7614
7615 * simple.el (delete-active-region): Move to killing custom group.
7616
7617 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7618
7619 * progmodes/which-func.el (which-func-current): Quote %
7620 characters for mode-line processing.
7621
7622 2012-04-27 Chong Yidong <cyd@gnu.org>
7623
7624 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7625 reaching eob (Bug#11286).
7626
7627 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7628
7629 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7630 (gdb): Make it buffer-local and init to zero.
7631 (gdb-control-commands-regexp): New variable.
7632 (gdb-send): Don't wrap in "-interpreter-exec console" if
7633 gdb-control-level is positive. Increment gdb-control-level
7634 whenever the command matches gdb-control-commands-regexp, and
7635 decrement it each time the command is "end". (Bug#11279)
7636
7637 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7638
7639 * window.el (adjust-window-trailing-edge, enlarge-window)
7640 (shrink-window, window-resize):
7641 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7642 windows (Bug#11276).
7643
7644 2012-04-27 Chong Yidong <cyd@gnu.org>
7645
7646 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7647 fix "missing prefix" warning. All callers changed.
7648
7649 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * emacs-lisp/assoc.el: Move to obsolete/.
7652
7653 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7654
7655 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7656
7657 * term/ns-win.el (ns-define-service):
7658 * progmodes/pascal.el (pascal-goto-defun):
7659 * progmodes/js.el (js--read-tab):
7660 * progmodes/etags.el (tags-lazy-completion-table):
7661 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7662 * emacs-lisp/ewoc.el (ewoc--wrap):
7663 * emacs-lisp/assoc.el (aput, adelete, amake):
7664 * doc-view.el (doc-view-convert-current-doc):
7665 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7666
7667 2012-04-26 Chong Yidong <cyd@gnu.org>
7668
7669 * image.el (image-type-from-buffer): Only return supported image
7670 type (Bug#9045).
7671
7672 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7673 value, for symmetry with diff-end-of-hunk.
7674 (diff-split-hunk, diff-find-source-location)
7675 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7676 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7677 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7678 compute the relevant hunk or file properly (Bug#6005).
7679 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7680
7681 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7682
7683 * vc/vc-mtn.el:
7684 * vc/vc-hg.el:
7685 * vc/vc-git.el:
7686 * vc/vc-dir.el:
7687 * vc/vc-cvs.el:
7688 * vc/vc-bzr.el:
7689 * vc/vc-arch.el:
7690 * vc/vc.el: Replace lexical-let by lexical-binding.
7691 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7692 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7693 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7694
7695 2012-04-26 Chong Yidong <cyd@gnu.org>
7696
7697 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7698 (diff-mode-shared-map): Bind it to / and [remap undo].
7699
7700 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7701 (ediff-window-setup-function): Use it as the default, to set up
7702 windows based on whether the current frame is graphical (Bug#2138).
7703 (ediff-choose-window-setup-function-automatically): Make obsolete.
7704
7705 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7706
7707 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7708
7709 * ffap.el: Remove old code for obsolete package.
7710 (ffap-complete-as-file-p): Remove.
7711
7712 Use completion-table-with-quoting for comint and pcomplete.
7713 * comint.el (comint--unquote&requote-argument)
7714 (comint--unquote-argument, comint--requote-argument): New functions.
7715 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7716 (comint-quote-filename): Use regexp-opt-charset.
7717 (comint--common-suffix, comint--common-quoted-suffix)
7718 (comint--table-subvert): Remove.
7719 (comint-unquote-function, comint-requote-function): New vars.
7720 (comint--complete-file-name-data): Use them with
7721 completion-table-with-quoting.
7722 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7723 * pcomplete.el (pcomplete-arg-quote-list)
7724 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7725 (pcomplete-unquote-argument-function): Default to non-nil.
7726 (pcomplete-unquote-argument): Simplify.
7727 (pcomplete--common-quoted-suffix): Remove.
7728 (pcomplete-requote-argument-function): New var.
7729 (pcomplete--common-suffix): New function.
7730 (pcomplete-completions-at-point): Use completion-table-with-quoting
7731 and completion-table-subvert.
7732
7733 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7734 (minibuffer--double-dollars): Preserve properties.
7735 (completion--sifn-requote): New function.
7736 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7737
7738 * minibuffer.el: Add support for completion of quoted/escaped data.
7739 (completion-table-with-quoting, completion-table-subvert): New funs.
7740 (completion--twq-try, completion--twq-all): New functions.
7741 (completion--nth-completion): New function.
7742 (completion-try-completion, completion-all-completions): Use it.
7743
7744 2012-04-25 Leo Liu <sdl.web@gmail.com>
7745
7746 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7747 Use compilation-message if available to find real filename.
7748
7749 2012-04-25 Chong Yidong <cyd@gnu.org>
7750
7751 * vc/diff-mode.el (diff-setup-whitespace): New function.
7752 (diff-mode): Use it.
7753
7754 * vc/diff.el (diff-sentinel):
7755 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7756 Whitespace mode variables based on diff style (Bug#8612).
7757
7758 2012-04-25 Leo Liu <sdl.web@gmail.com>
7759
7760 * progmodes/python.el (python-send-region): Add suffix .py to the
7761 temp file.
7762
7763 * files.el (auto-mode-alist): Use javascript-mode instead.
7764
7765 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7766
7767 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7768
7769 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7770 (soap-resolve-references-for-array-type): Hack to prevent self
7771 references, see Bug#9.
7772 (soap-parse-envelope): Report the contents of the 'detail' node
7773 when receiving a fault reply.
7774 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7775
7776 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7777 (soap-inspect-simple-type): New function.
7778
7779 * net/soap-client.el (soap-simple-type): New struct.
7780 (soap-default-xsd-types, soap-default-soapenc-types)
7781 (soap-decode-basic-type, soap-encode-basic-type):
7782 support unsignedInt and double basic types.
7783 (soap-resolve-references-for-simple-type)
7784 (soap-parse-simple-type, soap-encode-simple-type): New function.
7785 (soap-parse-schema): Parse xsd:simpleType declarations.
7786
7787 * net/soap-client.el (soap-default-xsd-types)
7788 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7789 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7790 the local name of "soapenc:Array".
7791 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7792 decoding integer, byte and anyURI xsd types.
7793
7794 2012-04-25 Chong Yidong <cyd@gnu.org>
7795
7796 * cus-edit.el (custom-buffer-create-internal): Update header text.
7797
7798 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7799
7800 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7801 settings on 'system-type', not on 'window-system'. On MS-Windows,
7802 set interactive-mode on in GDB.
7803
7804 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7805
7806 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7807 (ruby-syntax-propertize-regexp): Remove.
7808 (ruby-syntax-propertize-function): Split regexp into chunks.
7809 Match following code directly.
7810
7811 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7812
7813 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7814 (ruby-syntax-propertize-regexp): New function.
7815 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7816 by a special keyword.
7817
7818 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7819 (ruby-syntax-general-delimiters-goto-beg)
7820 (ruby-syntax-propertize-general-delimiters): New functions.
7821 (ruby-syntax-propertize-function): Use them to handle GDL.
7822 (ruby-font-lock-keywords): Move old handling of GDL...
7823 (ruby-font-lock-syntactic-keywords): .. to here.
7824 (ruby-calculate-indent): Adjust indentation for GDL.
7825
7826 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7827
7828 * notifications.el (top): Remove unneeded declarations.
7829 (notifications-specification-version): Change to "1.2".
7830 (notifications-interface, notifications-notify-method)
7831 (notifications-close-notification-method): Fix docstring.
7832 (notifications-get-capabilities-method): New defconst.
7833 (notifications-notify): Add :action-items, :resident and
7834 :transient hints. Change "image_data" to "image-data" and
7835 "image_path" to "image-path".
7836 (notifications-get-capabilities): New defun.
7837
7838 2012-04-24 Leo Liu <sdl.web@gmail.com>
7839
7840 * progmodes/python.el: Move hideshow setup to the end.
7841
7842 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7843
7844 * window.el (handle-select-window): Clear echo area since this is
7845 no more done by read_char (Bug#11304).
7846
7847 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7848
7849 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7850 and `/ M' to filter-derived-mode.
7851 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7852 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7853 (ibuffer-mark-by-mode): Use default rather than initial-input.
7854 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7855
7856 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7857
7858 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7859 (ibuffer-filter-by-derived-mode): New filter.
7860 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7861
7862 2012-04-23 Andreas Politz <politza@fh-trier.de>
7863
7864 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7865
7866 2012-04-23 Chong Yidong <cyd@gnu.org>
7867
7868 * cus-edit.el (customize-apropos, customize-apropos-options):
7869 Disable matching of non-option variables (Bug#11176).
7870 (customize-option, customize-option-other-window)
7871 (customize-changed-options): Doc fix.
7872 (customize-apropos-options, customize-apropos-faces)
7873 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7874
7875 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7876 Fix word list splitting (Bug#11132).
7877 (apropos-symbol, apropos-keybinding, apropos-label)
7878 (apropos-property, apropos-function-button)
7879 (apropos-variable-button, apropos-misc-button): New faces.
7880 (apropos-symbol-face, apropos-keybinding-face)
7881 (apropos-label-face, apropos-property-face, apropos-match-face):
7882 Variables removed (Bug#8396).
7883 (apropos-library-button, apropos-format-plist, apropos-print)
7884 (apropos-print-doc, apropos-describe-plist): Callers changed.
7885
7886 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7887
7888 * net/xesam.el (xesam-mode-map): Use let-bound map in
7889 initialization. (Bug#11292)
7890
7891 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7892
7893 Preserve ispell session localwords when switching back to
7894 original buffer.
7895
7896 * textmodes/ispell.el (ispell-buffer-session-localwords):
7897 New buffer-local variable to hold buffer session localwords.
7898 (ispell-kill-ispell): Add option 'clear to delete session
7899 localwords.
7900 (ispell-command-loop, ispell-change-dictionary)
7901 (ispell-buffer-local-words): Preserve session localwords when
7902 needed.
7903
7904 * textmodes/flyspell.el (flyspell-process-localwords)
7905 (flyspell-do-correct): Preserve session localwords when needed.
7906
7907 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7908
7909 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7910 using obsolete `translation-table-for-input'.
7911 (ispell-word, ispell-process-line, ispell-complete-word):
7912 Use plain `insert' instead of removed `ispell-insert-word'.
7913
7914 2012-04-22 Chong Yidong <cyd@gnu.org>
7915
7916 * cus-edit.el (custom-variable-menu)
7917 (custom-variable-reset-saved, custom-face-menu)
7918 (custom-face-reset-saved): If there is no saved value, make the
7919 "reset-saved" operation bring back the default (Bug#9509).
7920 (custom-face-state): Properly detect themed faces.
7921
7922 * faces.el (face-spec-set): Stop supporting deprecated form of
7923 third arg.
7924
7925 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7926
7927 Move functions from C to Lisp. Make non-blocking method calls
7928 the default. Implement further D-Bus standard interfaces.
7929
7930 * net/dbus.el (dbus-message-internal): Declare function.
7931 Remove unneeded function declarations.
7932 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7933 (dbus-message-type-method-return, dbus-message-type-error)
7934 (dbus-message-type-signal): Declare variables. Remove local
7935 definitions.
7936 (dbus-interface-dbus, dbus-interface-peer)
7937 (dbus-interface-introspectable, dbus-interface-properties)
7938 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7939 Adapt docstring.
7940 (dbus-interface-objectmanager): New defconst.
7941 (dbus-call-method, dbus-call-method-asynchronously)
7942 (dbus-send-signal, dbus-method-return-internal)
7943 (dbus-method-error-internal, dbus-register-service)
7944 (dbus-register-signal, dbus-register-method): New defuns, moved
7945 from dbusbind.c
7946 (dbus-call-method-handler, dbus-setenv)
7947 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7948 New defuns.
7949 (dbus-call-method-non-blocking): Make it an obsolete function.
7950 (dbus-unregister-object, dbus-unregister-service)
7951 (dbus-handle-event, dbus-register-property)
7952 (dbus-property-handler): Obey the new structure of
7953 `bus-registered-objects'.
7954 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7955 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7956 Use `dbus-call-method'.
7957
7958 2012-04-22 Chong Yidong <cyd@gnu.org>
7959
7960 * cus-edit.el (custom-commands, custom-reset-menu)
7961 (Custom-reset-standard): Tweak labels.
7962 (custom-reset-button-menu): Change default to t.
7963 (custom-buffer-create-internal): For the custom-reset-button-menu
7964 case, put the revert button first.
7965 (custom-group-subtitle): New face.
7966 (custom-group-value-create): Align docstring to a specific column.
7967
7968 * wid-edit.el (widget-documentation-link-add): Don't handle
7969 indentation in this function.
7970 (widget-documentation-string-indent-to): New function.
7971 (widget-documentation-string-value-create): Use it.
7972
7973 * autorevert.el (auto-revert):
7974 * epg-config.el (epg):
7975 * ibuffer.el (ibuffer):
7976 * mpc.el (mpc):
7977 * ses.el (ses):
7978 * eshell/eshell.el (eshell):
7979 * net/ange-ftp.el (ange-ftp):
7980 * progmodes/ebnf2ps.el (postscript):
7981 * progmodes/flymake.el (flymake):
7982 * progmodes/prolog.el (prolog):
7983 * progmodes/verilog-mode.el (verilog-mode):
7984 * progmodes/which-func.el (which-func):
7985 * term/xterm.el (xterm):
7986 * textmodes/picture.el (picture):
7987 * textmodes/tildify.el (tildify):
7988 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7989 customization buffers.
7990
7991 2012-04-22 Alan Mackenzie <acm@muc.de>
7992
7993 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7994 Adding a ) can hide the resulting (..) from searches. Fix it.
7995 Bound the backward search to the position of the existing (.
7996
7997 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
7998
7999 * progmodes/verilog-mode.el (verilog-mode): Check whether
8000 which-func-modes is t before adding verilog-mode.
8001 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8002
8003 2012-04-21 Leo Liu <sdl.web@gmail.com>
8004
8005 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8006
8007 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8008
8009 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8010 filling of the last column of a table (Bug#5635).
8011 (woman-find-next-control-line): New arg, specifying an additional
8012 regexp component for the control line.
8013 (woman2-roff-buffer): Use it.
8014 (woman-break-table): New function.
8015 (woman2-TS): Use it.
8016
8017 2012-04-21 Chong Yidong <cyd@gnu.org>
8018
8019 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8020 (woman-horizontal-escapes, woman-negative-vertical-space)
8021 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8022 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8023
8024 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8025
8026 * minibuffer.el (completion-file-name-table): Complete user names.
8027
8028 2012-04-20 Leo Liu <sdl.web@gmail.com>
8029
8030 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8031 and pcase-let*.
8032
8033 2012-04-20 Chong Yidong <cyd@gnu.org>
8034
8035 * server.el (server-execute): Respect initial-buffer-choice if it
8036 is a string and there are no files to open (Bug#2825).
8037 (server-create-window-system-frame, server-create-tty-frame):
8038 Don't switch buffers here.
8039 (server-process-filter): Only try to open a window system frame if
8040 compiled with graphical support (Bug#8314).
8041
8042 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8043
8044 * battery.el (battery-echo-area-format): Display remaining time
8045 for sysfs backend too (Bug#11269).
8046 (battery-linux-sysfs): Fix conditional for the charge.
8047
8048 2012-04-20 Chong Yidong <cyd@gnu.org>
8049
8050 * progmodes/gdb-mi.el (gdb): Revert previous change.
8051 (gdb-inferior-io--init-proc): New function.
8052 (gdb-init-1): Use it.
8053 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8054 responsible for allocating a new pty and hooking it to gdb when
8055 the old pty gets an EIO due to process exit.
8056 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8057 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8058 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8059
8060 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8061
8062 * window.el (window-min-size, window-sizable, window-min-delta)
8063 (window-max-delta, window--resizable, window-resizable)
8064 (window-total-size, window-full-height-p, window-full-width-p)
8065 (window-in-direction, window--resize-mini-window, window-resize)
8066 (window--resize-child-windows-normal)
8067 (window--resize-child-windows, window--resize-siblings)
8068 (window--resize-this-window, adjust-window-trailing-edge)
8069 (enlarge-window, shrink-window): Doc fixes.
8070
8071 2012-04-20 Chong Yidong <cyd@gnu.org>
8072
8073 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8074 New function to call delete-process on the gdb-inferior buffer's pty.
8075 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8076 pty process (Bug#11273).
8077 (gdb-update): New arg to suppress talking to the gdb process.
8078 (gdb-done-or-error): Use it.
8079 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8080 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8081 sentinel not being called.
8082
8083 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8084
8085 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8086
8087 2012-04-20 Glenn Morris <rgm@gnu.org>
8088
8089 * net/network-stream.el (open-network-stream): Doc fix.
8090
8091 2012-04-20 Chong Yidong <cyd@gnu.org>
8092
8093 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8094
8095 2012-04-20 Alan Mackenzie <acm@muc.de>
8096
8097 Ensure searching for keywords is case sensitive.
8098
8099 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8100 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8101 (c-defun-name, c-mark-function, c-cpp-define-name)
8102 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8103 (c-context-line-break): Bind case-fold-search to nil.
8104
8105 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8106 Bind case-fold-search to nil.
8107
8108 2012-04-20 Chong Yidong <cyd@gnu.org>
8109
8110 * mail/sendmail.el (mail-bury): Call return action with the right
8111 Rmail buffer (Bug#11242).
8112
8113 * server.el (server-process-filter): Handle corner case where both
8114 tty and nowait options are present (Bug#11102).
8115
8116 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8117
8118 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8119 (top level): Put into the executable the ident-style '$Id:' tag on
8120 windows-nt as well.
8121
8122 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * electric.el (electric-indent-post-self-insert-function): Check that
8125 electric-indent-mode is enabled in current buffer.
8126
8127 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8128
8129 * imenu.el (imenu-progress-message): Restore; it is "used" in
8130 erc/erc-imenu.el and net/snmp-mode.el.
8131
8132 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8133
8134 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8135 (mouse-avoidance-nudge-mouse): Remove unused binding.
8136
8137 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8138
8139 * descr-text.el (describe-char):
8140 * progmodes/python.el (python-describe-symbol):
8141 Don't call `toggle-read-only', set `buffer-read-only'.
8142
8143 * imenu.el (imenu-default-goto-function): Mark unused args.
8144 (imenu-progress-message): Remove obsolete macro; all callers changed.
8145
8146 * subr.el (keymap-canonicalize): Remove unused binding.
8147 (read-passwd): Mark unused arg.
8148
8149 * tutorial.el (tutorial--display-changes): Remove unused binding.
8150 (tutorial--save-tutorial-to): Remove unused variable.
8151
8152 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8153 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8154 (package-generate-autoloads, package-menu--generate)
8155 (package-menu--find-upgrades): Remove unused bindings.
8156
8157 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8158 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8159 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8160 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8161 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8162 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8163 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8164 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8165 (cua-delete-char-rectangle): Mark unused args.
8166 (cua-align-rectangle): Remove unused binding.
8167
8168 * mail/rmail.el (compilation--message->loc)
8169 (epa--find-coding-system-for-mime-charset): Declare.
8170
8171 * net/dbus.el (dbus-register-service): Declare.
8172 (dbus-name-owner-changed-handler): Remove unused binding.
8173
8174 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8175 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8176 (nxml-scan-backward-within): Mark unused arg.
8177 (nxml-dynamic-markup-word): Remove unused binding.
8178
8179 * mouse.el (mouse-menu-major-mode-map):
8180 * emacs-lisp/authors.el (authors-scan-change-log)
8181 (authors-add-to-author-list):
8182 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8183 * emacs-lisp/smie.el (smie-auto-fill):
8184 * mail/sendmail.el (mail-bury):
8185 * mail/unrmail.el (unrmail):
8186 * net/tls.el (open-tls-stream):
8187 * textmodes/picture.el (picture-mouse-set-point):
8188 Remove unused bindings.
8189
8190 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8191
8192 * net/tramp.el (tramp-action-password): Let-bind
8193 `enable-recursive-minibuffers' to t.
8194
8195 2012-04-18 Sam Steingold <sds@gnu.org>
8196
8197 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8198 instead of 'string to accommodate values like [f11].
8199 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8200 * progmodes/gdb-mi.el: Likewise.
8201
8202 2012-04-18 Leo Liu <sdl.web@gmail.com>
8203
8204 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8205 current buffer.
8206 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8207 LOCAL is nil.
8208
8209 2012-04-18 Chong Yidong <cyd@gnu.org>
8210
8211 * simple.el (line-move): Use forward-line if in batch mode
8212 (Bug#11053).
8213
8214 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8215
8216 * files.el (after-find-file): Do not try to add a final newline if
8217 the buffer is read-only (Bug#11156).
8218
8219 2012-04-17 Richard Stallman <rms@gnu.org>
8220
8221 * mail/rmail.el (rmail-start-mail):
8222 Pass (rmail-mail-return...) for the return-action.
8223 Pass (rmail-yank-current-message...) for the yank-action.
8224 (rmail-yank-current-message): New function.
8225 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8226 (rmail-reply): Likewise.
8227 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8228
8229 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8230 buffer, not the last. Reject temp buffers. Use the rmail-mode
8231 buffer, not newbuf.
8232
8233 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8234
8235 * server.el (server-ensure-safe-dir): Simplify.
8236
8237 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8238
8239 * emacs-lisp/smie.el: Provide smarter auto-filling.
8240 (smie-auto-fill): New function.
8241 (smie-setup): Use it.
8242
8243 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8244
8245 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8246
8247 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8248 (comment-indent): Use it.
8249
8250 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8251
8252 * ses.el: The overall change is to add cell renaming, that is
8253 setting fancy names for cell symbols other than name matching
8254 "\\`[A-Z]+[0-9]+\\'" regexp .
8255 (ses-localvars): Add ses--renamed-cell-symb-list.
8256 (ses-create-cell-variable): New defun.
8257 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8258 (ses-relocate-formula): Relocate formulas only for cells the
8259 symbols of which are not renamed, i.e. symbols whose names do not
8260 match regexp "\\`[A-Z]+[0-9]+\\'".
8261 (ses-relocate-all): Relocate values only for cells the symbols of
8262 which are not renamed.
8263 (ses-load): Create cells variables as the (ses-cell ...) are read,
8264 in order to check row col consistency with cell symbol name only
8265 for cells that are not renamed.
8266 (ses-replace-name-in-formula): New defun.
8267 (ses-rename-cell): New defun.
8268
8269 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8270
8271 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8272 New option (bug#11118).
8273 (perl-calculate-indent): Respect it.
8274
8275 2012-04-17 Glenn Morris <rgm@gnu.org>
8276
8277 * dired-aux.el (dired-mark-read-string): Doc fix.
8278
8279 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8280
8281 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8282 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8283
8284 2012-04-17 Glenn Morris <rgm@gnu.org>
8285
8286 * mouse.el (mouse-drag-track):
8287 * speedbar.el (speedbar-frame-mode):
8288 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8289
8290 2012-04-16 Leo Liu <sdl.web@gmail.com>
8291
8292 * progmodes/python.el: Trivial cleanup.
8293
8294 2012-04-16 Glenn Morris <rgm@gnu.org>
8295
8296 * vc/vc.el (vc-string-prefix-p):
8297 * vc/pcvs-util.el (cvs-string-prefix-p):
8298 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8299 * mpc.el (mpc-string-prefix-p):
8300 Make all of these into obsolete aliases for string-prefix-p.
8301 Update callers.
8302 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8303
8304 * textmodes/two-column.el: Move custom options to the start.
8305 (frame-width): Remove compat definition.
8306 (2C-associate-buffer, 2C-dissociate):
8307 Use with-current-buffer rather than save-excursion.
8308 (2C-dissociate): Force a mode-line update.
8309 (2C-autoscroll): Use ignore-errors.
8310
8311 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8312 Autoload trivia.
8313
8314 * emacs-lisp/cl-extra.el (*random-state*):
8315 Remove unnecessary declaration.
8316
8317 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8318
8319 * play/cookie1.el (cookie-snarf):
8320 Give an explicit error if input file cannot be read.
8321
8322 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8323
8324 * progmodes/perl-mode.el (c-macro-expand):
8325 Remove unnecessary autoload (it is in loaddefs.el).
8326
8327 * textmodes/picture.el (picture-desired-column)
8328 (picture-update-desired-column): Convert comments to doc-strings.
8329 (picture-substitute): Remove function.
8330 (picture-mode-map): Initialize in the defvar.
8331
8332 * woman.el: Remove eval-after-load for tar-mode.
8333 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8334 (woman-tar-extract-file): Autoload it.
8335
8336 * frame.el (automatic-hscrolling): Make this alias obsolete.
8337
8338 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8339
8340 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8341 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8342 (ispell-dictionary-base-alist): Revert to original XEmacs
8343 friendly version for default. [:alpha:] will be added in
8344 `ispell-set-spellchecker-params' if needed.
8345
8346 2012-04-16 Chong Yidong <cyd@gnu.org>
8347
8348 * image.el (imagemagick--file-regexp): New variable.
8349 (imagemagick-register-types): Use it.
8350 (imagemagick-types-inhibit): Add :set function. Allow new value
8351 of t to inhibit all types.
8352
8353 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8354 so we can preload it.
8355
8356 * loadup.el (fboundp): Preload regexp-opt, needed by
8357 imagemagick-register-types.
8358
8359 2012-04-15 Chong Yidong <cyd@gnu.org>
8360
8361 * frame.el (scrolling): Remove nearly unused customization group.
8362
8363 * scroll-all.el (scroll-all-mode): Move to windows group.
8364
8365 2012-04-15 Chong Yidong <cyd@gnu.org>
8366
8367 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8368
8369 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8370
8371 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8372 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8373
8374 2012-04-15 Glenn Morris <rgm@gnu.org>
8375
8376 * simple.el (process-file-side-effects): Doc fix.
8377
8378 2012-04-15 Glenn Morris <rgm@gnu.org>
8379
8380 * international/mule-cmds.el (set-language-environment): Doc fix.
8381
8382 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8383
8384 * server.el (server-auth-key, server-generate-key): Doc fixes.
8385 (server-get-auth-key): Doc fix. Use `string-match-p'.
8386 (server-start): Reflow docstring.
8387
8388 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8389
8390 * server.el (server-generate-key): `called-interactively-p'
8391 requires a parameter.
8392
8393 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8394
8395 * server.el (server-auth-key): New variable.
8396 (server-generate-key, server-get-auth-key): New function.
8397 (server-start): Use the new variable and functions to allow
8398 setting a permanent server key (bug#9423).
8399
8400 2012-04-14 Leo Liu <sdl.web@gmail.com>
8401
8402 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8403
8404 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8405
8406 Spelling fixes.
8407 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8408 Emacs uses American spelling.
8409
8410 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8411
8412 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8413 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8414 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8415 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8416
8417 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8418
8419 * progmodes/which-func.el (which-func-modes): Change default.
8420
8421 2012-04-14 Kim F. Storm <storm@cua.dk>
8422
8423 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8424 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8425
8426 2012-04-14 Chong Yidong <cyd@gnu.org>
8427
8428 * custom.el (custom-theme-set-variables): Doc fix.
8429
8430 2012-04-14 Glenn Morris <rgm@gnu.org>
8431
8432 * international/mule.el (set-auto-coding-for-load): Doc fix.
8433
8434 2012-04-14 Alan Mackenzie <acm@muc.de>
8435
8436 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8437 imenu work again for Objective C Mode. Correct the *-index values,
8438 these having been disturbed by a previous change in 2011-08.
8439
8440 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8441 Correct two search limits.
8442
8443 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8444
8445 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8446
8447 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8448
8449 * international/characters.el: Fix sorting.
8450
8451 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8452
8453 * international/characters.el: Add more missing Latin case pairs.
8454
8455 2012-04-14 Glenn Morris <rgm@gnu.org>
8456
8457 * files.el (dir-locals-set-class-variables): Doc fix.
8458
8459 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8460
8461 * international/characters.el: Add set-case-syntax-pair call for
8462 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8463 counterpart. (Bug#11209)
8464
8465 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8466
8467 2012-04-14 Glenn Morris <rgm@gnu.org>
8468
8469 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8470
8471 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8472
8473 * textmodes/ispell.el (ispell-dictionary-base-alist):
8474 Add data for Hebrew.
8475
8476 2012-04-14 Chong Yidong <cyd@gnu.org>
8477
8478 * net/rcirc.el (rcirc-cmd-quit):
8479 Revert 2012-03-18 change (Bug#11192).
8480
8481 2012-04-14 Glenn Morris <rgm@gnu.org>
8482
8483 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8484
8485 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8486
8487 * minibuffer.el (completion-in-region-mode-map):
8488 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8489
8490 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8491
8492 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8493
8494 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8495
8496 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8497 to allow `C-M-f' and `C-M-b' to move to the nearest path
8498 separator (bug#9511).
8499
8500 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8501
8502 * avoid.el: Require cl when compiling. And also move the
8503 `provide' to the end.
8504
8505 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8506
8507 * avoid.el (mouse-avoidance-banish-position): New variable.
8508 (mouse-avoidance-banish-destination): Use it (bug#10165).
8509
8510 2012-04-13 Leo Liu <sdl.web@gmail.com>
8511
8512 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8513
8514 2012-04-13 Ken Brown <kbrown@cornell.edu>
8515
8516 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8517 this is no longer needed now that cygstart understands file:// URLs.
8518 (browse-url-filename-alist): For the same reason, don't modify
8519 file:// URLs on Cygwin.
8520
8521 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8524 the region on shift if the binding is already shifted (bug#11221).
8525
8526 2012-04-12 Glenn Morris <rgm@gnu.org>
8527
8528 * mail/mailpost.el: Move to obsolete/.
8529
8530 2012-04-12 Drew Adams <drew.adams@oracle.com>
8531
8532 * imenu.el (imenu--generic-function): Ignore invisible definitions
8533 (bug#10123).
8534
8535 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8536
8537 * hexl.el (hexl-bits): New variable.
8538 (hexl-options): Mention the variable in the doc string.
8539 (hexl-rulerise, hexl-line-displen): New functions.
8540 (hexl-mode): Mention the new variable.
8541 (hexl-mode, hexl-current-address, hexl-current-address):
8542 Use the displen.
8543 (hexl-ascii-start-column): New function.
8544 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8545 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8546
8547 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8548
8549 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8550 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8551 the encoding, as expected by hunspell.
8552
8553 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8554
8555 * battery.el (battery--linux-sysfs-regexp): New const.
8556 (battery-status-function): Use it. Remove yeeloong special case.
8557 (battery-yeeloong-sysfs): Remove.
8558 (battery-echo-area-format): Remove yeeloong special case.
8559
8560 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8561
8562 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8563 Reported by Noah Friedman.
8564
8565 * subr.el (read-passwd): Use read-string.
8566
8567 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8568
8569 * vcursor.el (vcursor-move): Increase the priority of the overlay
8570 (bug#9663).
8571
8572 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8573
8574 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8575 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8576
8577 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8578
8579 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8580 define-minor-mode (bug#10760).
8581
8582 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8583
8584 * progmodes/grep.el (rgrep): Tweak the find command line so
8585 that directories matching `grep-find-ignored-files' won't be
8586 pruned (bug#10351).
8587
8588 2012-04-11 Chong Yidong <cyd@gnu.org>
8589
8590 * startup.el (command-line): Remove support for long-obsolete
8591 variable font-lock-face-attributes.
8592
8593 2012-04-11 Glenn Morris <rgm@gnu.org>
8594
8595 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8596
8597 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8598
8599 * window.el (window--state-get-1): Obey window-point-insertion-type.
8600
8601 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8602
8603 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8604 to previous function when point is on the first character of a
8605 function. Take care of that in `narrow-to-defun' (bug#6157).
8606
8607 2012-04-11 Glenn Morris <rgm@gnu.org>
8608
8609 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8610 not just file-errors.
8611
8612 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8613 (vc-bzr-sha1): Use internal sha1.
8614
8615 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8616
8617 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8618
8619 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8620
8621 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8622 that start in the middle of the line (bug#10496).
8623
8624 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8625
8626 * battery.el (battery-linux-proc-acpi): Only one battery is
8627 discharged at a time, but that seems to confuse battery.el when
8628 computing `rate-type' for the battery not being discharged
8629 (bug#10332).
8630
8631 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8632
8633 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8634
8635 * international/quail.el: Use dolist and simplify.
8636 (quail-define-package, quail-update-keyboard-layout)
8637 (quail-define-rules): Use dolist.
8638 (quail-insert-kbd-layout, quail-get-translation): CSE.
8639
8640 * tmm.el: Use dolist, remove left over hook.
8641 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8642 Use dolist.
8643 (calendar-load-hook): Don't mess with it.
8644
8645 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8646 Use derived-mode-p. Run the diff asynchronously.
8647
8648 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8649
8650 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8651
8652 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8653
8654 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8655 (list-dynamic-libraries--loaded): New function.
8656 (list-dynamic-libraries--refresh): Use it.
8657
8658 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8659
8660 * progmodes/python.el (python-fill-paragraph):
8661 Make python-fill-region in a multiline string work when font-lock is
8662 disabled (bug#7018).
8663
8664 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8665
8666 * language/european.el (cp775): Add oem/legacy (en)coding on
8667 DOS/MS Windows for the Baltic languages. There are still plenty
8668 of texts written in this encoding/codepage (bug#6519).
8669
8670 2012-04-10 Glenn Morris <rgm@gnu.org>
8671
8672 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8673 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8674
8675 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8676
8677 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8678 next-line "n" and previous-line "p" in order to make recentf more
8679 consistent with ibuffer, dired or org-mode (bug#9387).
8680
8681 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8682
8683 * image.el (put-image): Return the overlay created instead of the
8684 optional input string (bug#7834). Note that this may break code
8685 that is (for some reason or other) depending on `put-image'
8686 returning the string.
8687
8688 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8689
8690 * simple.el (zap-to-char): Allow zapping using input methods
8691 (bug#1580).
8692
8693 * textmodes/fill.el (fill-region): Leave point and mark where they
8694 were before filling (bug#5399).
8695
8696 2012-04-09 Glenn Morris <rgm@gnu.org>
8697
8698 * version.el (emacs-bzr-get-version):
8699 Handle lightweight checkouts of local branches.
8700
8701 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8702
8703 * international/characters.el: Recover lost case pairs. (Bug#11209)
8704
8705 2012-04-09 Chong Yidong <cyd@gnu.org>
8706
8707 * custom.el (custom-variable-p): Return nil for non-symbol
8708 arguments instead of signaling an error.
8709 (user-variable-p): Obsolete alias for custom-variable-p.
8710
8711 * apropos.el (apropos-variable):
8712 * files-x.el (read-file-local-variable):
8713 * simple.el (set-variable):
8714 * woman.el (woman-mini-help):
8715 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8716
8717 2012-04-09 Glenn Morris <rgm@gnu.org>
8718
8719 * startup.el (normal-top-level): Don't look for leim-list.el
8720 in places where it will not be found. (Bug#910)
8721
8722 * international/mule-cmds.el (set-default-coding-systems):
8723 * files.el (normal-mode):
8724 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8725 This function was removed with ucs-tables.el in 2008.
8726
8727 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8728
8729 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8730 ispell-encoding8-command to "-i", without a trailing space.
8731 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8732 separate command-line arguments, to specify the encoding, since
8733 that's how hunspell expects it.
8734
8735 2012-04-08 Glenn Morris <rgm@gnu.org>
8736
8737 * loadup.el: Load bindings before cus-start.
8738 This reduces somewhat the number of "rogue" settings in emacs -Q.
8739
8740 2012-04-07 Glenn Morris <rgm@gnu.org>
8741
8742 * version.el (emacs-bzr-get-version): New function.
8743 (emacs-bzr-version): New variable.
8744 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8745 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8746
8747 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8748
8749 * international/uni-bidi.el, international/uni-category.el:
8750 * international/uni-combining.el, international/uni-decimal.el:
8751 * international/uni-decomposition.el, international/uni-digit.el:
8752 * international/uni-lowercase.el, international/uni-mirrored.el:
8753 * international/uni-name.el, international/uni-numeric.el:
8754 * international/uni-titlecase.el, international/uni-uppercase.el:
8755 Update for Unicode 6.1.
8756
8757 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8758
8759 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8760
8761 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8762
8763 * window.el (shrink-window): Mention the `window-min-height'
8764 variable in the doc string.
8765
8766 2012-04-05 Bastien Guerry <bzg@altern.org>
8767
8768 * color.el (color-lighten-name): Fix typo.
8769
8770 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * server.el (server--on-display-p): New function.
8773 (server--on-display-p): Use it.
8774
8775 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8776
8777 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8778 (bug#11145).
8779
8780 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8781
8782 * comint.el (comint--common-quoted-suffix): Check string boundary
8783 before comparing (bug#11158).
8784 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8785
8786 2012-04-04 Chong Yidong <cyd@gnu.org>
8787
8788 * minibuffer.el (completion-extra-properties): Doc fix.
8789
8790 * subr.el (delayed-warnings-hook): Doc fix.
8791
8792 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8793
8794 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8795 selection (Bug#11159).
8796 (epa-insert-keys): Inform that the default public key will be
8797 exported if no key is selected.
8798
8799 2012-04-04 Richard Stallman <rms@gnu.org>
8800
8801 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8802
8803 2012-04-03 Chong Yidong <cyd@gnu.org>
8804
8805 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8806 mail-insert-file, not its obsolete alias mail-attach-file.
8807
8808 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8809
8810 * notifications.el (notifications-notify): Fix docstring.
8811
8812 2012-04-02 Glenn Morris <rgm@gnu.org>
8813
8814 * emacs-lisp/authors.el (authors-aliases): Another addition.
8815
8816 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8817
8818 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8819 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8820 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8821
8822 2012-04-01 Chong Yidong <cyd@gnu.org>
8823
8824 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8825 Handle root directory properly.
8826 (copy-directory): Caller changed.
8827
8828 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8829 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8830
8831 2012-03-31 Glenn Morris <rgm@gnu.org>
8832
8833 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8834
8835 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8836
8837 * calendar/calendar.el (calendar-window-list)
8838 (calendar-hide-window): Restore. (Bug#11140)
8839 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8840
8841 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8842
8843 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8844
8845 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8846 Check if file is a symlink (Bug#10489).
8847
8848 * files.el (copy-directory): Likewise.
8849
8850 2012-03-30 Chong Yidong <cyd@gnu.org>
8851
8852 * image.el (imagemagick-types-inhibit)
8853 (imagemagick-register-types): Doc fix.
8854
8855 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8856
8857 * textmodes/ispell.el (ispell-get-extended-character-mode):
8858 Disable extended-char-mode for hunspell. hunspell does not support it
8859 and treats ~word as ordinary words in pipe mode.
8860
8861 2012-03-30 Glenn Morris <rgm@gnu.org>
8862
8863 * tutorial.el (help-with-tutorial): Ensure local variables don't
8864 happen to make the buffer read-only. (Bug#11127)
8865
8866 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8869 (perl-calculate-indent): Return `noindent' in strings.
8870
8871 2012-03-28 Sam Steingold <sds@gnu.org>
8872
8873 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8874 instead of the broken adhockery which does not prevent calendar
8875 buffers from being displayed at random after exit.
8876 (calendar-window-list, calendar-hide-window): Remove the broken
8877 adhockery.
8878
8879 2012-03-28 Glenn Morris <rgm@gnu.org>
8880
8881 * replace.el (query-replace-map): Doc fix.
8882
8883 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8884
8885 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8886 contents. (Bug#11109)
8887
8888 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8889
8890 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8891 (bug#11077).
8892 (avl-tree--check, avl-tree--check-node): New funs.
8893
8894 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8895
8896 * window.el (switch-to-visible-buffer): New option.
8897 (switch-to-prev-buffer, switch-to-next-buffer):
8898 Observe switch-to-visible-buffer. Make sure that checking for a window
8899 showing a buffer already is done on the same frame.
8900
8901 2012-03-27 Glenn Morris <rgm@gnu.org>
8902
8903 * startup.el (mail-host-address): Doc fix.
8904
8905 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8906
8907 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8908 than 197 variables.
8909
8910 2012-03-26 Ami Fischman <ami@fischman.org>
8911
8912 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8913
8914 2012-03-26 Glenn Morris <rgm@gnu.org>
8915
8916 * files.el (save-buffers-kill-emacs): Doc fix.
8917
8918 * startup.el (normal-top-level, command-line, command-line-1):
8919 Give them doc strings.
8920
8921 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8922
8923 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8924 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8925
8926 2012-03-25 Chong Yidong <cyd@gnu.org>
8927
8928 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8929 theme if it was previously enabled before (Bug#11031).
8930
8931 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8932 spec with custom-face-get-current-spec if its :shown-value is not
8933 determined yet (Bug#9337).
8934 (customize-create-theme, custom-theme-revert): Doc fixes.
8935
8936 * button.el (button-at): Minor addition to docstring.
8937
8938 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8939
8940 * vc/vc.el (vc-merge): Fix a prompt.
8941
8942 2012-03-24 Chong Yidong <cyd@gnu.org>
8943
8944 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8945 point (Bug#9623).
8946
8947 * button.el (button-at): Minor addition to docstring.
8948
8949 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8950
8951 * newcomment.el (comment-choose-indent): No space after BOL.
8952
8953 2012-03-22 Sam Steingold <sds@gnu.org>
8954
8955 * window.el (switch-to-prev-buffer): Revert last patch because the
8956 bug turned out to be an advertised feature (Elisp manual 28.14).
8957
8958 2012-03-22 Glenn Morris <rgm@gnu.org>
8959
8960 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8961 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8962
8963 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8964
8965 * net/network-stream.el (network-stream-open-starttls): Make error
8966 message under Windows be less misleading.
8967
8968 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8969
8970 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8971 understands (bug#9942).
8972
8973 2012-03-22 Chong Yidong <cyd@gnu.org>
8974
8975 * simple.el (end-of-visible-line): Handle return value of
8976 next-single-property-change properly (Bug#9371).
8977
8978 2012-03-22 Kenichi Handa <handa@m17n.org>
8979
8980 * international/quail.el (quail-insert-kbd-layout): Fix previous
8981 change. To avoid unwanted bidi reordering, use
8982 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8983
8984 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8985
8986 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8987 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8988 (ruby-beginning-of-indent): Be more careful with the difference
8989 between word-boundary and symbol boundary.
8990 (ruby-mode-syntax-table): Make : a symbol constituent.
8991
8992 2012-03-21 Andreas Politz <politza@fh-trier.de>
8993
8994 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8995
8996 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8997
8998 * progmodes/etags.el (tags-completion-at-point-function):
8999 Improve last fix.
9000
9001 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9002
9003 2012-03-21 Sam Steingold <sds@gnu.org>
9004
9005 * progmodes/etags.el (tags-completion-at-point-function):
9006 Avoid the error when point is inside the pattern.
9007
9008 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9009
9010 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9011 line (Bug#10855).
9012
9013 2012-03-21 Drew Adams <drew.adams@oracle.com>
9014
9015 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9016
9017 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9018
9019 * ido.el (ido-set-current-directory, ido-read-internal)
9020 (ido-choose-completion-string, ido-completion-help): Handle nil
9021 value of ido-completion-buffer (Bug#11008).
9022
9023 2012-03-21 Sam Steingold <sds@gnu.org>
9024
9025 * window.el (switch-to-prev-buffer): Do not switch to a visible
9026 window previous buffer, just like with the frame previous buffers.
9027
9028 2012-03-21 Chong Yidong <cyd@gnu.org>
9029
9030 * faces.el (make-face, make-empty-face, copy-face):
9031 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9032 Doc fixes.
9033
9034 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9035
9036 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9037 (widget-complete): Remove broken use of it.
9038
9039 2012-03-20 Chong Yidong <cyd@gnu.org>
9040
9041 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9042 Use string-width and truncate-string-width to handle arbitrary
9043 characters.
9044
9045 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9046
9047 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9048 to draw rectangles, not squares. (Regression introduced by revno
9049 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9050
9051 2012-03-18 Chong Yidong <cyd@gnu.org>
9052
9053 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9054 it is not yet defined (for temacs).
9055
9056 2012-03-18 Leo Liu <sdl.web@gmail.com>
9057
9058 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9059 prefix.
9060
9061 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9062
9063 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9064 (ispell-choices-win-default-height, ispell-silently-savep)
9065 (ispell-dictionary-alist, ispell-encoding8-command)
9066 (ispell-check-version, ispell-aspell-find-dictionary)
9067 (ispell-valid-dictionary-list, ispell-words-keyword)
9068 (ispell-get-word, ispell-internal-change-dictionary)
9069 (ispell-region, ispell-skip-region-list)
9070 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9071 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9072 (ispell-message-text-end, ispell-message)
9073 (ispell-buffer-local-parsing): Doc fix.
9074
9075 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9076
9077 * htmlfontify.el: Add support for code block fontification for ODT
9078 export (Bug #9914).
9079 (hfy-optimisations): Define new option
9080 `body-text-only'
9081 (hfy-fontify-buffer): Honor above setting.
9082 (hfy-begin-span, hfy-end-span): New routines factored out form
9083 `hfy-fontify-buffer'.
9084 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9085 that permit insertion of custom tags.
9086 (hfy-fontify-buffer): Use above handlers.
9087 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9088 (hfy-face-to-css): Re-defined to be a variable.
9089 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9090 over multiple runs. This is made possible by having the caller let
9091 bind a special variable `hfy-user-sheet-assoc'.
9092 (htmlfontify-string): New defun.
9093 (hfy-compile-face-map): Make sure that the last char in the
9094 buffer is correctly fontified.
9095 (hfy-face-resolve-face): Whitespace only change.
9096
9097 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9098
9099 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9100 message more clear.
9101
9102 2012-03-16 Leo Liu <sdl.web@gmail.com>
9103
9104 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9105
9106 2012-03-16 Alan Mackenzie <acm@muc.de>
9107
9108 Further optimise the handling of large macros.
9109
9110 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9111 limit to a call of `c-literal-limits'.
9112 (c-determine-+ve-limit): New function.
9113 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9114 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9115 In CASE 5B, restrict a search limit to 500.
9116 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9117
9118 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9119 Restrict macro bounds to +-500 from after-change's BEG END.
9120
9121 2012-03-16 Leo Liu <sdl.web@gmail.com>
9122
9123 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9124
9125 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9126
9127 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9128 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9129
9130 2012-03-16 Glenn Morris <rgm@gnu.org>
9131
9132 * view.el (view-buffer, view-buffer-other-window)
9133 (view-buffer-other-frame): Doc fixes re special mode-class.
9134
9135 * subr.el (eval-after-load): If named feature is provided not from
9136 a file, run after-load forms. (Bug#10946)
9137
9138 * calendar/calendar.el (calendar-insert-at-column):
9139 Handle non-unit-width characters a bit better. (Bug#10978)
9140
9141 2012-03-15 Chong Yidong <cyd@gnu.org>
9142
9143 * emacs-lisp/ring.el (ring-extend): New function.
9144 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9145
9146 * comint.el (comint-read-input-ring)
9147 (comint-add-to-input-history): Grow comint-input-ring lazily.
9148
9149 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9150
9151 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9152 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9153
9154 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9155 (imenu-add-to-menubar): Don't add a redundant index.
9156 (imenu-update-menubar): Handle a dynamically composed keymap.
9157
9158 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9159
9160 * mail/sendmail.el (mail-encode-header):
9161 Bind rfc2047-encode-encoded-words to nil.
9162
9163 2012-03-13 Glenn Morris <rgm@gnu.org>
9164
9165 * calendar/calendar.el (calendar-string-spread):
9166 Handle non-unit-width characters a bit better. (Bug#10978)
9167
9168 2012-03-13 Leo Liu <sdl.web@gmail.com>
9169
9170 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9171 directory and file as argument (Bug#10822).
9172
9173 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9174
9175 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9176 For dynamically generated code, follow $PC.
9177 (gdb-disassembly-handler-custom): Handle no function name case.
9178
9179 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9180
9181 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9182 * emulation/ws-mode.el (ws-query-replace):
9183 * sort.el (sort-regexp-fields):
9184 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9185
9186 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9187
9188 * dabbrev.el: Fix cycle completion order (bug#10963).
9189 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9190 (dabbrev-completion): Don't use an obarray; provide
9191 a cycle-sort-function.
9192
9193 2012-03-12 Leo Liu <sdl.web@gmail.com>
9194
9195 * simple.el (kill-new): Use equal-including-properties for comparison.
9196 (kill-do-not-save-duplicates): Doc fix.
9197
9198 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9199
9200 * dabbrev.el: Fix cycle completion (bug#10963).
9201 Use lexical binding and wrap to 80 columns.
9202 (dabbrev-completion): Delay computing the list of completions.
9203
9204 2012-03-12 Kenichi Handa <handa@m17n.org>
9205
9206 * international/quail.el (quail-insert-kbd-layout): Surround each
9207 row by LRO and PDF instead of inserting many LRMs. Pad the left
9208 and right of each non-spacing marks. Insert invisible space
9209 between lower and upper characters to prevent composition.
9210
9211 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9212
9213 * minibuffer.el (minibuffer-complete): Don't get confused when the
9214 function is run twice via different commands (bug#10958).
9215 (complete-with-action): Fix docstring.
9216
9217 2012-03-12 Chong Yidong <cyd@gnu.org>
9218
9219 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9220 (nxml-completion-at-point-function): New function.
9221 (nxml-mode): Use it.
9222 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9223
9224 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9225 Load generated autoloads file before byte compiling (Bug#10970).
9226 (package--make-autoloads-and-compile): New helper fun.
9227
9228 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9229
9230 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9231
9232 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9233
9234 * autorevert.el (auto-revert-handler): Ensure, that
9235 file-readable-p is applied only for local files or in
9236 auto-revert-tail-mode.
9237
9238 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9239
9240 * server.el (server-eval-at): Handle non-tcp connections.
9241 Decode result string.
9242
9243 * server.el (server-msg-size): New constant.
9244 (server-reply-print): New function.
9245 (server-eval-and-print): Use it.
9246 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9247 Handle -print-nonl.
9248
9249 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9250
9251 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9252 (Bug#10987).
9253
9254 2012-03-11 Chong Yidong <cyd@gnu.org>
9255
9256 * simple.el (goto-line): Doc fix (Bug#9938).
9257
9258 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9259
9260 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9261 when finished (Bug#10963).
9262
9263 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9264
9265 * window.el (split-window-below): Fix bug in case where
9266 split-window-keep-point is nil (Bug#10971).
9267
9268 2012-03-11 Juri Linkov <juri@jurta.org>
9269
9270 * replace.el (replace-highlight): Set isearch-word to nil
9271 unconditionally. (Bug#10887)
9272
9273 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9274
9275 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9276 mairix-replace-illegal-chars; all callers changed. Don't remove
9277 ^, ~, and = characters: they are meaningful in mairix search specs.
9278 (mairix-widget-create-query): Add usage information about mairix
9279 search forms: negating words, searching for substrings, etc.
9280
9281 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9282
9283 * international/fontset.el (font-encoding-alist): Add an entry for
9284 ksx1001 (Bug#5667).
9285
9286 2012-03-10 Richard Stallman <rms@gnu.org>
9287
9288 * mail/sendmail.el (mail-encode-header):
9289 Set rfc2047-encode-encoded-words.
9290
9291 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9292
9293 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9294 view buffer means not swapped.
9295 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9296 (rmail-write-region-annotate): Error if real text has disappeared.
9297
9298 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9299
9300 2012-03-10 Chong Yidong <cyd@gnu.org>
9301
9302 * emulation/cua-rect.el (cua--init-rectangles):
9303 * emulation/cua-base.el (cua--init-keymaps):
9304 Add delete-forward-char to remappings (Bug#9666).
9305
9306 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9307
9308 * speedbar.el (speedbar-unhighlight-one-tag-line):
9309 Avoid unhighlighting due to frame switching (Bug#10275).
9310
9311 2012-03-10 Chong Yidong <cyd@gnu.org>
9312
9313 * minibuffer.el (completion-in-region, completion-help-at-point):
9314 Give the completion field overlay a high priority (Bug#6830).
9315
9316 * dired.el (dired-goto-file): Recognize absolute file name
9317 listings (Bug#7126).
9318 (dired-goto-file-1): New helper function.
9319 (dired-toggle-read-only): Inhibit warnings.
9320
9321 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9322
9323 * net/dbus.el (dbus-property-handler): Return empty array if
9324 there are no properties.
9325
9326 2012-03-09 Leo Liu <sdl.web@gmail.com>
9327
9328 * savehist.el (savehist-printable): Stricter check for string
9329 value (Bug#10937).
9330
9331 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9332
9333 * mail/smtpmail.el (smtpmail-send-it):
9334 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9335 valid mbox format.
9336
9337 2012-03-09 Glenn Morris <rgm@gnu.org>
9338
9339 * files.el (dir-locals-find-file):
9340 Don't check result is regular, readable.
9341 (dir-locals-read-from-file): Demote errors.
9342
9343 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9344
9345 * international/quail.el (quail-insert-kbd-layout):
9346 Insert invisible LRM characters before each character in a keyboard
9347 layout cell, to prevent their reordering by bidi display engine.
9348 For details, see the discussion in
9349 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9350
9351 2012-03-08 Alan Mackenzie <acm@muc.de>
9352
9353 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9354 the starting position; make it extend the marked region when
9355 invoked repeatedly - all under appropriate circumstances.
9356 Fixes bugs #5525, #10906.
9357
9358 2012-03-08 Glenn Morris <rgm@gnu.org>
9359
9360 * files.el (locate-dominating-file, dir-locals-find-file):
9361 Undo 2012-03-06 change.
9362
9363 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9364
9365 * international/quail.el (quail-help):
9366 Force bidi-paragraph-direction be left-to-right. See discussion in
9367 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9368 for the reason.
9369
9370 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9371
9372 Avoid superfluous registering of signals. (Bug#10807)
9373
9374 * notifications.el (notifications-on-action-object)
9375 (notifications-on-close-object): New defvars.
9376 (notifications-on-action-signal, notifications-on-closed-signal):
9377 Unregister the signal if not needed any longer.
9378 (notifications-notify): Register `notifications-action-signal' or
9379 `notifications-closed-signal', if :on-action or :on-close has been
9380 passed as argument.
9381
9382 2012-03-07 Chong Yidong <cyd@gnu.org>
9383
9384 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9385 non-X platforms.
9386
9387 2012-03-06 Glenn Morris <rgm@gnu.org>
9388
9389 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9390 (x-disown-selection-internal, x-get-selection-internal):
9391 Doc fix (add arglist signatures). (Bug#10783)
9392
9393 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9394
9395 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9396 Handle breakpoints with no "type".
9397
9398 2012-03-06 Glenn Morris <rgm@gnu.org>
9399
9400 * files.el (locate-dominating-file): Add optional predicate argument.
9401 (dir-locals-find-file): Make use of above change.
9402
9403 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9404
9405 * info.el (Info-insert-dir): Also try "dir.gz".
9406
9407 2012-03-06 Glenn Morris <rgm@gnu.org>
9408
9409 * files.el (dir-locals-find-file):
9410 Ignore non-readable or non-regular files. (Bug#10928)
9411
9412 * files.el (locate-dominating-file): Doc fix.
9413
9414 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9415
9416 * calendar/calendar.el (calendar-set-mode-line):
9417 `getenv' returns a string. (Bug#10951)
9418
9419 2012-03-05 Leo Liu <sdl.web@gmail.com>
9420
9421 * simple.el (backward-delete-char-untabify): Constrain point to
9422 field (Bug#10939).
9423
9424 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9425
9426 2012-03-05 Chong Yidong <cyd@gnu.org>
9427
9428 * simple.el (count-words): If called from Lisp, return the word
9429 count, for symmetry with `count-lines'. Arglist changed.
9430 (count-words--message): Args changed. Consolidate counting code
9431 from count-words and count-words-region.
9432 (count-words-region): Caller changed.
9433 (count-lines-region): Make it an obsolete alias.
9434
9435 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9436
9437 * saveplace.el (save-place-to-alist)
9438 (save-place-ignore-files-regexp): Allow value nil to disable this
9439 feature.
9440
9441 2012-03-04 Chong Yidong <cyd@gnu.org>
9442
9443 * faces.el (face-spec-reset-face): For the default face, reset the
9444 attributes to default values (Bug#10748).
9445
9446 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9447
9448 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9449 previous patch: Check `message-send-mail-function', and not the
9450 default function (bug#10897).
9451
9452 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9453
9454 * notifications.el (notifications-on-action-signal)
9455 (notifications-on-closed-signal): Check for unique service name of
9456 incoming event. Fix error in removing entry.
9457 (top): Register for signals with wildcard service name.
9458 (notifications-notify): Use daemon unique service name for map entries.
9459
9460 2012-03-04 Chong Yidong <cyd@gnu.org>
9461
9462 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9463
9464 2012-03-04 Glenn Morris <rgm@gnu.org>
9465
9466 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9467 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9468 (expand-abbrev, define-abbrev-table): Doc fixes.
9469
9470 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9471
9472 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9473 `message-default-send-mail-function' and not `send-mail-function'
9474 when doing the prompting for `sendmail-query-once' before sending
9475 in Message buffers (bug#10897).
9476
9477 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9478 This is inconsistent with all the other stream functions, which leave
9479 the setting up to the higher levels (if so wanted) (bug#10931).
9480
9481 2012-03-02 Alan Mackenzie <acm@muc.de>
9482
9483 Depessimize the handling of very large macros.
9484
9485 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9486 (c-macro-cache-syntactic): New variables to implement a one
9487 element macro cache.
9488 (c-invalidate-macro-cache): New function.
9489 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9490 Adapt to use the new cache.
9491 (c-state-safe-place): Use better the cache of safe positions.
9492 (c-state-semi-nonlit-pos-cache)
9493 (c-state-semi-nonlit-pos-cache-limit):
9494 New variables for...
9495 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9496 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9497 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9498 Use c-state-semi-safe-place.
9499
9500 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9501 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9502
9503 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9504
9505 * jka-compr.el (jka-compr-call-process):
9506 Apply `file-accessible-directory-p' only when the default directory is
9507 not remote.
9508
9509 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9510
9511 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9512 access of FILE2, if FILE1 does not exist.
9513
9514 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9515 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9516
9517 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9518 Add "PAGER=" to `process-environment'.
9519
9520 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9521
9522 * progmodes/sql.el: Bug fix
9523 (sql-get-login-ext): Save login values in globals.
9524 (sql-get-login): Use new version of `sql-get-login-ext'.
9525 (sql-interactive-mode): Set global `sql-connection' to nil.
9526 (sql-connect): Set global values for connection.
9527 (sql-product-interactive): Save global values as buffer local.
9528
9529 2012-02-29 Leo Liu <sdl.web@gmail.com>
9530
9531 * abbrev.el (define-abbrevs): Reset sys to nil.
9532
9533 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9534
9535 * files.el (file-equal-p): Rename from `files-equal-p'.
9536 Return nil when one or both files don't exist.
9537 (file-subdir-of-p): Now only top directory must exists,
9538 return nil if it doesn't.
9539 (copy-directory): No need to test with `file-subdir-of-p' after
9540 creating dir.
9541 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9542 to `file-equal-p'.
9543
9544 2012-02-28 Glenn Morris <rgm@gnu.org>
9545
9546 * shell.el (shell-mode):
9547 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9548 * play/landmark.el (landmark-font-lock-face-O):
9549 * play/handwrite.el (handwrite):
9550 * play/gomoku.el (gomoku-O):
9551 * net/browse-url.el (browse-url-browser-display):
9552 * international/mule.el (define-charset):
9553 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9554 * filesets.el (filesets-find-file-delay):
9555 * eshell/em-xtra.el (eshell-xtra):
9556 * eshell/em-unix.el (eshell-grep):
9557 * emulation/viper.el (viper-mode):
9558 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9559 * emacs-lisp/easymenu.el (easy-menu-define):
9560 * calendar/timeclock.el (timeclock-use-display-time):
9561 * bs.el (bs-mode):
9562 * bookmark.el (bookmark-save-flag):
9563 Doc fix (standardize possessive apostrophe usage).
9564
9565 2012-02-27 Chong Yidong <cyd@gnu.org>
9566
9567 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9568 Fix key-binding lookup for ESC key (Bug#9146).
9569
9570 * font-lock.el (font-lock-specified-p): Rename from
9571 font-lock-spec-present. Callers changed.
9572
9573 2012-02-27 Daniel Hackney <dan@haxney.org>
9574
9575 * emacs-lisp/package.el (package-compute-transaction):
9576 Handle holding a package version to t in package-load-list.
9577
9578 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9579
9580 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9581 (tramp-get-inode, tramp-get-device): Use cached values.
9582
9583 2012-02-26 Alan Mackenzie <acm@muc.de>
9584
9585 Check there is a font-lock specification before doing initial
9586 fontification.
9587
9588 * font-core.el (font-lock-mode): Move the conditional from
9589 :after-hook to font-lock-initial-fontify.
9590 (font-lock-default-function): Move the check for a specification
9591 to font-lock-spec-present.
9592
9593 * font-lock.el (font-lock-initial-fontify): Call ...
9594 (font-lock-spec-present): New function.
9595
9596 2012-02-26 Jim Blandy <jimb@red-bean.com>
9597
9598 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9599 (gdb-send): Apply it to the operand of the '-interpreter-exec
9600 console' command, so that we can pass arguments with (say) quotes
9601 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9602
9603 2012-02-26 Chong Yidong <cyd@gnu.org>
9604
9605 * help-fns.el (describe-function-1): Clarify description of
9606 remapping (Bug#10844).
9607
9608 * files.el (files-equal-p): Doc fix.
9609 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9610 and quit the loop once a mismatch is found.
9611
9612 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9613
9614 * bs.el (bs--show-with-configuration): Don't throw an error
9615 if the window cannot be split; otherwise, subsequent calls to
9616 bs-show fail, restoring a stale window config. (Bug#10882)
9617
9618 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9619
9620 * term/ns-win.el (global-map): Bind ns-drag-file to
9621 ns-find-file (Bug#5855, Bug#10050).
9622
9623 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9624
9625 * calendar/parse-time.el (parse-time-string): Allow extractor to
9626 return nil.
9627
9628 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9629
9630 * net/tramp.el (tramp-file-name-for-operation):
9631 Add `files-equal-p' and `file-subdir-of-p'.
9632
9633 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9634 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9635 Add COPY-CONTENTS argument.
9636
9637 2012-02-25 Chong Yidong <cyd@gnu.org>
9638
9639 Add custom groups for VC backends, for consistency with vc-bzr.
9640
9641 * vc/vc-arch.el (vc-arch):
9642 * vc/vc-cvs.el (vc-cvs):
9643 * vc/vc-git.el (vc-git):
9644 * vc/vc-hg.el (vc-hg):
9645 * vc/vc-mtn.el (vc-mtn):
9646 * vc/vc-rcs.el (vc-rcs):
9647 * vc/vc-sccs.el (vc-sccs):
9648 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9649 All relevant defcustoms reassigned.
9650
9651 2012-02-25 Chong Yidong <cyd@gnu.org>
9652
9653 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9654
9655 * term/x-win.el (x-initialize-window-system): Reduce default for
9656 x-selection-timeout to 5 seconds (Bug#8869).
9657
9658 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9659
9660 * files.el (files-equal-p, file-subdir-of-p): New functions.
9661 (copy-directory): Error when trying to copy a directory on itself.
9662 Add missing copy-contents arg to tramp handler.
9663 * dired-aux.el (dired-copy-file-recursive): Same.
9664 (dired-create-files): Modify destination when source is equal to
9665 dest when copying files.
9666 Return also when dest is a subdir of source. (Bug#10489)
9667
9668 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9669
9670 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9671 (Bug#10874)
9672
9673 2012-02-23 Alan Mackenzie <acm@muc.de>
9674
9675 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9676 parameter "after-hook:" to allow the expansion to run code after
9677 the execution of the mode hooks.
9678
9679 * font-lock.el (font-lock-initial-fontify): New function extracted
9680 from font-lock-mode-internal.
9681
9682 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9683 :after-hook.
9684
9685 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9686
9687 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9688 (completion--cache-all-sorted-completions): New function.
9689 (completion-all-sorted-completions): Use it.
9690 (completion--do-completion, minibuffer-force-complete):
9691 Use it to re-instate the flush hook.
9692
9693 * icomplete.el (icomplete-completions): Replace last fix with a better
9694 one (bug#10850).
9695
9696 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9697
9698 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9699 when it might call us back infinitely (bug#10797).
9700
9701 2012-02-23 Glenn Morris <rgm@gnu.org>
9702
9703 * minibuffer.el (completion-category-overrides): Doc fix.
9704
9705 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9706
9707 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9708 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9709
9710 2012-02-23 Glenn Morris <rgm@gnu.org>
9711
9712 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9713 (authors-obsolete-files-regexps, authors-ignored-files)
9714 (authors-ambiguous-files, authors-renamed-files-alist):
9715 Add more entries.
9716
9717 2012-02-23 Juri Linkov <juri@jurta.org>
9718
9719 * isearch.el (isearch-occur): Sync interactive spec with occur's
9720 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9721
9722 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9723
9724 2012-02-22 Juri Linkov <juri@jurta.org>
9725
9726 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9727 (ucs-insert): Doc fix. Check for hex digits in the string.
9728 Don't display `nil' in the error message. (Bug#10857)
9729
9730 2012-02-22 Alan Mackenzie <acm@muc.de>
9731
9732 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9733
9734 2012-02-22 Glenn Morris <rgm@gnu.org>
9735
9736 * ffap.el (ffap-c-path):
9737 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9738
9739 2012-02-22 Chong Yidong <cyd@gnu.org>
9740
9741 * custom.el (load-theme): Doc fix.
9742
9743 2012-02-22 Glenn Morris <rgm@gnu.org>
9744
9745 * dired-x.el (dired-guess-shell-alist-default):
9746 Remove escape sequences from nroff output. (Bug#172)
9747
9748 2012-02-21 Glenn Morris <rgm@gnu.org>
9749
9750 * vc/emerge.el (emerge-defvar-local):
9751 Set `permanent-local' property rather than unused `preserved'.
9752
9753 * textmodes/picture.el (picture-delete-char): New alias.
9754 (picture-mode-map): Use it. (Bug#10860)
9755 (picture-mode): Doc fix.
9756
9757 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9758
9759 * newcomment.el (uncomment-region-default): Remove unused binding.
9760
9761 2012-02-21 Glenn Morris <rgm@gnu.org>
9762
9763 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9764 (picture-self-insert, picture-tab-chars): Doc fix.
9765 (picture-mode-map): Fix C-a, C-e.
9766
9767 2012-02-20 Glenn Morris <rgm@gnu.org>
9768
9769 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9770
9771 2012-02-20 Leo Liu <sdl.web@gmail.com>
9772
9773 * icomplete.el (icomplete-completions): Check FROM arg before
9774 passing to substring (Bug#10850).
9775
9776 2012-02-19 Chong Yidong <cyd@gnu.org>
9777
9778 * comint.el: Require ansi-color.
9779 (comint-output-filter-functions): Add ansi-color-process-output.
9780
9781 * ansi-color.el: Don't set comint-output-filter-functions; it is
9782 now in the initial value defined in comint.el.
9783 (ansi-color-apply-face-function): New variable.
9784 (ansi-color-apply-on-region): Use it.
9785 (ansi-color-apply-overlay-face): New function.
9786
9787 * shell.el (shell): No need to require ansi-color.
9788 (shell-mode): Use ansi-color-apply-face-function to highlight
9789 color escapes using font-lock-face property (Bug#10835).
9790
9791 2012-02-19 Chong Yidong <cyd@gnu.org>
9792
9793 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9794 mode-line formats (Bug#10839).
9795
9796 2012-02-18 Glenn Morris <rgm@gnu.org>
9797
9798 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9799
9800 * mail/undigest.el (unforward-rmail-message): Doc fix.
9801
9802 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9803
9804 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9805
9806 * international/characters.el (script-list): Sync with the latest
9807 Unicode Character Database.
9808
9809 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9810
9811 * international/titdic-cnv.el: Remove duplicate coding tag.
9812 * language/cham.el: Likewise.
9813 * language/tai-viet.el: Likewise.
9814
9815 2012-02-18 Glenn Morris <rgm@gnu.org>
9816
9817 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9818 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9819 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9820 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9821 * calendar/holidays.el (holiday-bahai-holidays)
9822 (calendar-holidays, list-holidays):
9823 Use utf-8 Bahá'í in doc-strings, menus, etc.
9824
9825 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9826
9827 * saveplace.el (save-place-ignore-files-regexp): New variable
9828 allowing for excluding files from saving their location of point.
9829 The default value matches the temporary commit message editing
9830 files from Git, SVN, Bazaar, and Mercurial.
9831 (save-place-to-alist): Use it.
9832
9833 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9834 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 * newcomment.el (uncomment-region-default): Don't leave extra space
9837 when an arg is provided (bug#8150).
9838
9839 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9840
9841 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9842
9843 2012-02-17 Glenn Morris <rgm@gnu.org>
9844
9845 * net/socks.el: Require network-stream. (Bug#10599)
9846
9847 2012-02-17 Kenichi Handa <handa@m17n.org>
9848
9849 * international/charprop.el:
9850 * international/uni-name.el:
9851 * international/uni-old-name.el:
9852 * international/uni-comment.el: Regenerate.
9853
9854 2012-02-16 Glenn Morris <rgm@gnu.org>
9855
9856 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9857 Interactively in calendar buffer, give an error if not on a date.
9858
9859 2012-02-15 Glenn Morris <rgm@gnu.org>
9860
9861 * shell.el (shell-delimiter-argument-list):
9862 Revert 2011-02-17 change. (Bug#8027)
9863
9864 2012-02-15 Chong Yidong <cyd@gnu.org>
9865
9866 * minibuffer.el (completion-at-point-functions): Doc fix.
9867
9868 * custom.el (defcustom): Doc fix; note use of defvar.
9869
9870 2012-02-15 Glenn Morris <rgm@gnu.org>
9871
9872 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9873 Doc fixes.
9874
9875 2012-02-14 Glenn Morris <rgm@gnu.org>
9876
9877 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9878
9879 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9880
9881 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9882 way the ports list is computed.
9883 (smtpmail-query-smtp-server): Prompt the user for a port number if
9884 we can't connect to any of the standard ports (bug#10810).
9885
9886 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9887
9888 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9889
9890 2012-02-13 Glenn Morris <rgm@gnu.org>
9891
9892 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9893
9894 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9895
9896 * net/gnutls.el (gnutls-trustfiles): New variable.
9897 (gnutls-negotiate): Use it.
9898
9899 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9900
9901 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9902 does its stuff if Gnus is running.
9903
9904 2012-02-13 Alan Mackenzie <acm@muc.de>
9905
9906 Fix a loop in c-set-fl-decl-start.
9907
9908 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9909 c-backward-syntactic-ws actually moves backwards.
9910
9911 2012-02-13 Leo Liu <sdl.web@gmail.com>
9912
9913 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9914 beginning so that all \C-o chars are removed.
9915
9916 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9917
9918 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9919
9920 2012-02-12 Alan Mackenzie <acm@muc.de>
9921
9922 Fix infinite loop with long macros.
9923 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9924
9925 2012-02-12 Chong Yidong <cyd@gnu.org>
9926
9927 * window.el (display-buffer): Doc fix (Bug#10785).
9928
9929 2012-02-12 Glenn Morris <rgm@gnu.org>
9930
9931 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9932 (x-disown-selection-internal, x-get-selection-internal):
9933 Sync docs with the xselect.c versions.
9934
9935 * allout-widgets.el: Add missing license notice.
9936
9937 2012-02-11 Glenn Morris <rgm@gnu.org>
9938
9939 * select.el (x-get-selection-internal, x-own-selection-internal)
9940 (x-disown-selection-internal):
9941 * x-dnd.el (x-get-selection-internal): Update declarations.
9942
9943 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9944
9945 * window.el (window-sides-slots):
9946 * tool-bar.el (tool-bar-position):
9947 * term/xterm.el (xterm-extra-capabilities):
9948 * ses.el (ses-self-reference-early-detection):
9949 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9950 (verilog-auto-wire-type)
9951 (verilog-auto-delete-trailing-whitespace)
9952 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9953 (verilog-auto-tieoff-declaration):
9954 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9955 (sql-oracle-statement-starters, sql-oracle-scan-on):
9956 * progmodes/prolog.el (prolog-align-comments-flag)
9957 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9958 (prolog-left-indent-regexp, prolog-paren-indent-p)
9959 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9960 (prolog-types, prolog-mode-specificators)
9961 (prolog-determinism-specificators, prolog-directives)
9962 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9963 (prolog-electric-dot-flag)
9964 (prolog-electric-dot-full-predicate-template)
9965 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9966 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9967 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9968 (prolog-program-switches, prolog-prompt-regexp)
9969 (prolog-debug-on-string, prolog-debug-off-string)
9970 (prolog-trace-on-string, prolog-trace-off-string)
9971 (prolog-zip-on-string, prolog-zip-off-string)
9972 (prolog-use-standard-consult-compile-method-flag)
9973 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9974 (prolog-imenu-max-lines, prolog-info-predicate-index)
9975 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9976 (prolog-char-quote-workaround):
9977 * progmodes/cc-vars.el (c-defun-tactic):
9978 * net/tramp.el (tramp-encoding-command-interactive)
9979 (tramp-local-end-of-line):
9980 * net/soap-client.el (soap-client):
9981 * net/netrc.el (netrc-file):
9982 * net/gnutls.el (gnutls):
9983 * minibuffer.el (completion-category-overrides)
9984 (completion-cycle-threshold)
9985 (completion-pcm-complete-word-inserts-delimiters):
9986 * man.el (Man-name-local-regexp):
9987 * mail/feedmail.el (feedmail-display-full-frame):
9988 * international/characters.el (glyphless-char-display-control):
9989 * eshell/em-ls.el (eshell-ls-date-format):
9990 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9991 (lisp-lambda-list-keyword-parameter-indentation)
9992 (lisp-lambda-list-keyword-parameter-alignment):
9993 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9994 * dired-x.el (dired-omit-verbose):
9995 * cus-theme.el (custom-theme-allow-multiple-selections):
9996 * calc/calc.el (calc-highlight-selections-with-faces)
9997 (calc-lu-field-reference, calc-lu-power-reference)
9998 (calc-note-threshold):
9999 * battery.el (battery-mode-line-limit):
10000 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10001 (archive-7z-update):
10002 * allout.el (allout-prefixed-keybindings)
10003 (allout-unprefixed-keybindings)
10004 (allout-inhibit-auto-fill-on-headline)
10005 (allout-flattened-numbering-abbreviation):
10006 * allout-widgets.el (allout-widgets-auto-activation)
10007 (allout-widgets-icons-dark-subdir)
10008 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10009 (allout-widgets-theme-dark-background)
10010 (allout-widgets-theme-light-background)
10011 (allout-widgets-item-image-properties-emacs)
10012 (allout-widgets-item-image-properties-xemacs)
10013 (allout-widgets-run-unit-tests-on-load)
10014 (allout-widgets-time-decoration-activity)
10015 (allout-widgets-hook-error-post-time)
10016 (allout-widgets-track-decoration):
10017 Add missing :version tags to new defcustoms and defgroups.
10018
10019 * progmodes/sql.el (sql-ansi-statement-starters)
10020 (sql-oracle-statement-starters): Add custom type.
10021
10022 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10023 (prolog-system-version): Give it a type.
10024
10025 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10026
10027 * term/pc-win.el (x-select-text, x-selection-owner-p)
10028 (x-own-selection-internal, x-disown-selection-internal)
10029 (x-get-selection-internal): Sync doc strings and argument lists
10030 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10031
10032 2012-02-11 Leo Liu <sdl.web@gmail.com>
10033
10034 * progmodes/python.el (python-end-of-statement): Fix infinite
10035 loop. (Bug#10788)
10036
10037 2012-02-10 Glenn Morris <rgm@gnu.org>
10038
10039 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10040 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10041
10042 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10043
10044 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10045 about SMTP before checking the From header.
10046
10047 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10048 into own function for reuse by emacsbug.el.
10049
10050 2012-02-10 Leo Liu <sdl.web@gmail.com>
10051
10052 * subr.el (condition-case-unless-debug): Rename from
10053 condition-case-no-debug. All callers changed.
10054 (with-demoted-errors): Fix caller.
10055
10056 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10057 * nxml/rng-valid.el (rng-do-some-validation):
10058 * emacs-lisp/package.el (package-refresh-contents)
10059 (package-menu-execute):
10060 * desktop.el (desktop-create-buffer):
10061 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10062
10063 2012-02-10 Glenn Morris <rgm@gnu.org>
10064
10065 * textmodes/bibtex.el:
10066 Add missing :version tags for new/changed defcustoms.
10067
10068 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10069
10070 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10071
10072 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10073 (smtpmail-via-smtp): Use it, or fall back on the From address.
10074 (smtpmail-send-it): Ditto.
10075
10076 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10077
10078 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10079 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10080 (byte-compile-tmp-var): New const.
10081 (byte-compile-defvar): Use it to minimize .elc size.
10082 Just use `defvar' rather than simulate it (bug#10761).
10083
10084 2012-02-09 Glenn Morris <rgm@gnu.org>
10085
10086 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10087
10088 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10089 Add :version tags.
10090
10091 * progmodes/compile.el (compilation-error-screen-columns)
10092 (compilation-first-column, compilation-filter-start): Doc fixes.
10093
10094 * vc/log-view.el (log-view-toggle-entry-display):
10095 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10096
10097 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10098 (report-emacs-bug-can-use-xdg-email):
10099 (report-emacs-bug-insert-to-mailer): Doc fixes.
10100 (report-emacs-bug): Message fix.
10101
10102 * net/browse-url.el (browse-url-can-use-xdg-open)
10103 (browse-url-xdg-open): Doc fixes.
10104
10105 * electric.el (electric-indent-mode, electric-pair-mode)
10106 (electric-layout-rules, electric-layout-mode): Doc fixes.
10107 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10108
10109 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10110
10111 * server.el (server-unselect-display): Don't inadvertently kill
10112 the current buffer. (Bug#10729)
10113
10114 2012-02-08 Glenn Morris <rgm@gnu.org>
10115
10116 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10117 (sql-list-table): Doc fixes.
10118
10119 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10120 Comment out (does nothing).
10121
10122 * completion.el (dynamic-completion-mode):
10123 * dirtrack.el (dirtrack-debug-mode):
10124 * electric.el (electric-layout-mode):
10125 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10126 * face-remap.el (text-scale-mode, buffer-face-mode):
10127 * iimage.el (iimage-mode):
10128 * image-mode.el (image-transform-mode):
10129 * minibuffer.el (completion-in-region-mode):
10130 * scroll-lock.el (scroll-lock-mode):
10131 * simple.el (next-error-follow-minor-mode):
10132 * tar-mode.el (tar-subfile-mode):
10133 * tooltip.el (tooltip-mode):
10134 * vcursor.el (vcursor-use-vcursor-map):
10135 * wid-browse.el (widget-minor-mode):
10136 * emulation/tpu-edt.el (tpu-edt-mode):
10137 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10138 * international/iso-ascii.el (iso-ascii-mode):
10139 * language/thai-util.el (thai-word-mode):
10140 * mail/supercite.el (sc-minor-mode):
10141 * net/goto-addr.el (goto-address-mode):
10142 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10143 * progmodes/cwarn.el (cwarn-mode):
10144 * progmodes/flymake.el (flymake-mode):
10145 * progmodes/glasses.el (glasses-mode):
10146 * progmodes/hideshow.el (hs-minor-mode):
10147 * progmodes/pascal.el (pascal-outline-mode):
10148 * textmodes/enriched.el (enriched-mode):
10149 * vc/smerge-mode.el (smerge-mode):
10150 Doc fixes (minor mode argument).
10151
10152 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10153
10154 * ls-lisp.el (ls-lisp-sanitize): New function.
10155 (ls-lisp-insert-directory): Use it to fix or remove any elements
10156 in file-alist with missing attributes. (Bug#4673)
10157
10158 2012-02-07 Alan Mackenzie <acm@muc.de>
10159
10160 Fix spurious recognition of c-in-knr-argdecl.
10161
10162 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10163 putative K&R region.
10164
10165 2012-02-07 Alan Mackenzie <acm@muc.de>
10166
10167 * progmodes/cc-engine.el (c-forward-objc-directive):
10168 Prevent looping in "#pragma mark @implementation".
10169
10170 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10171
10172 * notifications.el (notifications-on-closed-signal): Make `reason'
10173 optional. (Bug#10744)
10174
10175 2012-02-07 Glenn Morris <rgm@gnu.org>
10176
10177 * emacs-lisp/easy-mmode.el (define-minor-mode):
10178 Doc fixes for the macro and the mode it defines.
10179
10180 * image.el (imagemagick-types-inhibit): Doc fix.
10181
10182 * cus-start.el (imagemagick-render-type): Add it.
10183
10184 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10185
10186 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10187 Set the default at load time, too, so that `font-lock-fontify-buffer'
10188 can be called without setting up the entire mode first. This fixes
10189 a bug in `mm-inline-text' with C MIME parts.
10190
10191 2012-02-06 Chong Yidong <cyd@gnu.org>
10192
10193 * simple.el (list-processes--refresh): Delete exited processes
10194 (Bug#8094).
10195
10196 * comint.el (comint-next-prompt): next-single-char-property-change
10197 and prev-single-char-property-change never return nil (Bug#8657).
10198
10199 * custom.el (defcustom): Doc fix (Bug#9711).
10200
10201 2012-02-05 Chong Yidong <cyd@gnu.org>
10202
10203 * cus-edit.el (custom-variable-reset-backup): Quote the value
10204 before storing it in the customized-value property (Bug#6712).
10205 (custom-display): Add a customization type tag.
10206 (custom-buffer-create-internal): Improve tooltip message.
10207
10208 * wid-edit.el (widget-field-value-get): New optional arg to
10209 suppress trailing whitespace truncation.
10210 (character): Use it (Bug#2689).
10211
10212 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10213
10214 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10215 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10216
10217 2012-02-05 Chong Yidong <cyd@gnu.org>
10218
10219 * cus-edit.el (custom-variable-value-create): For mismatched
10220 types, show the current value (Bug#7600).
10221
10222 * custom.el (defcustom): Doc fix.
10223
10224 2012-02-05 Glenn Morris <rgm@gnu.org>
10225
10226 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10227
10228 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10229
10230 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10231 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10232 (pp-last-sexp): Use `looking-at-p'.
10233
10234 2012-02-04 Glenn Morris <rgm@gnu.org>
10235
10236 * files.el (revert-buffer):
10237 Doc fix (mention revert-buffer-in-progress-p).
10238
10239 * emacs-lisp/ert-x.el (ert-simulate-command):
10240 Check deferred-action-list (which is obsolete) is bound.
10241
10242 * subr.el (with-wrapper-hook): Doc fixes.
10243
10244 * simple.el (filter-buffer-substring-functions)
10245 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10246
10247 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10248
10249 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10250 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10251
10252 2012-02-04 Leo Liu <sdl.web@gmail.com>
10253
10254 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10255
10256 2012-02-04 Glenn Morris <rgm@gnu.org>
10257
10258 * image.el (image-extension-data): Add obsolete alias.
10259
10260 * isearch.el (isearch-update): Doc fix.
10261
10262 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10263
10264 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10265
10266 2012-02-03 Glenn Morris <rgm@gnu.org>
10267
10268 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10269 (image-animate-timeout): Doc fix.
10270
10271 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10272
10273 2012-02-02 Glenn Morris <rgm@gnu.org>
10274
10275 * server.el (server-auth-dir): Doc fix.
10276 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10277
10278 * subr.el (run-mode-hooks): Doc fix.
10279
10280 2012-02-02 Juri Linkov <juri@jurta.org>
10281
10282 * image-mode.el (image-toggle-display-image): Remove tautological
10283 `major-mode' from the `derived-mode-p' test.
10284
10285 2012-02-02 Kenichi Handa <handa@m17n.org>
10286
10287 * composite.el (compose-region): Cancel previous change.
10288
10289 2012-02-02 Kenichi Handa <handa@m17n.org>
10290
10291 * composite.el (compose-region, compose-string): Signal error for
10292 a null string component (Bug#6988).
10293
10294 2012-02-01 Chong Yidong <cyd@gnu.org>
10295
10296 * view.el (view-buffer-other-window, view-buffer-other-frame):
10297 Handle special modes like view-buffer (Bug#10650).
10298 (view-buffer): Simplify.
10299
10300 * frame.el (set-frame-font): Tweak meaning of third argument.
10301
10302 * dynamic-setting.el (font-setting-change-default-font):
10303 Use set-frame-font (Bug#9982).
10304
10305 2012-02-01 Glenn Morris <rgm@gnu.org>
10306
10307 * progmodes/compile.el (compilation-internal-error-properties):
10308 Respect compilation-first-column in the "*compilation*" buffer.
10309
10310 * emacs-lisp/easy-mmode.el (define-minor-mode):
10311 Relax :variable's test for a named function.
10312
10313 2012-01-31 Alan Mackenzie <acm@muc.de>
10314
10315 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10316 off by one error.
10317
10318 2012-01-31 Chong Yidong <cyd@gnu.org>
10319
10320 * frame.el (set-frame-font): New arg ALL-FRAMES.
10321
10322 * menu-bar.el (menu-set-font): Use set-frame-font.
10323
10324 * faces.el (face-spec-reset-face): Don't apply unspecified
10325 attribute values to the default face.
10326
10327 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10328
10329 * progmodes/cwarn.el (cwarn): Remove dead link.
10330 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10331 Remove * from defcustom docstrings.
10332 (turn-on-cwarn-mode): Make obsolete.
10333 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10334 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10335
10336 2012-01-31 Glenn Morris <rgm@gnu.org>
10337
10338 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10339 Fix :variable handling of mode a symbol not equal to modefun.
10340 Allow named functions to be used as the cdr of :variable.
10341
10342 2012-01-30 Glenn Morris <rgm@gnu.org>
10343
10344 * emacs-lisp/authors.el (authors-fixed-entries):
10345 Remove reference to deleted file rnewspost.el.
10346
10347 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10348
10349 * window.el (window-with-parameter): Remove unused variable `windows'.
10350 (window--side-check): Remove unused variable `code'.
10351 (window--resize-siblings): Remove unused variable `first'.
10352 (adjust-window-trailing-edge): Remove unused variable `failed'.
10353 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10354 Use `let', not `let*'.
10355 (balance-windows-2): Remove unused variable `found'.
10356 (window--state-put-2): Remove unused variable `splits'.
10357 (window-state-put): Remove unused variable `selected'.
10358 (same-window-p): Use `string-match-p'.
10359 (display-buffer-assq-regexp): Remove unused variable `value'.
10360 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10361 Mark argument ALIST as ignored.
10362 (pop-to-buffer): Remove unused variable `old-window'.
10363
10364 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10365
10366 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10367 and .lzma compressed files.
10368
10369 2012-01-29 Chong Yidong <cyd@gnu.org>
10370
10371 * frame.el (window-system-default-frame-alist): Doc fix.
10372
10373 * dynamic-setting.el (font-setting-change-default-font): Don't
10374 change the default face if SET-FONT argument is non-nil (Bug#9982).
10375
10376 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10377
10378 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10379
10380 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10381
10382 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10383 breakpoints in files outside current directory (Bug#6098).
10384
10385 2012-01-29 Chong Yidong <cyd@gnu.org>
10386
10387 * progmodes/python.el: Require ansi-color at top-level.
10388
10389 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10390 Define and use in Emacs Lisp mode (Bug#9360).
10391 (lisp-mode-abbrev-table): Add doc.
10392 (lisp-mode-variables): Don't set local-abbrev-table.
10393 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10394
10395 2012-01-28 Roland Winkler <winkler@gnu.org>
10396
10397 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10398
10399 2012-01-28 Roland Winkler <winkler@gnu.org>
10400
10401 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10402 (bibtex-set-dialect): Use it. Either set global values of
10403 dialect-dependent variables or bind these variables buffer-locally
10404 (Bug#10254).
10405 (bibtex-mode): Call bibtex-set-dialect via
10406 hack-local-variables-hook.
10407 (bibtex-dialect): Update docstring.
10408 Add safe-local-variable predicate.
10409 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10410 bibtex-set-dialect.
10411 (bibtex-mode-map): Define menu for each dialect.
10412 (bibtex-entry): Fix docstring.
10413
10414 2012-01-28 Chong Yidong <cyd@gnu.org>
10415
10416 * eshell/esh-arg.el (eshell-quote-argument): New function.
10417
10418 * eshell/esh-ext.el (eshell-invoke-batch-file):
10419 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10420 first arg to eshell-parse-command (Bug#10523).
10421
10422 2012-01-28 Drew Adams <drew.adams@oracle.com>
10423
10424 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10425 `default-directory' is non-nil.
10426
10427 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10428
10429 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10430 line that displays system-configuration-options. (Bug#9924)
10431
10432 2012-01-28 Drew Adams <drew.adams@oracle.com>
10433
10434 * descr-text.el (describe-char): Show information about POS, in
10435 addition to information about the character at POS. Improve and
10436 update the doc string. Change "code point" to "code point in
10437 charset", to avoid confusion with the character's Unicode code
10438 point shown above that. (Bug#10129)
10439
10440 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10441
10442 * descr-text.el (describe-char): Show the raw character, not only
10443 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10444 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10445 for the reasons.
10446
10447 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10448
10449 * emacs-lisp/package.el (package-install):
10450 Run package-refresh-contents if there is no archive yet (Bug#9798).
10451
10452 2012-01-28 Chong Yidong <cyd@gnu.org>
10453
10454 * emacs-lisp/package.el (package-maybe-load-descriptor):
10455 New function, split from package-maybe-load-descriptor.
10456 (package-maybe-load-descriptor): Use it.
10457 (package-download-transaction): Fully load required packages
10458 inside the loop, so that `require' calls work (Bug#10593).
10459 (package-install): No need to call package-initialize now.
10460
10461 2012-01-28 Chong Yidong <cyd@gnu.org>
10462
10463 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10464
10465 * tooltip.el (tooltip-mode): Doc fix.
10466 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10467
10468 * frame.el (set-cursor-color): Doc fix (Bug#352).
10469
10470 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10471 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10472
10473 * cus-edit.el (custom-buffer-create-internal): Fix search button
10474 action (Bug#10542).
10475 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10476
10477 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10478
10479 * dired.el (dired-mark-files-regexp):
10480 Include any subdirectory components. (Bug#10445)
10481
10482 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10483
10484 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10485 Handle [host]:port syntax. (Bug#10533)
10486
10487 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10488
10489 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10490
10491 2012-01-26 Glenn Morris <rgm@gnu.org>
10492
10493 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10494 * term.el (term-raw-escape-map): Use Control-X-prefix.
10495 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10496
10497 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10498
10499 * window.el (window-state-get, window--state-get-1): Don't deal
10500 with fixed-sizeness of windows. Simplify code.
10501
10502 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10503
10504 * window.el (window--state-get-1, window--state-put-2):
10505 Don't save and restore the mark.
10506
10507 2012-01-25 Chong Yidong <cyd@gnu.org>
10508
10509 * custom.el (custom-variable-p): Doc fix.
10510
10511 2012-01-25 Glenn Morris <rgm@gnu.org>
10512
10513 * dired.el (dired-goto-file): Handle some of the more common
10514 characters that `ls -b' escapes. (Bug#10596)
10515
10516 * progmodes/compile.el (compilation-next-error-function):
10517 Respect compilation-first-column in the "*compilation*" buffer.
10518 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10519
10520 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10521
10522 2012-01-24 Glenn Morris <rgm@gnu.org>
10523
10524 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10525
10526 2012-01-24 Julien Danjou <julien@danjou.info>
10527
10528 * color.el (color-rgb-to-hsl): Fix value computing.
10529 (color-hue-to-rgb): New function.
10530 (color-hsl-to-rgb): New function.
10531 (color-clamp, color-saturate-hsl, color-saturate-name)
10532 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10533 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10534
10535 2012-01-24 Glenn Morris <rgm@gnu.org>
10536
10537 * vc/vc-rcs.el (vc-rcs-create-tag):
10538 * vc/vc-sccs.el (vc-sccs-create-tag):
10539 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10540
10541 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10542
10543 * eshell/esh-util.el (eshell-read-hosts-file):
10544 Skip comment lines. (Bug#10549)
10545
10546 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10547
10548 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10549
10550 * subr.el (display-delayed-warnings): Doc fix.
10551 (collapse-delayed-warnings): New function to collapse identical
10552 adjacent warnings.
10553 (delayed-warnings-hook): Add it.
10554
10555 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10556
10557 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10558
10559 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10560 (tramp-default-user-alist): Don't add "pscp".
10561 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10562 property "login-as", if set. (Bug#10530)
10563
10564 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10565
10566 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10567 "plink1" and "psftp". (Bug#10530)
10568
10569 2012-01-21 Kenichi Handa <handa@m17n.org>
10570
10571 * international/mule-cmds.el (prefer-coding-system): Show a
10572 warning message if the default value of file-name-coding-system
10573 was not changed.
10574
10575 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10576
10577 * windmove.el (windmove-reference-loc):
10578 Fix windmove-reference-loc miscalculation.
10579
10580 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10581
10582 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10583 default unit.
10584
10585 2012-01-21 Glenn Morris <rgm@gnu.org>
10586
10587 * international/mule.el (auto-coding-alist): Add .tbz.
10588
10589 * files.el (local-enable-local-variables): Doc fix.
10590 (inhibit-local-variables-regexps): Rename from
10591 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10592 Doc fix. Add some extensions from auto-coding-alist.
10593 (inhibit-local-variables-suffixes):
10594 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10595 (inhibit-local-variables-p):
10596 New function, extracted from set-auto-mode-1.
10597 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10598 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10599 (hack-local-variables): Doc fix. Make the mode-only case
10600 respect enable-local-variables and friends.
10601 Respect inhibit-local-variables-regexps for file-locals, but
10602 not for directory-locals.
10603 (set-visited-file-name):
10604 Take account of inhibit-local-variables-regexps.
10605 Whether it applies may change as the file name is changed.
10606 * jka-cmpr-hook.el (jka-compr-install):
10607 * jka-compr.el (jka-compr-uninstall):
10608 Update for inhibit-first-line-modes-suffixes name change.
10609
10610 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10611
10612 * help-macro.el (make-help-screen): Temporarily restore original
10613 binding for minor-mode-map-alist (Bug#10454).
10614
10615 2012-01-19 Julien Danjou <julien@danjou.info>
10616
10617 * color.el (color-name-to-rgb): Use the white color to find the max
10618 color component value and return correctly computed values.
10619 (color-name-to-rgb): Add missing float conversion for max value.
10620
10621 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10622
10623 * window.el (window--state-get-1, window-state-get): Do not use
10624 special state value for window-persistent-parameters.
10625 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10626 (window--state-put-2): Reset all window parameters to nil before
10627 assigning values of persistent parameters.
10628
10629 2012-01-18 Alan Mackenzie <acm@muc.de>
10630
10631 Eliminate sluggishness and hangs in fontification of "semicolon
10632 deserts".
10633
10634 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10635 Change value 10000 -> 3000.
10636 (c-state-safe-place): Reformulate so it doesn't stack up an
10637 infinite number of wrong entries in c-state-nonlit-pos-cache.
10638 (c-determine-limit-get-base, c-determine-limit): New functions to
10639 determine backward search limits disregarding literals.
10640 (c-find-decl-spots): Amend commenting.
10641 (c-cheap-inside-bracelist-p): New function which detects "={".
10642
10643 * progmodes/cc-fonts.el
10644 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10645 backward search.
10646 (c-font-lock-declarations): Fix an occurrence of point being
10647 undefined. Check additionally for point being in a bracelist or
10648 near a macro invocation without a semicolon so as to avoid a
10649 fruitless time consuming search for a declarator. Give a more
10650 precise search limit for declarators using the new
10651 c-determine-limit.
10652
10653 2012-01-18 Glenn Morris <rgm@gnu.org>
10654
10655 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10656 (set-auto-mode): Doc fixes.
10657
10658 2012-01-17 Glenn Morris <rgm@gnu.org>
10659
10660 * isearch.el (search-nonincremental-instead): Fix doc typo.
10661
10662 * dired.el (dired-insert-directory): Handle newlines in directory name.
10663 (dired-build-subdir-alist): Unescape newlines in directory name.
10664
10665 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10666
10667 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10668 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10669 (tramp-action-terminal): Use it. (Bug#10530)
10670
10671 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10672
10673 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10674
10675 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10676
10677 * window.el (window-state-ignored-parameters): Remove variable.
10678 (window--state-get-1): Rename argument MARKERS to IGNORE.
10679 Handle persistent window parameters. Make copy of clone-of
10680 parameter only if requested. (Bug#10348)
10681 (window--state-put-2): Install a window parameter only if it has
10682 a non-nil value or an existing parameter shall be overwritten.
10683
10684 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10685
10686 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10687
10688 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10689
10690 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10691 don't pass the (nil) value of `upnode' to string-match.
10692
10693 2012-01-14 Chong Yidong <cyd@gnu.org>
10694
10695 * startup.el (command-line): Fix X resource class for cursorColor.
10696 Fix values recognized by the cursorBlink resource.
10697
10698 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10699
10700 * epg.el (epg--make-temp-file): Avoid permission race condition
10701 when running on old Emacs versions (bug#10403).
10702
10703 2012-01-14 Glenn Morris <rgm@gnu.org>
10704
10705 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10706
10707 2012-01-13 Alan Mackenzie <acm@muc.de>
10708
10709 Fix filling for when filladapt mode is enabled.
10710
10711 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10712 c-mask-paragraph, pass in `fill-paragraph' rather than
10713 `fill-region-as-paragraph'. (This is a reversion of a previous
10714 change.)
10715 * progmodes/cc-mode.el (c-basic-common-init):
10716 Make fill-paragraph-handle-comment buffer local and set it to nil.
10717
10718 2012-01-13 Glenn Morris <rgm@gnu.org>
10719
10720 * dired.el (dired-switches-escape-p): New function.
10721 (dired-insert-directory): Use dired-switches-escape-p.
10722 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10723
10724 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10725
10726 2012-01-12 Glenn Morris <rgm@gnu.org>
10727
10728 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10729 changes in adaptive-fill-regexp. (Bug#10276)
10730
10731 2012-01-11 Alan Mackenzie <acm@muc.de>
10732
10733 Fix Emacs bug #10463 - put `widen's around the critical spots.
10734
10735 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10736 widen around each invocation of c-state-pp-to-literal. Remove an
10737 unused let variable.
10738
10739 2012-01-11 Glenn Morris <rgm@gnu.org>
10740
10741 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10742 Doc fix.
10743
10744 2012-01-10 Chong Yidong <cyd@gnu.org>
10745
10746 * net/network-stream.el (network-stream-open-starttls):
10747 Avoid emitting a confusing error message when the server gives a bad
10748 response to the capability command.
10749
10750 2012-01-10 Glenn Morris <rgm@gnu.org>
10751
10752 * mail/unrmail.el (unrmail): Tweak previous change.
10753
10754 2012-01-09 Chong Yidong <cyd@gnu.org>
10755
10756 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10757
10758 2012-01-08 Alan Mackenzie <acm@muc.de>
10759
10760 Optimise font locking in long enum definitions.
10761
10762 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10763 arm to a cond form to handle enums.
10764 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10765 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10766
10767 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10768
10769 * files.el (move-file-to-trash): Preserve default file modes on error.
10770 (Bug#10401)
10771
10772 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10773
10774 * faces.el (set-face-attribute): Clarify the meaning of the nil
10775 frame (bug#10294).
10776
10777 * subr.el (with-selected-frame): Mention that the selected frame
10778 is restored (bug#9980).
10779
10780 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10781 (bug#9759).
10782
10783 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10784 (password-read): Don't autoload unused function.
10785
10786 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10787
10788 * progmodes/which-func.el (which-func-mode): Turn into a
10789 non-interactive function and mark as obsolete (bug#10428).
10790
10791 2012-01-06 Chong Yidong <cyd@gnu.org>
10792
10793 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10794 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10795 functions, along with 1 and -1.
10796
10797 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10798
10799 * time.el (display-time-load-average)
10800 (display-time-default-load-average): Doc fixes. See the thread
10801 starting at
10802 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10803 for the details.
10804
10805 2012-01-06 Glenn Morris <rgm@gnu.org>
10806
10807 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10808 has no messages. (Bug#10377)
10809
10810 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10811 than Info-edit. (Bug#10385)
10812
10813 * time.el (display-time-load-average, display-time-next-load-average):
10814 Doc fixes.
10815
10816 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10817 local setting of buffer-read-only to the input buffer. (Bug#10419)
10818
10819 * calendar/calendar.el (calendar-mode):
10820 Locally set scroll-margin to 0. (Bug#10379)
10821
10822 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10823
10824 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10825
10826 2012-01-05 Glenn Morris <rgm@gnu.org>
10827
10828 * eshell/em-unix.el (diff-no-select): Autoload it.
10829 (eshell/diff): Use diff-no-select. (Bug#10420)
10830
10831 2012-01-05 Chong Yidong <cyd@gnu.org>
10832
10833 * shell.el (shell-dynamic-complete-functions): Revert last change.
10834 (shell-command-completion-function): New function.
10835 (shell-completion-vars): Use it to implement
10836 shell-completion-execonly (Bug#10417).
10837
10838 * custom.el (enable-theme): Don't set custom-safe-themes.
10839
10840 * cus-theme.el (custom-theme-merge-theme):
10841 Ignore custom-enabled-themes and custom-safe-themes.
10842
10843 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10844
10845 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10846 first prompt in `sql-interacive-mode'.
10847 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10848 keywords.
10849 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10850 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10851 context of original buffer. Invoke `sql-login-hook'.
10852
10853 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10854
10855 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10856 letters in cite-prefix.
10857
10858 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10859
10860 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10861
10862 2012-01-03 Chong Yidong <cyd@gnu.org>
10863
10864 * shell.el (shell-dynamic-complete-functions):
10865 Put pcomplete-completions-at-point, so as to try
10866 comint-filename-completion first (Bug#10417).
10867
10868 2012-01-02 Richard Stallman <rms@gnu.org>
10869
10870 * battery.el (battery-status-function):
10871 Detect when to use battery-yeeloong-sysfs.
10872 (battery-echo-area-format): Add string for Yeeloong.
10873 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10874 (battery-yeeloong-sysfs): New function.
10875
10876 2012-01-02 Chong Yidong <cyd@gnu.org>
10877
10878 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10879 (dirtrack): Merge code for handling relative filenames in prompt
10880 from shell-dir-cookie-watcher.
10881 (dirtrack-debug-message): New arg to avoid excess format calls.
10882
10883 * shell.el (shell-dir-cookie-re): Variable deleted.
10884 (shell-dir-cookie-watcher): Function deleted.
10885 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10886 with dirtrack-mode.
10887
10888 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10889
10890 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10891 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10892 libgnutls-26.dll.
10893
10894 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10895
10896 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10897
10898 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10899
10900 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10901 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10902
10903 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10904
10905 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10906 also for alternative shells.
10907 (tramp-open-connection-setup-interactive-shell): Check, whether
10908 the shell is a busybox.
10909 (tramp-send-command): Don't suppress multiple prompts for
10910 busyboxes, it hurts.
10911
10912 2011-12-28 Chong Yidong <cyd@gnu.org>
10913
10914 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10915 (gdb-get-source-file): Move mode line update to
10916 gdb-get-source-file (Bug#10087).
10917
10918 2011-12-25 Chong Yidong <cyd@gnu.org>
10919
10920 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10921 gud-gdb-marker-filter without taking it as an argument.
10922 (gud-gdb-run-command-fetch-lines): Caller changed.
10923 (gud-gdb-completion-function): New variable.
10924 (gud-gdb-completion-at-point): Use it.
10925 (gud-gdb-completions-1): Split from gud-gdb-completions.
10926
10927 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10928 function as separate arguments.
10929 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10930 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10931 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10932 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10933 (gdb-stopped, def-gdb-auto-update-trigger)
10934 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10935 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10936 Callers changed.
10937 (gud-gdbmi-completions): New function.
10938 (gdb): Use it for generating the completion table.
10939
10940 2011-12-24 Alan Mackenzie <acm@muc.de>
10941
10942 Introduce a mechanism to widen the region used in context font
10943 locking. Use this to protect declarations from losing their contexts.
10944
10945 * progmodes/cc-langs.el (c-before-font-lock-functions):
10946 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10947 (c-before-context-fontification-functions): New defvar, a list of
10948 functions to be run just before context (etc.) font locking.
10949
10950 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10951 New, functionality extracted from
10952 c-neutralize-syntax-in-and-mark-CPP.
10953 (c-in-after-change-fontification): New variable.
10954 (c-after-change): Set c-in-after-change-fontification.
10955 (c-set-fl-decl-start): Rejig its interface, so it can be called
10956 from both after-change and context fontifying.
10957 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10958 New functions.
10959 (c-standard-font-lock-fontify-region-function): New variable.
10960 (c-font-lock-fontify-region): New function.
10961
10962 2011-12-24 Juri Linkov <juri@jurta.org>
10963
10964 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10965 (Bug#10348)
10966
10967 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10968
10969 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10970 existence of source file. (Bug#10325)
10971
10972 2011-12-23 Alan Mackenzie <acm@muc.de>
10973
10974 Fix unstable fontification inside templates.
10975
10976 * progmodes/cc-langs.el (c-before-font-lock-functions):
10977 Newly created from the singular version. The (c c++ objc) entry now
10978 additionally has c-set-fl-decl-start. The other languages (apart
10979 from AWK) have that as a single entry.
10980
10981 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10982 The functionality for "local" declarations has been extracted to
10983 c-set-fl-decl-start.
10984
10985 * progmodes/cc-mode.el (c-common-init, c-after-change):
10986 Changes due to pluralisation of c-before-font-lock-functions.
10987 (c-set-fl-decl-start): New function, extracted from
10988 c-font-lock-enclosing-decls and enhanced.
10989
10990 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
10991
10992 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10993
10994 2011-12-22 Juri Linkov <juri@jurta.org>
10995
10996 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10997
10998 2011-12-22 Chong Yidong <cyd@gnu.org>
10999
11000 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11001
11002 2011-12-21 Drew Adams <drew.adams@oracle.com>
11003
11004 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11005
11006 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11007
11008 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11009
11010 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11011
11012 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11013 highlighting and support. Fix up comments for capitalization.
11014 (cfengine-mode-debug): New var.
11015 (cfengine3-mode): Change the modeline indicator to "CFE3".
11016 (cfengine3-font-lock-keywords): Improve defun highlighting.
11017 (cfengine2-actions): Rename from `cfengine-actions'.
11018 (cfengine2-font-lock-keywords): Rename from
11019 `cfengine-font-lock-keywords'.
11020 (cfengine2-imenu-expression): Rename from
11021 `cfengine-imenu-expression'.
11022 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11023 (cfengine2-beginning-of-defun): Rename from
11024 `cfengine-beginning-of-defun'.
11025 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11026 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11027 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11028 modeline indicator to "CFE2".
11029 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11030 (cfengine-mode-abbrevs): Mark obsolete.
11031
11032 2011-12-21 Chong Yidong <cyd@gnu.org>
11033
11034 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11035 filename argument.
11036
11037 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11038
11039 * window.el (window-normalize-buffer-to-display): Remove.
11040 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11041
11042 2011-12-19 Chong Yidong <cyd@gnu.org>
11043
11044 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11045 Don't signal an error in a predicate function; return non-nil.
11046 (vc-dir-mark-file): Move the error here.
11047 (vc-dir-mark-unmark): If acting on the region, keep going if one
11048 of the entries cannot be marked/unmarked.
11049 (vc-dir-mark-all-files): If current entry is a directory, mark
11050 only child files, as documented.
11051
11052 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11053
11054 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11055 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11056 addition.
11057
11058 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11059
11060 * term/ns-win.el (ns-get-selection-internal)
11061 (ns-store-selection-internal): Declare.
11062 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11063 Declare as obsolete.
11064 (ns-get-pasteboard, ns-paste-secondary):
11065 Use ns-get-selection-internal.
11066 (ns-set-pasteboard, ns-copy-including-secondary):
11067 Use ns-store-selection-internal.
11068
11069 2011-12-17 Chong Yidong <cyd@gnu.org>
11070
11071 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11072 (vc-deduce-fileset): Doc fix.
11073
11074 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11075
11076 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11077
11078 2011-12-13 Sam Steingold <sds@gnu.org>
11079
11080 * man.el (Man-getpage-in-background): When running under a
11081 window-system, ignore $MANWIDTH and $COLUMNS.
11082
11083 2011-12-15 Kenichi Handa <handa@m17n.org>
11084
11085 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11086 (setup-ethiopic-environment-internal): Comment out key-binding for
11087 ethio-toggle-punctuation.
11088
11089 2011-12-13 Alan Mackenzie <acm@muc.de>
11090
11091 Add the switch statement to AWK Mode.
11092
11093 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11094 "default" to the keywords regexp.
11095
11096 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11097 expression as the rest.
11098 (c-nonlabel-token-key): Allow string literals for AWK.
11099 Refactor for the other modes.
11100
11101 Large brace-block initialisation makes CC Mode slow: Fix.
11102 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11103 routines. Limit backward searching in c-font-lock-enclosing.decl.
11104
11105 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11106 pp-state and literal type in addition to the limits.
11107 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11108 (c-state-literal-at): Use the above new defun.
11109 (c-slow-in-literal, c-fast-in-literal): Remove.
11110 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11111
11112 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11113 being in a literal. Add a limit for backward searching.
11114
11115 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11116 c-slow-in-literal.
11117
11118 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11119
11120 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11121
11122 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11123
11124 * window.el (delete-other-windows): Use correct frame in call to
11125 window-with-parameter.
11126
11127 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11128
11129 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11130 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11131 (makefile-gmake-statements, makefile-makepp-statements):
11132 Use it and add new makepp keywords.
11133 (makefile-makepp-font-lock-keywords): Add new patterns.
11134 (makefile-match-function-end): Match new [...] and [[...]].
11135
11136 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11137
11138 * ses.el (ses-call-printer-return, ses-cell-property-get)
11139 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11140 (ses-create-cell-variable, ses-reset-header-string)
11141 (ses-cell-set-formula, ses-repair-cell-reference-all)
11142 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11143 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11144 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11145 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11146 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11147 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11148 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11149 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11150 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11151 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11152 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11153 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11154
11155 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11156
11157 * ses.el: The overall change is to add cell renaming, that is
11158 setting fancy names for cell symbols other than name matching
11159 "\\`[A-Z]+[0-9]+\\'" regexp .
11160 (ses-create-cell-variable): New defun.
11161 (ses-relocate-formula): Relocate formulas only for cells the
11162 symbols of which are not renamed, i.e. symbols whose names do not
11163 match regexp "\\`[A-Z]+[0-9]+\\'".
11164 (ses-relocate-all): Relocate values only for cells the symbols of
11165 which are not renamed.
11166 (ses-load): Create cells variables as the (ses-cell ...) are read,
11167 in order to check row col consistency with cell symbol name only
11168 for cells that are not renamed.
11169 (ses-replace-name-in-formula): New defun.
11170 (ses-rename-cell): New defun.
11171
11172 2011-12-11 Chong Yidong <cyd@gnu.org>
11173
11174 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11175 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11176
11177 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11178
11179 * window.el (other-window): Fix docstring.
11180
11181 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11182
11183 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11184 `from' or `to' address before taking its substring.
11185 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11186 encoded name is chopped in the middle of the encoded string, and
11187 thus displayed encoded.
11188
11189 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11190
11191 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11192
11193 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11194
11195 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11196 to use texinfo-update-node and commands that call it if the
11197 Texinfo file uses @node lines without next/prev/up pointers.
11198 Correct outdated description about texinfo-master-menu.
11199 (texinfo-all-menus-update, texinfo-master-menu)
11200 (texinfo-update-node, texinfo-every-node-update)
11201 (texinfo-multiple-files-update): Doc fix. Warn against updating
11202 all the @node lines.
11203 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11204 argument is numeric. Explain better in the doc string what the
11205 function really does.
11206 (texinfo-insert-master-menu-list): Improve the error message
11207 displayed if there's no menu in the Top node.
11208 (Bug#2975) See also this thread:
11209 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11210
11211 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11212
11213 * speedbar.el (speedbar-supported-extension-expressions):
11214 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11215
11216 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11217
11218 * printing.el (pr-mode-alist):
11219 * simple.el (filter-buffer-substring-functions)
11220 (completion-list-insert-choice-function):
11221 * window.el (window-with-parameter, window-atom-root)
11222 (window-sides-slots, window-size-fixed, window-min-delta)
11223 (window-max-delta, window--resize-mini-window)
11224 (window--resize-child-windows-normal, window-tree)
11225 (delete-other-windows, quit-window, split-window)
11226 (display-buffer-record-window, special-display-buffer-names)
11227 (special-display-regexps, special-display-popup-frame)
11228 (same-window-p, split-window-sensibly)
11229 (display-buffer-overriding-action, display-buffer-alist)
11230 (display-buffer-base-action, display-buffer, switch-to-buffer)
11231 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11232 (fit-window-to-buffer, recenter-positions)
11233 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11234 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11235 and remove unneeded backslashes in docstrings.
11236
11237 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11238
11239 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11240
11241 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11242 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11243 end in ".mk".
11244 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11245 when reading the makefile (bug#10116).
11246
11247 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11248
11249 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11250 (bug#10116).
11251
11252 2011-12-06 Glenn Morris <rgm@gnu.org>
11253
11254 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11255
11256 2011-12-06 Chong Yidong <cyd@gnu.org>
11257
11258 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11259
11260 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11261
11262 * textmodes/table.el (table-shorten-cell): Fix typo.
11263
11264 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11265
11266 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11267
11268 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11269
11270 * descr-text.el (describe-char): Fix display of strong
11271 right-to-left characters and directional embeddings and overrides.
11272
11273 * simple.el (what-cursor-position): Fix display of codepoints of
11274 strong right-to-left characters.
11275
11276 2011-12-05 Chong Yidong <cyd@gnu.org>
11277
11278 * faces.el (read-color): Doc fix.
11279
11280 2011-12-05 Glenn Morris <rgm@gnu.org>
11281
11282 * align.el (align--set-marker): Add doc-string.
11283 Don't try to move something that is not a marker. (Bug#10216)
11284
11285 2011-12-04 Glenn Morris <rgm@gnu.org>
11286
11287 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11288 overly zealous deletion of trailing whitespace.
11289
11290 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11291
11292 * server.el (server-delete-client): On Windows, do not try to delete
11293 the only terminal.
11294 (server-process-filter): On Windows, treat requests for a tty frame as
11295 if they were for a GUI frame if the running server is in GUI mode.
11296
11297 2011-12-03 Glenn Morris <rgm@gnu.org>
11298
11299 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11300
11301 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11302
11303 * electric.el: Streamline electric-indent's hook.
11304 (electric-indent-chars): Revert to simple list.
11305 (electric-indent-functions): New var.
11306 (electric-indent-post-self-insert-function): Use it.
11307
11308 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11309 there's no inferior buffer (bug#10196).
11310 (prolog-consult-compile): Don't use toggle-read-only.
11311
11312 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11313
11314 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11315 interrupt. (Bug#10187)
11316
11317 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11318
11319 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11320 (bug#9160).
11321
11322 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11323 (bug#10191).
11324
11325 2011-12-02 Juri Linkov <juri@jurta.org>
11326
11327 * info.el (Info-search): Display "end of manual" when Isearch
11328 reaches the end of single-file Info manual. (Bug#9918)
11329
11330 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11331
11332 * isearch.el (isearch-message-prefix): Run the input method part
11333 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11334
11335 2011-12-02 Juri Linkov <juri@jurta.org>
11336
11337 * isearch.el (isearch-occur): Use `word-search-regexp' for
11338 `isearch-word'.
11339 (isearch-search-and-update): Add condition for `isearch-word' and
11340 call `word-search-regexp'. (Bug#10145)
11341
11342 2011-12-01 Glenn Morris <rgm@gnu.org>
11343
11344 * eshell/em-hist.el (eshell-hist-initialize):
11345 Handle eshell-history-size nil and HISTSIZE set or unset.
11346 (eshell-history-file-name, eshell-history-size): Fix custom type.
11347
11348 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11349
11350 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11351
11352 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11353
11354 * progmodes/verilog-mode.el (verilog-pretty-expr):
11355 Rework verilog-pretty-expr to handle new assignment operators in system
11356 verilog, such as += *= and the like.
11357 (verilog-assignment-operator-re): Regular expression to find the
11358 assigment operator in a verilog assignment.
11359 (verilog-assignment-operation-re): Regular expression to find an
11360 assignment statement for pretty-expr.
11361 (verilog-in-attribute-p): Query returns true if point is in an
11362 attribute context; used to skip these for expression line up from
11363 pretty-expr.
11364 (verilog-in-parameter-p): Query returns true if point is in an
11365 parameter definition context; used to skip these for expression
11366 line up from pretty-expr.
11367 (verilog-in-parenthesis-p): Query returns true if point is in a
11368 parenthetical expression, specifically ( ) but not [ ] or { };
11369 used by pretty-expr.
11370 (verilog-just-one-space): If there is no space, don't add one.
11371 (verilog-get-lineup-indent-2): Specifically skip just attribute
11372 contexts for expression lineup, rather than skipping all
11373 parenthetical expressions.
11374 (verilog-calculate-indent): Fix comment, and fix indent.
11375 (verilog-do-indent): Indent declarations in lists (suggested by
11376 Joachim Lechner).
11377 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11378 skeleton items.
11379 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11380 by Alain Mellan).
11381
11382 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11383
11384 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11385 parameters with embedded comments. Reported by Ray Stevens.
11386 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11387 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11388 Reported by Tim Holt.
11389 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11390 instantiated by upper module causing wrong expansion until AUTOed a
11391 second time. Reported by K C Buckenmaier.
11392 (verilog-diff-auto): Fix showing .* as a difference when
11393 `verilog-auto-star-save' off. Reported by Dan Dever.
11394 (verilog-auto-reset, verilog-read-always-signals)
11395 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11396 temporary signals in reset list if
11397 verilog-auto-reset-blocking-in-non is nil, and match assignment
11398 style to each signal's assignment type, bug381.
11399 Reported by Thomas Esposito.
11400 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11401 (verilog-uvm-statement-re): Support UVM indentation and
11402 highlighting, with old OVM keywords only.
11403 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11404 Support AUTOTIEOFF creating non-wire data types.
11405 Suggested by Jonathan Greenlaw.
11406 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11407 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11408 (verilog-inject-sense, verilog-read-inst-pins)
11409 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11410 Fix mismatching parenthesis inside commented out code when deleting
11411 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11412 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11413 non-numeric vector width. Reported by Alex Reed.
11414 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11415 detecting signals with parameter widths. Reported by Alex Reed.
11416 (verilog-auto-delete-trailing-whitespace):
11417 With `verilog-auto-delete-trailing-whitespace' remove trailing
11418 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11419 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11420 Fix verilog-scan-cache corruption when running user AUTO expansion
11421 hooks that call indentation routines.
11422 (verilog-simplify-range-expression): Fix typo ignoring lower case
11423 identifiers.
11424 (verilog-delete-auto): Fix delete-autos to also remove user created
11425 automatics, as long as they start with AUTO.
11426 (verilog-batch-diff-auto, verilog-diff-auto)
11427 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11428 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11429 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11430 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11431 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11432 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11433 is disabled and its cache will get corrupt, causing AUTOS not to
11434 expand. Instead use only -quick functions.
11435 (verilog-scan-region): Fix scanning over escaped quotes.
11436 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11437 (verilog-re-search-backward-quick)
11438 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11439 related functions now ignore strings, to fix misparsing of strings
11440 with magic comments embedded in them.
11441 (verilog-read-auto-template):
11442 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11443 Reported by Brad Dobbie.
11444 (verilog-read-auto-template):
11445 Fix 'verilog-auto-inst-template-numbers' with comments.
11446 Reported by Brad Dobbie.
11447 (verilog-auto-inst, verilog-auto-inst-param)
11448 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11449 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11450 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11451 debugging templates without merge conflicts, bug357.
11452 Reported by Brad Dobbie.
11453 (verilog-read-auto-template):
11454 Fix verilog-auto-inst-template-numbers with multiple templates.
11455 Reported by Brad Dobbie.
11456 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11457 abbrevs so user won't be asked to save.
11458 (verilog-read-auto-lisp-present): Fix to start at beginning of
11459 buffer in case called outside of verilog-auto.
11460 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11461 to "X-2". Reported by Matthew Myers.
11462 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11463 all inputs from module templates. Reported by Leith Johnson.
11464 (verilog-module-inside-filename-p): Fix locating programs as with
11465 modules.
11466 (verilog-auto-inst-port): Fix vl-width expressions when using
11467 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11468 (verilog-decls-get-regs, verilog-decls-get-signals,
11469 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11470 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11471 verilog-read-decls): Combine reg and wire structures into one var
11472 structure to represent SystemVerilog concepts.
11473 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11474 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11475 (verilog-auto-wire-type, verilog-insert-definition):
11476 Add verilog-auto-wire-type and AUTOLOGIC to support using
11477 SystemVerilog "logic" keyword instead of "wire"/"reg".
11478 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11479 to declares outputs that also have assignments (presumably in an
11480 ifdef or generate if so there's not a driver conflict).
11481 Reported by Matthew Myers.
11482 (verilog-auto-declare-nettype, verilog-insert-definition):
11483 Add verilog-auto-declare-nettype to fix declarations using
11484 `default_nettype none. Reported by Julian Gorfajn.
11485 (verilog-read-always-signals-recurse, verilog-read-decls)
11486 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11487 malformed end statement, bug325. Reported by Joshua Wise and
11488 Andrew Drake.
11489 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11490 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11491 when expanding .* in interfaces, bug320.
11492 Reported by Pierre-David Pfister.
11493 (verilog-read-module-name): Fix import statements between module
11494 name and open parenthesis, bug317.
11495 Reported by Pierre-David Pfister.
11496 (verilog-simplify-range-expression): Fix simplification of
11497 multiplications inside AUTOWIRE connections, bug303.
11498 (verilog-auto-inst-port): Support parameter expansion in
11499 multidimensional arrays.
11500 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11501 after "assert property". Reported by Julian Gorfajn.
11502 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11503 with multiplication, bug303.
11504 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11505 Reported by Jan Frode Lonnum.
11506
11507 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11508
11509 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11510 (hfy-shell-file-name, hfy-shell):
11511 * international/fontset.el (x-decompose-font-name): Fix typos.
11512
11513 2011-11-29 Ken Brown <kbrown@cornell.edu>
11514
11515 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11516 (gdb-version): Remove defvar.
11517 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11518 (gdb-gud-context-command, gdb-non-stop-handler)
11519 (gdb-current-context-command, gdb-stopped): Use it.
11520 (gdb-init-1): Enable pretty printing here.
11521 (gdb-non-stop-handler): Don't enable pretty-printing here.
11522 Check to see if the target supports non-stop mode; if not, turn off
11523 non-stop mode. Use the following.
11524 (gdb-check-target-async): New defun.
11525 (gud-watch, gdb-stopped): Fix whitespace.
11526 (gdb-get-source-file): Don't try to display the source file if
11527 `gdb-main-file' is nil.
11528
11529 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11530
11531 * align.el: Try to generate fewer markers (bug#10047).
11532 (align--set-marker): New macro.
11533 (align-region): Use it.
11534
11535 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11536
11537 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11538
11539 2011-11-29 Chong Yidong <cyd@gnu.org>
11540
11541 * indent.el (indent-for-tab-command, indent-according-to-mode):
11542 Doc fix.
11543 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11544
11545 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11546
11547 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11548 aware of remote file names. (Bug#10124)
11549
11550 2011-11-29 Chong Yidong <cyd@gnu.org>
11551
11552 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11553
11554 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11555
11556 * files.el (find-file): Don't use force-same-window (bug#10144).
11557 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11558 use pop-to-buffer if the selected window can't be used.
11559 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11560
11561 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11562
11563 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11564 special-mode-map.
11565
11566 2011-11-28 Chong Yidong <cyd@gnu.org>
11567
11568 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11569
11570 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11571
11572 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11573 gdb-get-source-file-list on gdb-create-source-file-list.
11574
11575 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11576
11577 * whitespace.el (whitespace-newline): Use a different foreground
11578 color for 16-color light-background displays.
11579
11580 2011-11-24 Chong Yidong <cyd@gnu.org>
11581
11582 * window.el (display-buffer--special-action): Doc fix.
11583
11584 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11585
11586 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11587 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11588 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11589 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11590 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11591 (avl-tree-stack-first):
11592 * emacs-lisp/cconv.el (cconv--analyse-use):
11593 * net/gnutls.el (gnutls-negotiate): Fix typos.
11594
11595 2011-11-24 Glenn Morris <rgm@gnu.org>
11596
11597 * lpr.el (lpr-windows-system, lpr-lp-system):
11598 * mail/binhex.el (binhex-begin-line):
11599 * progmodes/grep.el (grep-history, grep-find-history):
11600 * textmodes/flyspell.el:
11601 * vc/pcvs-defs.el (cvs-global-menu):
11602 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11603 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11604 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11605
11606 * net/tls.el: Fix case of "GnuTLS".
11607
11608 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11609
11610 * version.el (emacs-build-system): Give it a doc-string.
11611
11612 2011-11-24 Juri Linkov <juri@jurta.org>
11613
11614 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11615
11616 2011-11-24 Glenn Morris <rgm@gnu.org>
11617
11618 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11619 if called on a non-mime message just toggle the headers. (Bug#8006)
11620
11621 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11622
11623 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11624 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11625 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11626 (allout-rebullet-heading, allout-open-sibtopic)
11627 (allout-toggle-current-subtree-encryption)
11628 (allout-toggle-subtree-encryption, allout-encrypt-string)
11629 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11630 (allout-distinctive-bullets-string, allout-auto-activation):
11631 * window.el (window-normalize-buffer-to-display):
11632 * progmodes/verilog-mode.el (verilog-batch-indent):
11633 * textmodes/bibtex.el (bibtex-field-braces-opt)
11634 (bibtex-field-strings-opt):
11635 * vc/cvs-status.el (cvs-tree-merge):
11636 Fix typos.
11637
11638 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11639
11640 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11641 `non-essential' to t, in order to avoid remote connections.
11642
11643 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11644
11645 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11646 On MS-DOS and MS-Windows, compare with loaddefs.el
11647 case-insensitively.
11648
11649 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11650
11651 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11652
11653 2011-11-23 Glenn Morris <rgm@gnu.org>
11654
11655 * paths.el (rmail-file-name): Reformat the doc-string so that it
11656 is picked up.
11657
11658 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11659 (rmail-auto-file): Ignore case in the "special" field names,
11660 as mail-fetch-field does for all others.
11661
11662 * mail/rmail.el (rmail-forward):
11663 * mail/rmailkwd.el (rmail-set-label):
11664 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11665 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11666
11667 * mail/rmail.el (rmail-current-message): Doc fix.
11668
11669 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11670
11671 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11672
11673 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11674
11675 2011-11-22 Glenn Morris <rgm@gnu.org>
11676
11677 * mail/rmailmm.el (test-rmail-mime-handler)
11678 (test-rmail-mime-bulk-handler)
11679 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11680
11681 2011-11-21 Juri Linkov <juri@jurta.org>
11682
11683 * calc/calc.el (calc-read-key-sequence):
11684 Let-bind `input-method-function' to nil. (Bug#10018)
11685
11686 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11687
11688 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11689 Tell the caller that the next line needs recomputation, even
11690 though it doesn't start a sexp (bug#10094).
11691
11692 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11693
11694 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11695
11696 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11697
11698 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11699 Use force-same-window.
11700
11701 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11702
11703 * descr-text.el (describe-char-unicode-data):
11704 * json.el (json-string-escape):
11705 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11706 (Footnote-unicode, Footnote-style-p):
11707 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11708
11709 2011-11-20 Chong Yidong <cyd@gnu.org>
11710
11711 * window.el (replace-buffer-in-windows): Restore interactive spec.
11712
11713 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11714
11715 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11716
11717 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11718 (byte-compile-global-not-obsolete-vars): New var.
11719 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11720 Use it.
11721 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11722
11723 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11724
11725 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11726 * progmodes/pascal.el (electric-pascal-equal):
11727 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11728 * xml.el (xml-substitute-special): Fix typos.
11729
11730 2011-11-20 Glenn Morris <rgm@gnu.org>
11731
11732 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11733 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11734 Doc fixes.
11735 (rmail-decode-mime-charset): Mark as obsolete.
11736
11737 * mail/rmailsum.el (rmail-message-regexp-p-1):
11738 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11739 Before using mime functions, check they are set. (Bug#10077)
11740
11741 2011-11-19 Juri Linkov <juri@jurta.org>
11742
11743 * info.el (Info-finder-find-node): Use `package--builtins' instead
11744 of `package-alist'. Use node names formed by the pattern "Keyword "
11745 and the keyword name.
11746
11747 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11748
11749 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11750
11751 2011-11-19 Juri Linkov <juri@jurta.org>
11752
11753 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11754 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11755 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11756 `old-history', `old-history-forward'. Add let-binding
11757 `window-selected'. Remove calls to `kill-buffer',
11758 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11759 before calling `Info-find-node', so `Info-find-node-2' will reread
11760 the Info file. Restore window positions only when `window-selected'
11761 is non-nil.
11762
11763 2011-11-19 Juri Linkov <juri@jurta.org>
11764
11765 * isearch.el (isearch-lazy-highlight-new-loop):
11766 Remove condition `(not isearch-error)'. (Bug#9918)
11767
11768 * misearch.el (multi-isearch-search-fun): Add condition
11769 `(not bound)' to ignore lazy-highlighting search.
11770 Add the search-failed message "end of multi" when the end of
11771 multi-sequence is reached. Uncapitalize the search-failed
11772 message "Repeat for next buffer".
11773
11774 * info.el (Info-search): Add the search-failed message
11775 "end of the manual" when the end of the manual is reached
11776 in Isearch mode.
11777
11778 2011-11-19 Juri Linkov <juri@jurta.org>
11779
11780 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11781 Use non-destructive `remove' instead of `delete' because
11782 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11783 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11784
11785 2011-11-19 Juri Linkov <juri@jurta.org>
11786
11787 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11788 to nil instead of binding `search-ring' and `regexp-search-ring'.
11789 (Bug#9185)
11790
11791 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11792
11793 * simple.el (line-move): Force movement by logical lines for any
11794 hscrolled window, not only when auto-hscroll-mode is on.
11795 (line-move-visual): Update doc string to that effect. (Bug#10076)
11796
11797 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11798
11799 * language/european.el (macintosh): Define as alias for mac-roman.
11800
11801 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11802
11803 * mail/rmailmm.el (rmail-mime-display-header)
11804 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11805 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11806 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11807 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11808 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11809 of a raw aref.
11810 (rmail-mime-entity-segment): To get past the tagline, move forward
11811 2 more lines, to account for the 2 empty lines that precede and
11812 follow the line with the buttons.
11813 (rmail-mime-update-tagline): Move one more line, to get past the
11814 empty line that follows the buttons in the tagline. (Bug#9520)
11815
11816 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11817
11818 * window.el (window-max-delta-1, window-min-delta-1)
11819 (window-min-size-1, window-state-get-1, window-state-put-1)
11820 (window-state-put-2): Use "window--" prefix.
11821
11822 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11823
11824 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11825 (smie-warning-count): New var.
11826 (smie-set-prec2tab): Use it.
11827 (smie-bnf->prec2): Improve warnings. Add docstring.
11828 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11829 (smie-bnf--set-class): New function.
11830 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11831 corner case.
11832
11833 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11834 (compilation-error-properties, compilation-move-to-column):
11835 Handle compilation-first-column while in the target buffer.
11836
11837 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11838 Don't hardcode point-min==1.
11839
11840 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11841 (eshell-rewrite-for-command): Remove workaround.
11842 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11843 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11844 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11845
11846 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11847
11848 2011-11-17 Glenn Morris <rgm@gnu.org>
11849
11850 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11851 Ignore buffer-local generated-autoload-file if it is the same
11852 as the global value. (Bug#10049)
11853
11854 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11855
11856 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11857 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11858 (reftex-toc-previous-heading, reftex-toc-max-level)
11859 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11860 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11861 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11862 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11863 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11864 (reftex-toc-rename-label, reftex-toc-visit-location)
11865 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11866 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11867 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11868 leaving "*toc*" only for references to the buffer.
11869
11870 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11871
11872 * window.el (window-resize, delete-window, split-window):
11873 Replace window-splits by window-combination-resize.
11874 * cus-start.el (window-splits): Replace by window-combination-resize.
11875
11876 2011-11-17 Glenn Morris <rgm@gnu.org>
11877
11878 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11879 Make bash entry derive from sh entry, not shell entry.
11880
11881 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11882
11883 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11884 local file name.
11885
11886 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11887
11888 * menu-bar.el (menu-bar-file-menu):
11889 * printing.el (pr-ps-utility):
11890 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11891 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11892 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11893 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11894 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11895 (icalendar--convert-cyclic-to-ical)
11896 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11897 (icalendar--convert-ical-to-diary)
11898 (icalendar--convert-recurring-to-diary)
11899 (icalendar--convert-non-recurring-all-day-to-diary)
11900 (icalendar-import-format-sample):
11901 * progmodes/idlw-shell.el (idlwave-shell-mode):
11902 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11903 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11904 (vhdl-ps-print-init): Fix typos.
11905
11906 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11907
11908 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11909 FSF and collapse date sequence, obscure author/maintainer email address
11910 better, remove extra version line, track relocation of author's webpage.
11911
11912 * progmodes/python.el (python-pdbtrack-input-prompt)
11913 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11914 regular python pdb prompts. Adjustments shamelessly taken exactly as
11915 suggested in EmacsWiki page (tiny change):
11916 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11917
11918 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11919
11920 * expand.el (expand-pos, expand-index, expand-point):
11921 Remove redundant info from docstring.
11922 (expand-add-abbrevs): Doc fix.
11923 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11924 (expand-sample-perl-mode-expand-list): Fix typos.
11925
11926 * net/dbus.el (dbus-event-member-name):
11927 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11928 * term/pc-win.el (msdos-create-frame-with-faces):
11929 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11930
11931 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11932
11933 * window.el (split-window, window-state-get-1)
11934 (window-state-put-1, window-state-put-2): Rename occurrences of
11935 window-nest to window-combination-limit.
11936 * cus-start.el (window-nest): Rename to window-combination-limit.
11937
11938 2011-11-16 Chong Yidong <cyd@gnu.org>
11939
11940 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11941 regexp (Bug#10033).
11942
11943 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11944
11945 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11946 `completing-read' will remove *Completions* and will preserve
11947 current-buffer for us.
11948 (tmm-add-prompt): Users of *Completions* will always (re)set its
11949 major mode.
11950 (tmm-old-comp-map): Remove.
11951
11952 2011-11-16 Glenn Morris <rgm@gnu.org>
11953
11954 * mail/rmailedit.el: Require rmailmm when compiling.
11955 (rmail-old-mime-state): New declaration.
11956 (rmail-edit-current-message): If editing a mime message,
11957 edit the "raw" message from the mbox buffer.
11958 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11959
11960 2011-11-15 Glenn Morris <rgm@gnu.org>
11961
11962 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11963 which wasn't being used. Add optional arg to force given state.
11964 (rmail-mime): Add optional arg to force given state.
11965
11966 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11967
11968 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11969 * frame.el (display-mm-dimensions-alist):
11970 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11971 (outline-move-subtree-down):
11972 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11973 (newsticker--treeview-do-get-node):
11974 * net/quickurl.el (quickurl-list-buffer-name):
11975 * progmodes/dcl-mode.el (dcl-mode):
11976 * progmodes/gdb-mi.el (gdb-mapcar*):
11977 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11978
11979 2011-11-15 Glenn Morris <rgm@gnu.org>
11980
11981 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11982 in a boolean sense, so just make it a boolean, and fix the doc.
11983 (rmail-show-mime-function, rmail-mime-feature)
11984 (rmail-require-mime-maybe): Doc fixes.
11985 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11986
11987 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11988
11989 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11990
11991 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11992 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11993 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11994 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11995
11996 2011-11-15 Glenn Morris <rgm@gnu.org>
11997
11998 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11999 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12000 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12001 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12002 (rmail-mime, rmail-show-mime): Doc fixes.
12003
12004 * term/ns-win.el (mode-line-frame-identification):
12005 Leave it alone. (Bug#10051)
12006
12007 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12008
12009 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12010 Handle empty buffers. (Bug#9978)
12011
12012 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12013
12014 * international/mule.el (define-charset):
12015 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12016 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12017 * progmodes/verilog-mode.el (verilog-backward-token):
12018 * textmodes/ispell.el (lookup-words):
12019 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12020
12021 2011-11-14 Glenn Morris <rgm@gnu.org>
12022
12023 * progmodes/executable.el
12024 (executable-make-buffer-file-executable-if-script-p):
12025 Handle file-modes returning nil.
12026
12027 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12028 message - not necessary, and causes problems. (Bug#9831)
12029
12030 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12031
12032 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12033
12034 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12035 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12036 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12037
12038 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12039
12040 * window.el (window-resize, delete-window): Use window-splits
12041 variable instead of function.
12042 (window-state-get-1, window-state-put-2, window-state-put):
12043 Don't deal with windows' splits status.
12044
12045 2011-11-12 Glenn Morris <rgm@gnu.org>
12046
12047 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12048 (apropos-documentation): Doc fixes.
12049
12050 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12051
12052 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12053 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12054
12055 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12056
12057 * electric.el (electric-indent-post-self-insert-function): Make it
12058 possible for a char to only indent in some circumstances.
12059 (electric-indent-mode): Simplify.
12060
12061 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12062
12063 * window.el (windows-with-parameter): Remove unused function.
12064 (windows-at-side): Rename to window-at-side-list.
12065 (window-check, window-atom-check, window-atom-check-1)
12066 (window-side-check, window-size-ignore, window-size-fixed-1)
12067 (window-in-direction-2): Prefix with "window--".
12068 (window-tree-1): Rename to window--subtree, fix doc-string.
12069
12070 2011-11-11 Glenn Morris <rgm@gnu.org>
12071
12072 * subr.el (eval-after-load): If FILE is already loaded,
12073 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12074
12075 2011-11-10 Glenn Morris <rgm@gnu.org>
12076
12077 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12078 Call svn via vc-svn-command rather than vc-do-command.
12079 (vc-svn-command): Add --non-interactive. (Bug#9993)
12080 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12081
12082 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12083 Add toggle-read-only. (Bug#7292)
12084 * files.el (toggle-read-only): Mention that it should only
12085 be used interactively. (Bug#10006)
12086
12087 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12088
12089 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12090 Adjust regexp for OCaml warnings.
12091
12092 * electric.el (electric-pair-post-self-insert-function): Let user
12093 turn it off buffer-locally (bug#9932).
12094
12095 * progmodes/python.el (python-beginning-of-statement):
12096 Rewrite (bug#2703).
12097
12098 * progmodes/compile.el: Better handle TABs (bug#9749).
12099 (compilation-internal-error-properties)
12100 (compilation-next-error-function): Obey the target buffer's
12101 compilation-error-screen-columns.
12102
12103 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12104
12105 * progmodes/meta-mode.el: Remove obsolete comments.
12106 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12107 Fix typos in docstrings.
12108
12109 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12110
12111 * window.el (window-size-fixed-p): Rewrite doc-string.
12112 (window-resizable-p): Rename to window--resizable-p. Update callers.
12113 (window--resizable): New function. Make all callers of
12114 window-resizable call window--resizable instead.
12115 (window-resizable): Rewrite in terms of window--resizable.
12116
12117 2011-11-08 Glenn Morris <rgm@gnu.org>
12118
12119 * progmodes/delphi.el (delphi-mode-syntax-table):
12120 Let define-derived-mode define a proper syntax table. (Bug#9994)
12121
12122 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12123
12124 * window.el: Stay away from defsubst.
12125 (window-list-no-nils): Remove.
12126 (window-state-get-1, window-state-get): Use backquote instead.
12127
12128 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12129
12130 * emacs-lisp/find-func.el (find-function-read):
12131 Fix incorrect use of default argument in `completing-read'.
12132
12133 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12134
12135 * window.el (display-buffer-function, special-display-function):
12136 Mention display-buffer-record-window but do not mention
12137 help-setup parameter in doc-strings.
12138 (window-min-delta): Fix doc-string typo.
12139
12140 2011-11-08 Chong Yidong <cyd@gnu.org>
12141
12142 * window.el (window-total-height, window-total-width): Doc fix.
12143 (window-body-size): Move from C.
12144 (window-body-height, window-body-width): Move to C.
12145
12146 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * window.el: Make special-display like display-buffer-alist (bug#9532).
12149 (display-buffer--special-action): New function, morphed
12150 from display-buffer--special.
12151 (display-buffer): Use it to handle special-display-buffers at higher
12152 priority (just after display-buffer-alist).
12153 (display-buffer-fallback-action, display-buffer--other-frame-action)
12154 (pop-to-buffer-same-window): Remove display-buffer--special.
12155
12156 2011-11-07 Glenn Morris <rgm@gnu.org>
12157
12158 * calendar/cal-menu.el (cal-menu-set-date-title):
12159 Do nothing if not in a calendar. (Bug#9976)
12160
12161 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12162
12163 * files.el (find-file): Always use selected-window.
12164
12165 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12166
12167 * window.el (window-combinations): Make WINDOW argument
12168 mandatory. Rewrite doc-string.
12169 (walk-window-subtree, window-atom-check, window-min-delta)
12170 (window-max-delta, window--resize-this-window)
12171 (window--resize-root-window-vertically, window-tree)
12172 (balance-windows, window-state-put): Rewrite doc-strings as to
12173 not mention the term "subwindow".
12174 (window--resize-subwindows-skip-p): Rename to
12175 window--resize-child-windows-skip-p.
12176 (window--resize-subwindows-normal): Rename to
12177 window--resize-child-windows-normal.
12178 (window--resize-subwindows): Rename to
12179 window--resize-child-windows.
12180 (window-or-subwindow-p): Rename to window--in-subtree-p.
12181
12182 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12183
12184 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12185 Ensure that mbox format messages end in two newlines (Bug#9974).
12186
12187 2011-11-06 Chong Yidong <cyd@gnu.org>
12188
12189 * window.el (window-combination-p): Function deleted; its
12190 side-effect is not used in any existing code.
12191 (window-combinations, window-combined-p): Call window-*-child
12192 directly.
12193
12194 2011-11-05 Chong Yidong <cyd@gnu.org>
12195
12196 * window.el (window-valid-p): Rename from window-any-p.
12197 (window-size-ignore, window-state-get): Callers changed.
12198 (window-normalize-window): Rename from window-normalize-any-window.
12199 New arg LIVE-ONLY, replacing window-normalize-live-window.
12200 (window-normalize-live-window): Delete.
12201 (window-combination-p, window-combined-p, window-combinations)
12202 (walk-window-subtree, window-atom-root, window-min-size)
12203 (window-sizable, window-sizable-p, window-size-fixed-p)
12204 (window-min-delta, window-max-delta, window-resizable)
12205 (window-resizable-p, window-full-height-p, window-full-width-p)
12206 (window-current-scroll-bars, window-point-1, set-window-point-1)
12207 (window-at-side-p, window-in-direction, window-resize)
12208 (adjust-window-trailing-edge, maximize-window, minimize-window)
12209 (window-deletable-p, delete-window, delete-other-windows)
12210 (record-window-buffer, unrecord-window-buffer)
12211 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12212 (quit-window, split-window, window-state-put)
12213 (set-window-text-height, fit-window-to-buffer)
12214 (shrink-window-if-larger-than-buffer): Callers changed.
12215
12216 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12217
12218 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12219 rfc2047-decode-string.
12220 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12221 warnings.
12222
12223 * window.el (window-body-height, window-body-width): Mention in
12224 the doc string that the return values are in frame's canonical
12225 units. (Bug#9949)
12226
12227 2011-11-03 Alan Mackenzie <acm@muc.de>
12228
12229 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12230 change in cc-engine.el.
12231
12232 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12233
12234 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12235
12236 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12237
12238 * window.el (quit-window): Call unrecord-window-buffer after
12239 showing another buffer in the window. (Bug#9937)
12240 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12241
12242 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12243
12244 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12245 Accept status with more than 9 shelves. (Bug#9935)
12246 Reported by Colin D Bennett <colin@gibibit.com>.
12247
12248 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12249
12250 * help.el (with-help-window): Don't reference
12251 temp-buffer-show-specifiers in doc-string.
12252
12253 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12254
12255 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12256 menu-item.
12257
12258 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12259
12260 * whitespace.el: New version 13.2.2.
12261 (whitespace-newline-mode): Disable properly. Reported by Sarah
12262 <EmacsWiki>.
12263
12264 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12265
12266 * net/newst-treeview.el: Remove "Time-stamp".
12267 (newsticker--group-manage-orphan-feeds): Do not call
12268 newsticker--treeview-tree-update.
12269 (newsticker-treeview-update, newsticker-treeview):
12270 Call newsticker--treeview-tree-update if necessary.
12271
12272 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12273
12274 * window.el (window-iso-combination-p, window-iso-combined-p)
12275 (window-iso-combinations): Remove "iso-" infix.
12276 Suggested by Chong Yidong.
12277 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12278 (window-max-delta-1, window-resize, window--resize-siblings)
12279 (window--resize-this-window, adjust-window-trailing-edge)
12280 (split-window, balance-windows-1)
12281 (shrink-window-if-larger-than-buffer):
12282 * calendar/calendar.el (calendar-generate-window):
12283 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12284
12285 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12286
12287 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12288 in place (bug#9907).
12289 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12290 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12291 (eshell-structure-basic-command, eshell-rewrite-while-command)
12292 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12293 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12294 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12295 (eshell-do-pipelines-synchronously, eshell-eval-command):
12296 Use backquotes and prefer setq to set.
12297 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12298 (eshell-macrop): Use functionp.
12299 (eshell-do-eval): Handle multiple expressions in `while' body.
12300
12301 2011-10-30 Chong Yidong <cyd@gnu.org>
12302
12303 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12304 instead of set-mark (Bug#9810).
12305
12306 2011-10-30 Chong Yidong <cyd@gnu.org>
12307
12308 * window.el (split-window-below, split-window-right): Rename from
12309 split-window-above-each-other and split-window-side-by-side
12310 respectively. All callers changed.
12311 (split-window-sensibly, split-window-sensibly): Use them.
12312 (split-window-keep-point): Doc fix.
12313
12314 * isearch.el: Add isearch-scroll property to split-window-below
12315 and split-window-right.
12316
12317 * follow.el (follow-mode):
12318 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12319 * progmodes/ada-xref.el (ada-gdb-application):
12320 * emulation/vip.el (vip-buffer-in-two-windows):
12321 * image-dired.el (image-dired-dired-with-window-configuration):
12322 * dired-x.el (dired-do-find-marked-files):
12323 * dired.el (dired-pop-to-buffer):
12324 * bs.el (bs--show-with-configuration):
12325 * vc/emerge.el (emerge-setup-windows):
12326 * textmodes/two-column.el (2C-two-columns):
12327 * textmodes/reftex-toc.el (reftex-toc):
12328 * progmodes/gdb-mi.el (gdb-setup-windows):
12329 * progmodes/fortran.el (fortran-window-create):
12330 * net/newst-treeview.el (newsticker--treeview-window-init):
12331 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12332 * emulation/tpu-edt.el (tpu-gold-map):
12333 * emulation/crisp.el (crisp-mode-map):
12334 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12335
12336 2011-10-29 Chong Yidong <cyd@gnu.org>
12337
12338 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12339
12340 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12341
12342 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12343 forged Ispell output (Bug#7904).
12344
12345 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12346
12347 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12348
12349 * doc-view.el: Avoid ugly errors about not finding nil.
12350 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12351 (doc-view-dvipdf-program, doc-view-unoconv-program)
12352 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12353 Avoid nil or absolute file name as default value.
12354 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12355
12356 2011-10-28 Alan Mackenzie <acm@muc.de>
12357
12358 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12359
12360 2011-10-28 Alan Mackenzie <acm@muc.de>
12361
12362 Amend the handling of c-beginning/end-of-defun in nested declaration
12363 scopes.
12364
12365 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12366 cc-langs.el. Change it to a defcustom.
12367
12368 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12369 cc-vars.el.
12370
12371 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12372 Prevent "class foo : bar" being spuriously recognized as a label.
12373
12374 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12375 Add parameter `inclusive' (to include enclosing braces in the region).
12376 (c-widen-to-enclosing-decl-scope): New function.
12377 (c-while-widening-to-decl-block): New macro.
12378 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12379 outward for defun boundaries, and correspondingly change symbol
12380 `respect-enclosure' to `go-outward'.
12381 (c-declaration-limits): Change algorithm to report only the "innermost"
12382 defun's boundaries.
12383
12384 2011-10-28 Deniz Dogan <deniz@dogan.se>
12385
12386 * net/rcirc.el (rcirc-mode): Use hard newlines.
12387
12388 2011-10-28 Alan Mackenzie <acm@muc.de>
12389
12390 Amend to indent and fontify macros "which include their own semicolon"
12391 correctly, using the "virtual semicolon" mechanism.
12392
12393 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12394
12395 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12396 Recode to scan one line at a time rather than having \n and \r
12397 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12398 (c-forward-label): Amend for virtual semicolons.
12399 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12400
12401 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12402 of the new C macros.
12403
12404 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12405 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12406 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12407 (c-opt-cpp-macro-define): Make into a full language variable.
12408 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12409 AWK Mode (including \n, \r) removed, no longer needed.
12410
12411 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12412 Invoke c-make-macro-with-semi-re.
12413
12414 * progmodes/cc-vars.el (c-macro-with-semi-re):
12415 (c-macro-names-with-semicolon): New variables.
12416 (c-make-macro-with-semi-re): New function.
12417
12418 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12419
12420 * vc/log-edit.el: Fill empty field rather than adding new one.
12421 (log-edit-add-field): New function.
12422 (log-edit-insert-changelog): Use it.
12423
12424 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12425
12426 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12427
12428 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12429
12430 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12431 (gdb--check-interpreter): New function.
12432 (gdb): Use it.
12433
12434 2011-10-27 Glenn Morris <rgm@gnu.org>
12435
12436 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12437 (least-positive-float, least-negative-float)
12438 (least-positive-normalized-float, least-negative-normalized-float)
12439 (float-epsilon, float-negative-epsilon):
12440 Remove unnecessary declarations.
12441
12442 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12443 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12444 (least-positive-float, least-negative-float)
12445 (least-positive-normalized-float, least-negative-normalized-float)
12446 (float-epsilon, float-negative-epsilon): Add doc-strings,
12447 based on those in cl.texi.
12448
12449 * files.el (set-visited-file-name): If the major-mode changed,
12450 reload the local variables. (Bug#9796)
12451
12452 2011-10-27 Chong Yidong <cyd@gnu.org>
12453
12454 * subr.el (change-major-mode-after-body-hook): New hook.
12455 (run-mode-hooks): Run it.
12456
12457 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12458 Use change-major-mode-before-body-hook.
12459
12460 * simple.el (fundamental-mode):
12461 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12462 change introducing fundamental-mode-hook.
12463
12464 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12465
12466 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12467
12468 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12469
12470 * ido.el (ido-file-name-all-completions-1): Do not require
12471 tramp.el explicitly. (Bug#7583)
12472
12473 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12474
12475 * progmodes/octave-mod.el:
12476 * progmodes/octave-inf.el: Update maintainer.
12477
12478 2011-10-26 Chong Yidong <cyd@gnu.org>
12479
12480 * subr.el (with-wrapper-hook): Rewrite doc.
12481
12482 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12483
12484 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12485 filenames "/method:foo:". (Bug#9793)
12486
12487 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12488
12489 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12490 (bug#9865).
12491
12492 2011-10-24 Glenn Morris <rgm@gnu.org>
12493
12494 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12495
12496 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12497
12498 * notifications.el: Add the requirement of a running D-Bus session
12499 bus to the Commentary.
12500
12501 2011-10-24 Juri Linkov <juri@jurta.org>
12502
12503 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12504 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12505 (Bug#9364)
12506
12507 2011-10-24 Juri Linkov <juri@jurta.org>
12508
12509 * info.el (Info-following-node-name-re): Add newline to the list
12510 of allowed characters for leading space. (Bug#9824)
12511
12512 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12513
12514 * progmodes/octave-inf.el (inferior-octave-mode-map):
12515 Fix C-c C-h binding.
12516 * progmodes/octave-mod.el (octave-help): Remove.
12517
12518 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12519
12520 Sync with Tramp 2.2.3.
12521
12522 * net/tramp-cache.el (top): Pacify byte-compiler using
12523 `init-file-user' and `site-run-file'.
12524
12525 * net/trampver.el: Update release number.
12526
12527 2011-10-23 Chong Yidong <cyd@gnu.org>
12528
12529 * files.el (toggle-read-only): Remove obsolete comment about
12530 version control.
12531
12532 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12533 for toggle-read-only. Note that this hasn't called vc-next-action
12534 since 2008-05-02, though it wasn't documented at the time.
12535
12536 * vc/ediff-init.el (ediff-toggle-read-only-function):
12537 Use toggle-read-only.
12538
12539 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12540
12541 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12542 of c-parse-state.
12543
12544 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12545 correct faulty logical expression.
12546 (c-parse-state-state, c-record-parse-state-state):
12547 (c-replay-parse-state-state): New defvar/defuns.
12548 (c-debug-parse-state): Use new functions.
12549
12550 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12551
12552 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12553 last fix. Use window-in-direction correctly.
12554
12555 2011-10-21 Chong Yidong <cyd@gnu.org>
12556
12557 * progmodes/idlwave.el (idlwave-mode):
12558 * progmodes/vera-mode.el (vera-mode): No need to set
12559 require-final-newline; that's done in prog-mode.
12560 Suggested by Stefan Monnier.
12561
12562 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12563
12564 * mouse.el (mouse-drag-window-above)
12565 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12566 (mouse-drag-mode-line-1, mouse-drag-header-line)
12567 (mouse-drag-vertical-line-rightward-window): Remove.
12568 (mouse-drag-line): New function.
12569 (mouse-drag-mode-line, mouse-drag-header-line)
12570 (mouse-drag-vertical-line): Call mouse-drag-line.
12571 * window.el (window-at-side-p, windows-at-side): New functions.
12572
12573 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12574
12575 * tar-mode.el (tar-grind-file-mode):
12576 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12577
12578 2011-10-21 Chong Yidong <cyd@gnu.org>
12579
12580 * progmodes/idlwave.el (idlwave-mode):
12581 * progmodes/vera-mode.el (vera-mode):
12582 Use mode-require-final-newline.
12583
12584 2011-10-20 Glenn Morris <rgm@gnu.org>
12585
12586 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12587
12588 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12589
12590 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12591
12592 2011-10-20 Chong Yidong <cyd@gnu.org>
12593
12594 * emulation/cua-base.el (cua-mode):
12595 * mail/footnote.el (footnote-mode):
12596 * mail/mailabbrev.el (mail-abbrevs-mode):
12597 * net/xesam.el (xesam-minor-mode):
12598 * progmodes/bug-reference.el (bug-reference-mode):
12599 * progmodes/cap-words.el (capitalized-words-mode):
12600 * progmodes/compile.el (compilation-minor-mode)
12601 (compilation-shell-minor-mode):
12602 * progmodes/gud.el (gud-tooltip-mode):
12603 * progmodes/hideif.el (hide-ifdef-mode):
12604 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12605 * progmodes/subword.el (subword-mode):
12606 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12607 * progmodes/which-func.el (which-function-mode):
12608 * term/tvi970.el (tvi970-set-keypad-mode):
12609 * term/vt100.el (vt100-wide-mode):
12610 * textmodes/flyspell.el (flyspell-mode):
12611 * textmodes/ispell.el (ispell-minor-mode):
12612 * textmodes/nroff-mode.el (nroff-electric-mode):
12613 * textmodes/paragraphs.el (use-hard-newlines):
12614 * textmodes/refill.el (refill-mode):
12615 * textmodes/reftex.el (reftex-mode):
12616 * textmodes/rst.el (rst-minor-mode):
12617 * textmodes/sgml-mode.el (html-autoview-mode)
12618 (sgml-electric-tag-pair-mode):
12619 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12620 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12621 * emulation/crisp.el (crisp-mode):
12622 * emacs-lisp/eldoc.el (eldoc-mode):
12623 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12624 minor mode behavior.
12625
12626 2011-10-19 Juri Linkov <juri@jurta.org>
12627
12628 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12629 the list of hard-coded chars with escape-glyph face.
12630
12631 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12632
12633 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12634
12635 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12636
12637 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12638 running process.
12639
12640 2011-10-19 Glenn Morris <rgm@gnu.org>
12641
12642 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12643 Ignore ignored files. (Bug#9726)
12644
12645 2011-10-19 Chong Yidong <cyd@gnu.org>
12646
12647 Doc fix for minor modes, stating that an omitted argument enables
12648 the mode unconditionally when called from Lisp.
12649
12650 * abbrev.el (abbrev-mode):
12651 * allout.el (allout-mode):
12652 * autoinsert.el (auto-insert-mode):
12653 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12654 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12655 (global-auto-revert-mode):
12656 * battery.el (display-battery-mode):
12657 * composite.el (global-auto-composition-mode)
12658 (auto-composition-mode):
12659 * delsel.el (delete-selection-mode):
12660 * desktop.el (desktop-save-mode):
12661 * dired-x.el (dired-omit-mode):
12662 * dirtrack.el (dirtrack-mode):
12663 * doc-view.el (doc-view-minor-mode):
12664 * double.el (double-mode):
12665 * electric.el (electric-indent-mode, electric-pair-mode):
12666 * emacs-lock.el (emacs-lock-mode):
12667 * epa-hook.el (auto-encryption-mode):
12668 * follow.el (follow-mode):
12669 * font-core.el (font-lock-mode):
12670 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12671 * help.el (temp-buffer-resize-mode):
12672 * hilit-chg.el (highlight-changes-mode)
12673 (highlight-changes-visible-mode):
12674 * hi-lock.el (hi-lock-mode):
12675 * hl-line.el (hl-line-mode, global-hl-line-mode):
12676 * icomplete.el (icomplete-mode):
12677 * ido.el (ido-everywhere):
12678 * image-file.el (auto-image-file-mode):
12679 * image-mode.el (image-minor-mode):
12680 * iswitchb.el (iswitchb-mode):
12681 * jka-cmpr-hook.el (auto-compression-mode):
12682 * linum.el (linum-mode):
12683 * longlines.el (longlines-mode):
12684 * master.el (master-mode):
12685 * mb-depth.el (minibuffer-depth-indicate-mode):
12686 * menu-bar.el (menu-bar-mode):
12687 * minibuf-eldef.el (minibuffer-electric-default-mode):
12688 * mouse-sel.el (mouse-sel-mode):
12689 * msb.el (msb-mode):
12690 * mwheel.el (mouse-wheel-mode):
12691 * outline.el (outline-minor-mode):
12692 * paren.el (show-paren-mode):
12693 * recentf.el (recentf-mode):
12694 * reveal.el (reveal-mode, global-reveal-mode):
12695 * rfn-eshadow.el (file-name-shadow-mode):
12696 * ruler-mode.el (ruler-mode):
12697 * savehist.el (savehist-mode):
12698 * scroll-all.el (scroll-all-mode):
12699 * scroll-bar.el (scroll-bar-mode):
12700 * server.el (server-mode):
12701 * shell.el (shell-dirtrack-mode):
12702 * simple.el (auto-fill-mode, transient-mark-mode)
12703 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12704 (line-number-mode, column-number-mode, size-indication-mode)
12705 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12706 * strokes.el (strokes-mode):
12707 * time.el (display-time-mode):
12708 * t-mouse.el (gpm-mouse-mode):
12709 * tool-bar.el (tool-bar-mode):
12710 * tooltip.el (tooltip-mode):
12711 * type-break.el (type-break-mode-line-message-mode)
12712 (type-break-query-mode):
12713 * view.el (view-mode):
12714 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12715 (global-whitespace-mode, global-whitespace-newline-mode):
12716 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12717
12718 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12719 Fix autogenerated docstring.
12720
12721 2011-10-19 Juri Linkov <juri@jurta.org>
12722
12723 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12724 by checking environment variables "DESKTOP_SESSION" and
12725 "XDG_CURRENT_DESKTOP". (Bug#9779)
12726
12727 2011-10-19 Juri Linkov <juri@jurta.org>
12728
12729 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12730 (browse-url-chromium-program, browse-url-chromium-arguments):
12731 New defcustoms.
12732 (browse-url-default-browser): Check for `browse-url-chromium' and
12733 call `browse-url-chromium-program'.
12734 (browse-url-chromium): New command. (Bug#9779)
12735
12736 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12737
12738 * facemenu.el (list-colors-duplicates): On Windows, detect more
12739 duplicates by assuming that only colors matching "^System" are
12740 special "system colors". (Bug#9722)
12741
12742 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12743
12744 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12745 to distinguish the author from the committer.
12746
12747 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12748
12749 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12750
12751 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12752
12753 * international/mule.el (sgml-html-meta-auto-coding-function):
12754 Add support for detecting encoding in HTML5 specified only as
12755 <meta charset="UTF-8">. Implementation just makes http-equiv and
12756 content-type parts from HTML4 encoding string optional. (Bug#9716)
12757
12758 2011-10-18 Glenn Morris <rgm@gnu.org>
12759
12760 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12761
12762 2011-10-18 Chong Yidong <cyd@gnu.org>
12763
12764 * faces.el (cursor): Doc fix.
12765
12766 2011-10-17 Chong Yidong <cyd@gnu.org>
12767
12768 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12769
12770 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12771
12772 * dirtrack.el (dirtrack): Support shell buffers with path
12773 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12774
12775 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12776
12777 * json.el: Bump version to 1.3 and note change in History.
12778 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12779
12780 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12781
12782 * comint.el (comint-insert-input, comint-send-input)
12783 (comint-get-old-input-default, comint-backward-matching-input)
12784 (comint-next-prompt): Use nil instead of `input' for field property of
12785 past user input (bug#114).
12786
12787 * minibuffer.el (completion--replace): Inherit surrounding properties
12788 (bug#114).
12789 (minibuffer-complete-and-exit): Use it.
12790
12791 * comint.el (comint--table-subvert): Quote the all-completions output
12792 (bug#9160).
12793
12794 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12795
12796 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12797
12798 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12799 window on right of selected. (Bug#9350) Reword other window
12800 entries and separate them from frame entries.
12801
12802 2011-10-15 Glenn Morris <rgm@gnu.org>
12803
12804 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12805 Doc fixes.
12806
12807 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12808
12809 * net/network-stream.el (network-stream-open-starttls):
12810 Improve detection of failure due to lack of TLS support.
12811
12812 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12813 putting the input text in front and in bold.
12814
12815 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12816
12817 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12818
12819 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12820 empty buffer.
12821
12822 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12823 unread-command-events rather than pushing yet-another event.
12824
12825 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12826
12827 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12828 the explanation of the possible choices. Make the options passed
12829 to completing-read shorter.
12830
12831 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12832
12833 * textmodes/flyspell.el (flyspell-large-region): Make sure
12834 extended character mode is used if defined (Bug#1339).
12835
12836 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12837
12838 * simple.el (what-cursor-position): Fix the display of the
12839 character info for LRE, LRO, RLE, and RLO characters by appending
12840 an invisible PDF.
12841
12842 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12843
12844 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12845 even in case of error; add debug spec; simplify data flow.
12846 (with-timeout-handler): Remove.
12847
12848 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12849
12850 Fix Bug#6019, Bug#9315.
12851
12852 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12853 complete `buffer-file-name', the local file name part could look
12854 remotely (for example on VMS).
12855
12856 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12857 `tramp-run-real-handler'.
12858 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12859 already quoted by '"'.
12860
12861 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12862 Let `file-name-handler-alist' be nil, the local file name part
12863 could look remotely (for example on VMS).
12864
12865 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12866
12867 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12868 from here...
12869 (flyspell-post-command-hook): ...to here.
12870
12871 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12872
12873 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12874 if not needed.
12875 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12876 using completion. Protect against "slow" callers.
12877 Remove the "message hack".
12878
12879 2011-10-11 Juri Linkov <juri@jurta.org>
12880
12881 * isearch.el (isearch-lazy-highlight-word): New variable.
12882 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12883 Use it. (Bug#9727)
12884
12885 2011-10-11 Glenn Morris <rgm@gnu.org>
12886
12887 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12888 like f90-previous-statement does.
12889
12890 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12891
12892 * eshell/eshell.el (eshell-command): History should be saved
12893 only in interactive use, to avoid error.
12894
12895 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12896
12897 * minibuffer.el (completion-file-name-table): Fix last change,
12898 i.e. ignore normal errors but not the other ones.
12899
12900 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12901
12902 * window.el (special-display-buffer-names)
12903 (special-display-regexps): Remove some remnants of earlier
12904 changes from doc-strings.
12905 (quit-windows-on): New function.
12906
12907 * vc/vc.el (vc-revert, vc-rollback):
12908 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12909 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12910 (Bug#6183) (Bug#7074) (Bug#7447)
12911
12912 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12913
12914 * window.el (frame-auto-hide-function): Add version tag.
12915 (Bug#9699)
12916
12917 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12918
12919 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12920 condition.
12921
12922 2011-10-09 Leo Liu <sdl.web@gmail.com>
12923
12924 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12925 (Bug#9701)
12926
12927 2011-10-08 Glenn Morris <rgm@gnu.org>
12928
12929 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12930 before the first code statement zero indent. (Bug#9690)
12931
12932 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12933
12934 * simple.el (count-words-region): Always count in the region.
12935 Report the number of lines and characters too.
12936 (count-words): New command, which counts in the buffer if the
12937 region is inactive, as count-words-region used to.
12938 (count-words--message): New function. Handle plurals.
12939 (count-lines-region): Make it an alias for count-words-region.
12940
12941 * bindings.el (esc-map): Replace count-lines-region with
12942 count-words-region.
12943
12944 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12945
12946 * window.el (window--delete): Delete dedicated frame
12947 unconditionally when argument KILL is non-nil. (Bug#9699)
12948 (switch-to-buffer): Fix doc-string typo.
12949
12950 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12951
12952 * eshell/eshell.el (eshell-command): Avoid using hooks.
12953
12954 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12955
12956 * bindings.el ([M-left],[M-right]): Bind to left-word and
12957 right-word respectively.
12958
12959 2011-10-07 Glenn Morris <rgm@gnu.org>
12960
12961 * cus-start.el (debug-on-quit): Fix custom type.
12962
12963 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12964
12965 * subr.el (define-key-after): Clarify that the function is not
12966 useful for non-menu keymaps.
12967
12968 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12969
12970 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12971
12972 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12973 in current minibuffer (Fix bug with recursive minibuffers).
12974
12975 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12976
12977 * progmodes/gdb-mi.el (gdb): Doc fix.
12978
12979 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12980
12981 * window.el (frame-auto-hide-function): New option replacing
12982 frame-auto-delete. Suggested by Stefan Monnier.
12983 (window--delete): Call frame-auto-hide-function instead of
12984 investigating frame-auto-delete.
12985 (window-point-1, set-window-point-1): New functions.
12986 (window-in-direction, record-window-buffer, window-state-get-1)
12987 (display-buffer-record-window): Use window-point-1 instead of
12988 window-point.
12989 (set-window-buffer-start-and-point): Use set-window-point-1.
12990
12991 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12992
12993 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12994
12995 2011-10-05 Glenn Morris <rgm@gnu.org>
12996
12997 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12998 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12999
13000 2011-10-05 Leo Liu <sdl.web@gmail.com>
13001
13002 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13003 works with buffer object.
13004
13005 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13006
13007 * mpc.el (mpc-tool-bar-map): Add labels.
13008
13009 2011-10-04 Glenn Morris <rgm@gnu.org>
13010
13011 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13012
13013 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13014
13015 * window.el (window--delete): New function.
13016 (frame-auto-delete): Resuscitate option.
13017 (bury-buffer, replace-buffer-in-windows)
13018 (quit-window): Rewrite using window--delete.
13019 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13020 Pass display-buffer-mark-dedicated to window--display-buffer-2
13021 (Bug#9639).
13022
13023 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13024
13025 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13026 returns a list (bug#9554). Add remote file name completion.
13027 * comint.el (comint--table-subvert): Curry and get quote&unquote
13028 functions as arguments.
13029 (comint--complete-file-name-data): Adjust call accordingly.
13030 * pcomplete.el (pcomplete--table-subvert): Remove.
13031 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13032
13033 * minibuffer.el (completion-table-case-fold): Use currying.
13034 (completion--styles-type, completion--cycling-threshold-type):
13035 New constants.
13036 (completion-styles, completion-category-overrides)
13037 (completion-cycle-threshold): Use them.
13038 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13039 completion-table-case-fold.
13040
13041 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13042
13043 * minibuffer.el (completion-category-overrides): Fix type of styles
13044 and add more user friendly tags (bug#9660).
13045
13046 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13047
13048 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13049 (mule-input-method-string): New widget.
13050 (default-input-method, language-info-custom-alist): Use it.
13051
13052 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13053
13054 * pcomplete.el: Require comint.
13055 (pcomplete--common-suffix): Remove.
13056 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13057 (pcomplete--table-subvert): Sync with comint--table-subvert.
13058 (pcomplete--entries): Use comint-completion-file-name-table.
13059 * comint.el (comint-unquote-filename): Simplify.
13060 (comint-completion-file-name-table): New function (bug#9616).
13061 (comint--complete-file-name-data): Use it.
13062
13063 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13064 (pcmpl-gnu-tar-buffer): Remove.
13065 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13066 around. Make sure pcomplete-suffix-list is only changed temporarily.
13067 Don't look inside the tar's file if it's too large.
13068
13069 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13070
13071 * cus-edit.el (custom-mode-map):
13072 * epa.el (epa-key-list-mode-map):
13073 * man.el (Man-mode-map):
13074 * startup.el (splash-screen-keymap):
13075 * simple.el (special-mode-map): Use scroll-up-command and
13076 scroll-down-command.
13077
13078 * progmodes/idlw-help.el (idlwave-help-mode-map):
13079 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13080 * net/newst-plainview.el (newsticker-mode-map):
13081 * emulation/ws-mode.el (wordstar-mode-map):
13082 * emulation/vi.el (vi-com-map):
13083 * calc/calc-graph.el (calc-graph-show-dumb):
13084 * term/sun.el (terminal-init-sun):
13085 * term/ns-win.el (global-map):
13086 * progmodes/grep.el (grep-mode-map):
13087 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13088 * mail/rmail.el (rmail-mode-map):
13089 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13090
13091 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13092 custom-safe-themes as special.
13093
13094 2011-10-01 Julien Danjou <julien@danjou.info>
13095
13096 * notifications.el (notifications-notify): Fix docstring.
13097
13098 2011-10-01 Per Starbäck <per@starback.se>
13099
13100 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13101
13102 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13103
13104 * startup.el (command-line-1): Fix last fix by inserting
13105 initial-scratch-message into *scratch* before displaying it.
13106 (Bug#9605) and (Bug#9636)
13107
13108 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13109
13110 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13111 window is hscrolled, move by logical lines. (Bug#9607)
13112 (line-move-visual): Update the doc string to the above effect.
13113
13114 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13115
13116 * window.el (display-buffer-record-window): When WINDOW is the
13117 selected window use `point' instead of `window-point'. (Bug#9626)
13118
13119 * startup.el (command-line-1): Use insert-before-markers when
13120 inserting initial-scratch-message. (Bug#9605)
13121
13122 * help.el (help-window): Remove variable.
13123
13124 2011-09-29 Glenn Morris <rgm@gnu.org>
13125
13126 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13127
13128 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13129
13130 * descr-text.el (describe-char-categories): Accept category
13131 descriptions more than one line long.
13132
13133 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13134
13135 * simple.el (delete-trailing-whitespace): Fix last change.
13136
13137 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13138 Don't confuse "y => 3" as the beginning of a `y' operation.
13139
13140 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13141 object has more than 4 slots (bug#9613).
13142
13143 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13144
13145 * subr.el (with-output-to-temp-buffer):
13146 * net/quickurl.el (quickurl, quickurl-browse-url):
13147 Fix typos in docstrings.
13148
13149 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13150
13151 * minibuffer.el (completion-styles)
13152 (completion-category-overrides): Cross reference each other in doc
13153 strings.
13154
13155 2011-09-27 Glenn Morris <rgm@gnu.org>
13156
13157 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13158 to split-string. (Bug#9606)
13159
13160 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13161
13162 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13163 (bug#9615).
13164
13165 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13166
13167 * emacs-lisp/package.el (list-packages): Fix echo area message.
13168
13169 2011-09-27 Leo Liu <sdl.web@gmail.com>
13170
13171 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13172
13173 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13174
13175 * net/dbus.el (dbus-unregister-object): Don't release services for
13176 registered signals. (Bug#9581)
13177
13178 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13179
13180 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13181 function that picks between cfengine 2 and 3 support
13182 automatically. Update docs accordingly.
13183
13184 2011-09-22 Kenichi Handa <handa@m17n.org>
13185
13186 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13187 ZERO.
13188 (indian-itrans-v5-table-for-tamil): New variable.
13189 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13190
13191 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13192
13193 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13194 that's true if the current command involved collapsing of text.
13195 It's reset to false at the beginning of the next command.
13196 (allout-post-command-business): Move the cursor to the beginning
13197 of entry if the cursor is hidden and collapsing activity just
13198 happened.
13199
13200 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13201
13202 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13203 tracking (Bug#9541).
13204
13205 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13206
13207 * net/newst-reader.el (newsticker-html-renderer)
13208 (newsticker-show-news): Automatically load html rendering package
13209 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13210 because w3m-fill-column is let-bound" and the error "Symbol's value
13211 as variable is void: w3m-fill-column".
13212
13213 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13214
13215 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13216 Release services only if they are defined. (Bug#9581)
13217
13218 2011-09-23 Richard Stallman <rms@gnu.org>
13219
13220 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13221 distinguish start of paragraph from start of its text.
13222
13223 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13224
13225 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13226 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13227 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13228
13229 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13230
13231 * international/mule-diag.el (mule-diag): Insert a newline after
13232 each fontset description.
13233
13234 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13235
13236 * simple.el (delete-trailing-whitespace):
13237 Document last change; simplify.
13238
13239 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13240
13241 * simple.el (delete-trailing-whitespace): Also delete
13242 extra newlines at the end of the buffer.
13243
13244 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13245 (picture-newline): Use forward-line so as to ignore fields.
13246
13247 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13248
13249 * subr.el (with-wrapper-hook): Fix edebug spec.
13250
13251 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13252
13253 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13254 (bug#4538).
13255
13256 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13257
13258 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13259 Fix nasty bug using wrong cached values.
13260
13261 2011-09-23 Alan Mackenzie <acm@muc.de>
13262
13263 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13264
13265 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13266
13267 * window.el (pop-to-buffer): Ensure right window is selected if we
13268 chose another frame.
13269
13270 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13271
13272 * simple.el (what-cursor-position): Use get-char-property-change
13273 and next-single-char-property-change, to be able to show display
13274 properties that come from overlays as well as text properties.
13275
13276 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13277
13278 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13279
13280 * cmuscheme.el (run-scheme, switch-to-scheme):
13281 * cus-edit.el (customize-group, custom-buffer-create)
13282 (customize-browse):
13283 * info.el (info):
13284 * shell.el (shell):
13285 * mail/sendmail.el (mail):
13286 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13287
13288 2011-09-22 Richard Stallman <rms@gnu.org>
13289
13290 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13291 move back only to line beg, don't move back over blank lines.
13292
13293 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13294
13295 * files.el (copy-directory): Set directory attributes only in case
13296 they could be retrieved from the source directory. (Bug#9565)
13297
13298 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13299
13300 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13301 (hs-find-block-beginning, hs-hide-level-recursive):
13302 Ignore strings as well as comments. (Bug#9502)
13303
13304 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13305
13306 * progmodes/sql.el (sql-comint-postgres):
13307 Convert port number to a string. (Bug#9566)
13308
13309 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13310
13311 * window.el (quit-window): Undedicate window when switching to
13312 previous buffer. Reported by Thierry Volpiatto
13313 <thierry.volpiatto@gmail.com>.
13314 (special-display-popup-frame): When popping up a new frame reset
13315 its previous buffers to nil. Simplify code.
13316
13317 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13318
13319 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13320 and process filter, as done also in `shell-command'.
13321
13322 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13323
13324 * window.el (set-window-buffer-start-and-point):
13325 Call set-window-start with NOFORCE argument t.
13326 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13327 (quit-window): Reword doc-string. Handle new format of
13328 quit-restore parameter. Don't delete window if it has a
13329 previous buffer we can show instead of the present one.
13330 (display-buffer-record-window): Rewrite using a new format for
13331 the quit-restore window parameter
13332 (special-display-popup-frame, display-buffer-same-window)
13333 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13334 (display-buffer-pop-up-window, display-buffer-use-some-window):
13335 Adapt symbol passed to display-buffer-record-window.
13336 * help.el (help-window-setup): Handle new format of quit-restore
13337 parameter.
13338
13339 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * faces.el (face-list): Fix docstring (bug#9564).
13342
13343 * window.el (display-buffer--action-function-custom-type):
13344 Don't include internal functions in the Custom interface.
13345
13346 2011-09-20 Juri Linkov <juri@jurta.org>
13347
13348 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13349 (Info-forward-node, Info-backward-node, Info-next-preorder)
13350 (Info-last-preorder): Use it. (Bug#9528)
13351
13352 2011-09-20 Juri Linkov <juri@jurta.org>
13353
13354 * info.el (Info-last-preorder): Visit last menu item only when
13355 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13356
13357 2011-09-20 Julien Danjou <julien@danjou.info>
13358
13359 * password-cache.el (password-cache-remove): Remove entries even if the
13360 value is nil, so that password with a nil value (negative caching) is
13361 possible to invalidate.
13362
13363 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13364
13365 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13366 all whitespace around breakpoint. (Bug#9553)
13367 (f90-find-breakpoint): Only break at whitespace inside a comment.
13368
13369 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13370
13371 * minibuffer.el (completion-file-name-table): Keep track of errors.
13372 (completion-table-with-predicate): Handle the case where pred1 is nil.
13373 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13374
13375 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13376
13377 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13378 (debugger-return-value): Signal an error if the debugging context does
13379 not await any return value.
13380
13381 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13382 * image-mode.el (image-toggle-display-text)
13383 (image-toggle-display-image): Stay away from evil `intangible'.
13384
13385 2011-09-19 Leo Liu <sdl.web@gmail.com>
13386
13387 * replace.el (occur-revert-arguments): Make it permanent-local.
13388 (occur-mode): Don't call font-lock-defontify.
13389
13390 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13391
13392 * net/ldap.el (ldap-search-internal): Don't push empty search
13393 result (Bug#9508).
13394
13395 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13396
13397 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13398
13399 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13400
13401 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13402 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13403
13404 2011-09-18 Juri Linkov <juri@jurta.org>
13405
13406 * buff-menu.el (Buffer-menu-mode-map):
13407 * dired.el (dired-mode-map):
13408 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13409 (lisp-interaction-mode-map):
13410 * emacs-lisp/package.el (package-menu-mode-map):
13411 * epa.el (epa-key-list-mode-map):
13412 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13413 (menu-bar-options-menu):
13414 * outline.el (outline-mode-menu-bar-map):
13415 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13416 * vc/vc-dir.el (vc-dir-menu-map):
13417 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13418 Capitalize non-function content words in menu item strings.
13419
13420 * dired.el (dired-mode-map): Add menu item for
13421 `image-dired-dired-toggle-marked-thumbs'.
13422
13423 2011-09-18 Juri Linkov <juri@jurta.org>
13424
13425 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13426 to `isearch-case-fold-search' and restore its original value
13427 after the `isearch-mode' call.
13428
13429 2011-09-18 Juri Linkov <juri@jurta.org>
13430
13431 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13432 because `zgrep' returns 1 for successful matches (bug#9226).
13433
13434 2011-09-18 Juri Linkov <juri@jurta.org>
13435
13436 * info.el (Info-extract-menu-node-name): Check the second match
13437 for empty string (second test-case of bug#9528).
13438 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13439 intermediate nodes to the history (first test-case of bug#9528).
13440
13441 2011-09-18 Juri Linkov <juri@jurta.org>
13442
13443 * info.el (Info-mode-syntax-table): New variable.
13444 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13445
13446 2011-09-18 Juri Linkov <juri@jurta.org>
13447
13448 * info.el (Info-file-supports-index-cookies):
13449 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13450 outputs one more line for long file names (bug#4142).
13451
13452 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13453
13454 * newcomment.el (comment-normalize-vars): If prompting for
13455 comment-start, set comment-start-skip too (Bug#8424).
13456
13457 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13458
13459 * icomplete.el: Fix previous fix of Bug#5849.
13460 (icomplete-mode): Don't set completion-show-inline-help.
13461 (icomplete-minibuffer-setup): Set completion-show-inline-help
13462 locally during icompletion.
13463
13464 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13465
13466 * woman.el (woman2-process-escapes): Don't delete unrecognized
13467 escapes (Bug#7843).
13468
13469 * files.el (inhibit-first-line-modes-regexps): Add image files.
13470 (hack-local-variables-prop-line): Return nil for malformed
13471 prop-lines (Bug#9044).
13472
13473 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13474
13475 * net/tramp.el (top): Don't require 'shell.
13476 (tramp-methods): Fix docstring.
13477 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13478 Return complete remote file name. Handle "smb" case.
13479 Use `tramp-tmpdir', if defined for the respective method.
13480 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13481
13482 * net/tramp-compat.el (top): Require 'shell.
13483
13484 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13485 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13486 `tramp-current-host'.
13487 (tramp-get-remote-tmpdir): Remove.
13488
13489 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13490 `tramp-tmpdir' entries.
13491 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13492 (tramp-smb-handle-file-attributes): Ignore errors.
13493 (tramp-smb-wait-for-output): Check also for process end.
13494
13495 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13496
13497 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13498 when sending QUIT (bug#9312).
13499
13500 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13501
13502 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13503 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13504 occur-mode-display-occurrence.
13505 (occur-edit-mode): Add usage message.
13506 (occur-cease-edit): New command.
13507 (occur-after-change-function): Use text properties to find the
13508 position of the prefix text.
13509 (occur-engine): Set stickiness of prefix text properties.
13510
13511 2011-09-17 Glenn Morris <rgm@gnu.org>
13512
13513 * progmodes/etags.el (complete-tag):
13514 Fix call to completion-in-region. (Bug#9526)
13515
13516 2011-09-17 Juri Linkov <juri@jurta.org>
13517
13518 * textmodes/ispell.el (ispell-word): Add to the error message
13519 the word, ispell program name and current dictionary (bug#9121).
13520 (ispell-tex-arg-end): Capitalize "error" in the error message.
13521
13522 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13523
13524 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13525 check. (Bug#4251)
13526
13527 2011-09-17 Juri Linkov <juri@jurta.org>
13528
13529 * window.el (window-safe-min-height, window-safe-min-width):
13530 Fix typos (followup to bug#9522).
13531
13532 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13533
13534 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13535
13536 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13537
13538 * simple.el (line-move): If goal-column is set, move by logical
13539 lines, not by display lines. (Bug#971)
13540 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13541 to reflect the above change.
13542
13543 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13544
13545 * image.el (imagemagick-register-types): Use regexp-opt.
13546
13547 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13548
13549 * window.el (display-buffer-base-action): Rename from
13550 display-buffer-default-action. Make default value empty.
13551 (display-buffer-overriding-action): Convert to defvar.
13552 (display-buffer-fallback-action): New var.
13553
13554 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13555
13556 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13557 declaration.
13558 (package--add-to-archive-contents): If there is a duplicate entry
13559 with an older version, remove it.
13560 (package-menu-mark-delete, package-menu-mark-install)
13561 (package-menu-mark-unmark): Make unused args optional.
13562 (package-menu-mark-obsolete-for-deletion):
13563 Use package-menu-get-status instead of a regexp search.
13564 (package-menu-get-status): Use tabulated-list-entry.
13565 (package-menu-mark-upgrades): New command.
13566 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13567 (package-menu-execute): Do installation before deletion.
13568 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13569 instead of checking major-mode.
13570 (package-menu--find-upgrades): New function.
13571
13572 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13573
13574 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13575 passwords in the log buffer.
13576 (smtpmail-process-filter): Update the process marker so that the
13577 "broken by peer" status message is inserted in the right place.
13578
13579 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13580
13581 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13582 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13583 bibtex-completion-at-point-function.
13584 (bibtex-completion-at-point-function): Use them.
13585
13586 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13587
13588 * mpc.el (mpc-constraints-tag-lookup): New function.
13589 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13590 also to browser "album|playlist".
13591
13592 2011-09-14 Juri Linkov <juri@jurta.org>
13593
13594 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13595 (isearch-edit-string): Use length of `isearch-string' when
13596 `isearch-fail-pos' returns nil.
13597 (isearch-message): Remove duplicate code and call
13598 `isearch-fail-pos' with arg `t'.
13599
13600 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13601
13602 * replace.el (occur-mode-goto-occurrence): Don't force using other
13603 window (Bug#9499).
13604
13605 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13606
13607 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13608
13609 * window.el (display-buffer-window): Remove.
13610 (display-buffer-record-window): Use help-setup window parameter
13611 instead of variable display-buffer-window.
13612 (display-buffer-function, special-display-buffer-names)
13613 (special-display-function): Mention help-setup parameter instead
13614 of display-buffer-window in doc-string.
13615 * help.el (help-window-setup): New argument help-window.
13616 Use help-window-setup parameter instead of display-buffer-window.
13617 Reword some messages.
13618 (with-help-window): Pass window used for displaying the buffer
13619 to help-window-setup. Don't set display-buffer-window.
13620
13621 2011-09-13 Glenn Morris <rgm@gnu.org>
13622
13623 * emacs-lisp/debug.el (debugger-make-xrefs):
13624 Preserve point. (Bug#9462)
13625
13626 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13627
13628 * window.el (window-deletable-p): Use next-frame.
13629
13630 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13631
13632 * window.el (window-auto-delete): Remove.
13633 (window-deletable-p): Remove argument FORCE. Don't deal with
13634 dedication and previous buffers.
13635 (switch-to-prev-buffer): Don't delete window.
13636 (delete-windows-on): Delete a window's frame if and only if the
13637 window is dedicated.
13638 (replace-buffer-in-windows): Delete buffer's window or frame if
13639 and only if window is dedicated.
13640 (quit-window): Handle quit-restore as before last change.
13641 (bury-buffer): Delete window only if window-deletable-p returns t.
13642
13643 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13644
13645 * window.el (window-deletable-p): Never delete the last frame on a
13646 given terminal.
13647
13648 2011-09-13 Glenn Morris <rgm@gnu.org>
13649
13650 * help.el (describe-key-briefly): Copy previous standard-output change.
13651
13652 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13653
13654 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13655
13656 2011-09-13 Glenn Morris <rgm@gnu.org>
13657
13658 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13659 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13660
13661 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13662
13663 * dired-aux.el (dired-mark-read-string): Don't return default
13664 value on empty input (Bug#9361).
13665 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13666 Omit initial minibuffer contents.
13667 (dired-do-chmod): Signal an error on empty input.
13668 (dired-mark-read-string): Don't return default on empty input.
13669
13670 * files.el (file-modes-symbolic-to-number): Doc fix.
13671
13672 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13673
13674 * international/mule-cmds.el (ucs-completions): Remove.
13675 (read-char-by-name): Use complete-with-action instead; add metadata.
13676
13677 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13678
13679 * window.el (display-buffer--action-function-custom-type)
13680 (display-buffer--action-custom-type): New vars.
13681 (display-buffer-alist, display-buffer-default-action)
13682 (display-buffer-overriding-action): Add defcustom types.
13683
13684 * frame.el (delete-other-frames): Doc fix (Bug#276).
13685
13686 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13687
13688 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13689
13690 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13691
13692 Change modes that used same-window-* vars to use switch-to-buffer.
13693
13694 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13695 Use switch-to-buffer.
13696
13697 * cus-edit.el (customize-group, custom-buffer-create)
13698 (customize-browse, custom-buffer-create-other-window):
13699 Use switch-to-buffer or switch-to-buffer-other-window.
13700
13701 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13702 (Info-prev, Info-up, Info-speedbar-goto-node)
13703 (info-display-manual): Use switch-to-buffer.
13704 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13705
13706 * mail/sendmail.el (mail): Use switch-to-buffer.
13707 (mail-recover): Use switch-to-buffer-other-window.
13708
13709 * cmuscheme.el (run-scheme, switch-to-scheme):
13710 * ielm.el (ielm):
13711 * shell.el (shell):
13712 * net/rlogin.el (rlogin):
13713 * net/telnet.el (telnet, rsh):
13714 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13715
13716 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13717
13718 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13719
13720 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13721
13722 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13723 so don't mention it (bug#9301).
13724 (dired-sort-toggle-or-edit): Clarify string further.
13725
13726 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13727 match `x', `w32' and `ns', like the manual says (bug#9029).
13728
13729 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13730 (process-kill-buffer-query-function): Mention the buffer name in
13731 the query.
13732
13733 * image-mode.el (image-next-line): The line parameter is mandatory
13734 (bug#9258).
13735
13736 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13737 which can be useful (bug#9301).
13738
13739 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13740
13741 * subr.el (match-string): Mention that the current buffer should
13742 be the same as the search was done in (bug#9282).
13743
13744 * facemenu.el: Disable the remove-* commands if the mark isn't
13745 active (bug#9162).
13746
13747 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13748
13749 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13750 of display-buffer.
13751 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13752
13753 * replace.el (occur-mode-goto-occurrence)
13754 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13755 and display-buffer.
13756
13757 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13758 display-buffer.
13759
13760 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13761 special-display and same-window variables.
13762 (mail-other-window): Use switch-to-buffer-other-window.
13763 (mail-other-frame): USe switch-to-buffer-other-frame.
13764
13765 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13766 Use display-buffer-other-frame.
13767 (gdb-display-gdb-buffer): Use pop-to-buffer.
13768
13769 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13770
13771 * progmodes/python.el: Don't set same-window-buffer-names.
13772
13773 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13774
13775 * window.el (display-buffer-alist): Add *Python*.
13776
13777 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13778
13779 * window.el (display-buffer-alist): Add entry for buffers
13780 previously handled same-window-*.
13781 (display-buffer-alist, display-buffer-default-action)
13782 (display-buffer-overriding-action): Mark as risky.
13783 (display-buffer-alist): Document action function changes.
13784 (display-buffer--same-window-action)
13785 (display-buffer--other-frame-action): New variables.
13786 (switch-to-buffer, display-buffer-other-frame): Use them.
13787 (display-buffer): Rename reuse-frame entry to reusable-frames.
13788 (display-buffer-reuse-selected-window): Function deleted.
13789 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13790 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13791 (display-buffer-special): New function.
13792 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13793 display-buffer-reuse-or-pop-window. Split off special-display
13794 part into display-buffer-special.
13795 (display-buffer-use-some-window): Don't perform any special
13796 pop-up-frames handling.
13797 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13798 (display-buffer--maybe-same-window): Rename from
13799 display-buffer-maybe-same-window.
13800
13801 * info.el: Don't set same-window-regexps.
13802 (info-setup): New function.
13803 (info-other-window, info): Call it.
13804
13805 * cus-edit.el: Don't set same-window-regexps.
13806 (customize-group): New argument.
13807 (customize-group-other-window): Use it.
13808 (customize-face, customize-face-other-window): Likewise.
13809 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13810
13811 * net/rlogin.el:
13812 * net/telnet.el:
13813 * progmodes/gud.el: Don't set same-window-regexps.
13814
13815 * cmuscheme.el:
13816 * ielm.el:
13817 * shell.el:
13818 * mail/sendmail.el:
13819 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13820
13821 2011-09-10 Juri Linkov <juri@jurta.org>
13822
13823 * isearch.el (isearch-edit-string): Remove obsolete mention of
13824 `C-w' (`isearch-yank-word-or-char') from docstring.
13825 (isearch-query-replace): Fix typo in docstring (bug#9466).
13826
13827 2011-09-10 Juri Linkov <juri@jurta.org>
13828
13829 * paren.el (show-paren-function): Don't show escaped parens.
13830 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13831
13832 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13833
13834 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13835 (mm-default-file-encoding): Remove autoload forms, they are
13836 replaced with autoload cookies in mml.el and mm-encode.el.
13837 (mail-add-attachment): New command.
13838 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13839 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13840 the doc string.
13841 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13842
13843 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13844
13845 * simple.el (count-words-region): Use buffer if there's no region
13846 (bug#9429).
13847
13848 2011-09-09 Juri Linkov <juri@jurta.org>
13849
13850 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13851 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13852 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13853
13854 2011-09-09 Alan Mackenzie <acm@muc.de>
13855
13856 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13857 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13858
13859 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13860
13861 Fix for Savannah bug#9392.
13862 * simple.el (mail-encode-mml): New defvar.
13863
13864 * mail/rmail.el (mail-encode-mml): Add a defvar.
13865 (rmail-enable-mime-composing): Default to t.
13866 (rmail-forward): Use MIME method of forwarding only if both
13867 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13868 Set mail-encode-mml non-nil if the MIME method was used.
13869
13870 * mail/sendmail.el (mml-to-mime): Add autoload form.
13871 (mail-encode-mml): Add a defvar.
13872 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13873 to nil.
13874 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13875 message through mml-to-mime, and reset mail-encode-mml to nil.
13876
13877 2011-09-09 Glenn Morris <rgm@gnu.org>
13878
13879 * woman.el (woman-if-body): When processing an .el block,
13880 do not delete the next .el block as well. (Bug#9447)
13881 (woman-special-characters): Add oq, cq, and hy characters.
13882
13883 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13884
13885 * window.el (window-deletable-p): Make sure window is live before
13886 invoking window-prev-buffers.
13887
13888 2011-09-08 Leo Liu <sdl.web@gmail.com>
13889
13890 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13891
13892 2011-09-08 Juri Linkov <juri@jurta.org>
13893
13894 * progmodes/compile.el (compilation-environment): Make it
13895 a defcustom (bug#8340).
13896
13897 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13898
13899 * window.el (frame-auto-delete): Rename to window-auto-delete.
13900 Make it control auto-deletion of windows and/or frames.
13901 (window-deletable-p): New argument FORCE. Rewrite conditions
13902 for deleting window/frame. (Bug#9419)
13903 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13904 Rewrite handling of case when window/frame can be deleted.
13905 (delete-windows-on): Call window-deletable-p with new FORCE
13906 argument t. (Bug#9456)
13907
13908 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13909
13910 * help-mode.el (help-mode): Restore autoload.
13911
13912 2011-09-07 Juri Linkov <juri@jurta.org>
13913
13914 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13915 `compilation-environment'. Set buffer-local
13916 `compilation-environment' to `thisenv' later after (funcall mode).
13917 (Bug#8340)
13918
13919 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13920 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13921 instead of replacing its value. (Bug#8340)
13922
13923 2011-09-07 Juri Linkov <juri@jurta.org>
13924
13925 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13926 based on text properties put by `grep-filter' instead of matching
13927 escape sequences.
13928 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13929 to the value of `grep-error-screen-columns' (bug#9438).
13930
13931 2011-09-07 Juri Linkov <juri@jurta.org>
13932
13933 * simple.el (next-error-highlight, next-error-highlight-no-select):
13934 Doc fix (bug#9432).
13935
13936 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13937
13938 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13939 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13940
13941 2011-09-07 Leo Liu <sdl.web@gmail.com>
13942
13943 * net/rcirc.el (rcirc-mode): Conditionally initialize
13944 rcirc-input-ring.
13945
13946 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13947
13948 * emacs-lisp/find-func.el (find-function-C-source): Only set
13949 find-function-C-source-directory after checking that we found a source
13950 file there (bug#9440).
13951
13952 2011-09-06 Alan Mackenzie <acm@muc.de>
13953
13954 * isearch.el (isearch-other-meta-char): Wherever a key list is
13955 unread, "unread" the prefix arg, too. This fixes bug #8901.
13956
13957 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13958
13959 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13960
13961 2011-09-05 Juri Linkov <juri@jurta.org>
13962
13963 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13964
13965 2011-09-05 Juri Linkov <juri@jurta.org>
13966
13967 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13968 keeping point where processing of grep matches begins, and
13969 continue to delete remaining escape sequences from the same point.
13970 (grep-filter): Make leading zero optional in "0?1;31m" because
13971 git-grep emits "\033[1;31m" escape sequences unlike expected
13972 "\033[01;31m" as GNU Grep does (bug#9408).
13973 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13974
13975 2011-09-05 Juri Linkov <juri@jurta.org>
13976
13977 * subr.el (y-or-n-p): Capitalize "yes".
13978
13979 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13980
13981 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13982 `tramp-cache-unload-hook' where appropriate.
13983 (tramp-methods): Rename `tramp-remote-sh' to
13984 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13985 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13986
13987 * net/tramp-sh.el (top): Don't require 'shell.
13988 (tramp-methods): Add `tramp-remote-shell' and
13989 `tramp-remote-shell-args' entries.
13990 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13991 (tramp-sh-handle-shell-command): Remove.
13992 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13993 Use `tramp-remote-shell'.
13994
13995 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
13996
13997 * mail/sendmail.el (sendmail-query-once-function): Delete.
13998 (sendmail-query-once): Save directly to send-mail-function.
13999 Update message-send-mail-function too.
14000
14001 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14002
14003 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14004
14005 * progmodes/python.el (python-mode-map): Use correct function to
14006 start python interpreter from menu-bar (as reported by Geert
14007 Kloosterman).
14008 (inferior-python-mode-map): Fix typo.
14009 (python-shell-map): Remove.
14010
14011 2011-09-03 Deniz Dogan <deniz@dogan.se>
14012
14013 * net/rcirc.el (rcirc-print): Simplify code for
14014 rcirc-scroll-show-maximum-output. There is no need to walk
14015 through all windows to find the right one.
14016
14017 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14018
14019 * help.el (help-return-method): Doc fix.
14020
14021 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14022
14023 * window.el (window-deletable-p): Don't return a non-nil value
14024 when there's a buffer that was shown in the window before.
14025 (Bug#9419)
14026 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14027 Set window's previous buffers to nil.
14028
14029 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14030
14031 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14032 newline before and after the tag line, so it doesn't interfere
14033 with determining the paragraph direction of bidirectional text.
14034
14035 2011-09-03 Leo Liu <sdl.web@gmail.com>
14036
14037 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14038
14039 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14040
14041 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14042 (pop-to-buffer): Change interactive spec. Pass second argument
14043 directly to display-buffer.
14044 (display-buffer): Fix interactive spec. Use functionp to
14045 distinguish between a function and a list of functions.
14046
14047 * abbrev.el (edit-abbrevs):
14048 * arc-mode.el (archive-extract):
14049 * autoinsert.el (auto-insert):
14050 * bookmark.el (bookmark-bmenu-list):
14051 * files.el (find-file):
14052 * view.el (view-buffer):
14053 * progmodes/compile.el (compilation-goto-locus):
14054 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14055
14056 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14057
14058 * window.el (display-buffer-alist): Doc fix.
14059 (display-buffer): Add docstring. Don't treat
14060 display-buffer-default specially.
14061 (display-buffer-reuse-selected-window)
14062 (display-buffer-same-window, display-buffer-maybe-same-window)
14063 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14064 (display-buffer-pop-up-window)
14065 (display-buffer-reuse-or-pop-window)
14066 (display-buffer-use-some-window): New functions.
14067 (display-buffer-default-action): Use them.
14068 (display-buffer-default): Delete.
14069 (pop-to-buffer-1): Fix choice of actions.
14070
14071 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14072
14073 * minibuffer.el (completion--insert-strings): Don't get confused by
14074 completion entries that end with an LF char.
14075
14076 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14077
14078 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14079
14080 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14081
14082 * window.el (display-buffer): Restore interactive spec.
14083 (display-buffer-same-window, display-buffer-other-window):
14084 New functions.
14085 (pop-to-buffer-1): New function. Use the above.
14086 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14087 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14088
14089 * view.el (view-buffer-other-window, view-buffer-other-frame):
14090 Just use pop-to-buffer.
14091
14092 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14093
14094 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14095
14096 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14097
14098 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14099
14100 2011-08-31 Richard Stallman <rms@gnu.org>
14101
14102 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14103 of the separation of rmail-view-buffer from rmail-buffer.
14104 If you say no to "replace original", the decrypt is in the
14105 view buffer. If you say yes, the decrypt goes into the
14106 rmail buffer also.
14107
14108 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14109
14110 * window.el (display-buffer-window): Rewrite doc-string.
14111 (display-buffer-record-window): New function.
14112 (display-buffer-macro-specifiers)
14113 (display-buffer-even-window-sizes, display-buffer-set-height)
14114 (display-buffer-set-width, display-buffer-in-window)
14115 (display-buffer-reuse-window, display-buffer-split-specifiers)
14116 (display-buffer-side-specifiers, display-buffer-split-window-1)
14117 (display-buffer-split-window, display-buffer-split-atom-window)
14118 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14119 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14120 (display-buffer-other-window-means-other-frame)
14121 (display-buffer-normalize-special)
14122 (display-buffer-normalize-default)
14123 (display-buffer-normalize-argument)
14124 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14125 (display-buffer-normalize-specifiers, display-buffer-frame)
14126 (display-buffer-same-window, display-buffer-same-frame)
14127 (display-buffer-other-window)
14128 (display-buffer-same-frame-other-window)
14129 (display-buffer-other-frame, pop-to-buffer-same-window)
14130 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14131 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14132 (switch-to-buffer-same-frame)
14133 (switch-to-buffer-other-window-same-frame)
14134 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14135 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14136 (display-buffer-alist-set): Remove.
14137 (display-buffer-function, special-display-buffer-names)
14138 (special-display-regexps, special-display-function):
14139 In doc-string refer to display-buffer-window and quit-restore
14140 parameter.
14141 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14142 (special-display-frame-alist, special-display-popup-frame)
14143 (same-window-buffer-names, same-window-regexps, same-window-p)
14144 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14145 (split-window-preferred-function, split-height-threshold)
14146 (split-width-threshold, window-splittable-p)
14147 (split-window-sensibly, window--try-to-split-window)
14148 (window--frame-usable-p, even-window-heights)
14149 (window--even-window-heights, window--display-buffer-1)
14150 (window--display-buffer-2, display-buffer-other-frame):
14151 Restore old Emacs 23 code, order and doc-strings where applicable.
14152 (display-buffer-default, display-buffer-assq-regexp): New functions.
14153 (display-buffer-alist): Rewrite doc-string.
14154 (display-buffer-default-action)
14155 (display-buffer-overriding-action): New variables.
14156 (display-buffer, switch-to-buffer): Rewrite.
14157 (pop-to-buffer): Restore Emacs 23 behavior but use
14158 window-normalize-buffer-to-display.
14159 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14160 Restore Emacs 23 behavior but use
14161 window-normalize-buffer-to-switch-to.
14162 (pop-to-buffer-same-window): Rewrite.
14163 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14164 Rewrite using Emacs 23 options.
14165
14166 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14167
14168 * net/tramp.el (tramp-root-regexp): Remove.
14169 (tramp-completion-file-name-regexp-unified)
14170 (tramp-completion-file-name-regexp-separate)
14171 (tramp-completion-file-name-regexp-url): Don't use leading volume
14172 letter on w32 systems. (Bug#5303, Bug#9311)
14173 (tramp-drop-volume-letter): Simplify definition.
14174 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14175
14176 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14177
14178 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14179 (bug#9356).
14180
14181 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14182
14183 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14184
14185 2011-08-29 Juri Linkov <juri@jurta.org>
14186
14187 * isearch.el (isearch-done): Don't display message "Mark saved"
14188 when arg `edit' is non-nil to prevent its flicker in the echo area.
14189
14190 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14191
14192 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14193 obsolete packages for deletion.
14194
14195 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14196
14197 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14198 (help-mode): Derive help-mode from special-mode. Don't invoke
14199 view-mode from help-mode.
14200 (help-xref-override-view-map): Remove.
14201 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14202 view-mode is not used anymore.
14203
14204 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14205
14206 * server.el (server-port): Doc fix.
14207
14208 * cus-theme.el (custom-theme-choose-mode): Inherit from
14209 special-mode (Bug#9124).
14210 (custom-theme-choose-mode-map): Add special-mode to parent.
14211
14212 2011-08-28 Alan Mackenzie <acm@muc.de>
14213
14214 * progmodes/cc-fonts.el
14215 (c-make-font-lock-BO-decl-search-function): New function.
14216 (c-basic-matchers-after - "Fontify the clauses after various
14217 keywords"): Extract the three keyword lists for the 3 erroneous
14218 constructs from the list of four, and use the new function above
14219 in place of an old one.
14220
14221 2011-08-28 Deniz Dogan <deniz@dogan.se>
14222
14223 * net/rcirc.el (rcirc-insert-prev-input)
14224 (rcirc-insert-next-input): Remove unused argument.
14225
14226 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14227
14228 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14229
14230 2011-08-27 Alan Mackenzie <acm@muc.de>
14231
14232 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14233 handle function pointer parameters properly.
14234
14235 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14236
14237 * window.el (display-buffer-reuse-window): Fix case where
14238 selected window was reused with non-nil OTHER-WINDOW argument.
14239 (Bug#9381)
14240
14241 2011-08-27 Deniz Dogan <deniz@dogan.se>
14242
14243 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14244 oftc's NickServ messages.
14245
14246 2011-08-27 Glenn Morris <rgm@gnu.org>
14247
14248 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14249
14250 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14251
14252 * emacs-lisp/package.el (package-install): Call package-initialize
14253 if called interactively.
14254
14255 2011-08-26 Leo Liu <sdl.web@gmail.com>
14256
14257 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14258
14259 2011-08-25 Juri Linkov <juri@jurta.org>
14260
14261 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14262 `search-whitespace-regexp' (bug#9364).
14263
14264 2011-08-25 Juri Linkov <juri@jurta.org>
14265
14266 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14267 `regexp-search-ring' to their global values to protect from
14268 updating by `read-from-minibuffer' (bug#9185).
14269
14270 2011-08-25 Juri Linkov <juri@jurta.org>
14271
14272 * textmodes/ispell.el (ispell-command-loop): Add newline
14273 at the end of the "Use option `i'..." line.
14274
14275 2011-08-25 Juri Linkov <juri@jurta.org>
14276
14277 * battery.el (display-battery-mode): If `battery-status-function'
14278 or `battery-mode-line-format' is nil, display the message and set
14279 `display-battery-mode' to nil (bug#9363).
14280
14281 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14282
14283 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14284 bidi-string-mark-left-to-right; they are unnecessary now.
14285
14286 2011-08-25 Deniz Dogan <deniz@dogan.se>
14287
14288 * net/quickurl.el: Documentation typo fixes.
14289
14290 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14291
14292 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14293
14294 2011-08-25 Glenn Morris <rgm@gnu.org>
14295
14296 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14297
14298 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14299 (smtpmail-via-smtp): Handle nil response from smtp.
14300
14301 2011-08-24 Juri Linkov <juri@jurta.org>
14302
14303 * proced.el (proced-marked): Inherit from `error' instead of
14304 `font-lock-warning-face'.
14305
14306 * ibuffer.el (ibuffer-marked-face): Change default face from
14307 `font-lock-warning-face' to `warning'.
14308 (ibuffer-deletion-face): Change default face from
14309 `font-lock-type-face' to `error'.
14310
14311 * battery.el (battery-update): Use the face `error' instead of
14312 `font-lock-warning-face' (bug#6117).
14313
14314 2011-08-24 Juri Linkov <juri@jurta.org>
14315
14316 * faces.el (success): Change face color from "Green3" to
14317 "ForestGreen" on light background (bug#9353).
14318
14319 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14320
14321 * window.el (quit-window): Rename from quit-restore-window.
14322 Use same arglist as old quit-window.
14323 (frame-auto-delete): Doc fix.
14324
14325 * view.el (view-mode-exit): Use quit-window.
14326
14327 2011-08-24 Juri Linkov <juri@jurta.org>
14328
14329 * isearch.el (isearch-ring-adjust1): Start visiting previous
14330 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14331 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14332 for empty search string (when the last search string is reused
14333 automatically) to adjust the isearch ring to the last element and
14334 prepare the correct index for further M-p commands (bug#9185).
14335
14336 2011-08-24 Kenichi Handa <handa@m17n.org>
14337
14338 * international/ucs-normalize.el: If decomposition property of
14339 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14340 nil.
14341 (nfd, nfkd): Likewise.
14342
14343 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14344
14345 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14346 from process filters aren't reliably transmitted to the surrounding
14347 accept-process-output.
14348 (mpc-proc-check): New function.
14349 (mpc-proc-sync): Use it (bug#8293)
14350
14351 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14352
14353 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14354 Add compatibility functions (bug#9313).
14355
14356 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14357
14358 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14359
14360 * international/uni-bidi.el: Regenerate.
14361
14362 2011-08-23 Kenichi Handa <handa@m17n.org>
14363
14364 * international/charprop.el:
14365 * international/uni-bidi.el:
14366 * international/uni-category.el:
14367 * international/uni-combining.el:
14368 * international/uni-comment.el:
14369 * international/uni-decimal.el:
14370 * international/uni-decomposition.el:
14371 * international/uni-digit.el:
14372 * international/uni-lowercase.el:
14373 * international/uni-mirrored.el:
14374 * international/uni-name.el:
14375 * international/uni-numeric.el:
14376 * international/uni-old-name.el:
14377 * international/uni-titlecase.el:
14378 * international/uni-uppercase.el: Regenerate.
14379
14380 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14381
14382 * help.el (help-window-setup): Fix message displayed when other
14383 window is reused. (Bug#9341)
14384
14385 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14386
14387 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14388 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14389
14390 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14391 Mark obsolete.
14392 * shell.el (shell-parse-pcomplete-arguments): New function.
14393 (shell-completion-vars): Use it instead (bug#9160).
14394
14395 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14396
14397 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14398 strings and comments (bug#9333).
14399
14400 * emacs-lisp/debug.el (debug-arglist): New function.
14401 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14402 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14403
14404 2011-08-22 Juri Linkov <juri@jurta.org>
14405
14406 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14407 Revert regexp that highlights output switches to its old
14408 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14409
14410 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14411 to check for empty output (bug#9226).
14412
14413 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14414
14415 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14416 symbol-constituent as the default, as that stops font-lock from
14417 working properly (Bug#8843).
14418
14419 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14420
14421 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14422 `coding-system-for-*' around the process open call to avoid
14423 auth-source side effects.
14424 (smtpmail-try-auth-methods): Expand the secret password.
14425 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14426 probe hangs.
14427
14428 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14429
14430 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14431
14432 * emacs-lisp/find-func.el (find-function-noselect): New arg
14433 lisp-only.
14434
14435 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14436 signal an error for built-in functions (Bug#6664).
14437
14438 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14439
14440 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14441 (smtpmail-try-auth-methods): Use it.
14442
14443 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14444
14445 * font-lock.el (font-lock-fontify-region)
14446 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14447 (font-lock-default-unfontify-buffer)
14448 (font-lock-default-fontify-region)
14449 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14450
14451 * progmodes/compile.el (compilation-error-properties):
14452 Fix confusion between file struct and message struct (Bug#9319).
14453 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14454 `ant' regexp.
14455
14456 * net/browse-url.el (browse-url-firefox): Don't call
14457 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14458
14459 2011-08-20 Glenn Morris <rgm@gnu.org>
14460
14461 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14462
14463 * tutorial.el (tutorial--default-keys): Update some default bindings.
14464
14465 * files.el (hack-local-variables): Fully ignore case for "mode:".
14466
14467 2011-08-20 Alan Mackenzie <acm@muc.de>
14468
14469 Resolve invalid use of a regexp in regexp-opt.
14470
14471 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14472 detection for a java annotation.
14473
14474 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14475 detection for a java annotation.
14476
14477 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14478 handling for java.
14479 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14480
14481 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14482
14483 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14484 (Bug#9274).
14485
14486 2011-08-20 Alan Mackenzie <acm@muc.de>
14487
14488 Fontify CPP expressions correctly when starting in the middle of
14489 such a construct. Mainly for when jit-lock etc. starts a chunk
14490 here.
14491
14492 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14493 variable.
14494 (c-make-font-lock-search-form): New function, extracted from
14495 c-make-font-lock-search-function.
14496 (c-make-font-lock-search-function): Use the above function.
14497 (c-make-font-lock-context-search-function): New function.
14498 (c-cpp-matchers): Enhance the preprocessor expression case with
14499 the above function
14500 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14501 which takes an expression.
14502
14503 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14504
14505 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14506
14507 * window.el (display-buffer-reuse-window)
14508 (display-buffer-pop-up-window): Don't reuse or split a side
14509 window.
14510
14511 2011-08-19 Glenn Morris <rgm@gnu.org>
14512
14513 * files.el (hack-local-variables-prop-line, hack-local-variables):
14514 Downcase "Mode:". (Bug#9331)
14515
14516 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14517
14518 * international/characters.el: Add L and R categories.
14519
14520 * subr.el (bidi-string-mark-left-to-right): Rename from
14521 string-mark-left-to-right. Use category search.
14522
14523 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14524
14525 2011-08-18 Juri Linkov <juri@jurta.org>
14526
14527 * faces.el (error, warning, success): New faces with definitions
14528 copied from old default values of `font-lock-warning-face',
14529 `compilation-warning', `compilation-info' (bug#6117).
14530
14531 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14532
14533 * progmodes/compile.el (compilation-error): Inherit from `error'.
14534 (compilation-warning): Inherit from `warning'.
14535 (compilation-info): Inherit from `success'.
14536
14537 * dired.el (dired-marked): Inherit from `warning'.
14538 (dired-flagged): Inherit from `error'.
14539
14540 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14541
14542 * mail/smtpmail.el (auth-source): Require to avoid problems with
14543 binding variables (bug#9298). Also clean up some unused
14544 autoloads.
14545
14546 * net/network-stream.el (network-stream-open-starttls):
14547 Support using starttls.el without using gnutls-cli.
14548
14549 2011-08-17 Juri Linkov <juri@jurta.org>
14550
14551 * progmodes/grep.el (rgrep): Handle the case when
14552 `grep-find-command' is a cons cell (bug#9278).
14553
14554 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14555
14556 * window.el (display-buffer-pop-up-frame): Run frame creation
14557 function with BUFFER current (as special-display-popup-frame
14558 does). Reported by Drew Adams.
14559
14560 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14561
14562 * epa-mail.el: Simplify GnuPG group expansion using
14563 epg-expand-group.
14564 (epa-mail-group-alist, epa-mail-group-modtime)
14565 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14566 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14567 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14568 Remove.
14569
14570 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14571
14572 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14573
14574 2011-08-16 Alan Mackenzie <acm@muc.de>
14575
14576 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14577 Correct, to avoid the inside of macros.
14578
14579 2011-08-16 Richard Stallman <rms@gnu.org>
14580
14581 * epa-mail.el: Handle GnuPG group definitions.
14582 (epa-mail-group-alist, epa-mail-group-modtime)
14583 (epa-mail-gnupg-conf-file): New variables.
14584 (epa-mail-parse-groups, epa-mail-sync-groups)
14585 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14586 (epa-mail-expand-recipients): New functions.
14587 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14588
14589 * mail/rmail.el (rmail-epa-decrypt): New command.
14590
14591 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14592 Don't bind buffer-read-only, just inhibit-read-only.
14593 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14594 (epa-decrypt-armor-in-region): Make error message clearer.
14595
14596 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14597
14598 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14599 and "a2b" to "ab" for `prefix'.
14600
14601 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14602
14603 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14604 filter groups.
14605 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14606 Fourquet (Bug#8804).
14607
14608 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14609
14610 * startup.el (argi): Declare as global variable (bug#9275).
14611
14612 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14613
14614 * subr.el (string-mark-left-to-right): Search the entire string
14615 for RTL script, not just the terminating character. Doc fix.
14616
14617 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14618
14619 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14620 New function.
14621 (js--regexp-literal, js-syntax-propertize-function): Remove.
14622 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14623 (js-mode-map): Don't rebind electric keys.
14624 (js-insert-and-indent): Remove.
14625 (js-mode): Setup electric-layout and electric-indent instead.
14626
14627 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14628
14629 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14630
14631 * epa.el (epa-progress-callback-function): Fix the logic of
14632 displaying progress.
14633 * epa-file.el (epa-file-insert-file-contents): Make progress
14634 display more user-friendly.
14635 (epa-file-write-region): Ditto.
14636
14637 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14638
14639 * subr.el (string-mark-left-to-right): New function.
14640
14641 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14642 Use string-mark-left-to-right.
14643 (list-buffers-noselect): Caller changed.
14644
14645 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14646 Use string-mark-left-to-right.
14647 (tabulated-list-print): Recenter after moving point.
14648
14649 2011-08-10 Juri Linkov <juri@jurta.org>
14650
14651 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14652 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14653 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14654
14655 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14656
14657 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14658 (Bug#7554).
14659
14660 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14661
14662 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14663 character. (Bug#6594)
14664
14665 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14666
14667 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14668 (image-dired--with-db-file): New macro.
14669 (image-dired-write-tags, image-dired-remove-tag)
14670 (image-dired-create-gallery-lists, image-dired-write-comments)
14671 (image-dired-get-comment, image-dired-mark-tagged-files)
14672 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14673 (image-dired-gallery-generate): Use insert-file-contents.
14674
14675 * time.el (display-time-world-list, display-time-world-display):
14676 * time-stamp.el (time-stamp-string):
14677 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14678 set-time-zone-rule (Bug#7337).
14679
14680 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14681
14682 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14683 (epg-error-to-string, epg-errors-to-string): New function.
14684 (epg-wait-for-completion): Reverse errors list.
14685 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14686 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14687 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14688 (epg-sign-keys, epg-generate-key-from-file)
14689 (epg-generate-key-from-string): Format errors by using
14690 epg-errors-to-string (bug#9255).
14691 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14692
14693 2011-08-07 Juri Linkov <juri@jurta.org>
14694
14695 * faces.el (list-faces-display): Remove extra angle bracket
14696 from `help-mode-map'.
14697
14698 * info.el (Info-history-toc-nodes): Doc fix.
14699
14700 * longlines.el (longlines-mode): Doc fix.
14701
14702 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14703
14704 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14705 of statements and in a few more cases (bug#9183).
14706
14707 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14708 New functions.
14709 (cl-transform-lambda): Use them (bug#9239).
14710
14711 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14712
14713 * window.el (display-buffer-same-window)
14714 (display-buffer-same-frame, display-buffer-other-window)
14715 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14716 (pop-to-buffer-other-window)
14717 (pop-to-buffer-same-frame-other-window)
14718 (pop-to-buffer-other-frame): Make them defuns.
14719 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14720
14721 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14722
14723 * subr.el (make-composed-keymap): Move from C. Change calling
14724 convention, and improve docstring to bring attention to a subtle point.
14725 * minibuffer.el (completing-read-default): Adjust accordingly.
14726
14727 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14728
14729 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14730 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14731
14732 * net/trampver.el: Update release number.
14733
14734 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14735
14736 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14737 "in" (bug#9190).
14738
14739 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14740
14741 * mail/sendmail.el (sendmail-query-once): Restore the current
14742 buffer after querying (bug#9074).
14743
14744 * dired.el (dired-flagged): Use different faces for marked and
14745 flagged files (bug#6117).
14746
14747 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14748 (bug#4433).
14749
14750 * ido.el (ido-mode): Switch off the message if called
14751 non-interactively.
14752
14753 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14754 before 587, since it appears that that's more likely to work for
14755 more people.
14756
14757 * cus-edit.el (custom-file): When running under emacs -q, always
14758 refuse to save the customizations, even if the .emacs file doesn't
14759 exist.
14760
14761 * info.el: Remove the `Info-beginning-of-buffer' function
14762 (bug#8325).
14763
14764 * net/network-stream.el (network-stream-open-starttls):
14765 Use `starttls-available-p' to see whether starttls.el can be used.
14766
14767 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14768
14769 * window.el (display-buffer-in-window): Don't set dedicated status
14770 of window here (Bug#9215).
14771 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14772 (display-buffer-pop-up-side-window)
14773 (display-buffer-in-side-window): Set dedicated status of window here.
14774
14775 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14776
14777 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14778 before binding generated-autoload-file.
14779
14780 2011-08-01 Deniz Dogan <deniz@dogan.se>
14781
14782 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14783
14784 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14785
14786 Sync with Tramp 2.2.2.
14787
14788 * net/trampver.el: Update release number.
14789
14790 2011-07-30 Juri Linkov <juri@jurta.org>
14791
14792 * dired-aux.el (dired-touch-initial): Remove function.
14793 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14794 current time, and `default' to the last modification time of the
14795 current marked file (bug#6887).
14796
14797 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14798
14799 * simple.el (goto-line): Use string-to-number to provide a
14800 numeric argument to read-number (bug#9163).
14801
14802 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14803
14804 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14805 connection process, it could be nil.
14806
14807 2011-07-27 Leo Liu <sdl.web@gmail.com>
14808
14809 Simplify url handling in rcirc-mode.
14810
14811 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14812 (rcirc-browse-url-at-mouse): Remove.
14813 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14814
14815 2011-07-26 Alan Mackenzie <acm@muc.de>
14816
14817 Fontify bitfield declarations properly.
14818
14819 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14820 (c-symbol-chars): Now exported as a lang variable.
14821 (c-not-primitive-type-keywords): New lang variable.
14822
14823 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14824 QT keyword "more" to prevent "more slots: ...." being spuriously
14825 parsed as a bitfield declaration.
14826
14827 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14828 Refactor and enhance to handle bitfield declarations.
14829 (c-punctuation-in): New function.
14830 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14831 declarations properly.
14832
14833 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14834
14835 * calendar/icalendar.el (icalendar--all-events): Take care of
14836 multiple vcalendars in a single file.
14837 (icalendar--convert-float-to-ical): Checkdoc fixes.
14838
14839 2011-07-25 Deniz Dogan <deniz@dogan.se>
14840
14841 * image.el (insert-image): Clarifying docstring.
14842
14843 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14844
14845 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14846 `tramp-send-command-and-check' if there is no error.
14847 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14848
14849 2011-07-22 Alan Mackenzie <acm@muc.de>
14850
14851 Prevent cc-langs.elc being loaded at run time.
14852
14853 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14854 cc-langs.
14855
14856 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14857 "(require 'cc-langs)". Quote a form so it will evaluate at
14858 (cc-mode's) compilation time.
14859
14860 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14861
14862 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14863 loading. (Bug#9114)
14864
14865 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14866
14867 * window.el (display-buffer-pop-up-window)
14868 (display-buffer-pop-up-side-window)
14869 (display-buffer-in-side-window): Call display-buffer-set-height
14870 and display-buffer-set-width after setting the new window's
14871 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14872
14873 2011-07-20 Sam Steingold <sds@gnu.org>
14874
14875 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14876 (etags-tags-included-tables): Call `convert-standard-filename' on
14877 the file names contained in TAGS so that windows Emacs can handle
14878 TAGS files created by cygwin ctags.
14879
14880 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14881
14882 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14883 which apparently didn't work.
14884
14885 2011-07-19 Roland Winkler <winkler@gnu.org>
14886
14887 * proced.el (proced-send-signal): For *Marked Processes* buffer
14888 put point at beginning of buffer.
14889
14890 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14891
14892 * proced.el (proced-format): Make header lines align with the text
14893 (bug#1779).
14894
14895 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14896
14897 * view.el (view-buffer): Allow running in `special' modes if we're
14898 visiting a file (bug#8615).
14899
14900 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14901
14902 * window.el (display-buffer-alist-of-strings-p)
14903 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14904 New functions.
14905 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14906 more accurately.
14907
14908 2011-07-18 Alan Mackenzie <acm@muc.de>
14909
14910 Fontify declarators properly when, e.g., a jit-lock chunk begins
14911 inside a declaration.
14912
14913 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14914
14915 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14916 New function.
14917 (c-complex-decl-matchers): Insert reference to
14918 c-font-lock-enclosing-decls.
14919
14920 * progmodes/cc-engine.el (c-backward-single-comment):
14921 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14922 to nil around calls to (forward-comment -1).
14923
14924 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14925
14926 * image.el (put-image): Doc typo fix.
14927
14928 * progmodes/etags.el (tags-search): Doc typo fix.
14929
14930 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14931 password if we get errors 550 to 554.
14932
14933 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14934
14935 * net/gnutls.el (gnutls-log-level): Remove.
14936
14937 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14938 indentation character (bug#6380).
14939
14940 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14941
14942 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14943 to clarify what the problem is (bug#4291).
14944
14945 * simple.el (current-kill): Clarify what
14946 `interprogram-paste-function' does (bug#7500).
14947 (auto-fill-mode): Document `auto-fill-function' in relation to
14948 `auto-fill-mode' (bug#2470).
14949
14950 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14951
14952 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14953 method if slot is read-only (bug#9035).
14954
14955 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14956
14957 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14958 * window.el (pop-to-buffer): Select window used even if it was
14959 selected before, see discussion of (Bug#8615), (Bug#6954).
14960 Pass argument NORECORD on to select-frame-set-input-focus.
14961
14962 2011-07-15 Glenn Morris <rgm@gnu.org>
14963
14964 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14965 Respect help-form.
14966
14967 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14968
14969 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14970 (gnutls-negotiate): Use it.
14971
14972 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14973
14974 * net/gnutls.el (gnutls-negotiate):
14975 Upcase `gnutls-algorithm-priority'.
14976
14977 2011-07-15 Glenn Morris <rgm@gnu.org>
14978
14979 * jka-compr.el (jka-compr-verbose): Move from here...
14980 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14981 Add missing :version tag.
14982 * info.el: No need to require jka-compr when compiling.
14983
14984 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14985
14986 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14987 (gnutls-negotiate): Use it.
14988
14989 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14990
14991 * info.el (Info-beginning-of-buffer): New command.
14992 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14993 announcing `b' as the key (bug#8325).
14994 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14995
14996 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14997
14998 * international/mule-cmds.el
14999 (describe-specified-language-support): Make the error message
15000 clearer (bug#8905).
15001
15002 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15003
15004 * isearch.el (isearch-barrier): Add a doc string, since it's
15005 mentioned in a function doc string (bug#8678).
15006
15007 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15008
15009 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15010 buffer argument (Bug#9083) and self-identifying label argument.
15011
15012 2011-07-15 Glenn Morris <rgm@gnu.org>
15013
15014 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15015
15016 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15017
15018 * man.el (Man-fontify-manpage): Fix message when formatting the
15019 man page (bug#7929).
15020
15021 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15022
15023 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15024 argument LRM; if non-nil, append an invisible LRM character to the
15025 buffer name.
15026 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15027 last argument non-nil, when formatting buffer names.
15028 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15029 paragraph direction.
15030
15031 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15032
15033 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15034 the man page name (bug#7929).
15035
15036 * image.el (put-image): Mention the `put-image' overlay property
15037 (bug#7834).
15038
15039 * scroll-bar.el (set-scroll-bar-mode): Mention that
15040 `scroll-bar-mode' lists the values (bug#7772).
15041
15042 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15043 command (bug#7729).
15044
15045 * rect.el (apply-on-rectangle): Return the point after the last
15046 operation.
15047 (string-rectangle): Go to the point after the last operation
15048 (bug#7522).
15049
15050 * printing.el (pr-toggle-region): Clarify the documentation
15051 slightly (bug#7493).
15052
15053 * time.el (display-time-update):
15054 Allow `display-time-mail-function' to return nil (bug#7158).
15055 Fix suggested by Detlev Zundel.
15056
15057 * vc/diff.el (diff): Clarify the order the file names are read
15058 (bug#7111).
15059
15060 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15061 the doc string (bug#7015).
15062
15063 * font-lock.el (font-lock-maximum-decoration): Mention what
15064 numeric levels mean (bug#6935).
15065
15066 * startup.el (initial-buffer-choice): Don't mention the `none'
15067 selection, which is against policy.
15068
15069 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15070
15071 * window.el (display-buffer-normalize-special):
15072 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15073
15074 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15075
15076 * subr.el (version<, version<=, version=): Mention "-CVS" and
15077 "-12345" alpha version numbers.
15078
15079 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15080
15081 * bindings.el: Add advertised binding for set-mark-command
15082 (Bug#5772).
15083
15084 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15085
15086 * bindings.el (mode-line-other-buffer):
15087 * bookmark.el (bookmark-bmenu-2-window):
15088 * bs.el (bs-cycle-next, bs-cycle-previous):
15089 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15090 switch-to-buffer.
15091
15092 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15093 Delete.
15094
15095 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15096
15097 * follow.el (follow-debug-message, follow-redisplay):
15098 * jka-cmpr-hook.el (with-auto-compression-mode):
15099 Fix typos in docstrings.
15100
15101 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15102
15103 * subr.el (with-silent-modifications): Clarify somewhat what the
15104 macro inhibits (bug#6525).
15105
15106 * simple.el (eval-expression): Note what it does if called
15107 interactively (bug#6495).
15108
15109 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15110
15111 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15112 Use pop-to-buffer buffer-or-name if it is nil.
15113
15114 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15115 Remove switch-to-buffer.
15116
15117 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15118
15119 * files.el (make-directory): Clarify that an error will be raised
15120 if there's an error (bug#6397).
15121
15122 * startup.el (initial-buffer-choice): Add `none' as a choice
15123 (bug#6234).
15124
15125 * subr.el (add-hook): Clarify section about buffer-local hooks
15126 (bug#6218).
15127
15128 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15129
15130 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15131
15132 * tabify.el (untabify): Preserve the current column so that point
15133 doesn't move (bug#6032).
15134
15135 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15136
15137 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15138 Rewrite to avoid awkward possessive "s" (bug#5986).
15139
15140 2011-07-13 Glenn Morris <rgm@gnu.org>
15141
15142 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15143 (dired-insert-directory): Give a message the first time
15144 if ls is found not to support --dired.
15145
15146 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15147
15148 * simple.el (toggle-truncate-lines): Clarify what is toggled
15149 (bug#5580). Text by Drew Adams.
15150
15151 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15152
15153 * simple.el (blink-matching-open): Make the error message from the
15154 last change less verbose.
15155
15156 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15157
15158 * font-lock.el (font-lock-comment-face): Use the high contrast
15159 "yellow" color for font-lock-comment-face on low color terminals
15160 using a dark background color (bug#4221).
15161
15162 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15163
15164 * dired.el (dired-insert-set-properties): Make the doc string
15165 reflect what it does now (bug#5325).
15166
15167 * simple.el (blink-matching-open): Say that we were unable to find
15168 the match within the limit, if we're limited (bug#5122).
15169
15170 * international/mule-cmds.el (prefer-coding-system): Add an
15171 example (bug#4869).
15172
15173 * progmodes/etags.el (tags-search): Document `file-list-form'
15174 (bug#4731).
15175
15176 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15177
15178 * net/browse-url.el (browse-url-default-browser)
15179 (browse-url-browser-function): Make the default browser choice a
15180 bit more logical (bug#4300). Also clean up the doc string.
15181
15182 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15183
15184 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15185 binary endings (bug#4440).
15186
15187 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15188
15189 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15190 which can be pretty annoying (bug#8971).
15191
15192 * jka-compr.el (jka-compr-verbose): New variable, and use
15193 throughout (bug#8971).
15194
15195 * info.el (Info-find-file): Fall back on the installation
15196 directory if we can't find the info node anywhere else.
15197
15198 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15199
15200 * vc/vc.el (vc-revert-file):
15201 Don't set file time-stamp in the past. (Bug#5181)
15202
15203 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15204
15205 * files.el (after-find-file): Give a better error message when
15206 trying to find a symlink that points to a file that doesn't exist
15207 (bug#4398).
15208
15209 * progmodes/cc-vars.el: Remove (probably) misleading comment
15210 (bug#4396).
15211
15212 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15213
15214 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15215
15216 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15217
15218 * mouse-sel.el: Hack restoring functionality, while keeping
15219 compatibility with 2010-07-03 changes to mouse selection.
15220 (mouse-sel-primary-overlay): New var.
15221 (mouse-sel-selection-alist): Use it.
15222 (mouse-sel-mode): Doc fix; remove points that are default features
15223 of mouse.el.
15224
15225 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15226
15227 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15228 Fix previous fix (bug#2490).
15229
15230 2011-07-12 Roland Winkler <winkler@gnu.org>
15231
15232 * textmodes/bibtex.el (bibtex-initialize):
15233 Use pop-to-buffer-same-window.
15234 (bibtex-search-entries): Fix interactive call.
15235
15236 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15237
15238 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15239 Fontise bytecomp Error lines more correctly (bug#2490).
15240 Fix suggested by Johan Bockgård.
15241
15242 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15243
15244 * dired-x.el (dired-guess-default): Use `delete-dups'.
15245
15246 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15247
15248 * dired.el (dired-mark-prompt):
15249 * dired-aux.el (dired-read-shell-command): Doc fix.
15250
15251 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15252
15253 * mail/sendmail.el (sendmail-query-once):
15254 Use `customize-save-variable' unconditionally, now that it works under
15255 emacs -Q.
15256
15257 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15258
15259 * cus-edit.el (custom-file): Take an optional no-error variable.
15260 (customize-save-variable): Set the variable, and give a warning if
15261 running under "emacs -q".
15262
15263 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15264
15265 * loadhist.el (unload-feature-special-hooks):
15266 Add `auto-coding-functions', `fill-nobreak-predicate' and
15267 `find-directory-functions' (bug#5327).
15268
15269 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15270
15271 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15272
15273 * cus-edit.el (custom-guess-name-alist): -alist variables should
15274 use the `alist' type (bug#3120). Suggested by Drew Adams.
15275
15276 * printing.el: Add documentation to all the `pr-toggle-' commands.
15277
15278 2011-07-11 Leo Liu <sdl.web@gmail.com>
15279
15280 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15281 backends where it makes sense (bug#2623).
15282
15283 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15284
15285 * dired-x.el (dired-guess-default): Remove duplicate shell command
15286 entries (bug#2028).
15287 (dired-guess-default): Fix grammar in doc string (bug#2028).
15288 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15289
15290 * subr.el (remove-duplicates): New conveniency function.
15291
15292 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15293
15294 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15295 (bug#1526).
15296
15297 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15298
15299 * window.el (display-buffer-normalize-default): Don't invert
15300 meaning of even-window-heights. Reported by Eli Zaretskii
15301 <eliz@gnu.org>.
15302
15303 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15304
15305 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15306
15307 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15308
15309 * window.el (display-buffer): Fix arguments to
15310 display-buffer-reuse-window in last change.
15311
15312 * faces.el (link): Use a less saturated blue on light backgrounds.
15313
15314 * startup.el (fancy-startup-text, fancy-about-text)
15315 (fancy-startup-tail): Use font-lock faces, for background safety.
15316
15317 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15318
15319 * emulation/viper-cmd.el (viper-change-state-to-vi):
15320 Limit triggering of abbrev expansion (Bug#9038).
15321
15322 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15323
15324 * window.el (display-buffer-default-specifiers): Remove.
15325 (display-buffer-macro-specifiers): Remove default specifiers.
15326 (display-buffer-alist): Default to nil.
15327 (display-buffer-reuse-window): New optional argument other-window.
15328 (display-buffer-pop-up-window): Allow splitting internal
15329 windows. Check whether a live window was created.
15330 (display-buffer-other-window-means-other-frame)
15331 (display-buffer-normalize-arguments): Rename to
15332 display-buffer-normalize-argument and rewrite. Set the
15333 other-window specifier.
15334 (display-buffer-normalize-special): New function.
15335 (display-buffer-normalize-options): Rename to
15336 display-buffer-normalize-default and rewrite.
15337 (display-buffer-normalize-options-inhibit): Remove.
15338 (display-buffer-normalize-specifiers): Rewrite.
15339 (display-buffer): Process other-window specifier and call
15340 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15341 more faithfully.
15342 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15343 (display-buffer-alist-set): Don't handle 'unset default values.
15344 (display-buffer-in-window, display-buffer-alist-set):
15345 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15346 <tassilo@member.fsf.org>.
15347
15348 2011-07-09 Leo Liu <sdl.web@gmail.com>
15349
15350 * register.el (insert-register): Restore accidental change on
15351 2011-06-26. (Bug#9028)
15352
15353 2011-07-09 Glenn Morris <rgm@gnu.org>
15354
15355 * subr.el (remq): Handle the empty list. (Bug#9024)
15356
15357 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15358
15359 * mail/sendmail.el (send-mail-function): No longer delay custom
15360 initialization.
15361 * custom.el (custom-initialize-delay): Doc fix.
15362
15363 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15364
15365 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15366
15367 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15368
15369 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15370 human-friendly prompt.
15371
15372 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15373
15374 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15375 provided by a particular plugin.
15376
15377 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15378
15379 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15380 save customizations (with "emacs -Q"), just set the variable
15381 instead of erroring out.
15382
15383 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15384
15385 2011-07-08 Juri Linkov <juri@jurta.org>
15386
15387 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15388 (archive-zip-update-case): Use 7z if found by `executable-find'.
15389 The order of searching the available programs is the same as in
15390 `archive-zip-extract' (bug#8968).
15391
15392 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15393
15394 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15395 (menu-bar-options-menu): Tweak descriptions.
15396
15397 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15398
15399 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15400 menu items into verb phrases (bug#1421). Also refill to fit under
15401 80 columns.
15402
15403 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15404
15405 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15406 (Info-read-node-name): Doc fix (Bug#1084).
15407
15408 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15409 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15410 (end-of-sexp, beginning-of-sexp)
15411 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15412 (forward-symbol, forward-same-syntax, word-at-point)
15413 (sentence-at-point): Doc fix (Bug#1144).
15414
15415 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15416
15417 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15418 should cover it (bug#1281).
15419
15420 * cus-edit.el (custom-show): Mark as obsolete.
15421
15422 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15423 negotiation fails, then possibly try again with a non-encrypted
15424 connection (bug#9017).
15425
15426 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15427 be used.
15428
15429 2011-07-07 Richard Stallman <rms@gnu.org>
15430
15431 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15432 property, and handle its changed format.
15433 Look for the correct line number.
15434 Use file's line contents (but not past first =) to find
15435 correct line in message.
15436
15437 2011-07-07 Kenichi Handa <handa@m17n.org>
15438
15439 * international/characters.el (build-unicode-category-table):
15440 Delete it.
15441 (unicode-category-table): Set it by unicode-property-table-internal.
15442
15443 * international/mule-cmds.el (char-code-property-alist): Move to
15444 to src/chartab.c.
15445 (get-char-code-property): Call unicode-property-table-internal to
15446 load a file. Call get-unicode-property-internal where necessary.
15447 (put-char-code-property): Call unicode-property-table-internal to
15448 load a file. Call put-unicode-property-internal where necessary.
15449 put-unicode-property-internal where necessary.
15450 (char-code-property-description):
15451 Call unicode-property-table-internal to load a file.
15452
15453 * international/charprop.el:
15454 * international/uni-bidi.el:
15455 * international/uni-category.el:
15456 * international/uni-combining.el:
15457 * international/uni-comment.el:
15458 * international/uni-decimal.el:
15459 * international/uni-decomposition.el:
15460 * international/uni-digit.el:
15461 * international/uni-lowercase.el:
15462 * international/uni-mirrored.el:
15463 * international/uni-name.el:
15464 * international/uni-numeric.el:
15465 * international/uni-old-name.el:
15466 * international/uni-titlecase.el:
15467 * international/uni-uppercase.el: Regenerate.
15468
15469 * loadup.el: Load international/charprop.el before
15470 international/characters.
15471
15472 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15473
15474 * window.el (next-buffer, previous-buffer): Signal an error if
15475 called from a minibuffer window.
15476
15477 * bindings.el: Revert 2011-07-04 change.
15478
15479 2011-07-06 Richard Stallman <rms@gnu.org>
15480
15481 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15482 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15483 Treat markers like ints.
15484 (rmail-mime-entity): Doc fix.
15485
15486 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15487
15488 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15489 defcustom again for backwards compatibility.
15490
15491 * simple.el (shell-command-on-region): Fill.
15492
15493 * dired-aux.el (dired-kill-line): Add a doc string.
15494
15495 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15496 to "\\sw\\|\\s_" (bug#358).
15497
15498 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15499 (dired-unmark-backward): Ditto.
15500 (dired-flag-backup-files): Ditto.
15501
15502 * dired-x.el (dired-mark-sexp): Ditto.
15503
15504 2011-07-06 Richard Stallman <rms@gnu.org>
15505
15506 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15507 (rmail-mime-entity): New arg TRUNCATED.
15508 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15509 New functions.
15510 (rmail-mime-save): Warn if entity is truncated.
15511 (rmail-mime-toggle-hidden): Likewise, for showing.
15512 (rmail-mime-process-multipart): Record when an entity is truncated.
15513
15514 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15515 if ENTITY is a string.
15516
15517 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15518
15519 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15520 of faces when `M-C-x'-ing their definitions (bug#8378).
15521 Also clean up the code slightly.
15522
15523 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15524 because that makes the colors go away.
15525
15526 * mail/sendmail.el (send-mail-function): Change the default to
15527 `sendmail-query-once'.
15528 (sendmail-query-once): Add an autoload cookie.
15529
15530 * net/network-stream.el (network-stream-open-starttls): Try using
15531 a plain connection even if the server offered STARTTLS, and we
15532 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15533 capability. This should make smtpmail.el work in slightly more
15534 configurations.
15535
15536 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15537
15538 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15539 New defun.
15540 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15541
15542 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15543
15544 * progmodes/sql.el: Version 3.0
15545 (sql-product-alist): Add product :completion-object,
15546 :completion-column, and :statement attributes.
15547 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15548 (sql-mode-syntax-table): Mark all punctuation.
15549 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15550 ansi keywords.
15551 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15552 (sql-mode-oracle-font-lock-keywords): Improve.
15553 (sql-oracle-show-reserved-words): New function for development.
15554 (sql-product-font-lock): Simplify for source code buffers.
15555 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15556 New functions.
15557 (sql-highlight-product): Set product specific syntax table.
15558 (sql-mode-map): Add statement movement functions.
15559 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15560 New variable.
15561 (sql-statement-regexp, sql-beginning-of-statement)
15562 (sql-end-of-statement, sql-signum): New functions.
15563 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15564 (sql-show-sqli-buffer): Bug fix.
15565 (sql-interactive-mode): Store connection data as buffer local.
15566 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15567 with sql-interactive-mode.
15568 (sql-save-connection): Save buffer local settings.
15569 (sql-connection-menu-filter): Change menu entry name.
15570 (sql-product-interactive): Bug fix.
15571 (sql-preoutput-hold): New variable.
15572 (sql-interactive-remove-continuation-prompt): Bug fixes.
15573 (sql-debug-redirect): New variable.
15574 (sql-str-literal): New function.
15575 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15576 Redesign.
15577 (sql-oracle-save-settings, sql-oracle-restore-settings)
15578 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15579 (sql-completion-object, sql-completion-column)
15580 (sql-completion-sqlbuf): New variables.
15581 (sql-build-completions-1, sql-build-completions)
15582 (sql-try-completion): New functions.
15583 (sql-read-table-name): Use them.
15584 (sql-contains-names): New buffer local variable.
15585 (sql-list-all, sql-list-table): Use it.
15586 (sql-oracle-completion-types): New variable.
15587 (sql-oracle-completion-object, sql-sqlite-completion-object)
15588 (sql-postgres-completion-object): New functions.
15589
15590 2011-07-06 Glenn Morris <rgm@gnu.org>
15591
15592 * window.el (pop-to-buffer): Doc fix.
15593
15594 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15595
15596 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15597
15598 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15599
15600 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15601
15602 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15603
15604 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15605
15606 * button.el (button): Inherit from link face. Suggested by Dan
15607 Nicolaescu.
15608
15609 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15610
15611 * progmodes/gdb-mi.el: Fit in 80 columns.
15612 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15613 switch-to-buffer.
15614
15615 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15616 if imenu is simply not configured (bug#8941).
15617
15618 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15619
15620 * allout.el (allout-post-undo-hook): New allout outline-change
15621 event hook to signal undo activity.
15622 (allout-post-command-business): Run allout-post-undo-hook if an
15623 undo just occurred.
15624 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15625 * allout-widgets.el (allout-widgets-after-undo-function):
15626 Ensure the integrity of the current item's decoration after it has been
15627 in the vicinity of an undo.
15628 (allout-widgets-mode): Include allout-widgets-after-undo-function
15629 on the new allout-post-undo-hook.
15630
15631 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15632
15633 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15634 Let define-derived-mode define it.
15635 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15636 cycles of abbrev-table inheritance (bug#8998).
15637
15638 2011-07-05 Roland Winkler <winkler@gnu.org>
15639
15640 * textmodes/bibtex.el: Add support for biblatex.
15641 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15642 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15643 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15644 (bibtex-entry-alist, bibtex-field-alist): New variables.
15645 (bibtex-entry-field-alist): Obsolete alias for
15646 bibtex-BibTeX-entry-alist.
15647 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15648 (bibtex-set-dialect): New command.
15649 (bibtex-entry-type, bibtex-entry-head)
15650 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15651 Bind via bibtex-set-dialect.
15652 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15653 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15654 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15655 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15656 Define via bibtex-set-dialect.
15657 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15658 Obey bibtex-no-opt-remove-re.
15659 (bibtex-vec-push, bibtex-vec-incr): New functions.
15660 (bibtex-format-entry, bibtex-field-list)
15661 (bibtex-print-help-message, bibtex-validate)
15662 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15663
15664 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15665
15666 * progmodes/compile.el (compilation-goto-locus):
15667 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15668 * bs.el (bs-cycle-next, bs-cycle-previous):
15669 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15670 * bindings.el (mode-line-other-buffer):
15671 * autoinsert.el (auto-insert):
15672 * arc-mode.el (archive-extract):
15673 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15674
15675 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15676
15677 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15678 Fix check of `emacs-lock-unlockable-modes'.
15679 Coerce true values of `emacs-lock--try-unlocking' to t.
15680
15681 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15682
15683 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15684 * emacs-lock.el: New file.
15685
15686 2011-07-05 Julien Danjou <julien@danjou.info>
15687
15688 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15689 than `boundp' to check if face is set.
15690
15691 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15692
15693 * register.el (registerv-make):
15694 * window.el (window-min-height): Fix typos in docstrings.
15695
15696 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15697
15698 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15699 Update doc string.
15700
15701 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15702
15703 * server.el (server-execute): Catch quit and call
15704 `server-return-error' to pass the error back to emacsclient and
15705 close the connection (bug#8942).
15706
15707 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15708
15709 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15710 insecure exception for current topic. Also note that auto-saves
15711 are handled differently.
15712
15713 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15714 State variables for tracking auto-save inhibition situation.
15715
15716 (allout-write-contents-hook-handler): Rename from
15717 'allout-write-file-hook-handler', and describe how it depends on
15718 write-contents-functions sensitivity to non-nil value to prevent
15719 file write.
15720
15721 (allout-auto-save-hook-handler): Remove. auto-save does not check
15722 this in individual buffers, only in the starting buffer, so this
15723 is not the right way for us to inhibit auto-save in a buffer
15724 according to its condition.
15725
15726 (allout-mode): Use new allout-write-contents-hook-handler, and
15727 only with write-contents-functions. Remove auto-save provisions -
15728 they're implemented elsewhere.
15729
15730 (allout-before-change-handler): If undo is in progress, note that
15731 for attention of allout-post-command-business.
15732
15733 (allout-post-command-business): If the command we're following was
15734 an undo, check for change in the status of encrypted items and
15735 adjust auto-save inhibitions accordingly.
15736
15737 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15738 according to whether there are or aren't any plain-text topics
15739 pending encryption.
15740
15741 (allout-inhibit-auto-save-info-for-decryption):
15742 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15743 if there are plain-text topics pending encryption.
15744
15745 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15746 buffer-saved-size and some allout state to not inhibit auto-saves
15747 if there are no longer any plain-text topics pending encryption.
15748
15749 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15750 No longer provide for exemption of the current topic.
15751
15752 2011-07-04 Juri Linkov <juri@jurta.org>
15753
15754 Add 7z operations to delete and save changed members (bug#8968).
15755 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15756 New defcustoms.
15757 (archive-7z-write-file-member): New function.
15758 (archive-7z-summarize): Fix the number of dashes in the
15759 listing output.
15760
15761 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15762
15763 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15764 (bug#8958).
15765
15766 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15767
15768 * bindings.el: Ignore next-buffer and previous-buffer in
15769 minibuffer-local-map.
15770
15771 * font-lock.el (font-lock-builtin-face): Change light background
15772 color to dark slate blue (Bug#6693).
15773
15774 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15775
15776 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15777
15778 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15779
15780 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15781 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15782 Add switch-to-buffer.
15783
15784 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15785
15786 * isearch.el (isearch-search-fun-function): Clarify further the
15787 meaning of the function returned.
15788
15789 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15790
15791 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15792
15793 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15794 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15795 Use it.
15796 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15797 `tramp-default-remote-path' does not exist.
15798 (tramp-send-command-and-read): New optional argument NOERROR.
15799 (tramp-open-connection-setup-interactive-shell)
15800 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15801 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15802 (tramp-process-sentinel): Flush also process' connection property.
15803 (tramp-sh-handle-start-file-process): Do not set process
15804 sentinel. It is done now ...
15805 (tramp-maybe-open-connection): ... here. (Bug#8929)
15806
15807 2011-07-04 MON KEY <monkey@sandpframing.com>
15808
15809 * play/animate.el (animate-string): Doc fixes and allow changing
15810 the buffer name (bug#5417).
15811
15812 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15813
15814 * play/animate.el (animation-buffer-name): Rename from *animate*.
15815
15816 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15817
15818 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15819 This is simpler and helps future-proof the code.
15820 (timer-until): Use time-subtract and float-time.
15821 (timer--time-less-p): Use time-less-p.
15822
15823 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15824
15825 * type-break.el (timep): Use the value of `float-time' to avoid a
15826 byte-compiler warning.
15827
15828 * server.el (server-eval-and-print): Return any result, even nil.
15829
15830 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15831
15832 * type-break.el: Accept time formats that the builtins accept.
15833 (timep, type-break-time-difference): Accept any format that
15834 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15835 This is simpler and helps future-proof the code.
15836 (type-break-time-difference): Round rather than ignoring
15837 subseconds components.
15838
15839 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15840
15841 * info.el (Info-apropos-matches): Make non-interactive, since it
15842 doesn't seem to do anything useful as a command (bug#8829).
15843
15844 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15845
15846 * frame.el (frame-background-mode, frame-set-background-mode):
15847 Move from faces.el.
15848 (frame-default-terminal-background): New function.
15849
15850 * custom.el (custom-push-theme): Don't record faces in `changed'
15851 theme; this doesn't work correctly for per-frame face settings.
15852 (disable-theme): Use face-set-after-frame-default to reset faces.
15853 (custom--frame-color-default): New function.
15854
15855 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15856
15857 * dired.el (dired-flagging-regexp): Remove unused variable
15858 (bug#8769).
15859
15860 2011-03-29 Kevin Ryde <user42@zip.com.au>
15861
15862 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15863 `perl-Test2' extend to match possible "fail #N" rep count
15864 (bug#8377).
15865
15866 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15867
15868 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15869 `smtpmail-via-smtp' now returns the error instead of nil.
15870
15871 * isearch.el (isearch-search-fun-function): Clarify the doc string
15872 (bug#8101).
15873
15874 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15875
15876 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15877 unnecessary spaces (bug#8987).
15878
15879 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15880
15881 * net/network-stream.el (open-network-stream): Use the
15882 :end-of-capability command thoughout.
15883
15884 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15885
15886 * net/network-stream.el (open-network-stream): Add the
15887 :end-of-capability command parameter, used by pop3.el.
15888
15889 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15890
15891 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15892
15893 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15894 for list)" (bug#6475).
15895
15896 * files.el (file-expand-wildcards): Ignore non-readable
15897 sub-directories while trying to find matches instead of signaling
15898 an error (bug#6297).
15899
15900 * man.el (Man-reference-regexp): Allow matching possible
15901 word-wrapped references (bug#6289).
15902
15903 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15904 for consistency with the other vc buffers (bug#6197).
15905 (vc-checkin): Ditto.
15906
15907 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15908
15909 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15910
15911 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15912
15913 * custom.el (defcustom): Clarify that :set is only used in the
15914 Customize user interface (bug#6089).
15915
15916 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15917 associated with a file, refuse to run instead of erroring out
15918 (bug#6084).
15919
15920 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15921 the doc string, since it appears that using `fill-column' always
15922 controls the width (bug#7845).
15923
15924 * simple.el (shell-command-on-region): Say where the error output
15925 went if `shell-command-default-error-buffer' is set (bug#6857).
15926
15927 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15928
15929 * allout.el (allout-yank-processing): Adjust cursor position for
15930 backwards-deleted space.
15931
15932 (allout-rebullet-heading): Register changes with
15933 allout-exposure-changed-hook, so the modified topic is properly
15934 decorated.
15935
15936 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15937
15938 * minibuffer.el (completion-in-region): Document PREDICATE
15939 (bug#7136).
15940
15941 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15942 of keyword/argument pairs (bug#6904).
15943
15944 * replace.el (multi-occur):
15945 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15946
15947 2011-07-02 Drew Adams <drew.adams@oracle.com>
15948
15949 * dired.el (dired-mark-if): Make the message about whether it's
15950 marking or unmarking clearer (bug#8523).
15951
15952 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15953
15954 * disp-table.el (display-table-print-array): New function.
15955 (describe-display-table): Use it to print the vectors more pretty
15956 (Bug#8859).
15957
15958 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15959
15960 * window.el (window-state-get-1): Don't assign clone numbers.
15961 Add clone-of item to list of window parameters.
15962 (window-state-put-2): Don't process clone numbers.
15963 (display-buffer-alist): Fix doc-string.
15964
15965 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15966
15967 * subr.el (remq): Don't allocate if it's not needed.
15968 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15969 (keymap--merge-bindings): New functions.
15970 (keymap-canonicalize): Use them to refine the canonicalization.
15971 * minibuffer.el (minibuffer-local-completion-map)
15972 (minibuffer-local-must-match-map): Move initialization from C.
15973 (minibuffer-local-filename-completion-map): Move initialization from C;
15974 don't inherit from anything here.
15975 (minibuffer-local-filename-must-match-map): Make obsolete.
15976 (completing-read-default): Use make-composed-keymap to combine
15977 minibuffer-local-filename-completion-map with either
15978 minibuffer-local-must-match-map or
15979 minibuffer-local-filename-completion-map.
15980
15981 2011-07-01 Glenn Morris <rgm@gnu.org>
15982
15983 * type-break.el (type-break-time-sum): Use dolist.
15984
15985 * textmodes/flyspell.el (flyspell-word-search-backward):
15986 Replace CL function.
15987
15988 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15989
15990 * mouse.el (mouse--strip-first-event): New function.
15991 (function-key-map): Use it to map fringe clicks to normal clicks
15992 by default.
15993
15994 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15995 (vc-bzr-revision-completion-table): Add support for annotate and date.
15996
15997 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15998 inherit from parent.
15999
16000 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16001
16002 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16003 (dired-show-file-type): Doc fixup (bug#8818).
16004
16005 * dired.el (dired-mode): Fix up the doc string as suggested by
16006 Drew Adams (bug#8817).
16007
16008 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16009 cookie, since the manual says that it should be possible to add
16010 this function to `find-file-hook' (bug#8709).
16011
16012 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16013
16014 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16015 here. Noted Ted Zlatanov as the maintainer.
16016 (cfengine-common-settings, cfengine-common-syntax): New functions
16017 to set up common things between `cfengine-mode' and
16018 `cfengine3-mode'.
16019 (cfengine3-mode): New mode.
16020 (cfengine3-defuns cfengine3-defuns-regex
16021 (cfengine3-class-selector-regex cfengine3-category-regex)
16022 (cfengine3-vartypes cfengine3-font-lock-keywords)
16023 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16024 (cfengine3-indent-line): Add from cfengine3.el.
16025
16026 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16027
16028 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16029
16030 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16031
16032 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16033
16034 * window.el (same-window-buffer-names, same-window-regexps)
16035 (same-window-p, special-display-frame-alist)
16036 (special-display-popup-frame, special-display-function)
16037 (special-display-buffer-names, special-display-regexps)
16038 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16039 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16040 (split-window-preferred-function, split-height-threshold)
16041 (split-width-threshold, even-window-heights)
16042 (display-buffer-mark-dedicated, window-splittable-p)
16043 (split-window-sensibly, window-safely-shrinkable-p):
16044 Un-obsolete.
16045 (display-buffer): Don't spread args with function specifier
16046 because special-display-popup-frame won't like it.
16047
16048 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16049
16050 Time-stamp simplifications and fixes.
16051 These improve accuracy slightly, and future-proof the code
16052 against some potential changes to current-time format.
16053
16054 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16055 by using time-since and float-time.
16056
16057 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16058 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16059 + NNN microseconds".
16060
16061 * type-break.el (type-break-time-sum): Rewrite using time-add.
16062
16063 * play/hanoi.el (hanoi-current-time-float): Remove.
16064 All uses replaced by float-time.
16065
16066 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16067 This yields a more-accurate answer.
16068 (rng-time-to-float): Remove; no longer needed.
16069
16070 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16071
16072 * calendar/timeclock.el (timeclock-seconds-to-time):
16073 Defalias to seconds-to-time, since they're the same thing.
16074
16075 * emacs-lisp/elp.el (elp-elapsed-time):
16076 * emacs-lisp/benchmark.el (benchmark-elapse):
16077 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16078
16079 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16080
16081 * window.el (bury-buffer): Don't iconify the only frame.
16082 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16083 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16084
16085 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16086
16087 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16088 Add mouse-yank-primary.
16089
16090 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16091
16092 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16093
16094 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16095
16096 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16097 (find-library-name): Use it to find relative load names when provided
16098 absolute file name (bug#8803).
16099
16100 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16101
16102 * textmodes/flyspell.el (flyspell-word): Consider words that
16103 differ only in case as potential doublons (bug#5687).
16104
16105 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16106 Remove two rather uninteresting debugging-like messages to make
16107 debbugs.el more silent.
16108
16109 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16110 a password-like phrase.
16111
16112 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16113
16114 * progmodes/cc-guess.el: New file.
16115
16116 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16117
16118 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16119 derived from `c-basic-common-init'.
16120
16121 * progmodes/cc-mode.el (top-level): Require cc-guess.
16122 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16123
16124 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16125
16126 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16127
16128 2011-06-30 Alan Mackenzie <acm@muc.de>
16129
16130 * progmodes/cc-engine.el (c-guess-continued-construct):
16131 Correct the handling of template-args-cont, particularly for when font
16132 lock is disabled. Name this case as "CASE G".
16133
16134 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16135
16136 * allout.el (allout-yank-processing): Fix injection of extra space
16137 between bullet and non-whitespace character in first topic when
16138 pasting, ensuring that the actual spacing in the pasted topic
16139 following the bullet char is preserved. This extra space was
16140 causing pasted encrypted topics to get a decrypted status even
16141 when the content was actually still encrypted. Now the decryption
16142 status from before the paste is preserved.
16143
16144 (allout-flag-region): Set all allout overlays so they evaporate
16145 when reduced to zero length (evanescent), to prevent overlay
16146 leakage.
16147
16148 2011-06-30 Glenn Morris <rgm@gnu.org>
16149
16150 * w32-fns.el (w32-charset-info-alist): Declare.
16151
16152 * find-dired.el (find-grep-options): Simplify.
16153
16154 * term/ns-win.el (ns-set-resource): Declare.
16155
16156 * ses.el (row, col): Declare dynamic variables honestly.
16157
16158 * textmodes/reftex-parse.el (index-tags): Declare.
16159
16160 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16161
16162 * cus-edit.el (customize-push-and-save): New function.
16163
16164 * files.el (hack-local-variables-confirm): Use it.
16165
16166 * custom.el (load-theme): New arg NO-CONFIRM.
16167 Use customize-push-and-save (Bug#8720).
16168 (custom-enabled-themes): Doc fix.
16169
16170 * cus-theme.el (customize-create-theme)
16171 (custom-theme-merge-theme): Callers to load-theme changed.
16172
16173 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16174
16175 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16176 short URLs have at least one dot in them (bug #7614).
16177
16178 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16179 nil, because using a pty is apparently too slow (bug #895).
16180
16181 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16182
16183 * mail/sendmail.el (sendmail-query-once): New function.
16184 (sendmail-query-once-function): New variable.
16185
16186 2011-06-29 Glenn Morris <rgm@gnu.org>
16187
16188 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16189
16190 * ses.el (top-level): Require cl when compiling.
16191 (ses-set-localvars): Fix error statement.
16192 Call it at compile time to silence a storm of warnings.
16193
16194 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16195
16196 * window.el (normalize-live-buffer): Rename to
16197 window-normalize-buffer.
16198 (normalize-live-frame): Rename to window-normalize-frame.
16199 (normalize-any-window): Rename to window-normalize-any-window.
16200 (normalize-live-window): Rename to window-normalize-live-window.
16201 (make-window-atom): Rename to window-make-atom.
16202 (window-resize-reset): Rename to window--resize-reset.
16203 (window-resize-reset-1): Rename to window--resize-reset-1.
16204 (resize-mini-window): Rename to window--resize-mini-window.
16205 (resize-subwindows-skip-p): Rename to
16206 window--resize-subwindows-skip-p.
16207 (resize-subwindows-normal): Rename to
16208 window--resize-subwindows-normal.
16209 (resize-subwindows): Rename to window--resize-subwindows.
16210 (resize-other-windows): Rename to window--resize-siblings.
16211 (resize-this-window): Rename to window--resize-this-window.
16212 (resize-root-window): Rename to window--resize-root-window.
16213 (resize-root-window-vertically): Rename to
16214 window--resize-root-window-vertically.
16215 (normalize-buffer-to-display): Rename to
16216 window-normalize-buffer-to-display.
16217 (normalize-buffer-to-switch-to): Rename to
16218 window-normalize-buffer-to-switch-to.
16219 Correspondingly update all callers of the functions listed
16220 above.
16221 (display-buffer-alist, display-buffer-normalize-arguments)
16222 (display-buffer-normalize-options, display-buffer)
16223 (display-buffer-alist-set): Use "function" instead of
16224 "fun-with-args".
16225
16226 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16227
16228 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16229 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16230 debbugs.gnu.org. Mention acknowledgment email.
16231
16232 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16233
16234 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16235 buffer multibyteness, since it shouldn't matter.
16236
16237 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16238
16239 * window.el (display-buffer-in-side-window): Handle dedicated
16240 windows as in display-buffer-reuse-window.
16241 (display-buffer-normalize-alist): Use value of override
16242 specifier.
16243 (display-buffer-normalize-specifiers): Use value of
16244 other-window-means-other-frame specifier.
16245 (display-buffer-alist): Rewrite some texts in widgets.
16246 (display-buffer): Spread arguments when calling function
16247 specified by fun-with-args.
16248
16249 2011-06-28 Deniz Dogan <deniz@dogan.se>
16250
16251 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16252 Unnest `let'.
16253
16254 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16255 selectors (Bug#5732).
16256 (css-proprietary-nmstart-re): Use `regexp-opt'.
16257
16258 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16259
16260 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16261 (eshell-ls-date-format): New defcustom.
16262 (eshell-ls-file): Use it.
16263
16264 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16265
16266 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16267
16268 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16269
16270 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16271 (ange-ftp-make-tmp-name): New arg.
16272 (ange-ftp-file-local-copy): Use it.
16273
16274 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16275
16276 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16277 no-conversion (Bug#8870).
16278
16279 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16280
16281 * window.el (window-right, window-left, window-child)
16282 (window-child-count, window-last-child)
16283 (window-iso-combination-p, walk-window-tree-1)
16284 (window-atom-check-1, window-tree-1, delete-window)
16285 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16286 new naming conventions - window-vchild, window-hchild,
16287 window-next and window-prev are now called window-top-child,
16288 window-left-child, window-next-sibling and window-prev-sibling
16289 respectively.
16290 (resize-window-reset): Rename to window-resize-reset.
16291 (resize-window-reset-1): Rename to window-resize-reset-1.
16292 (resize-window): Rename to window-resize.
16293 (window-min-height, window-min-width)
16294 (resize-mini-window, resize-this-window, resize-root-window)
16295 (resize-root-window-vertically, adjust-window-trailing-edge)
16296 (enlarge-window, shrink-window, maximize-window)
16297 (minimize-window, delete-window, quit-restore-window)
16298 (split-window, balance-windows, balance-windows-area-adjust)
16299 (balance-windows-area, window-state-put-2)
16300 (display-buffer-even-window-sizes, display-buffer-set-height)
16301 (display-buffer-set-width, set-window-text-height)
16302 (fit-window-to-buffer): Rename all "resize-window" prefixed
16303 calls to use the "window-resize" prefix convention.
16304 (display-buffer-alist): Fix symbol for label specifier.
16305 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16306 corresponding specifier.
16307 Reported by Juanma Barranquero <lekktu@gmail.com>.
16308
16309 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16310
16311 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16312 convention.
16313 (ses-call-printer): Does not pass an empty string to formatter when the
16314 cell is empty to keep from barking printer Calc math-format-value.
16315
16316 2011-06-27 Richard Stallman <rms@gnu.org>
16317
16318 * battery.el (battery-mode-line-limit): New variable.
16319 (battery-update): Handle it.
16320
16321 * mail/rmailmm.el (rmail-mime-process-multipart):
16322 Handle truncated messages.
16323
16324 2011-06-27 Glenn Morris <rgm@gnu.org>
16325
16326 * progmodes/flymake.el (flymake-err-line-patterns):
16327 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16328
16329 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16330
16331 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16332 (ses--clean-!, ses--clean-_): New functions.
16333 (ses-range): Add configurability of readout order, and conversion
16334 to Calc vector.
16335
16336 * ses.el (ses-repair-cell-reference-all): New function.
16337 (ses-cell-symbol): Set macro as safe, so that it can be used in
16338 formulas.
16339
16340 * ses.el: Update cycle detection algorithm.
16341 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16342 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16343 (ses-set-localvars): New function.
16344 (ses-make-cell): Add property-list as a cell element.
16345 (ses-cell-property-get-fun, ses-cell-property-get)
16346 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16347 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16348 New functions.
16349 (ses-cell-property-set, ses-cell-property-pop)
16350 (ses-cell-property-get-handle): New macro.
16351 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16352 New aliases, used for code readability.
16353 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16354 cycle detection.
16355 (ses-self-reference-early-detection): New defcustom.
16356 (ses-formula-references): Robustify against self-referring cells.
16357 (ses-mode): Use ses-set-localvars.
16358 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16359 before lauching the update processing.
16360 (ses-initialize-Dijkstra-attempt): New function.
16361 (ses-recalculate-cell): Update for cycle detection based on
16362 Dijkstra algorithm.
16363
16364 * ses.el: Fix commenting and indenting convention.
16365
16366 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16367
16368 * bs.el (bs-cycle-next): Complete last change.
16369
16370 2011-06-27 Drew Adams <drew.adams@oracle.com>
16371
16372 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16373
16374 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16375
16376 * net/network-stream.el (network-stream-open-starttls):
16377 Don't re-get capabilities unless we've reestablished connection.
16378 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16379
16380 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16381 to binary to possibly avoid line encoding issues on Windows (among
16382 other things).
16383
16384 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16385
16386 * net/network-stream.el (open-network-stream): Return an :error
16387 saying what the problem was, if possible.
16388
16389 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16390 server.
16391
16392 * net/network-stream.el (network-stream-open-starttls): If we
16393 wanted to use STARTTLS, and the server offered it, but we weren't
16394 able to because we had no STARTTLS support, then close the connection.
16395 (open-network-stream): Return an :error element, if present.
16396
16397 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16398
16399 * hl-line.el (hl-line-sticky-flag): Doc fix.
16400 (global-hl-line-sticky-flag): New option (Bug#8323).
16401 (global-hl-line-highlight): Obey it.
16402
16403 * vc/vc.el (vc-revert-show-diff): Default to t.
16404
16405 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16406
16407 * allout-widgets.el (allout-widgets-post-command-business):
16408 Stop decorating intermediate isearch matches. They're not being
16409 undecorated when an isearch is continued past, and isearch
16410 automatically collapses them. This leads to "widget leaks", where
16411 decorated items accumulate in collapsed areas. Lines with lots of
16412 hidden widgets can slow down cursor travel, substantially.
16413 Too much complicated machinery would be needed to ensure undecoration,
16414 so we're doing without this nicety.
16415
16416 (allout-widgets-tally-string): Don't try to do a hash-table-count
16417 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16418 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16419 *Messages* when allout-widgets-maintain-tally is t.
16420
16421 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16422
16423 * window.el (display-buffer-normalize-argument): Rename to
16424 display-buffer-normalize-arguments. Handle special meaning of
16425 LABEL argument. Respect special-display-function when popping up
16426 a new frame. Fix code searching for a window showing the buffer
16427 on another frame.
16428 (display-buffer-normalize-specifiers):
16429 Call display-buffer-normalize-arguments.
16430 (display-buffer-in-window): Don't undedicate the window if its
16431 buffer remains the same.
16432 Reported by Drew Adams <drew.adams@oracle.com>.
16433 (display-buffer-alist): Add choice for same-window macro
16434 specfier.
16435 (display-buffer): Mention special meaning of LABEL argument in
16436 doc-string. Fix quoting. Don't pop up a new frame even as
16437 fallback.
16438
16439 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16440
16441 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16442 avoid deleting the current window in some cases (bug#8911).
16443
16444 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16445
16446 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16447 (Bug#8934)
16448
16449 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16450
16451 * net/network-stream.el (network-stream-open-starttls):
16452 Use built-in TLS support if `gnutls-available-p' is true.
16453 (network-stream-open-tls): Ditto.
16454
16455 2011-06-26 Leo Liu <sdl.web@gmail.com>
16456
16457 * register.el (registerv): New struct.
16458 (registerv-make): New function.
16459 (jump-to-register, describe-register-1, insert-register):
16460 Support the jump-func, print-func and insert-func slot of a registerv
16461 struct. (Bug#8415)
16462
16463 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16464
16465 * vc/vc.el (vc-revert-show-diff): New defcustom.
16466 (vc-diff-internal): New arg specifying diff buffer.
16467 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16468 reuse an existing *vc-diff* buffer (Bug#8927).
16469
16470 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16471
16472 2011-06-26 Glenn Morris <rgm@gnu.org>
16473
16474 * progmodes/f90.el (f90-critical-indent): New option.
16475 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16476 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16477 (f90-mode): Doc fix.
16478 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16479 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16480 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16481 (f90-match-end): Handle block, critical.
16482
16483 2011-06-25 Glenn Morris <rgm@gnu.org>
16484
16485 * calendar/diary-lib.el (diary-included-files): Doc fix.
16486 (diary-include-files): New function, extracted from
16487 diary-include-other-diary-files and diary-mark-included-diary-files.
16488 (diary-include-other-diary-files, diary-mark-included-diary-files):
16489 Just call diary-include-files.
16490 (diary-mark-entries): Reset diary-included-files on first call.
16491
16492 * calendar/diary-lib.el (diary-mark-entries)
16493 (diary-mark-included-diary-files):
16494 Visit included diary-files in temp buffers.
16495
16496 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16497 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16498 (f90-start-block-re, f90-imenu-generic-expression)
16499 (f90-looking-at-program-block-start, f90-no-block-limit):
16500 Add support for submodules.
16501
16502 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16503 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16504
16505 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16506
16507 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16508 buffer-file-type before setting its value, to avoid disastrous
16509 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16510
16511 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16512
16513 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16514
16515 * ses.el (ses-unload-function):
16516 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16517
16518 * proced.el (proced-unload-function):
16519 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16520
16521 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16522
16523 * server.el (server-create-window-system-frame): Add parameters arg.
16524 (server-process-filter): Doc fix. Handle frame-parameters.
16525
16526 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16527
16528 Fix bug#8730, bug#8781.
16529
16530 * loadhist.el (unload--set-major-mode): New function.
16531 (unload-feature): Use it.
16532
16533 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16534 (python-unload-function): New function.
16535
16536 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16537
16538 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16539
16540 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16541
16542 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16543 the candidates list.
16544
16545 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16546
16547 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16548
16549 2011-06-23 Richard Stallman <rms@gnu.org>
16550
16551 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16552 (rmail-variables): Set next-error-move-function.
16553 (rmail-what-message): Take argument POS.
16554 (rmail-next-error-move): New function.
16555
16556 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16557
16558 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16559 messages for adjacent non-terminals.
16560
16561 2011-06-23 Richard Stallman <rms@gnu.org>
16562
16563 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16564 (rmail-show-message-1): Preserve buffer modified flag.
16565 (rmail-start-mail): Don't specify use of rmail-mail-return;
16566 that's done by mail-bury now.
16567 (rmail-mail-return): Handle arg NEWBUF.
16568
16569 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16570
16571 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16572 SIZE is a number.
16573
16574 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16575
16576 * window.el (get-lru-window, get-mru-window)
16577 (get-largest-window): Never return a minibuffer window.
16578 (display-buffer-pop-up-window): Fix a bug that could lead to
16579 reusing the minibuffer window.
16580 (display-buffer): Pass original specifier argument to
16581 display-buffer-function instead of the normalized one.
16582 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16583
16584 2011-06-22 Leo Liu <sdl.web@gmail.com>
16585
16586 * minibuffer.el (completing-read-function)
16587 (completing-read-default): Move from minibuf.c.
16588
16589 2011-06-22 Richard Stallman <rms@gnu.org>
16590
16591 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16592 to Rmail even if not started by a special Rmail command.
16593
16594 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16595 Copy the buffer currently showing just one message.
16596
16597 2011-06-22 Roland Winkler <winkler@gnu.org>
16598
16599 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16600 (bibtex-clean-entry): First delete the old key so that a
16601 customized algorithm for generating the new key does not get
16602 confused by the old key.
16603 (bibtex-url): Obey regexp of first step.
16604 (bibtex-search-entries): Do not use add-to-list with local
16605 list-var.
16606
16607 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16608
16609 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16610 stored a user name, then query for the password first, instead of
16611 waiting for SMTP to give an error message and the trying again.
16612
16613 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16614
16615 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16616 BUFFER in call-process.
16617
16618 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16619
16620 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16621 QUIT twice.
16622 (smtpmail-try-auth-methods): Require user name and password from
16623 auth-source.
16624
16625 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16626
16627 * window.el (display-buffer-default-specifiers)
16628 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16629 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16630 (split-window): Normalize SIDE argument (Bug#8916).
16631
16632 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16633 (special-display-frame-alist, special-display-popup-frame):
16634 Remove duplicate declarations. These are now in window.el.
16635
16636 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16637
16638 * mail/smtpmail.el (smtpmail-via-smtp):
16639 Set :use-starttls-if-possible so that we always use STARTTLS if the
16640 server supports it. SMTP servers that support STARTTLS commonly
16641 require it.
16642
16643 * net/network-stream.el (network-stream-open-starttls): Support
16644 upgrading to STARTTLS always, even if we don't have built-in support.
16645 (open-network-stream): Add the :always-query-capabilities keyword.
16646
16647 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16648 upgrades with `open-network-stream', and rely solely on
16649 auth-source for all credentials. Big changes throughout the file,
16650 but in particular:
16651 (smtpmail-auth-credentials): Remove.
16652 (smtpmail-starttls-credentials): Remove.
16653 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16654 MAIL FROM, too.
16655
16656 * net/network-stream.el (network-stream-open-starttls):
16657 Provide support for client certificates both for external and built-in
16658 STARTTLS.
16659 (auth-source): Require.
16660 (open-network-stream): Document the :client-certificate keyword.
16661 (network-stream-certificate): Change cert-cert to cert and
16662 cert-key to key.
16663
16664 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16665
16666 * net/tramp-cache.el (top): Don't load the persistency file when
16667 "emacs -Q" has been called.
16668
16669 2011-06-21 Tim Harper <timcharper@gmail.com>
16670
16671 * term/ns-win.el (ns-initialize-window-system):
16672 Set application-specific `ApplePressAndHoldEnabled' system
16673 resource to NO as it is not yet supported by the NS port.
16674
16675 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16676
16677 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16678 (list-dynamic-libraries): ...not here.
16679
16680 2011-06-21 Leo Liu <sdl.web@gmail.com>
16681
16682 * subr.el (sha1): Implement sha1 using secure-hash.
16683
16684 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16685
16686 * window.el (display-buffer-alist): In default value do not
16687 enforce searching a window on any but the selected frame.
16688 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16689 (display-buffer-select-window): Remove function.
16690 (display-buffer-in-window): When a window on another frame gets
16691 reused, do not select it any more but just raise its frame if
16692 necessary (Bug#8851) and (Bug#8856).
16693 (display-buffer-normalize-options): Handle pop-up-frames related
16694 options more faithfully.
16695 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16696 window if it is on another frame.
16697 (display-buffer-alist, display-buffer-default-specifiers):
16698 Don't make new frame unsplittable by default.
16699 (display-buffer-normalize-argument): Fix doc-string typo and use
16700 'same-frame-other-window instead of 'other-window when associating
16701 with display-buffer-macro-specifiers.
16702
16703 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16704
16705 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16706 New functions.
16707 (5x5-mode-map, 5x5-mode-menu): Bind them.
16708 (5x5-draw-grid): Tweak the solver's rendering.
16709
16710 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16711
16712 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16713 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16714
16715 2011-06-21 Drew Adams <drew.adams@oracle.com>
16716
16717 * menu-bar.el: Use function variable instead of switch-to-buffer.
16718 (menu-bar-select-buffer-function): New variable.
16719 (menu-bar-update-buffers): Use it (bug#8876).
16720
16721 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16722
16723 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16724 variable's status.
16725
16726 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16727
16728 * x-dnd.el (x-dnd-version-from-flags)
16729 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16730 and long as number (Bug#8899).
16731 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16732
16733 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16734
16735 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16736 (completion-try-completion, completion-all-completions): Compute the
16737 metadata argument if it's missing; make it optional (bug#8795).
16738
16739 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16740 (widget-complete): Use new :completion-function property.
16741 (widget-completions-at-point): New function.
16742 (default): Use :completion-function instead of :complete.
16743 (widget-default-completions): Rename from widget-default-complete;
16744 Rewrite.
16745 (widget-string-complete, widget-file-complete, widget-color-complete):
16746 Remove functions.
16747 (file, symbol, function, variable, coding-system, color):
16748 * international/mule-cmds.el (default-input-method, charset)
16749 (language-info-custom-alist):
16750 * cus-edit.el (face): Use new property :completions.
16751
16752 * progmodes/pascal.el (pascal-completions-at-point): New function.
16753 (pascal-mode): Use it.
16754 (pascal-mode-map): Use completion-at-point.
16755 (pascal-toggle-completions): Make obsolete.
16756 (pascal-complete-word, pascal-show-completions):
16757 * progmodes/octave-mod.el (octave-complete-symbol):
16758 Redefine as obsolete alias.
16759 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16760 Signal absence of completion info for old Octave,
16761 (inferior-octave-complete): Redefine as obsolete alias.
16762 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16763 (meta-completions-at-point): Rename from meta-complete-symbol and
16764 adapt it for use on completion-at-point-functions.
16765 (meta-common-mode): Use it.
16766 (meta-looking-at-backward, meta-match-buffer): Remove.
16767 (meta-complete-symbol): Redefine as obsolete alias.
16768 (meta-common-mode-map): Use completion-at-point.
16769 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16770 (makefile-mode-map): Use completion-at-point.
16771 (makefile-completions-at-point): Rename from makefile-complete and
16772 adapt it for use on completion-at-point-functions.
16773 (makefile-mode): Use it.
16774 (makefile-complete): Redefine as obsolete alias.
16775
16776 2011-06-20 Deniz Dogan <deniz@dogan.se>
16777
16778 * net/rcirc.el: Delete trailing whitespaces once and for all.
16779
16780 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16781
16782 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16783
16784 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16785
16786 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16787
16788 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16789
16790 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16791
16792 * window.el (display-buffer-other-window-means-other-frame):
16793 Call display-buffer-normalize-alist.
16794 (display-buffer-normalize-specifiers-1): Rename to
16795 display-buffer-normalize-argument. New argument other-frame.
16796 Rewrite.
16797 (display-buffer-normalize-specifiers-2): Rename to
16798 display-buffer-normalize-options.
16799 (display-buffer-normalize-alist-1): New function.
16800 (display-buffer-normalize-specifiers-3): Rename to
16801 display-buffer-normalize-alist.
16802 Call display-buffer-normalize-alist-1.
16803 (display-buffer-normalize-options-inhibit): New variable.
16804 (display-buffer-normalize-specifiers): Rewrite calling
16805 display-buffer-normalize-alist,
16806 display-buffer-normalize-argument, and
16807 display-buffer-normalize-options. Don't call the latter if
16808 display-buffer-normalize-options-inhibit is non-nil.
16809 (frame-auto-delete): New option.
16810 (window-deletable-p): Use frame-auto-delete.
16811 (window-list-no-nils, window-state-ignored-parameters)
16812 (window-state-get-1, window-state-get, window-state-put-list)
16813 (window-state-put-1, window-state-put-2, window-state-put):
16814 New functions.
16815 (display-buffer-normalize-options): Move special-display-p group
16816 after pop-up-frame group (Bug#8851) and (Bug#8856).
16817
16818 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16819
16820 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16821 groups (Bug#8776).
16822 (rx-submatch-n): New function.
16823 (rx): Document it.
16824
16825 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16826 (Bug#8768).
16827
16828 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16829
16830 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16831
16832 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16833 anytime existing face settings are present (Bug#8889).
16834
16835 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16836 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16837 Remove unused argument.
16838
16839 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16840
16841 * window.el (display-buffer-default-specifiers):
16842 Remove pop-up-frame. Add pop-up-window-min-height,
16843 pop-up-window-min-width, and another reuse-window specifier
16844 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16845 (display-buffer-normalize-specifiers-2):
16846 Handle split-height-threshold and split-width-threshold also when
16847 pop-up-windows is unset. Add a reuse-window specifier for the
16848 case popping up a new window fails.
16849 (special-display-popup-frame): Remove double quoting.
16850 (display-buffer-normalize-specifiers-1): Fix thinko.
16851
16852 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16853
16854 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16855 according to comint-completion-addsuffix.
16856
16857 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16858 (pcomplete-suffix-list): Mark as obsolete.
16859 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16860 pcomplete-seen in the closure.
16861 (pcomplete-comint-setup): Setup completion-at-point as well.
16862 (pcomplete--entries): New function.
16863 (pcomplete--env-regexp): New var.
16864 (pcomplete-entries): Rewrite to work with partial-completion and
16865 without relying on pcomplete-suffix-list.
16866 (pcomplete-pare-list): Remove, unused.
16867
16868 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16869
16870 * window.el (display-buffer-alist): Set pop-up-window-min-height
16871 and pop-up-window-min-width in default value. Reported by
16872 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16873 other-window-means-other-frame.
16874 (display-buffer-macro-specifiers): Comment out entry for
16875 other-window specifier.
16876 (display-buffer-other-window-means-other-frame): New function.
16877 (display-buffer-normalize-specifiers-1): New arguments
16878 buffer-name and label. Treat other-window case specially.
16879 (display-buffer-normalize-specifiers-2): Treat other-window case
16880 specially.
16881 (display-buffer-normalize-specifiers-3): New function.
16882 (display-buffer-normalize-specifiers):
16883 Call display-buffer-normalize-specifiers-3.
16884
16885 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16886
16887 * window.el (same-window-p): Fix two typos introduced when
16888 adding with-no-warnings.
16889 (display-buffer-normalize-specifiers-1): Don't check
16890 pop-up-frames for 'unset initialization.
16891 (display-buffer-normalize-specifiers-2): Major rewrite using
16892 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16893 (pop-up-frames, display-buffer-reuse-frames)
16894 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16895 Suggested by David Engster <deng@randomsample.de>.
16896 (even-window-heights): Initialize to 'unset.
16897 (display-buffer-alist-set): Handle new 'unset initializations.
16898 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16899 other window case.
16900
16901 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16902
16903 * window.el (display-buffer-normalize-specifiers-1):
16904 Respect current value of pop-up-frames for most reasonable values of
16905 second argument of display-buffer (Bug#8865).
16906 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16907 (switch-to-buffer-other-window-same-frame)
16908 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16909 Adams (Bug#8875).
16910 (display-buffer): Don't check noninteractive when calling
16911 display-buffer-pop-up-frame.
16912 (display-buffer-pop-up-frame): Never pop up a frame in
16913 noninteractive mode (Bug#8857).
16914 (enlarge-window, shrink-window): Don't report an error when the
16915 window can't be resized as requested (Bug#8862).
16916
16917 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16918
16919 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16920
16921 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16922
16923 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16924
16925 2011-06-15 Alan Mackenzie <acm@muc.de>
16926
16927 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16928 for declarators, disable knr checking to speed up for normal files.
16929 2: Refactor, replacing a sequence of nested if forms by a cond form.
16930
16931 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16932
16933 * net/network-stream.el (open-network-stream): Add the keyword
16934 :always-query-capabilities for the case where you want to force a
16935 `plain' network connection, but the protocol still requires the
16936 capabilitiy command (i.e., SMTP and EHLO).
16937
16938 * subr.el (process-live-p): Rename from `process-alive-p' for
16939 consistency with other `-live-p' functions.
16940
16941 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16942
16943 * window.el (same-window-buffer-names, same-window-regexps)
16944 (special-display-frame-alist, special-display-popup-frame)
16945 (special-display-function, special-display-buffer-names)
16946 (special-display-regexps, pop-up-frame-alist)
16947 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16948 (pop-up-windows, split-window-preferred-function)
16949 (split-height-threshold, split-width-threshold, even-window-heights)
16950 (display-buffer-mark-dedicated): Don't encourage the use of
16951 display-buffer-alist from Elisp code.
16952
16953 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16954
16955 * progmodes/python.el (python-mode): Derive from prog-mode.
16956 * progmodes/ps-mode.el (ps-mode):
16957 * progmodes/mixal-mode.el (mixal-mode):
16958 * progmodes/cfengine.el (cfengine-mode):
16959 * progmodes/ld-script.el (ld-script-mode): Likewise.
16960
16961 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16962
16963 * window.el (display-buffer-alist): Trim default value to avoid
16964 popping up a new frame (Bug#8857) or reusing an arbitrary window
16965 on another frame.
16966 (display-buffer): Do not fall back on popping up a new frame in
16967 batch mode (Bug#8857).
16968
16969 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16970
16971 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16972 (custom-theme-summary): New function.
16973 (customize-themes): Use it.
16974
16975 2011-06-13 Glenn Morris <rgm@gnu.org>
16976
16977 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16978
16979 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16980
16981 * help.el (help-window): Remove variable.
16982 (help-window-point-marker, temp-buffer-max-height)
16983 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16984 (help-print-return-message): Don't set help-window.
16985 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16986 (help-window-setup-finish): Remove.
16987 (help-window-display-message, help-window-setup)
16988 (with-help-window): Major rewrite based on new
16989 display-buffer-window variable.
16990
16991 * help-mode.el (help-mode-finish): Remove help-window related
16992 code.
16993
16994 * view.el (view-exits-all-viewing-windows): Remove reference to
16995 view-return-to-alist in doc-string.
16996 (view-return-to-alist): Make obsolete.
16997 (view-buffer): Call pop-to-buffer-same-window and remove
16998 undo-window code.
16999 (view-buffer-other-window): Call pop-to-buffer-other-window and
17000 simplify code. Ignore second argument.
17001 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17002 simplify code. Ignore second argument.
17003 (view-return-to-alist-update): Make obsolete.
17004 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17005 Rewrite using quit-restore window parameters.
17006 (view-mode-exit): Rename second argument to EXIT-ONLY.
17007 Rewrite using quit-restore-window.
17008 (View-exit, View-exit-and-edit, View-leave, View-quit)
17009 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17010 appropriate arguments.
17011 (view-end-message): Use quit-restore window parameter.
17012
17013 * window.el (display-buffer-function): Rewrite doc-string.
17014 (display-buffer-window, display-buffer-alist): New variables.
17015 (display-buffer-split-specifiers)
17016 (display-buffer-side-specifiers)
17017 (display-buffer-macro-specifiers): New constants.
17018 (display-buffer-even-window-sizes, display-buffer-set-height)
17019 (display-buffer-set-width, display-buffer-select-window)
17020 (display-buffer-in-window, display-buffer-reuse-window)
17021 (display-buffer-split-window-1, display-buffer-split-window)
17022 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17023 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17024 (display-buffer-in-side-window, normalize-buffer-to-display)
17025 (display-buffer-normalize-specifiers-1)
17026 (display-buffer-normalize-specifiers-2)
17027 (display-buffer-normalize-specifiers, display-buffer-frame):
17028 New functions.
17029 (display-buffer): Major rewrite.
17030 (display-buffer-other-window, display-buffer-other-frame)
17031 (pop-to-buffer, switch-to-buffer-other-window)
17032 (switch-to-buffer-other-frame): Rewrite.
17033 (display-buffer-same-window, display-buffer-same-frame)
17034 (display-buffer-same-frame-other-window)
17035 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17036 (pop-to-buffer-other-window)
17037 (pop-to-buffer-same-frame-other-window)
17038 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17039 (switch-to-buffer-other-window-same-frame): New functions.
17040 (same-window-p, special-display-p): Rewrite disabling warnings.
17041 Make obsolete.
17042 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17043 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17044 Make obsolete
17045 (same-window-buffer-names, same-window-regexps)
17046 (special-display-frame-alist, special-display-popup-frame)
17047 (special-display-function, special-display-buffer-names)
17048 (special-display-regexps, pop-up-frame-alist)
17049 (pop-up-frame-function, split-window-preferred-function)
17050 (split-height-threshold, split-width-threshold)
17051 (even-window-heights): Make obsolete.
17052
17053 2011-06-12 Glenn Morris <rgm@gnu.org>
17054
17055 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17056 Misc simplifications.
17057
17058 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17059
17060 * window.el (window-safely-shrinkable-p): Restore function which
17061 was inadvertently removed in change from 2011-06-11. Declare as
17062 obsolete.
17063
17064 * calendar/calendar.el (calendar-generate-window):
17065 Use window-iso-combined-p instead of combination of one-window-p and
17066 window-safely-shrinkable-p.
17067
17068 2011-06-12 Glenn Morris <rgm@gnu.org>
17069
17070 * progmodes/fortran.el (fortran-mode-syntax-table):
17071 * progmodes/f90.el (f90-mode-syntax-table):
17072 Set % to punctuation. (Bug#8820)
17073 (f90-find-tag-default): Remove, no longer needed.
17074
17075 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17076
17077 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17078
17079 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17080
17081 * image.el (image-animated-p): Return animation delay in seconds.
17082 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17083 (image-animate-timeout): Remove DELAY argument. Don't assume
17084 every subimage has the same delay; get it from image-animated-p.
17085 (image-animate): Caller changed.
17086
17087 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17088
17089 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17090 to ignored backtrace functions.
17091
17092 2011-06-11 Glenn Morris <rgm@gnu.org>
17093
17094 * calendar/appt.el (appt-disp-window-function): Doc fix.
17095 (appt-check): Handle overlapping appointments. (Bug#8337)
17096
17097 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17098
17099 * window.el (window-tree-1, window-tree): New functions, moving
17100 the latter to window.el.
17101 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17102 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17103 (bw-refresh-edges): Remove.
17104 (balance-windows-1, balance-windows-2): New functions.
17105 (balance-windows): Rewrite in terms of window tree functions,
17106 balance-windows-1 and balance-windows-2.
17107 (bw-adjust-window): Remove.
17108 (balance-windows-area-adjust): New function with functionality of
17109 bw-adjust-window but using resize-window.
17110 (set-window-text-height): Rewrite doc-string.
17111 Use normalize-live-window and resize-window.
17112 (enlarge-window-horizontally, shrink-window-horizontally):
17113 Rename argument to DELTA.
17114 (window-buffer-height): New function.
17115 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17116 Rewrite using new window resize routines.
17117 (kill-buffer-and-window, mouse-autoselect-window-select):
17118 Use ignore-errors instead of condition-case.
17119 (quit-window): Call delete-frame instead of delete-windows-on
17120 for the only buffer on frame.
17121
17122 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17123
17124 * loadup.el (top-level): Load window before files for the sake
17125 of replace-buffer-in-windows.
17126
17127 * files.el (read-buffer-to-switch)
17128 (switch-to-buffer-other-window)
17129 (switch-to-buffer-other-frame, display-buffer-other-frame):
17130 Move to window.el.
17131
17132 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17133 (previous-buffer): Move to window.el.
17134
17135 * bindings.el (unbury-buffer): Move to window.el.
17136
17137 * window.el (delete-other-windows-vertically): Move after
17138 definition of delete-other-windows.
17139 (other-window, delete-windows-on, replace-buffer-in-windows):
17140 Move here from window.c.
17141 (record-window-buffer, unrecord-window-buffer)
17142 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17143 (switch-to-next-buffer): New functions.
17144 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17145 from simple.el. Call switch-to-next-buffer.
17146 (previous-buffer): Move here from simple.el.
17147 Call switch-to-prev-buffer.
17148 (bury-buffer): Move here from buffer.c. Switch to previous
17149 buffer when window cannot be deleted.
17150 (unbury-buffer): Move here from bindings.el.
17151 (ctl-x-map): Move binding for other-window from window.c to
17152 here.
17153 (read-buffer-to-switch, switch-to-buffer-other-window)
17154 (switch-to-buffer-other-frame): Move here from files.el.
17155 (normalize-buffer-to-switch-to): New functions.
17156 (switch-to-buffer): Move here from buffer.c.
17157 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17158
17159 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17160
17161 * window.el (window-min-height, window-min-width): Move here
17162 from window.c. Add defcustoms and rewrite doc-strings.
17163 (resize-mini-window, resize-window): New functions.
17164 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17165 Move here from window.c.
17166 (maximize-window, minimize-window): New functions.
17167 (delete-window, delete-other-windows, split-window): Move here
17168 from window.c.
17169 (window-split-min-size): New function.
17170 (split-window-keep-point): Mention split-window-above-each-other
17171 instead of split-window-vertically.
17172 (split-window-above-each-other, split-window-vertically):
17173 Rename split-window-vertically to split-window-above-each-other
17174 and provide defalias for old definition.
17175 (split-window-side-by-side, split-window-horizontally):
17176 Rename split-window-horizontally to split-window-side-by-side
17177 and provide defalias for the old definition.
17178 (ctl-x-map): Move bindings for delete-window,
17179 delete-other-windows and enlarge-window here from window.c.
17180 Replace bindings for split-window-vertically and
17181 split-window-horizontally by bindings for
17182 split-window-above-each-other and split-window-side-by-side.
17183
17184 * cus-start.el (all): Remove entries for window-min-height and
17185 window-min-width. Add entries for window-splits and
17186 window-nest.
17187
17188 2011-06-09 Glenn Morris <rgm@gnu.org>
17189
17190 * calendar/appt.el (appt-mode-line): New function.
17191 (appt-check, appt-disp-window): Use it.
17192
17193 * files.el (hack-one-local-variable-eval-safep):
17194 Allow minor-modes with explicit +/-1 arguments.
17195
17196 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17197
17198 * term/xterm.el (xterm): Add defgroup.
17199 (xterm-extra-capabilities): Add defcustom to supply known xterm
17200 capabilities, skip querying them, or query them (default).
17201 (terminal-init-xterm): Use it.
17202 (terminal-init-xterm-modify-other-keys): New function to set up
17203 modifyOtherKeys support to simplify `terminal-init-xterm'.
17204
17205 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17206
17207 * window.el (resize-window-reset, resize-window-reset-1)
17208 (resize-subwindows-skip-p, resize-subwindows-normal)
17209 (resize-subwindows, resize-other-windows, resize-this-window)
17210 (resize-root-window, resize-root-window-vertically)
17211 (window-deletable-p, window-or-subwindow-p)
17212 (frame-root-window-p): New functions.
17213
17214 2011-06-09 Glenn Morris <rgm@gnu.org>
17215
17216 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17217 (ange-ftp-get-files): Use it.
17218
17219 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17220
17221 * mail/sendmail.el (mail-recover-1, mail-recover):
17222 * files.el (recover-file, recover-session):
17223 Handle dired-listing-switches not being just a single short option.
17224
17225 2011-06-09 Glenn Morris <rgm@gnu.org>
17226
17227 * calendar/appt.el (appt-display-message, appt-disp-window):
17228 Handle lists of appointments.
17229
17230 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17231
17232 * window.el (one-window-p): Move down in code.
17233 Rewrite doc-string.
17234 (window-current-scroll-bars): Rewrite doc-string.
17235 Normalize live window argument.
17236 (walk-windows, get-window-with-predicate, count-windows):
17237 Rewrite doc-string. Use window-list-1.
17238 (window-in-direction-2, window-in-direction, get-mru-window):
17239 New functions.
17240
17241 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17242
17243 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17244 Doc fix (Bug#8713).
17245
17246 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17247
17248 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17249
17250 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17251
17252 * loadhist.el (unload-feature-special-hooks):
17253 Add `comint-output-filter-functions'.
17254
17255 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17256
17257 * calendar/appt.el (appt-check): Move some initializations into the let.
17258
17259 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17260
17261 * window.el (window-height): Defalias to window-total-height.
17262 (window-width): Defalias to window-body-width.
17263
17264 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17265
17266 * image-mode.el (image-toggle-animation): New command.
17267 (image-mode-map): Bind it to RET.
17268 (image-mode): Update message.
17269 (image-toggle-display-image): Avoid a spurious cache flush.
17270 (image-transform-rotation): Doc fix.
17271 (image-transform-properties): Return quickly in the normal case.
17272 (image-animate-loop): Rename from image-animate-max-time.
17273
17274 * image.el (image-animate-max-time): Move to image-mode.el.
17275 (create-animated-image): Remove unnecessary function.
17276 (image-animate): Rename from image-animate-start. New arg.
17277 (image-animate-stop): Remove; just use image-animate-timer.
17278 (image-animate-timer): Use car-safe.
17279 (image-animate-timeout): Rename argument.
17280
17281 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17282
17283 * window.el (get-lru-window, get-largest-window): Move here from
17284 window.c. Rename first argument to ALL-FRAMES.
17285 Rephrase doc-strings.
17286 (get-buffer-window-list): Rewrite using window-list-1.
17287 Rephrase doc-string.
17288 (window-safe-min-height, window-safe-min-width): New constants.
17289 (window-size-ignore, window-min-size, window-min-size-1)
17290 (window-sizable, window-sizable-p, window-size-fixed-1)
17291 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17292 (window-max-delta-1, window-max-delta, window-resizable)
17293 (window-resizable-p, window-total-height, window-total-width)
17294 (window-body-width): New functions.
17295 (window-full-height-p, window-full-width-p): Rewrite using
17296 window-total-size.
17297 (window-body-height): Rewrite using window-body-size.
17298
17299 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17300
17301 * window.el (window-right, window-left, window-child)
17302 (window-child-count, window-last-child, window-any-p)
17303 (normalize-live-buffer, normalize-live-frame)
17304 (normalize-any-window, normalize-live-window)
17305 (window-iso-combination-p, window-iso-combined-p)
17306 (window-iso-combinations)
17307 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17308 (windows-with-parameter, window-with-parameter)
17309 (window-atom-root, make-window-atom, window-atom-check-1)
17310 (window-atom-check, window-side-check, window-check):
17311 New functions.
17312 (ignore-window-parameters, window-sides, window-sides-vertical)
17313 (window-sides-slots): New variables.
17314 (window-size-fixed): Move down in code. Minor doc-string fix.
17315
17316 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17317
17318 * comint.el (comint-dynamic-complete-as-filename)
17319 (comint-dynamic-complete-filename): Correctly call
17320 completion-in-region.
17321
17322 2011-06-05 Deniz Dogan <deniz@dogan.se>
17323
17324 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17325 in last change.
17326
17327 2011-06-05 Deniz Dogan <deniz@dogan.se>
17328
17329 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17330 (rcirc): Use it to prompt for encryption.
17331
17332 2011-06-05 Roland Winkler <winkler@gnu.org>
17333
17334 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17335 (bibtex-search-entries): New command bound to C-c C-a.
17336 (bibtex-display-entries): New function.
17337
17338 2011-06-05 Roland Winkler <winkler@gnu.org>
17339
17340 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17341 (bibtex-insert-kill): After yanking insert newline if necessary.
17342 (bibtex-initialize): Call bibtex-string-files-init only once.
17343 (bibtex-mode): Do not call easy-menu-add.
17344 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17345 (bibtex-yank): Set arg properly if nil.
17346
17347 2011-06-05 Roland Winkler <winkler@gnu.org>
17348
17349 * textmodes/bibtex.el (bibtex-search-entry-globally):
17350 New variable.
17351 (bibtex-search-entry): Use it.
17352
17353 2011-06-05 Roland Winkler <winkler@gnu.org>
17354
17355 * textmodes/bibtex.el (bibtex-entry-format): New option
17356 sort-fields.
17357 (bibtex-format-entry, bibtex-reformat): Honor this option.
17358 (bibtex-parse-entry): Return fields in proper order.
17359
17360 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17361
17362 * doc-view.el (doc-view-remove-if): Move computation of result out
17363 of `dolist' to silence misleading lexical-binding warning.
17364
17365 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17366
17367 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17368 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17369
17370 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17371
17372 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17373 "SunOS 5.10".
17374
17375 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17376
17377 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17378 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17379 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17380 (tramp-parse-putty):
17381 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17382 (tramp-completion-function-alist-ssh)
17383 (tramp-completion-function-alist-telnet)
17384 (tramp-completion-function-alist-su)
17385 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17386 cookie.
17387
17388 * net/tramp-ftp.el:
17389 * net/tramp-sh.el:
17390 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17391 load "tramp.el" `tramp-set-completion-function'.
17392
17393 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17394
17395 * shell.el: Require and use pcomplete.
17396 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17397 (shell-completion-vars): Set pcomplete-default-completion-function.
17398
17399 2011-06-04 Deniz Dogan <deniz@dogan.se>
17400
17401 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17402 `memq' (Bug#8799).
17403
17404 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17405
17406 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17407
17408 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17409
17410 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17411 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17412 * vc/log-view.el (log-view-beginning-of-defun):
17413 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17414 (smerge-refine-forward, smerge-refine-chopup-region):
17415 Silence warning for unused `dotimes' counter variables.
17416
17417 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17418
17419 * net/tramp.el (tramp-with-progress-reporter): Rename from
17420 with-progress-reporter. Use `declare'.
17421 * net/tramp-smb.el:
17422 * net/tramp-sh.el:
17423 * net/tramp-gvfs.el: Update all uses.
17424
17425 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17426
17427 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17428 buffer isn't killed before making it current.
17429
17430 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17431
17432 Silence various byte-compiler warnings.
17433 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17434 `access-type' and new obsolescence format.
17435 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17436 new format.
17437 (byte-compile-check-variable): New `access-type' argument.
17438 Only warn if the access-type is obsolete.
17439 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17440 (byte-compile-variable-set): Adjust callers.
17441 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17442 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17443 setting it as obsolete.
17444 * simple.el (minibuffer-completing-symbol):
17445 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17446 access as obsolete.
17447 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17448 obsolete yet.
17449 * international/quail.el (quail-mouse-choose-completion): Remove unused
17450 code referring to obsolete var.
17451 (quail-choose-completion-string): Remove.
17452 * server.el (server-clients-with, server-kill-buffer-query-function)
17453 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17454 * proced.el (proced-send-signal):
17455 * emacs-lisp/lisp.el (lisp-complete-symbol):
17456 Replace completion-annotate-function with completion-extra-properties.
17457
17458 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17459
17460 * simple.el (goto-line): Use read-number.
17461 (overriding-map-is-bound): Remove.
17462 (saved-overriding-map): Change default.
17463 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17464 Take the map as argument.
17465 (universal-argument, negative-argument, digit-argument): Use it.
17466 (restore-overriding-map): Adjust.
17467 (do-auto-fill): Use fill-forward-paragraph.
17468 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17469
17470 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17471 (minibuffer-inactive-mode): New major mode.
17472 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17473 the *Messages* buffer" hack.
17474 (mouse-popup-menubar): Don't burp if the event is a normal key.
17475
17476 Miscellaneous tweaks.
17477 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17478 lexical scoping as in subr.el's dolist and dotimes.
17479 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17480 Silence compiler warning.
17481 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17482 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17483 * international/ccl.el (ccl-compile): Trivial simplification.
17484 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17485 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17486 `printflag' argument.
17487 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17488 Purecopy the whole obsolescence data.
17489
17490 2011-06-01 Leo Liu <sdl.web@gmail.com>
17491
17492 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17493 improve doc-string as suggested by Marco Pessotto
17494 <melmothx@gmail.com>.
17495 (rcirc-print): Fix last change.
17496
17497 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17498
17499 * minibuffer.el (complete-with-action): Return nil for the metadata and
17500 boundaries of non-functional tables.
17501 (completion-table-dynamic): Return nil for the metadata.
17502 (completion-table-with-terminator): Add default case, using
17503 complete-with-action.
17504 (completion--metadata): New function.
17505 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17506 to try and avoid pathological performance problems.
17507 (completion--embedded-envvar-table): Return `category' metadata.
17508
17509 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17510
17511 * subr.el (process-alive-p): New tiny convenience function.
17512
17513 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17514
17515 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17516 content but also its previous major mode.
17517
17518 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17519
17520 * emacs-lisp/debug.el (debug): Restore the previous content of the
17521 *Backtrace* buffer when we exit with C-M-c.
17522
17523 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17524
17525 * minibuffer.el: Add metadata method to completion tables.
17526 (completion-category-overrides): New defcustom.
17527 (completion-metadata, completion--field-metadata)
17528 (completion-metadata-get, completion--styles)
17529 (completion--cycle-threshold): New functions.
17530 (completion-try-completion, completion-all-completions):
17531 Add `metadata' argument to choose completion-styles.
17532 (completion--do-completion): Use metadata to choose cycling.
17533 (completion-all-sorted-completions): Use metadata for sorting.
17534 Remove :completion-cycle-penalty which is not needed any more.
17535 (completion--try-word-completion): Add `metadata' argument.
17536 (minibuffer-completion-help): Check metadata for annotation function
17537 and sorting.
17538 (completion-file-name-table): Return `category' metadata.
17539 (minibuffer-completing-file-name): Make obsolete.
17540 * simple.el (minibuffer-completing-symbol): Make obsolete.
17541 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17542 completion-try-completion.
17543
17544 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17545
17546 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17547
17548 2011-05-30 Leo Liu <sdl.web@gmail.com>
17549
17550 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17551 (rcirc-print): Decode all incoming messages (bug#8744).
17552 (rcirc-decode-coding-system): Allow value nil for automatic coding
17553 system detection.
17554
17555 2011-06-01 Glenn Morris <rgm@gnu.org>
17556
17557 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17558
17559 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17560
17561 * image.el (image-animate-max-time): Allow nil and t values.
17562 Default to nil.
17563 (create-animated-image): Doc fix.
17564 (image-animate-start): Remove second arg; just use
17565 image-animate-max-time.
17566 (image-animate-timeout): Doc fix. Args changed.
17567
17568 * image-mode.el (image-toggle-display-image): Ensure that the
17569 image spec passed to the animate timer is the same object as in
17570 the buffer's display property (Bug#6981).
17571 (image-transform-properties): Doc fix.
17572
17573 * image.el (image-animate-max-time): Default to nil.
17574
17575 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17576
17577 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17578 entire buffer list (Bug#8184).
17579
17580 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17581
17582 * image.el (imagemagick-types-inhibit)
17583 (imagemagick-register-types): Doc fix.
17584
17585 2011-05-29 Deniz Dogan <deniz@dogan.se>
17586
17587 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17588 default.
17589
17590 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17591
17592 * select.el: Don't perform clipboard-manager saving in hooks;
17593 leave the hooks empty.
17594
17595 2011-05-28 Leo Liu <sdl.web@gmail.com>
17596
17597 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17598 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17599 (occur-edit-mode): New major mode (Bug#8463).
17600 (occur-after-change-function): New function.
17601 (occur-engine): Give Occur tags a read-only property.
17602
17603 2011-05-28 Kevin Ryde <user42@zip.com.au>
17604
17605 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17606
17607 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17608
17609 * bindings.el (help-echo): Make the initial non-indicator dash
17610 empty on graphical terminals (Bug#7295).
17611
17612 * files.el (auto-mode-alist): Move config rule after the
17613 in-stripping one (Bug#8547).
17614
17615 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17616
17617 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17618 setting (Bug#8740).
17619
17620 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17621
17622 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17623 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17624 (Bug#8539).
17625
17626 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17627
17628 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17629
17630 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17631
17632 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17633 (hs-hide-block-at-point, hs-find-block-beginning)
17634 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17635 (Bug#8279).
17636
17637 2011-05-28 Glenn Morris <rgm@gnu.org>
17638
17639 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17640
17641 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17642
17643 * help-fns.el (describe-function-1): If the function is a derived
17644 major mode, print the parent mode.
17645
17646 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17647 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17648
17649 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17650
17651 * minibuffer.el (completion--capf-wrapper): Check applicability before
17652 returning non-nil for non-exclusive completion data.
17653 * progmodes/etags.el (tags-completion-at-point-function):
17654 * info-look.el (info-lookup-completions-at-point): Mark as
17655 non-exclusive.
17656 (info-complete): Adjust accordingly.
17657
17658 * info-look.el: Convert to lexical-binding and completion-at-point.
17659 (info-lookup-completions-at-point): New function.
17660 (info-complete): Use it and completion-in-region.
17661
17662 2011-05-28 Drew Adams <drew.adams@oracle.com>
17663
17664 * isearch.el: Let M-e start with point at the first mismatched char.
17665 (isearch-fail-pos): New function.
17666 (isearch-edit-string): Use it.
17667
17668 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17669
17670 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17671
17672 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17673
17674 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17675 traversal functions for avl-trees.
17676 (avl-tree--stack): New struct.
17677 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17678 (avl-tree-enter): Add optional `updatefun' arg.
17679 (avl-tree--do-enter): Add optional `updatefun' arg.
17680 Change return value.
17681 (avl-tree-delete): Add optional `test' and `nilflag' args.
17682 (avl-tree--do-delete): Add `test' and `nilflag' args.
17683 Change return value.
17684 (avl-tree-member): Add optional `nilflag'
17685 (avl-tree-member-p): New function.
17686 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17687 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17688 (avl-tree-stack-empty-p): New functions.
17689
17690 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17691 avl-tree--del-balance1 and make it work both ways.
17692 (avl-tree--del-balance2): Remove.
17693 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17694 make it work both ways.
17695 (avl-tree--enter-balance2): Remove.
17696 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17697 New macros.
17698 (avl-tree--mapc, avl-tree-map): Add direction argument.
17699
17700 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17701
17702 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17703
17704 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17705
17706 * select.el: Support clipboard managers with built-in function
17707 x-clipboard-manager-save, via delete-frame-functions and
17708 kill-emacs-hook.
17709 (xselect-convert-to-targets): Add MULTIPLE target to list.
17710 (xselect-convert-to-save-targets): New function.
17711
17712 2011-05-27 Kenichi Handa <handa@m17n.org>
17713
17714 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17715 let-binding rfc2047-encode-encoded-words to nil.
17716
17717 2011-05-27 Glenn Morris <rgm@gnu.org>
17718
17719 * mail/emacsbug.el: Don't require url-util.
17720
17721 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17722
17723 * files.el (set-auto-mode):
17724 Also respect mode: entries at the end of the file. (Bug#8586)
17725
17726 2011-05-26 Glenn Morris <rgm@gnu.org>
17727
17728 * files.el (hack-local-variables-prop-line, hack-local-variables):
17729 Downcase mode names, as seems to be traditional.
17730 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17731
17732 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17733 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17734
17735 2011-05-25 Julien Danjou <julien@danjou.info>
17736
17737 * textmodes/rst.el (rst-define-level-faces): Do not define face
17738 symbol if it is already defined.
17739
17740 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17741
17742 * play/5x5.el (5x5-new-game, 5x5-randomize):
17743 Reset 5x5-solver-output to nil when a new grid is cast.
17744 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17745 these debugging traces, as defmacro breaks the compiled code.
17746
17747 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17748
17749 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17750
17751 2011-05-24 Leo Liu <sdl.web@gmail.com>
17752
17753 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17754 (vc-bzr-sha1): Adapt.
17755
17756 * sha1.el: Remove. Function `sha1' is now builtin.
17757
17758 * bindings.el: Provide sha1 feature.
17759
17760 2011-05-24 Kenichi Handa <handa@m17n.org>
17761
17762 * mail/sendmail.el: Require `rfc2047'.
17763 (mail-insert-from-field): Do not perform RFC2047 encoding.
17764 (mail-encode-header): New function.
17765 (sendmail-send-it): Set buffer-file-coding-system of the work
17766 buffer to the return value of select-message-coding-system.
17767 Call mail-encode-header.
17768
17769 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17770
17771 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17772
17773 * mail/supercite.el (sc-default-cite-frame):
17774 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17775
17776 2011-05-24 Glenn Morris <rgm@gnu.org>
17777
17778 * progmodes/python.el (brm-menu): Declare.
17779
17780 * emulation/viper.el (viper-set-hooks): Declare.
17781
17782 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17783 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17784 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17785 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17786 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17787 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17788
17789 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17790
17791 Add an :exit-function for completion-at-point.
17792
17793 * minibuffer.el (completion--done): New fun.
17794 (completion--do-completion): Use it. New arg `expect-exact'.
17795 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17796 since completion--do-completion does it for us now.
17797 (minibuffer-force-complete): Use completion--done and
17798 completion--replace. Handle sole-completion case with more care.
17799 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17800 (completion-extra-properties): New var.
17801 (completion-annotate-function): Make obsolete.
17802 (minibuffer-completion-help): Adjust accordingly.
17803 Use completion-list-insert-choice-function.
17804 (completion-at-point, completion-help-at-point):
17805 Bind completion-extra-properties.
17806 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17807 * simple.el (completion-list-insert-choice-function): New var.
17808 (completion-setup-function): Preserve it.
17809 (choose-completion): Pay attention to it, shuffle the code a bit.
17810 (choose-completion-string): New arg `insert-function'.
17811
17812 * textmodes/bibtex.el: Convert to lexical binding.
17813 (bibtex-mode-map): Use completion-at-point.
17814 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17815 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17816 (bibtex-complete): Define as obsolete alias.
17817 (bibtex-complete-internal): Remove.
17818 (bibtex-format-entry): Remove unused sub-group in regexp.
17819 * shell.el (shell--command-completion-data)
17820 (shell-environment-variable-completion):
17821 * pcomplete.el (pcomplete-completions-at-point):
17822 * comint.el (comint--complete-file-name-data): Use :exit-function
17823 instead of completion-table-with-terminator so it also works for
17824 choose-completion.
17825
17826 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17827
17828 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17829
17830 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17831 (bug#8710).
17832
17833 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17834
17835 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17836
17837 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17838 customization variable and implement: If non-nil, auto-fill will
17839 be inhibited while on topic's header line.
17840
17841 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17842
17843 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17844 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17845 always have a solution in grid size = 5 cases.
17846 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17847 (5x5-solver-output, 5x5-log-buffer): New vars.
17848 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17849 Make these variables buffer local to achieve 5x5 multi-session-ness.
17850 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17851 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17852 (5x5-solve-suggest): New funs.
17853 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17854 randomize a grid so that we ensure that there is always a solution.
17855 (5x5-make-random-grid): Allow other movement than flipping.
17856
17857 2011-05-23 Kevin Ryde <user42@zip.com.au>
17858
17859 * emacs-lisp/advice.el (ad-read-advised-function):
17860 Use `function-called-at-point' as the default, if it has
17861 advice and passes PREDICATE.
17862
17863 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17864
17865 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17866 byte-compile-lambda if it's actually a lambda.
17867
17868 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17869 Fix function quoting. Use backquote better.
17870
17871 2011-05-22 Yuanle Song <sylecn@gmail.com>
17872
17873 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17874 matching (Bug#8516).
17875
17876 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17877
17878 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17879 different face (Bug#8178).
17880
17881 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17882
17883 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17884 defface (Bug#8144).
17885
17886 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17887
17888 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17889 funcall as well (bug#8712). Warn when performing those conversions.
17890 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17891
17892 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17893
17894 2011-05-22 Glenn Morris <rgm@gnu.org>
17895
17896 * files.el (hack-local-variables-prop-line): Small simplifications.
17897 (hack-local-variables, hack-local-variables-prop-line):
17898 If MODE-ONLY, return the mode, rather than just `t'.
17899
17900 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17901
17902 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17903
17904 2011-05-21 Glenn Morris <rgm@gnu.org>
17905
17906 * files.el (hack-local-variables-prop-line, hack-local-variables):
17907 If only interested in the mode, don't bother doing the other stuff.
17908
17909 * image-mode.el (image-after-revert-hook):
17910 Redraw all frames on which the image is visible. (Bug#8567)
17911
17912 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17913
17914 * wid-edit.el (widget-checklist-match-inline):
17915 Fix 2011-04-19 change. (Bug#8649)
17916
17917 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17918
17919 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17920 Also allow singlespace after single-letter capitals followed by a dot.
17921
17922 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17923 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17924
17925 2011-05-20 Nix <nix@esperi.org.uk>
17926
17927 * files.el (basic-save-buffer-2):
17928 Fix handling of break-hardlink-on-save with non-existent files.
17929
17930 2011-05-19 Deniz Dogan <deniz@dogan.se>
17931
17932 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17933 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17934
17935 2011-05-19 Glenn Morris <rgm@gnu.org>
17936
17937 * progmodes/f90.el (f90-type-def-re):
17938 Handle "type, bind(c)". (Bug#8691)
17939
17940 * emacs-lisp/autoload.el (batch-update-autoloads):
17941 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17942
17943 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17944
17945 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17946 property for the correct connection in case of multihops.
17947
17948 2011-05-18 Glenn Morris <rgm@gnu.org>
17949
17950 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17951 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17952
17953 Rationalize calendar handling of day and month abbrev-arrays.
17954 * calendar/calendar.el (calendar-customized-p): New function.
17955 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17956 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17957 Add :set function.
17958 (calendar-abbrev-length, calendar-day-abbrev-array)
17959 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17960 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17961 Elements may no longer be nil.
17962 (calendar-day-name, calendar-month-name):
17963 Update for changed nature of abbrev arrays.
17964 * calendar/diary-lib.el (diary-name-pattern):
17965 Update for changed nature of abbrev arrays.
17966 (diary-mark-entries-1): Update calendar-make-alist calls.
17967 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17968 * calendar/cal-html.el (cal-html-day-abbrev-array):
17969 Simply inherit from calendar-day-abbrev-array.
17970
17971 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17972
17973 * progmodes/grep.el (grep-mode): Disable default
17974 compilation-directory-matcher setting (bug#8684).
17975
17976 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17977
17978 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17979 instead of "head" and "tail". There were problems with SunOS 5.9,
17980 and it performs better.
17981
17982 2011-05-17 Glenn Morris <rgm@gnu.org>
17983
17984 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17985
17986 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17987 Replace obsolete function.
17988
17989 * shell.el (pcomplete-parse-arguments-function): Declare.
17990
17991 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17992 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17993 (appt-check): Doc fixes.
17994 (appt-disp-window-function, appt-delete-window-function):
17995 Remove needless special case in custom :type.
17996 (appt-display-count): Default to 0, not nil.
17997 (appt-check): Reset appt-display-count to 0, not nil.
17998
17999 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18000
18001 * progmodes/python.el (python-font-lock-keywords):
18002 Add the Python 3.X keyword "nonlocal" (bug#8639).
18003
18004 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18005
18006 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18007
18008 2011-05-16 Kevin Ryde <user42@zip.com.au>
18009
18010 * info-look.el (makefile-automake-mode): New setups, looking in
18011 automake manual, then makefile-mode.
18012 (makefile-mode): Remove automake manual, have it just in
18013 makefile-automake-mode since there's various things different or
18014 not relevant to plain make.
18015 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18016 believe a hypothetical automake-mode would go to makefile-mode,
18017 not the other way around.
18018
18019 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18020
18021 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18022 hunk-end tags (Bug#8672).
18023
18024 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18025 vc-annotate-show-diff-revision-at-line (Bug#8671).
18026
18027 2011-05-14 Glenn Morris <rgm@gnu.org>
18028
18029 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18030 in the middle of an existing one with multiple authors. (Bug#8645)
18031 (change-log-font-lock-keywords): Also handle multiple author lines
18032 with leading tabs. (Bug#8644)
18033
18034 * calendar/appt.el (appt-check): Rename some local variables.
18035 Some simplification/reordering.
18036
18037 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18038 (feedmail-sendmail-f-doesnt-sell-me-out)
18039 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18040 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18041 (feedmail-queue-runner-message-sender): Set :version.
18042 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18043 (bbdb-dwim-net-address, vm-mail): Declare.
18044 (feedmail-binmail-gnulinuxish-template):
18045 Rename from feedmail-binmail-linuxish-template.
18046 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18047 Use insert-buffer-substring.
18048
18049 2011-05-14 Bill Carpenter <bill@carpenter.org>
18050
18051 * mail/feedmail.el (feedmail-patch-level): Increase.
18052 (feedmail-debug): New custom group.
18053 (feedmail-confirm-outgoing-timeout)
18054 (feedmail-sendmail-f-doesnt-sell-me-out)
18055 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18056 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18057 (feedmail-sender-line, feedmail-from-line)
18058 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18059 (feedmail-spray-this-address)
18060 (feedmail-spray-address-fiddle-plex-list)
18061 (feedmail-queue-use-send-time-for-date)
18062 (feedmail-queue-use-send-time-for-message-id)
18063 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18064 (feedmail-buffer-eating-function):
18065 Doc fixes.
18066 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18067 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18068 (feedmail-message-action-scroll-down): New functions.
18069 (feedmail-queue-directory, feedmail-queue-draft-directory):
18070 Use expand-file-name.
18071 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18072 Remove C-v help entry.
18073 (feedmail-queue-buffer-file-name): New variable.
18074 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18075 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18076 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18077 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18078 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18079 (feedmail-message-action-toggle-spray)
18080 (feedmail-run-the-queue-no-prompts)
18081 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18082 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18083 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18084 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18085 (feedmail-envelope-deducer, feedmail-fiddle-from)
18086 (feedmail-fiddle-sender, feedmail-default-date-generator)
18087 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18088 (feedmail-fiddle-spray-address)
18089 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18090 (feedmail-fiddle-list-of-fiddle-plexes)
18091 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18092 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18093 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18094 Change default. Doc fix.
18095 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18096 (feedmail-binmail-linuxish-template): New constant.
18097 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18098 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18099 (feedmail-send-it): Add debug call.
18100 Use feedmail-queue-buffer-file-name, and
18101 feedmail-send-it-immediately-wrapper.
18102 (feedmail-message-action-send): Add debug call.
18103 Use feedmail-send-it-immediately-wrapper.
18104 (feedmail-queue-express-to-queue): Add debug call.
18105 Run feedmail-queue-express-hook.
18106 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18107 (feedmail-message-action-help-blat):
18108 Rename from feedmail-queue-send-edit-prompt-help-first.
18109 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18110 Check line-endings. Handle errors better.
18111 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18112 Doc fix. Add debug call.
18113 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18114 Use feedmail-queue-send-edit-prompt-inner.
18115 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18116 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18117 from feedmail-queue-send-edit-prompt.
18118 (feedmail-queue-send-edit-prompt-help)
18119 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18120 (feedmail-tidy-up-slug): Add debug call.
18121 Respect feedmail-queue-slug-suspect-regexp.
18122 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18123 (feedmail-dump-message-to-queue): Add debug call.
18124 Expand queue-directory.
18125 (feedmail-dump-message-to-queue): Change message slightly.
18126 Use feedmail-say-chatter.
18127 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18128 (feedmail-send-it-immediately-wrapper): New function.
18129 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18130 Insert empty string rather than newline. Handle full-frame case.
18131 Use catch/throw. Use feedmail-say-chatter.
18132 (feedmail-fiddle-from): Try mail-host-address.
18133 (feedmail-default-message-id-generator): Doc fix.
18134 Bind system-time-locale. Handle missing end.
18135 (feedmail-fiddle-x-mailer): Add debug call.
18136 Handle feedmail-x-mailer-line being nil.
18137 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18138 Add debug call. Use buffer-substring-no-properties.
18139 (feedmail-say-debug, feedmail-say-chatter): New functions.
18140 (feedmail-find-eoh): Give an explicit error.
18141
18142 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18143
18144 * net/newst-treeview.el (newsticker-treeview-face): Change default
18145 family from helvetica to sans.
18146 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18147 etc/images/newsticker.
18148
18149 * net/newst-reader.el (newsticker-feed-face): Change default
18150 family from helvetica to sans.
18151
18152 * net/newst-plainview.el (newsticker-new-item-face)
18153 (newsticker-old-item-face, newsticker-immortal-item-face)
18154 (newsticker-obsolete-item-face, newsticker-date-face)
18155 (newsticker-statistics-face): Change default family from
18156 helvetica to sans.
18157 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18158 etc/images/newsticker.
18159
18160 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18161 (newsticker--process-auto-mark-filter-match): Tell user about
18162 auto-marking.
18163
18164 2011-05-13 Didier Verna <didier@xemacs.org>
18165
18166 Common Lisp indentation improvements on defmethod and lambda-lists.
18167 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18168 TODO entries.
18169 (lisp-lambda-list-keyword-parameter-indentation)
18170 (lisp-lambda-list-keyword-parameter-alignment)
18171 (lisp-lambda-list-keyword-alignment): New customizable user options.
18172 (lisp-indent-defun-method): Improve docstring.
18173 (extended-loop-p): Fix comment.
18174 (lisp-indent-lambda-list-keywords-regexp): New variable.
18175 (lisp-indent-lambda-list): New function.
18176 (lisp-indent-259): Use it.
18177 (lisp-indent-defmethod): Support for more than one
18178 method qualifier and properly indent methods lambda-lists.
18179 (defgeneric): Provide a missing common-lisp-indent-function property.
18180
18181 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18182
18183 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18184 bounds for the empty string (bug#8667).
18185
18186 2011-05-13 Glenn Morris <rgm@gnu.org>
18187
18188 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18189
18190 * mail/sendmail.el (sendmail-program): Try executable-find first.
18191 (sendmail-send-it): `sendmail-program' cannot be unbound.
18192
18193 * calendar/appt.el (appt-make-list): Simplify.
18194 (appt-time-msg-list): Doc fix.
18195 (appt-check): Change mode-line message at the time of the appointment.
18196
18197 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18198
18199 * progmodes/ld-script.el (ld-script-keywords)
18200 (ld-script-builtins): Update keywords list.
18201
18202 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18203
18204 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18205
18206 * shell.el (shell-completion-vars): New function.
18207 (shell-mode):
18208 * simple.el (read-shell-command): Use it.
18209 (blink-matching-open): No need for " [...]" in minibuffer-message.
18210
18211 2011-05-12 Glenn Morris <rgm@gnu.org>
18212
18213 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18214 (appt-check): Simplify.
18215
18216 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18217
18218 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18219 literal "/dev/null".
18220
18221 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18222
18223 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18224 Fix typo.
18225
18226 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18227
18228 * progmodes/which-func.el (which-function):
18229 Use add-log-current-defun instead of add-log-current-defun-function,
18230 which might not be defined (Bug#8260).
18231
18232 2011-05-12 Glenn Morris <rgm@gnu.org>
18233
18234 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18235 Let byte-compile-initial-macro-environment always take precedence.
18236
18237 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18238
18239 * net/rcirc.el: Add support for SSL/TLS connections.
18240 (rcirc-server-alist): New field `encryption'.
18241 (rcirc): Check `encryption' settings.
18242 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18243 Merge make-local-variable into `set'.
18244 (rcirc--connection-open-p): New function.
18245 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18246 the process is not a network process (e.g. running gnutls-cli).
18247 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18248 Make rcirc-(en|de)code-coding-system local here.
18249 (rcirc-mode): Merge make-local-variable into `set'.
18250 (rcirc-parent-buffer): Make permanent buffer-local.
18251 (rcirc-multiline-minor-mode): Don't do it here.
18252 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18253 there's no server buffer.
18254
18255 2011-05-11 Glenn Morris <rgm@gnu.org>
18256
18257 * newcomment.el (comment-kill): Prefix "unused" local.
18258
18259 * term/w32console.el (get-screen-color): Declare.
18260
18261 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18262 Handle symbol elements of byte-compile-initial-macro-environment.
18263
18264 2011-05-10 Leo Liu <sdl.web@gmail.com>
18265
18266 * bookmark.el (bookmark-bmenu-mode-map):
18267 Bind bookmark-bmenu-search to `/'.
18268
18269 * mail/footnote.el: Convert to utf-8 encoding.
18270 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18271 (Footnote-unicode): New function.
18272 (footnote-style-alist): Add unicode style to the list.
18273 (footnote-style): Doc fix.
18274
18275 2011-05-10 Jim Meyering <meyering@redhat.com>
18276
18277 Fix doubled-word typos.
18278 * international/quail.el (quail-insert-kbd-layout): and and -> and
18279 * kermit.el: and and -> and
18280 * net/ldap.el (ldap-search-internal): to to -> to
18281 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18282 * progmodes/js.el (js-mode): and and -> and
18283 * textmodes/artist.el (artist-move-to-xy): at at -> at
18284 (artist-draw-region-trim-line-endings): if if -> if
18285 And Safetyc -> Safety.
18286 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18287
18288 2011-05-10 Glenn Morris <rgm@gnu.org>
18289 Stefan Monnier <monnier@iro.umontreal.ca>
18290
18291 * files.el (hack-one-local-variable-eval-safep):
18292 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18293
18294 2011-05-10 Glenn Morris <rgm@gnu.org>
18295
18296 * calendar/diary-lib.el (diary-list-entries-hook)
18297 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18298 (diary-nongregorian-marking-hook, diary-list-entries)
18299 (diary-include-other-diary-files, diary-mark-entries)
18300 (diary-mark-included-diary-files): Doc fixes.
18301
18302 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18303
18304 * misc.el: Require tabulated-list.el during compilation.
18305
18306 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18307
18308 * progmodes/compile.el (compilation-start):
18309 Run compilation-filter-hook for the async case too.
18310 (compilation-filter-hook): Doc fix.
18311
18312 2011-05-09 Deniz Dogan <deniz@dogan.se>
18313
18314 * wdired.el: Remove outdated installation comment. Fix usage
18315 comment.
18316
18317 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18318
18319 * misc.el: Implement new command `list-dynamic-libraries'.
18320 (list-dynamic-libraries--loaded-only-p): New variable.
18321 (list-dynamic-libraries--refresh): New function.
18322 (list-dynamic-libraries): New command.
18323
18324 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18325
18326 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18327 Fix the ant regexp to handle end-line and end-column info from jikes.
18328 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18329 higher priority to avoid clobbering by gnu.
18330
18331 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18332
18333 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18334 if the face has existing theme settings (Bug#8454).
18335
18336 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18337
18338 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18339 Only match variables declared via `my' or `our' (Bug#8261).
18340
18341 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18342 special file names `.' and `..' (Bug#8259).
18343
18344 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18345
18346 * progmodes/grep.el (grep-mode-font-lock-keywords):
18347 Remove buffer-changing entries.
18348 (grep-filter): New function.
18349 (grep-mode): Add it to compilation-filter-hook.
18350
18351 * progmodes/compile.el (compilation-filter-hook)
18352 (compilation-filter-start): New defvars.
18353 (compilation-filter): Call compilation-filter-hook prior to
18354 updating the process mark.
18355
18356 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18357
18358 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18359
18360 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18361
18362 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18363 mailclient-send-it even if window-system is nil. (Bug#8595)
18364
18365 * term/w32console.el (terminal-init-w32console):
18366 Call get-screen-color and use its output to set the frame
18367 background-mode. (Bug#8597)
18368
18369 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18370
18371 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18372 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18373 New functions.
18374 (defgeneric, eieio--defmethod): Use them.
18375 (eieio-defgeneric): Remove.
18376 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18377
18378 2011-05-07 Glenn Morris <rgm@gnu.org>
18379
18380 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18381 Use let rather than let*.
18382 (timeclock-find-discrep): Remove unused local.
18383
18384 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18385
18386 * calendar/appt.el (appt-time-msg-list): Doc fix.
18387
18388 2011-05-06 Noah Friedman <friedman@splode.com>
18389
18390 * apropos.el (apropos-print-doc): Only use
18391 emacs-lisp-docstring-fill-column when it is bound to an integer,
18392 per that variable's documentation.
18393
18394 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18395
18396 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18397 and warnings are not silently discarded (e.g. use -d instead of -P).
18398
18399 2011-05-06 Glenn Morris <rgm@gnu.org>
18400
18401 * calendar/appt.el (appt-message-warning-time): Doc fix.
18402 (appt-warning-time-regexp): New option.
18403 (appt-make-list): Respect appt-message-warning-time.
18404
18405 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18406 New options.
18407 (diary-add-to-list): Strip comments from the displayed string.
18408 (diary-mode): Set comment-start and comment-end.
18409
18410 * vc/diff-mode.el (smerge-refine-subst): Declare.
18411 (diff-refine-hunk): Don't require smerge-mode when compiling.
18412
18413 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18414
18415 * simple.el (list-processes): Return nil as the docstring says.
18416
18417 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18418
18419 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18420 to "".
18421 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18422 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18423 determining of binary transfer. (Bug#7383)
18424
18425 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18426
18427 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18428 Fix port computation bug. (Bug#8618)
18429
18430 2011-05-05 Glenn Morris <rgm@gnu.org>
18431
18432 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18433
18434 * simple.el (shell-dynamic-complete-functions)
18435 (comint-dynamic-complete-functions): Declare.
18436
18437 * net/network-stream.el (gnutls-negotiate):
18438 * simple.el (tabulated-list-print): Fix declarations.
18439
18440 * progmodes/gud.el (syntax-symbol, syntax-point):
18441 Remove unnecessary and incorrect declarations.
18442
18443 * emacs-lisp/check-declare.el (check-declare-scan):
18444 Handle byte-compile-initial-macro-environment in bytecomp.el.
18445
18446 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18447
18448 Fix earlier half-done eieio-defmethod change (bug#8338).
18449 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18450 Streamline and change calling convention.
18451 (defmethod): Adjust accordingly and simplify.
18452 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18453 new eieio--defmethod.
18454 (slot-boundp): Minor CSE simplification.
18455
18456 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18457
18458 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18459 (glasses-make-readable): Use glasses-separate-capital-groups.
18460
18461 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18462
18463 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18464 (warning-series): Doc fix.
18465 (display-warning): Don't try to create the buffer if we just found it.
18466
18467 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18468
18469 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18470 (autoload-find-generated-file): New function.
18471 (generate-file-autoloads): Bind generated-autoload-file to
18472 buffer-file-name.
18473 (update-file-autoloads, update-directory-autoloads):
18474 Use autoload-find-generated-file. If called interactively, prompt for
18475 output file (Bug#7989).
18476 (batch-update-autoloads): Doc fix.
18477
18478 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18479
18480 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18481
18482 2011-05-04 Glenn Morris <rgm@gnu.org>
18483
18484 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18485 function, so it follows changes in calendar-date-style.
18486 (diary-fancy-date-matcher): New function.
18487 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18488 (diary-fancy-font-lock-fontify-region-function):
18489 Use diary-fancy-date-pattern as a function.
18490
18491 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18492 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18493
18494 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18495
18496 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18497 instead of positional arguments. Allow :keylist and :crlfiles
18498 arguments.
18499 (open-gnutls-stream): Call it.
18500
18501 * net/network-stream.el (network-stream-open-starttls): Adjust to
18502 call `gnutls-negotiate' with :process and :hostname arguments.
18503
18504 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18505
18506 * minibuffer.el (completion--message): New function.
18507 (completion--do-completion, minibuffer-complete)
18508 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18509 (completion--do-completion): Don't ignore completion-auto-help when in
18510 icomplete-mode.
18511
18512 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18513 internal encoding (e.g. tibetan zero is not whitespace).
18514 (global-whitespace-mode): Prefer save-current-buffer.
18515 (whitespace-trailing-regexp): Remove useless save-match-data.
18516 (whitespace-empty-at-bob-regexp): Minor simplification.
18517
18518 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18519
18520 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18521
18522 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18523
18524 * textmodes/ispell.el (ispell-add-per-file-word-list):
18525 Use `concat' to create string for insertion.
18526
18527 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18528
18529 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18530 Avoid open-line which runs post-self-insert-hook.
18531 (bibtex-fill-entry): Remove unused `end' var.
18532
18533 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18534
18535 * textmodes/ispell.el (ispell-add-per-file-word-list):
18536 Protect against `nil' value of `comment-start' (Bug#8579).
18537
18538 2011-05-03 Leo Liu <sdl.web@gmail.com>
18539
18540 * isearch.el (isearch-yank-pop): New command.
18541 (isearch-mode-map): Bind it to `M-y'.
18542 (isearch-forward): Mention it.
18543
18544 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18545
18546 * simple.el (minibuffer-complete-shell-command): Remove.
18547 (minibuffer-local-shell-command-map): Use completion-at-point.
18548 (read-shell-command): Setup completion vars here instead.
18549 (read-expression-map): Bind TAB to symbol completion.
18550
18551 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18552 error directly rather via storing it into `results'.
18553
18554 2011-05-02 Leo Liu <sdl.web@gmail.com>
18555
18556 * vc/diff.el: Fix description.
18557
18558 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18559
18560 * server.el (server-eval-at): New function.
18561
18562 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18563
18564 * net/network-stream.el (open-network-stream): Take a :nowait
18565 parameter and pass it on to `make-network-process'.
18566 (network-stream-open-plain): Ditto.
18567
18568 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18569
18570 * faces.el (face-spec-set-match-display): Don't match toolkit
18571 options on terminal frames.
18572
18573 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18574
18575 * progmodes/pascal.el: Use lexical binding.
18576 (pascal-mode-map): Remove author preferences.
18577
18578 * pcomplete.el (pcomplete-std-complete): Don't abuse
18579 completion-at-point.
18580
18581 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18582
18583 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18584 removing code that has been dead since 1991 or so.
18585
18586 * startup.el (command-line): When warning about "_emacs", use a
18587 delayed warning to allow the user to filter it out.
18588
18589 2011-04-28 Deniz Dogan <deniz@dogan.se>
18590
18591 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18592 user has not joined.
18593
18594 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18595
18596 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18597 aren't any completions at point.
18598
18599 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18600
18601 * subr.el (display-delayed-warnings): New function.
18602 (delayed-warnings-hook): New variable.
18603
18604 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18605
18606 * minibuffer.el (completion-at-point, completion-help-at-point):
18607 Don't presume that a given completion-at-point-function will always
18608 use the same calling convention.
18609
18610 * pcomplete.el (pcomplete-completions-at-point):
18611 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18612 pcomplete-seen is non-nil.
18613 (pcomplete-comint-setup): Also recognize the new comint/shell
18614 completion functions.
18615 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18616 pcomplete-seen is non-nil.
18617
18618 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18619
18620 * calendar/icalendar.el (diary-lib): Add require statement.
18621 (icalendar--create-uid): Read out a uid from a text-property on
18622 the first character in the entry. This allows for code to add its
18623 own uid to the entry.
18624 (icalendar--convert-float-to-ical): Add export of
18625 `diary-float'-entries save for those with the optional DAY
18626 argument.
18627
18628 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18629
18630 * subr.el (shell-quote-argument): Use alternate escaping strategy
18631 when we spot a variable reference in a string.
18632
18633 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18634
18635 * cus-start.el (all): Define customization for debug-on-event.
18636
18637 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18638
18639 * subr.el (shell-quote-argument): Escape correctly under Windows.
18640
18641 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18642
18643 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18644
18645 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18646
18647 * net/tramp.el (tramp-process-actions): Add POS argument.
18648 Delete region between POS and (pos).
18649
18650 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18651 Use `nil' position in `tramp-process-actions' call.
18652 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18653
18654 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18655 position in `tramp-process-actions' call.
18656
18657 * net/trampver.el: Update release number.
18658
18659 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18660
18661 * custom.el (defcustom): Obey lexical-binding.
18662
18663 Fix octave-inf completion problems reported by Alexander Klimov.
18664 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18665 Inherit from octave-mode-syntax-table.
18666 (inferior-octave-mode): Set info-lookup-mode.
18667 (inferior-octave-completion-at-point): New function.
18668 (inferior-octave-complete): Use it and completion-in-region.
18669 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18670 comint-filename-completion.
18671 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18672 symbol elements which shouldn't be word elements.
18673 (octave-font-lock-keywords, octave-beginning-of-defun)
18674 (octave-function-header-regexp): Adjust regexps accordingly.
18675 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18676
18677 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18678
18679 * net/gnutls.el (gnutls-errorp): Declare before first use.
18680
18681 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18682
18683 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18684 verify-error, and verify-hostname-error parameters. Check whether
18685 default trustfile exists before going to use it. Add missing
18686 argument to gnutls-message-maybe call. Return value.
18687 Reported by Claudio Bley <claudio.bley@gmail.com>.
18688 (open-gnutls-stream): Add usage example.
18689
18690 * net/network-stream.el (network-stream-open-starttls): Give host
18691 parameter to `gnutls-negotiate'.
18692 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18693 * subr.el (shell-quote-argument): Escape correctly under Windows.
18694
18695 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18696
18697 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18698 Use correct match group (bug#8438).
18699
18700 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18701
18702 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18703 (package-menu--generate): New arg specifying packages to show.
18704 (package-menu-refresh, package-menu-execute, list-packages):
18705 Callers changed.
18706 (package-show-package-list): New function, replacing deleted
18707 package--list-packages (renamed because it is non-internal).
18708
18709 * finder.el (finder-list-matches): Use package-show-package-list
18710 instead of deleted package--list-packages.
18711
18712 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18713 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18714 (vc-annotate-mode-map): Bind it to RET.
18715
18716 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18717
18718 * progmodes/etags.el (next-file): Don't use set-buffer to change
18719 buffers (Bug#8478).
18720
18721 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18722
18723 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18724
18725 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18726 (apropos-accumulator): Doc fix.
18727 (apropos-function, apropos-macro, apropos-command)
18728 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18729 (apropos-plist): Add face property.
18730 (apropos-symbols-internal): Fix indentation.
18731 (apropos-print): Simplify help, and recognize apropos-multi-type.
18732 (apropos-print-doc): Use button-type-get to extract the button's
18733 face property. Fill docstring (Bug#8352).
18734
18735 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18736
18737 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18738
18739 * play/mpuz.el (mpuz-silent): Doc fix.
18740 (mpuz-mode-map): Use mapc.
18741 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18742 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18743 Fix typos in docstrings.
18744
18745 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18746 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18747
18748 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18749
18750 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18751
18752 * minibuffer.el (completion--do-completion): Avoid the "Next char
18753 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18754
18755 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18756 mouse-2 into unread-command-events, it is interpreted correctly.
18757
18758 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18759 (image-toggle-display): Doc fix.
18760
18761 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18762
18763 * textmodes/page.el (what-page): Use line-number-at-pos to
18764 calculate line number (Bug#6825).
18765
18766 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18767
18768 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18769 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18770 Pass argument NO-DEFAULT to `find-tag-interactive'.
18771
18772 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18773
18774 Lexical-binding cleanup.
18775
18776 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18777 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18778 * progmodes/ada-prj.el (ada-prj-initialize-values)
18779 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18780 (ada-prj-show-value):
18781 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18782 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18783 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18784 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18785 * progmodes/bug-reference.el (bug-reference-push-button):
18786 * progmodes/fortran.el (fortran-line-length):
18787 * progmodes/glasses.el (glasses-change):
18788 * progmodes/octave-mod.el (octave-fill-paragraph):
18789 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18790 (python-pdbtrack-grub-for-buffer, python-sentinel):
18791 * progmodes/sql.el (sql-save-connection):
18792 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18793 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18794 Mark unused parameters.
18795
18796 * progmodes/compile.el (compilation--flush-directory-cache)
18797 (compilation--flush-parse, compile-internal): Mark unused parameters.
18798 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18799 (compilation-next-error-function): Remove unused variable `timestamp'.
18800
18801 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18802 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18803
18804 * progmodes/dcl-mode.el (dcl-end-of-command):
18805 Remove unused variable `start'.
18806 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18807 (dcl-option-value-basic, dcl-option-value-offset)
18808 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18809 Mark unused parameters.
18810 (dcl-save-local-variable): Remove unused variable `val'.
18811 (mode): Declare.
18812
18813 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18814 Mark unused parameters.
18815 (delphi-ignore-changes): Move before first use.
18816 (delphi-charset-token-at): Remove unused variable `start'.
18817 (delphi-else-start): Remove unused variable `if-count'.
18818 (delphi-comment-block-start, delphi-comment-block-end):
18819 Remove unused variable `kind'.
18820 (delphi-indent-line): Remove unused variable `new-point'.
18821
18822 * progmodes/ebrowse.el (ebrowse-files-list)
18823 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18824 Mark unused parameters. Don't quote `lambda'.
18825 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18826 Don't quote `lambda'.
18827 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18828 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18829 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18830 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18831 Use `ignore-errors'.
18832 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18833 (ebrowse-view/find-file-and-search-pattern)
18834 (ebrowse-view/find-member-declaration/definition):
18835 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18836 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18837 Rename parameter PREFIX-ARG to PREFIX.
18838 (ebrowse-tags-read-name): Remove unused variables `start' and
18839 `member-info'.
18840 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18841 to `tags-file'.
18842
18843 * progmodes/etags.el (local-find-tag-hook): Declare.
18844 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18845 Mark unused parameters.
18846
18847 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18848 (executable-interpret): Mark unused parameter.
18849
18850 * progmodes/flymake.el (flymake-process-sentinel)
18851 (flymake-after-change-function)
18852 (flymake-create-temp-with-folder-structure)
18853 (flymake-get-include-dirs-dot): Mark unused parameters.
18854 (flymake-safe-delete-directory): Remove unused variable `err'.
18855
18856 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18857 (speedbar-timer-fn, speedbar-line-text)
18858 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18859 (speedbar-center-buffer-smartly): Declare functions.
18860 (gdb-find-watch-expression): Remove unused variable `array'.
18861 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18862 (gdb-starting): Mark unused parameters.
18863 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18864 (gdb-table-string): Remove unused variable `res'.
18865 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18866 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18867 (gdb-display-buffer): Remove unused variable `cur-size'.
18868
18869 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18870 allow lexical-binding compilation.
18871 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18872 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18873 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18874 Mark unused parameters.
18875 (gud-gdb-marker-filter): Remove unused variable `match'.
18876 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18877 lambda expressions and funcall them, instead of using `fset'.
18878
18879 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18880 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18881
18882 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18883 variable `header-beg'; use `let'.
18884
18885 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18886 `restart', `last-sexp' and `at-do'.
18887
18888 * progmodes/js.el (js--debug): Mark unused parameter.
18889 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18890 (js--splice-into-items): Remove unused variable `item'.
18891 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18892
18893 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18894 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18895 (makefile-complete): Remove unused variable `try'.
18896 (makefile-fill-paragraph, makefile-match-function-end):
18897 Mark unused parameters.
18898
18899 * progmodes/octave-inf.el (inferior-octave-complete):
18900 Remove unused variable `proc'.
18901 (inferior-octave-output-digest): Mark unused parameter.
18902
18903 * progmodes/perl-mode.el (perl-calculate-indent):
18904 Remove unused variable `err'.
18905
18906 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18907 (prolog-indent-line): Mark unused parameters.
18908 (prolog-indent-line): Remove unused variable `beg'.
18909
18910 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18911 (reporter-dont-compact-list): Declare.
18912
18913 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18914 Remove unused variable `char'.
18915 (sh-debug): Mark unused parameter.
18916 (sh-get-indent-info): Remove unused variable `start'.
18917 (sh-calculate-indent): Remove unused variable `var'.
18918
18919 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18920 (simula-electric-keyword): Remove unused variable `null'.
18921 (simula-search-backward, simula-search-forward): Remove unused
18922 variables `begin' and `end'.
18923
18924 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18925 Remove unused variable `pos'.
18926 (vera-electric-tab, vera-comment-uncomment-region):
18927 Mark unused parameters.
18928 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18929
18930 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18931
18932 * emacs-lisp/package.el (package--builtins, package-alist)
18933 (package-load-descriptor, package-built-in-p, package-activate)
18934 (define-package, package-installed-p)
18935 (package-compute-transaction, package-buffer-info)
18936 (package--push): Doc fix. Distinguish more clearly between
18937 version strings and version lists.
18938
18939 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18940
18941 Lexical-binding cleanup.
18942
18943 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18944 (5x5-make-mutate-best):
18945 * play/fortune.el (fortune-in-buffer):
18946 * play/gomoku.el (gomoku-init-display):
18947 * play/solitaire.el (solitaire, solitaire-do-check):
18948 * play/tetris.el (tetris-default-update-speed-function):
18949 Mark unused parameters.
18950
18951 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18952 (bubbles--shift): Remove unused variable `char-org'.
18953 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18954 (bubbles--show-images): Remove unused variable `char'.
18955
18956 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18957 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18958 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18959 (decipher-analyze-buffer): Use ?\s.
18960 (decipher-make-checkpoint): Remove unused variable `mapping'.
18961
18962 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18963
18964 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18965 Remove unused variable `result'; use `let'.
18966
18967 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18968 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18969 (gametree-children-shown-p, gametree-compute-reduced-score):
18970 Use `ignore-errors'.
18971
18972 * play/handwrite.el (ps-lpr-switches): Declare.
18973 (handwrite): Remove unused variables `pmin' and `lastp'.
18974
18975 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18976
18977 * play/landmark.el (landmark-init-display)
18978 (landmark-update-naught-weights): Mark unused parameters.
18979 (landmark-y): Remove unused variable `noise'. Simplify.
18980 (landmark-human-plays): Remove unused variable `score'.
18981
18982 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18983 (mpuz-try-proposal): Remove unused variable `game'.
18984
18985 * play/zone.el (life-patterns): Declare.
18986
18987 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
18988
18989 * vc/vc.el (ediff-vc-internal): Declare function.
18990
18991 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18992
18993 * shell.el: Use lexical-binding and std completion UI.
18994 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18995 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18996 comint-preoutput-filter-functions rather than on
18997 comint-output-filter-functions.
18998 (shell-command-completion, shell--command-completion-data)
18999 (shell-filename-completion, shell-environment-variable-completion)
19000 (shell-c-a-p-replace-by-expanded-directory): New functions.
19001 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19002 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19003 (shell-dynamic-complete-environment-variable): Use them.
19004 (shell-dynamic-complete-as-environment-variable)
19005 (shell-dynamic-complete-as-command): Remove.
19006 (shell-match-partial-variable): Match past point.
19007 * comint.el: Clean up use of completion-at-point-functions.
19008 (comint-completion-at-point): New function.
19009 (comint-mode): Use it completion-at-point-functions.
19010 (comint-dynamic-complete): Make it obsolete.
19011 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19012 (comint-c-a-p-replace-by-expanded-history): New function.
19013 (comint-dynamic-complete-functions)
19014 (comint-replace-by-expanded-history): Use it.
19015 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19016 termination strings. Try harder to avoid second try-completion.
19017 (completion-in-region-mode-map): Disable bindings that don't work yet.
19018
19019 * comint.el: Use lexical-binding. Require CL.
19020 (comint-dynamic-complete-functions): Use comint-filename-completion.
19021 (comint-completion-addsuffix): Tweak custom type.
19022 (comint-filename-completion, comint--common-suffix)
19023 (comint--common-quoted-suffix, comint--table-subvert)
19024 (comint--complete-file-name-data): New functions.
19025 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19026 (comint-dynamic-list-filename-completions): Use them.
19027 (comint-dynamic-simple-complete): Make obsolete.
19028
19029 * minibuffer.el (completion-in-region-mode):
19030 Keep completion-in-region-mode--predicate global.
19031 (completion-in-region--postch):
19032 Assume completion-in-region-mode--predicate is not null.
19033
19034 * progmodes/flymake.el (flymake-start-syntax-check-process):
19035 Obey `dir'. Simplify.
19036
19037 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19038 we're in VC after all.
19039
19040 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19041
19042 * vc/vc.el (vc-diff-build-argument-list-internal)
19043 (vc-version-ediff, vc-ediff): New commands.
19044 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19045
19046 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19047
19048 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19049 add sanity check.
19050
19051 * obsolete/erc-hecomplete.el: Make obsolete.
19052 * obsolete/: Standardize obsolescence info in the header.
19053
19054 2011-04-20 Glenn Morris <rgm@gnu.org>
19055
19056 * calendar/solar.el (solar-horizontal-coordinates):
19057 Use the longitude argument rather than `calendar-longitude'.
19058 (solar-date-next-longitude): Remove unused locals.
19059
19060 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19061
19062 * whitespace.el: New version 13.2.1.
19063
19064 2011-04-20 felix <EmacsWiki> (tiny change)
19065
19066 * whitespace.el (global-whitespace-mode): Keep highlight when
19067 switching between major modes on a file.
19068
19069 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19070
19071 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19072 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19073 multi-line comments as well.
19074
19075 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19076
19077 Lexical-binding cleanup.
19078
19079 * arc-mode.el (archive-mode-revert):
19080 * cmuscheme.el (scheme-interactively-start-process):
19081 * custom.el (custom-initialize-delay):
19082 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19083 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19084 * emacs-lock.el (emacs-lock-clear-sentinel):
19085 * ezimage.el (defezimage):
19086 * follow.el (follow-avoid-tail-recenter):
19087 * fringe.el (set-fringe-mode-1):
19088 * generic-x.el (bat-generic-mode-compile):
19089 * help-mode.el (help-info-variable, help-do-xref)
19090 (help-mode-revert-buffer):
19091 * help.el (view-emacs-todo):
19092 * iswitchb.el (iswitchb-completion-help):
19093 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19094 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19095 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19096 * locate.el (locate-update):
19097 * longlines.el (longlines-encode-region)
19098 (longlines-after-change-function):
19099 * outline.el (outline-isearch-open-invisible):
19100 * ps-def.el (declare-function, charset-dimension, char-width)
19101 (encode-char):
19102 * ps-mule.el (ps-mule-plot-string):
19103 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19104 (recentf-edit-list-select, recentf-edit-list-validate)
19105 (recentf-open-files-action):
19106 * rect.el (delete-whitespace-rectangle-line)
19107 (rectangle-number-line-callback):
19108 * register.el (window-configuration-to-register)
19109 (frame-configuration-to-register):
19110 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19111 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19112 (xselect-convert-to-targets, xselect-convert-to-delete)
19113 (xselect-convert-to-filename, xselect-convert-to-charpos)
19114 (xselect-convert-to-lineno, xselect-convert-to-colno)
19115 (xselect-convert-to-os, xselect-convert-to-host)
19116 (xselect-convert-to-user, xselect-convert-to-class)
19117 (xselect-convert-to-name, xselect-convert-to-integer)
19118 (xselect-convert-to-atom, xselect-convert-to-identity):
19119 * subr.el (declare, ignore, process-kill-without-query)
19120 (text-clone-maintain):
19121 * terminal.el (te-get-char, te-tic-sentinel):
19122 * tool-bar.el (tool-bar-make-keymap):
19123 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19124 * type-break.el (type-break-mode, type-break-noninteractive-query):
19125 * view.el (View-back-to-mark):
19126 * wid-browse.el (widget-browse-action, widget-browse-widget)
19127 (widget-browse-widgets, widget-browse-sexp):
19128 * widget.el (define-widget-keywords):
19129 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19130 Mark unused parameters.
19131
19132 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19133 (align-areas): Remove unused variable `look'.
19134 (align-region): Remove unused variables `real-end' and `pos-list'.
19135
19136 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19137
19138 * bindings.el (mode-line-modified, mode-line-remote):
19139 Mark unused parameters.
19140 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19141
19142 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19143 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19144
19145 * comint.el (comint-history-isearch-pop-state)
19146 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19147 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19148 (comint-substitute-in-file-name): Doc fix.
19149
19150 * completion.el (cmpl-statistics-block): Mark unused parameter.
19151 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19152 (save-completions-to-file, load-completions-from-file):
19153 Remove unused local variable `e'.
19154
19155 * composite.el (compose-chars): Remove unused variable `len'.
19156 (lgstring-insert-glyph): Remove unused variable `g'.
19157 (compose-glyph-string): Remove unused variables `ascent',
19158 `descent', `lbearing' and `rbearing'.
19159 (compose-glyph-string-relative): Remove unused variables
19160 `lbearing', `rbearing' and `wadjust'.
19161 (compose-gstring-for-graphic): Remove unused variables `header',
19162 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19163 (compose-gstring-for-terminal): Remove unused variables `header'
19164 and `nchars'. Use `let', not `let*'.
19165
19166 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19167 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19168 (Custom-buffer-done, custom-buffer-create-internal)
19169 (custom-browse-visibility-action, custom-browse-group-tag-action)
19170 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19171 (widget-magic-mouse-down-action, custom-toggle-parent)
19172 (custom-add-parent-links, custom-toggle-hide-variable)
19173 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19174 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19175 (custom-face-menu-create, custom-variable-menu-create, get)
19176 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19177 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19178 (customize-apropos): Remove unused variable `tests'.
19179 (custom-group-value-create): Remove unused variable `hidden-p'.
19180 (sort-fold-case): Declare.
19181
19182 * cus-theme.el (custom-reset-standard-faces-list)
19183 (custom-reset-standard-variables-list): Declare.
19184 (customize-create-theme, custom-theme-revert, custom-theme-write)
19185 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19186 Mark unused parameters.
19187
19188 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19189
19190 * delim-col.el (delimit-columns-max): Move defvar before first use.
19191
19192 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19193 (describe-char): Don't quote `lambda'. Mark unused parameter.
19194
19195 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19196 (auto-insert): Declare.
19197 (desktop-restore-file-buffer): Rename desktop-* parameters;
19198 mark unused ones.
19199 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19200 (desktop-buffer): Rename desktop-* parameters.
19201
19202 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19203 (dframe-reposition-frame-xemacs, dframe-help-echo)
19204 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19205 Mark unused parameters.
19206
19207 * dired-aux.el (backup-extract-version-start, overwrite-query)
19208 (overwrite-backup-query, rename-regexp-query)
19209 (rename-non-directory-query): Declare.
19210 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19211 (dired-add-entry): Remove unused variable `orig-file-name'.
19212 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19213 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19214 `dired-copy-preserve-time' directly.
19215 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19216 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19217
19218 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19219 (dired-virtual-revert, dired-make-relative-symlink):
19220 Mark unused parameters.
19221 (manual-program): Declare.
19222 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19223 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19224 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19225
19226 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19227
19228 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19229
19230 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19231 Declare.
19232
19233 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19234
19235 * electric.el (Electric-command-loop): Rename parameter
19236 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19237
19238 * expand.el (expand-in-literal): Remove unused variable `here'.
19239
19240 * facemenu.el (facemenu-add-new-color):
19241 Remove unused variable `docstring'.
19242
19243 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19244 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19245 (face-attr-construct): Mark unused parameter. Doc fix.
19246 (read-color): Remove unused variable `hex-string'.
19247
19248 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19249 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19250 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19251 (display-buffer-other-frame): Remove unused variable `old-window'.
19252 (kill-buffer-hook): Declare.
19253 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19254 Mark unused parameters.
19255 (after-find-file): Pass 1 to `auto-save-mode', not t.
19256
19257 * files-x.el (auto-insert): Declare.
19258 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19259
19260 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19261 variable `buf'. Mark unused parameter.
19262 (find-lisp-insert-directory): Mark unused parameter.
19263
19264 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19265 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19266 (format-common-tail): Remove, unused.
19267 (format-deannotate-region): Remove unused variable `loc'.
19268 (format-annotate-region): Remove unused variable `p'.
19269 (format-annotate-single-property-change): Remove unused variables
19270 `default' and `tail'.
19271
19272 * forms.el (read-file-filter): Declare.
19273 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19274
19275 * frame.el (frame-creation-function-alist): Mark unused parameter.
19276 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19277
19278 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19279 Remove unused parameters.
19280 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19281 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19282
19283 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19284 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19285 (hfy-prepare-tag-map): Mark unused parameters.
19286 (htmlfontify-buffer): Use `called-interactively-p'.
19287
19288 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19289 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19290 (ibuffer-do-occur): Mark unused parameters.
19291 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19292 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19293
19294 * ibuffer.el: Don't quote `lambda'.
19295 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19296 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19297 Mark unused parameters.
19298
19299 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19300 (ido-completing-read): Mark unused parameters.
19301 (ido-copy-current-word): Mark unused parameters;
19302 remove unused variable `name'.
19303 (ido-sort-merged-list): Remove unused parameter `dirs'.
19304
19305 * ielm.el (ielm-input-sender): Mark unused parameter.
19306 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19307 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19308 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19309 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19310 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19311
19312 * image-dired.el (image-dired-display-thumbs): Remove unused
19313 variables `curr-file' and `count'.
19314 (image-dired-remove-tag): Remove unused variable `start'.
19315 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19316 variable `curr-file'
19317 (image-dired-rotate-original): Remove unused variable `temp-file'.
19318 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19319 Remove unused variable `file'.
19320 (image-dired-gallery-generate): Remove unused variable `curr'.
19321 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19322
19323 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19324
19325 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19326
19327 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19328
19329 * isearch.el (minibuffer-history-symbol): Declare.
19330 (isearch-edit-string): Remove unused variable `err'.
19331 (isearch-message-prefix, isearch-message-suffix):
19332 Mark unused parameters.
19333
19334 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19335
19336 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19337
19338 * makesum.el (double-column): Remove unused variable `cnt'.
19339
19340 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19341 (ido-ignore-item-temp-list): Declare.
19342
19343 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19344 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19345 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19346 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19347 `mouse-col-delta'.
19348
19349 * mouse-sel.el (mouse-extend-internal):
19350 Remove unused variable `orig-window-frame'.
19351
19352 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19353 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19354 Move declarations before first use.
19355 (pcomplete-opt): Mark unused parameters; doc fix.
19356
19357 * proced.el (proced-revert): Mark unused parameter.
19358 (proced-send-signal): Remove unused variable `err'.
19359
19360 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19361 Rename parameter PREFIX-ARG to ARG.
19362 (ps-basic-plot-string, ps-basic-plot-whitespace):
19363 Mark unused parameters.
19364
19365 * replace.el (replace-count): Define.
19366 (occur-revert-function): Mark unused parameters.
19367 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19368 (isearch-case-fold-search, isearch-string): Declare.
19369 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19370 bind `case-fold-search'. Remove unused variables `beg' and `end',
19371 and simplify.
19372 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19373 COUNT and bind `replace-count'.
19374 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19375 to COUNT.
19376
19377 * savehist.el (print-readably, print-string-length): Declare.
19378
19379 * shadowfile.el (shadow-expand-cluster-in-file-name):
19380 Remove unused variable `cluster'.
19381 (shadow-copy-file): Remove unused variable `i'.
19382 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19383 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19384 (shadow-define-literal-group, shadow-define-regexp-group)
19385 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19386
19387 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19388 (shell): Use `called-interactively-p'.
19389 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19390
19391 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19392 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19393 (delete-backward-char): Remove unused variable `ocol'.
19394 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19395 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19396 (event-apply-hyper-modifier, event-apply-shift-modifier)
19397 (event-apply-control-modifier, event-apply-meta-modifier):
19398 Mark unused parameters.
19399 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19400 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19401
19402 * speedbar.el (speedbar-ignored-directory-expressions)
19403 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19404 (speedbar-find-file, speedbar-dir-follow)
19405 (speedbar-directory-buttons-follow, speedbar-tag-find)
19406 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19407 (speedbar-buffers-line-directory, speedbar-buffer-click):
19408 Mark unused parameters.
19409 (speedbar-tag-file): Remove unused variable `mode'.
19410 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19411
19412 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19413
19414 * talk.el (talk): Remove unused variable `display'.
19415
19416 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19417 (tar-write-region-annotate): Mark unused parameter.
19418
19419 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19420 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19421 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19422 warning by another.
19423
19424 * time-stamp.el (time-stamp-string-preprocess):
19425 Remove unused variable `require-padding'.
19426
19427 * tree-widget.el (widget-glyph-enable): Declare.
19428 (tree-widget-action): Mark unused parameter.
19429
19430 * w32-fns.el (x-get-selection): Mark unused parameter.
19431 (autoload-make-program, generated-autoload-file): Declare.
19432
19433 * wdired.el (wdired-revert): Mark unused parameters.
19434 (wdired-xcase-word): Remove unused variable `err'.
19435
19436 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19437 (whitespace-help-scroll): Remove unused variable `data-help'.
19438
19439 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19440 (widget-image-insert, widget-after-change, default)
19441 (widget-default-format-handler, widget-default-notify)
19442 (widget-default-prompt-value, widget-info-link-action)
19443 (widget-url-link-action, widget-function-link-action)
19444 (widget-variable-link-action, widget-file-link-action)
19445 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19446 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19447 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19448 (widget-insert-button-action, widget-delete-button-action, visibility)
19449 (widget-documentation-link-action, widget-documentation-string-action)
19450 (widget-const-prompt-value, widget-regexp-match, symbol)
19451 (widget-coding-system-prompt-value)
19452 (widget-key-sequence-value-to-external, sexp)
19453 (widget-sexp-value-to-internal, character, vector, cons)
19454 (widget-choice-prompt-value, widget-boolean-prompt-value)
19455 (widget-color--choose-action): Mark unused parameters.
19456 (widget-item-match-inline, widget-choice-match-inline)
19457 (widget-checklist-match, widget-checklist-match-inline)
19458 (widget-group-match): Rename parameter VALUES to VALS.
19459 (widget-field-value-set): Remove unused variable `size'.
19460 (widget-color-action): Remove unused variables `value' and `start'.
19461
19462 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19463 variable `dir'. Doc fix.
19464 (windmove-find-other-window): Don't pass it.
19465
19466 * window.el (count-windows): Mark unused parameter.
19467 (bw-adjust-window): Remove unused variable `err'.
19468
19469 * woman.el (woman-file-name): Remove unused variable `default'.
19470 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19471 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19472 (global-font-lock-mode): Declare.
19473 (woman-decode-region): Mark unused parameter.
19474 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19475
19476 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19477 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19478 (x-dnd-handle-moz-url): Remove unused variable `title'.
19479 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19480
19481 * xml.el (xml-parse-tag, xml-parse-attlist):
19482 Remove unused variable `pos'.
19483
19484 2011-04-19 Glenn Morris <rgm@gnu.org>
19485
19486 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19487 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19488 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19489 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19490 * calendar/cal-html.el (cal-html-insert-minical):
19491 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19492 (calendar-mark-date-pattern):
19493 Prefix "unused" locals.
19494
19495 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19496 optional argument `style'.
19497
19498 * calendar/appt.el (appt-make-list):
19499 * calendar/cal-china.el (calendar-chinese-date-string):
19500 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19501 (diary-hebrew-yahrzeit):
19502 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19503 * calendar/calendar.el (calendar-generate-window):
19504 * calendar/time-date.el (time-to-days):
19505 Remove unused local variables.
19506
19507 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19508
19509 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19510 glyphless-char-display table.
19511 (tabulated-list-glyphless-char-display): New var.
19512
19513 2011-04-18 Sam Steingold <sds@gnu.org>
19514
19515 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19516 to acknowledgments.
19517
19518 2011-04-17 Glenn Morris <rgm@gnu.org>
19519
19520 * calendar/diary-lib.el (diary-sexp-entry):
19521 * calendar/holidays.el (holiday-sexp):
19522 Set debug-on-error rather than the removed stack-trace-on-error.
19523
19524 2011-04-16 Glenn Morris <rgm@gnu.org>
19525
19526 * progmodes/f90.el: Use lexical-binding.
19527 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19528
19529 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19530
19531 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19532 (mail-mode): Setup mailalias completion here instead.
19533 * mail/mailalias.el: Use lexical-binding.
19534 (pattern, mailalias-done): Declare dynamic.
19535 (mail-completion-at-point-function): New function, from mail-complete.
19536 (mail-complete): Use it.
19537 (mail-completion-expand): New function.
19538 (mail-get-names): Use it.
19539 (mail-directory, mail-directory-process, mail-directory-stream):
19540 Don't use `pattern' for lexically bound arg.
19541
19542 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19543
19544 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19545 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19546 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19547
19548 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19549 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19550 (byte-interactive-p): Define them again, for use when inlining
19551 old code.
19552
19553 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19554
19555 * loadup.el: Use `string-to-number', not `string-to-int'.
19556
19557 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19558
19559 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19560 gud-gdb-complete-command.
19561 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19562 (gud-gdb-completion-at-point): New function.
19563 (gud-gdb-completions): Remove.
19564
19565 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19566
19567 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19568 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19569 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19570 whether `executable-find' is bound.
19571
19572 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19573
19574 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19575
19576 * minibuffer.el (completion-in-region-mode-predicate)
19577 (completion-in-region-mode--predicate): New vars.
19578 (completion-in-region, completion-in-region--postch)
19579 (completion-in-region-mode): Use them.
19580 (completion--capf-wrapper): Also return the hook function.
19581 (completion-at-point, completion-help-at-point):
19582 Adjust and provide a predicate.
19583
19584 Preserve arg names for advice of subr and lexical functions (bug#8457).
19585 * help-fns.el (help-function-arglist): Consolidate the subr and
19586 new-byte-code cases. Add argument `preserve-names' to extract names
19587 from the docstring when needed.
19588 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19589 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19590 (ad-arglist): Use help-function-arglist's new arg.
19591 (ad-definition-type): Use cond.
19592
19593 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19594
19595 * autorevert.el (auto-revert-handler):
19596 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19597 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19598 Don't quote lambda.
19599
19600 * image-mode.el (image-transform-set-scale):
19601 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19602
19603 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19604
19605 * net/network-stream.el (network-stream-open-starttls): Only do
19606 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19607 Upgrades via gnutls-cli are too slow to be done opportunistically.
19608
19609 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19610
19611 * dframe.el (dframe-current-frame): Remove spurious quote.
19612
19613 2011-04-12 Glenn Morris <rgm@gnu.org>
19614
19615 * calendar/cal-tex.el (cal-tex-end-document):
19616 Try to automatically use latin1 input if needed.
19617
19618 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19619 Don't try to cons a mark onto an empty element.
19620
19621 2011-04-11 Leo Liu <sdl.web@gmail.com>
19622
19623 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19624 buffers.
19625 (ido-kill-buffer-at-head): Support killing virtual buffers.
19626
19627 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19628
19629 * minibuffer.el (completion-show-inline-help): New var.
19630 (completion--do-completion, minibuffer-complete)
19631 (minibuffer-force-complete, minibuffer-complete-word):
19632 Inhibit minibuffer messages if completion-show-inline-help is nil.
19633
19634 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19635 to avoid interference from inline help (Bug#5849).
19636
19637 2011-04-10 Leo Liu <sdl.web@gmail.com>
19638
19639 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19640 Fix typo.
19641
19642 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19643
19644 * image-mode.el (image-toggle-display-image): Signal an error if
19645 not in Image mode.
19646 (image-transform-mode, image-transform-resize)
19647 (image-transform-set-rotation): Doc fix.
19648 (image-transform-set-resize): Delete.
19649 (image-transform-set-scale, image-transform-fit-to-height)
19650 (image-transform-fit-to-width): Handle image-toggle-display-image
19651 and image-transform-resize directly.
19652
19653 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19654
19655 * doc-view.el (doc-view-fit-width-to-window)
19656 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19657 New functions for fitting the shown image to the Emacs window size.
19658 (doc-view-mode-map): Add bindings for the new functions.
19659
19660 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19661
19662 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19663 Fix typo in docstring.
19664
19665 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19666
19667 * files.el (file-size-human-readable): Produce one digit after
19668 decimal, like "ls -lh" does.
19669
19670 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19671 the file size representation.
19672
19673 * simple.el (list-processes): If async subprocesses are not
19674 available, error out with a clear error message.
19675
19676 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19677
19678 * help.el (help-form-show): New function, to be called from C.
19679 Put help-form output in a buffer named differently than *Help*.
19680
19681 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19682
19683 * files.el (file-size-human-readable): New function.
19684
19685 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19686 computing the representation inline. Don't require `cl'.
19687
19688 2011-04-08 Glenn Morris <rgm@gnu.org>
19689
19690 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19691
19692 * net/browse-url.el (browse-url-firefox):
19693 Test system-type, not system-configuration.
19694
19695 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19696 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19697 Use log-edit-empty-buffer-p. (Bug#7598)
19698
19699 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19700 (rlogin-mode-map): Initialize in the defvar.
19701 (rlogin): Use ignore-errors.
19702
19703 * replace.el (occur-mode-map): Some fixes for menu items.
19704
19705 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19706
19707 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19708
19709 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19710
19711 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19712 issuing unused warnings.
19713
19714 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19715 macro directly.
19716
19717 * simple.el: Lisp reimplement of list-processes. Based on an
19718 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19719 (process-menu-mode): New major mode.
19720 (list-processes--refresh, list-processes):
19721 (process-menu-visit-buffer): New functions.
19722
19723 * files.el (save-buffers-kill-emacs): Don't assume any return
19724 value of list-processes, which is undocumented anyway.
19725
19726 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19727
19728 * emacs-lisp/tabulated-list.el: New file.
19729
19730 * emacs-lisp/package.el: Use Tabulated List mode.
19731 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19732 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19733 table format using Tabulated List mode variables.
19734 (package--push): New macro, replacing package-list-maybe-add.
19735 (package-menu--generate): Use package--push. Renamed from
19736 package--generate-package-list.
19737 (package-menu-refresh, list-packages): Use it.
19738 (package-menu--print-info): Rename from package-print-package.
19739 Return insertion data instead of inserting it directly.
19740 (package-menu-describe-package, package-menu-execute):
19741 Use tabulated-list-get-id.
19742 (package-menu-mark-delete, package-menu-mark-install)
19743 (package-menu-mark-unmark, package-menu-backup-unmark)
19744 (package-menu-mark-obsolete-for-deletion):
19745 Use tabulated-list-put-tag.
19746 (package--list-packages, package-menu-revert)
19747 (package-menu-get-package, package-menu-get-version)
19748 (package-menu-sort-by-column): Functions deleted.
19749 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19750 (package-menu--status-predicate, package-menu--version-predicate)
19751 (package-menu--name-predicate)
19752 (package-menu--description-predicate): Handle arguments in the
19753 Tabulated List format.
19754 (package-list-packages-no-fetch): Call list-packages.
19755
19756 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19757
19758 * files.el (after-find-file-from-revert-buffer): Remove variable.
19759 (after-find-file): Don't bind it.
19760 (revert-buffer-in-progress-p): New variable.
19761 (revert-buffer): Bind it.
19762 Pass nil for `after-find-file-from-revert-buffer'.
19763
19764 * saveplace.el (save-place-find-file-hook): Use new variable
19765 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19766
19767 2011-04-06 Glenn Morris <rgm@gnu.org>
19768
19769 * Makefile.in (AUTOGEN_VCS): New variable.
19770 (autoloads): Use $AUTOGEN_VCS.
19771
19772 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19773 * calendar/calendar.el (calendar-mode-map):
19774 Check for toolkit scroll bars. (Bug#8305)
19775
19776 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19777
19778 * minibuffer.el (completion-in-region--postch)
19779 (completion-in-region-mode): Remove unnecessary messages.
19780
19781 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19782
19783 * font-lock.el (font-lock-refresh-defaults):
19784 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19785 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19786
19787 * info.el (Info-directory-list, Info-read-node-name-2)
19788 (Info-split-parameter-string): Doc fixes.
19789 (Info-virtual-nodes): Reflow docstring.
19790 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19791 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19792 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19793 Fix typos in docstrings.
19794 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19795 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19796 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19797 (Info-restore-desktop-buffer): Mark unused parameters.
19798 (Info-directory-find-file, Info-directory-find-node)
19799 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19800 (Info-virtual-index-find-node, Info-apropos-find-file)
19801 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19802 Mark unused parameters; fix typos in docstrings.
19803 (Info-virtual-index): Remove unused local variable `nodename'.
19804
19805 2011-04-05 Deniz Dogan <deniz@dogan.se>
19806
19807 * net/rcirc.el: Update my e-mail address.
19808 (rcirc-mode-map): Remove M-o binding.
19809
19810 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19811
19812 * startup.el (command-line): Save the cursor's theme-face
19813 directly, instead of using face-override-spec.
19814
19815 * custom.el (load-theme): Minor optimization in assigning faces.
19816
19817 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19818
19819 * help-fns.el (describe-variable): Complete all variables having
19820 documentation, including keywords.
19821 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19822
19823 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19824
19825 Convert to lexical-binding.
19826
19827 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19828 (bs--get-marked-string, bs--get-modified-string)
19829 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19830 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19831 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19832
19833 * ehelp.el (electric-help-execute-extended)
19834 (electric-help-ctrl-x-prefix):
19835 * hexl.el (hexl-revert-buffer-function):
19836 * linum.el (linum-after-change, linum-after-scroll):
19837 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19838
19839 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19840
19841 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19842
19843 * epa-dired.el:
19844 * epa-mail.el:
19845 * epa-hook.el:
19846 * epa-file.el:
19847 * epa.el:
19848 * epg.el: Use lexical binding.
19849
19850 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19851
19852 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19853
19854 * textmodes/flyspell.el (flyspell-word): Recognize default
19855 dictionary case for flyspell-mark-duplications-exceptions.
19856 Use regexp matching for languages.
19857 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19858 default dictionary (Bug#7926).
19859
19860 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19861
19862 * emacs-lisp/package.el (package--with-work-buffer):
19863 Recognize https URLs.
19864
19865 * net/network-stream.el: Move from gnus/proto-stream.el.
19866 Change prefix to network-stream throughout.
19867 (open-protocol-stream): Merge into open-network-stream, leaving
19868 open-protocol-stream as an alias. Handle nil BUFFER args.
19869
19870 * subr.el (open-network-stream): Move to net/network-stream.el.
19871
19872 2011-04-02 Glenn Morris <rgm@gnu.org>
19873
19874 * find-dired.el (find-exec-terminator): New option.
19875 (find-ls-option): Test for -ls support.
19876 (find-ls-subdir-switches): Test for -b in find-ls-option.
19877 (find-dired, find-grep-dired): Doc fixes.
19878 (find-dired): Use find-exec-terminator.
19879
19880 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19881 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19882 (find-name-arg): Remove purecopy.
19883
19884 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19885 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19886 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19887 accordingly. Don't add the null-device if not needed.
19888
19889 * files.el (save-some-buffers): Doc fix.
19890
19891 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19892
19893 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19894
19895 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19896
19897 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19898 Use `dolist' rather than `mapcar'.
19899
19900 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19901
19902 Add lexical binding.
19903
19904 * subr.el (apply-partially): Use new closures rather than CL.
19905 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19906 (dolist, dotimes): Use slightly different expansion for lexical code.
19907 (functionp): Move to C.
19908 (letrec): New macro.
19909 (with-wrapper-hook): Use it and apply-partially instead of CL.
19910 (eval-after-load): Preserve lexical-binding.
19911 (save-window-excursion, with-output-to-temp-buffer): Turn them
19912 into macros.
19913
19914 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19915
19916 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19917 than the arglist.
19918 (help-add-fundoc-usage): Don't add `Not documented'.
19919 (help-function-arglist): Handle closures, subroutines, and new
19920 byte-code-functions.
19921 (help-make-usage): Remove leading underscores.
19922 (describe-function-1): Handle closures.
19923 (describe-variable): Use special-variable-p for completion.
19924
19925 * files.el (lexical-binding): Declare safe.
19926
19927 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19928 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19929 (pcase): Add `let' pattern.
19930 Change memoization so it actually works.
19931 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19932 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19933 <let>: New case.
19934
19935 * emacs-lisp/macroexp.el: Use lexical binding.
19936 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19937 Don't convert ' to #' without checking that it's indeed quoting
19938 a lambda.
19939
19940 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19941 Use eval-sexp-add-defvars.
19942 (eval-sexp-add-defvars): New fun.
19943
19944 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19945
19946 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19947 Don't autoload.
19948 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19949 than the internal `byte-compile-lambda'.
19950 (defmethod): Don't hide code under quotes.
19951 (eieio-defmethod): New `code' argument.
19952
19953 * emacs-lisp/eieio-comp.el: Remove.
19954
19955 * emacs-lisp/edebug.el (edebug-eval-defun)
19956 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19957 (edebug-toggle): Avoid `eval'.
19958
19959 * emacs-lisp/disass.el (disassemble-internal): Handle new
19960 `closure' objects.
19961 (disassemble-1): Handle new byte codes.
19962
19963 * emacs-lisp/cl.el (pushnew): Silence warning.
19964
19965 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19966 (cl-byte-compile-throw): Remove.
19967 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19968
19969 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19970 closures.
19971
19972 * emacs-lisp/cconv.el: New file.
19973
19974 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19975 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19976 (byte-compile-initial-macro-environment):
19977 Handle declare-function here.
19978 (byte-compile--lexical-environment): New var.
19979 (byte-stack-ref, byte-stack-set, byte-discardN)
19980 (byte-discardN-preserve-tos): New lap codes.
19981 (byte-interactive-p): Don't use any more.
19982 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19983 New macros.
19984 (byte-compile-lapcode): Use them and handle new lap codes.
19985 (byte-compile-obsolete): Remove.
19986 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19987 (byte-compile-arglist-warn): Check late def of inlinable funs.
19988 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19989 since they should have been expanded by now.
19990 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19991 (byte-compile-from-buffer): Remove unused second arg.
19992 (byte-compile-preprocess): New function.
19993 (byte-compile-toplevel-file-form): New function to distinguish
19994 file-form calls from outside from file-form calls from hunk-handlers.
19995 (byte-compile-file-form): Simplify.
19996 (byte-compile-file-form-defsubst): Remove.
19997 (byte-compile-file-form-defmumble): Simplify now that
19998 byte-compile-lambda always returns a byte-code-function.
19999 (byte-compile): Preprocess.
20000 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20001 Remove, not used any more.
20002 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20003 (byte-compile-make-args-desc): New funs.
20004 (byte-compile-lambda): Handle lexical functions. Always return
20005 a byte-code-function.
20006 (byte-compile-reserved-constants): New var, to make up room for
20007 closed-over variables.
20008 (byte-compile-constants-vector): Obey it.
20009 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20010 (byte-compile-macroexpand-declare-function): New function.
20011 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20012 byte-code-functions.
20013 (byte-compile-form): Check obsolescence here.
20014 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20015 (byte-compile-variable-ref): Remove.
20016 (byte-compile-dynamic-variable-op): New fun.
20017 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20018 (byte-compile-variable-set): New funs.
20019 (byte-compile-discard): Add 2 args.
20020 (byte-compile-stack-ref, byte-compile-stack-set)
20021 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20022 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20023 macroexpand-all instead.
20024 (byte-compile-quote-form): Remove.
20025 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20026 (byte-compile-bind, byte-compile-unbind): New funs.
20027 (byte-compile-let): Handle let* and lexical binding.
20028 (byte-compile-let*): Remove.
20029 (byte-compile-catch, byte-compile-unwind-protect)
20030 (byte-compile-track-mouse, byte-compile-condition-case):
20031 Handle a new :fun-body form, used for lexical scoping.
20032 (byte-compile-save-window-excursion)
20033 (byte-compile-with-output-to-temp-buffer): Remove.
20034 (byte-compile-defun): Simplify.
20035 (byte-compile-stack-adjustment): New fun.
20036 (byte-compile-out): Use it.
20037 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20038
20039 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20040 handler any more.
20041
20042 * emacs-lisp/byte-opt.el: Use lexical binding.
20043 (byte-inline-lapcode): Remove (to bytecomp).
20044 (byte-compile-inline-expand): Pay attention to inlining to/from
20045 lexically bound code.
20046 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20047 any more.
20048 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20049 any more and don't call compiler-macros.
20050 (byte-compile-splice-in-already-compiled-code): Remove.
20051 (byte-code): Don't inline any more.
20052 (disassemble-offset): Receive `bytes' as argument rather than via
20053 dynamic scoping.
20054 (byte-compile-tag-number): Declare before first use.
20055 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20056 `return' even if make-spliceable.
20057 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20058 obsolete interactive-p.
20059 (byte-optimize-lapcode): Optimize new lap-codes.
20060 Don't trip up on new form of `byte-constant' lap code.
20061
20062 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20063
20064 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20065
20066 * custom.el (custom-initialize-default, custom-declare-variable):
20067 Use `defvar'.
20068
20069 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20070 New variables.
20071 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20072 (COMPILE_FIRST): Add macroexp and cconv.
20073 * makefile.w32-in: Mirror changes in Makefile.in.
20074
20075 * vc/cvs-status.el:
20076 * vc/diff-mode.el:
20077 * vc/log-edit.el:
20078 * vc/log-view.el:
20079 * vc/smerge-mode.el:
20080 * textmodes/bibtex-style.el:
20081 * textmodes/css-mode.el:
20082 * startup.el:
20083 * uniquify.el:
20084 * minibuffer.el:
20085 * newcomment.el:
20086 * reveal.el:
20087 * server.el:
20088 * mpc.el:
20089 * emacs-lisp/smie.el:
20090 * doc-view.el:
20091 * dired.el:
20092 * abbrev.el: Use lexical binding.
20093
20094 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20095
20096 * info.el (info-display-manual): New function.
20097
20098 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20099
20100 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20101
20102 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20103
20104 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20105 an entry for that server in rcirc-authinfo. (Bug#8385)
20106
20107 2011-03-31 Glenn Morris <rgm@gnu.org>
20108
20109 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20110
20111 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20112
20113 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20114
20115 * progmodes/python.el (python-default-interpreter)
20116 (python-python-command-args, python-jython-command-args)
20117 (python-which-shell, python-which-args, python-which-bufname)
20118 (python-file-queue, python-comint-output-filter-function)
20119 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20120 variables and functions.
20121
20122 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20123
20124 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20125 (completion-in-region-mode): New minor mode.
20126 (completion-in-region): Use it.
20127 (completion-in-region--data, completion-in-region-mode-map): New vars.
20128 (completion-in-region--postch): New function.
20129 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20130 New vars.
20131 (completion--capf-wrapper): New function.
20132 (completion-at-point): Use it to track well-behavedness of
20133 hook functions.
20134 (completion-help-at-point): New command.
20135
20136 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20137
20138 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20139 syntax class to search for whitespace on a single line
20140 (Message-ID: <4D938140.4030905@redhat.com>).
20141
20142 2011-03-30 Leo Liu <sdl.web@gmail.com>
20143
20144 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20145 New commands.
20146 (edit-abbrevs-map): Bind them here.
20147 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20148
20149 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20150
20151 * allout.el (allout-hide-by-annotation, allout-flag-region):
20152 Reduce possibility of overlay leakage by making them volatile.
20153
20154 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20155 hash is not shared between buffers. Mode initialization is
20156 responsible for giving it a useful starting value.
20157 (allout-item-span): Reduce possibility of overlay leakage by
20158 making them volatile.
20159 (allout-widgets-count-buttons-in-region): Add diagnostic function
20160 for tracking down button overlay leaks.
20161
20162 2011-03-29 Leo Liu <sdl.web@gmail.com>
20163
20164 * ido.el (ido-read-internal): Use the default history var
20165 minibuffer-history if no HISTORY is specified.
20166
20167 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20168
20169 * net/imap.el (imap-shell-open, imap-process-connection-type):
20170 Use imap-process-connection-type for 'shell' streams as well as
20171 Kerberos, SSL, other subprocesses.
20172
20173 2011-03-28 Leo Liu <sdl.web@gmail.com>
20174
20175 * abbrev.el (abbrev-table-empty-p): New function.
20176 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20177 nonempty ones. (Bug#5937)
20178
20179 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20180
20181 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20182
20183 2011-03-27 Leo Liu <sdl.web@gmail.com>
20184
20185 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20186 for foreground and background colors.
20187 (ansi-color-make-color-map): Adapt.
20188
20189 2011-03-25 Leo Liu <sdl.web@gmail.com>
20190
20191 * midnight.el (midnight-time-float): Remove. Note it calculates
20192 the microsecond component incorrectly and seconds-to-time does the
20193 same job.
20194 Remove redundant (require 'timer).
20195
20196 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20197 (ido-completions): Remove unused arguments. (Bug#8329)
20198
20199 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20200
20201 * minibuffer.el (completion--flush-all-sorted-completions):
20202 Remove itself from hook.
20203 (completion-at-point): Let the functions perform the completion
20204 immediately and return nil or t.
20205 * comint.el (comint-dynamic-complete-functions): Now identical to
20206 completion-at-point-functions.
20207 (comint-dynamic-list-input-ring): Remove unused var `index'.
20208 (comint--match-partial-filename, comint--unquote&expand-filename):
20209 New funs, split from comint-match-partial-filename.
20210 (comint-dynamic-complete): Use completion-at-point.
20211 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20212
20213 2011-03-24 Drew Adams <drew.adams@oracle.com>
20214
20215 * thingatpt.el: Support `defun'.
20216
20217 2011-03-23 Leo Liu <sdl.web@gmail.com>
20218
20219 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20220
20221 * help-mode.el (help-mode-finish): Tweak regexp.
20222
20223 2011-03-23 Glenn Morris <rgm@gnu.org>
20224
20225 * eshell/esh-opt.el (eshell-eval-using-options):
20226 Do not bind unused local variable `eshell-option-stub'.
20227
20228 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20229
20230 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20231
20232 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20233 keymap variable in `with-no-warnings' to avoid a warning when the
20234 keymap has been already `defconst'ed.
20235
20236 2011-03-22 Leo Liu <sdl.web@gmail.com>
20237
20238 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20239 encode all chars in abbrevs; otherwise use emacs-mule or
20240 utf-8-emacs. (Bug#8308)
20241
20242 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20243
20244 * simple.el (backward-delete-char-untabify):
20245 Avoid warning about using `delete-backward-char'.
20246
20247 * image.el (image-type-file-name-regexps): Make it variable.
20248 `imagemagick-register-types' modifies it, and the user may want
20249 to add new extensions for known image types.
20250 (imagemagick-register-types): Throw error if not using ImageMagick.
20251
20252 2011-03-22 Leo Liu <sdl.web@gmail.com>
20253
20254 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20255 located before rcirc-prompt-end-marker.
20256 (rcirc-complete): Error if point is not after rcirc prompt.
20257 Handle the case when table is nil.
20258 (rcirc-user-authenticated): Define to fix compiler warning.
20259
20260 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20261
20262 * custom.el (custom--inhibit-theme-enable): Make it affect only
20263 custom-theme-set-variables and custom-theme-set-faces.
20264 (provide-theme): Ignore custom--inhibit-theme-enable.
20265 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20266 (custom-enabling-themes): Delete variable.
20267 (enable-theme): Accept only loaded themes as arguments.
20268 Ignore the special custom-enabled-themes variable.
20269 (custom-enabled-themes): Forbid themes from setting this.
20270 Eliminate use of custom-enabling-themes.
20271 (custom-push-theme): Quote "changed" custom var entry.
20272
20273 2011-03-21 Leo Liu <sdl.web@gmail.com>
20274
20275 * ido.el (ido-read-internal): Add ido-selected to history instead
20276 of user input.
20277
20278 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20279
20280 * subr.el (deferred-action-list, deferred-action-function):
20281 Mark obsolete.
20282
20283 2011-03-21 Leo Liu <sdl.web@gmail.com>
20284
20285 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20286 change on 2011-02-13 (bug#8309).
20287
20288 * minibuffer.el (read-file-name-function): Change default value.
20289 (read-file-name--defaults): Rename from read-file-name-defaults.
20290 (read-file-name-default): Rename from read-file-name.
20291 (read-file-name): Call read-file-name-function.
20292
20293 2011-03-21 Glenn Morris <rgm@gnu.org>
20294
20295 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20296 Doc fixes.
20297
20298 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20299
20300 * cus-theme.el: Add missing provide statement.
20301 (customize-create-theme): Extract theme value correctly.
20302 (custom-theme-visit-theme): Autoload.
20303 (customize-create-theme): Prompt before inserting default faces.
20304
20305 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20306
20307 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20308 units and musical notes.
20309
20310 2011-03-20 Leo Liu <sdl.web@gmail.com>
20311
20312 * ido.el (ido-read-internal): Use completing-read-default.
20313 (ido-completing-read): Fix compatibility with completing-read.
20314
20315 2011-03-20 Christian Ohler <ohler@gnu.org>
20316
20317 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20318 (ert-delete-all-tests): Use `called-interactively-p' rather than
20319 `interactive-p'.
20320 (ert--make-xrefs-region): Respect END.
20321
20322 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20323
20324 * dired-aux.el (dired-create-directory): Signal an error if the
20325 directory already exists (Bug#8246).
20326
20327 * facemenu.el (list-colors-display): Call list-faces-display
20328 inside with-help-window.
20329 (list-colors-print): Use display property to align the final
20330 column, instead of checking window-width.
20331
20332 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20333
20334 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20335 windows-nt systems.
20336 (emerge-protect-metachars): Quote correctly for ms-dos and
20337 windows-nt systems.
20338
20339 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20340
20341 * info.el (info-initialize): Replace all uses of `:' with
20342 path-separator for compatibility with non-Unix systems.
20343 Cache quoting of path-separator. (Bug#8258)
20344
20345 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20346
20347 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20348 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20349 (mouse-avoidance-mode): Fix typos in docstrings.
20350
20351 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20352
20353 * startup.el (package-subdirectory-regexp): Move from package.el.
20354 Omit \\` and \\', and let callers add them.
20355
20356 * emacs-lisp/package.el (package-strip-version)
20357 (package-load-all-descriptors): Add \\` and \\' to
20358 package-subdirectory-regexp before using it.
20359 (package-untar-buffer): New arg DIR; ensure that file untars only
20360 into this expected directory. Remove superfluous delete-region.
20361 (package-unpack): Caller changed.
20362 (package-tar-file-info): Use package-subdirectory-regexp.
20363
20364 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20365
20366 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20367 diff-mode-shared-map (bug#8284).
20368 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20369
20370 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20371
20372 * calendar/time-date.el (format-seconds): Use assoc instead of
20373 assoc-string, since assoc-string doesn't exist in XEmacs.
20374
20375 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20376
20377 * custom.el (custom-known-themes): Reflow docstring.
20378 (custom-theme-load-path): Fix typo in docstring.
20379 (load-theme): Fix typo in error message.
20380 (custom-available-themes, custom-variable-theme-value):
20381 Use `let', not `let*'.
20382
20383 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20384
20385 * calc/README: Mention inclusion of musical notes.
20386
20387 * calc/calc-units.el (calc-lu-quant): Rename from
20388 `calc-logunits-quantity'.
20389 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20390 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20391 (calc-db): Rename from `calc-dblevel'.
20392 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20393 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20394 (calc-np): Rename from `calc-nplevel'.
20395 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20396 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20397 (calc-lu-plus): Rename from `calc-logunits-add'.
20398 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20399 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20400 (calc-lu-minus): Rename from `calc-logunits-sub'.
20401 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20402 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20403 (calc-lu-times): Rename from `calc-logunits-mul'.
20404 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20405 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20406 (calc-lu-divide): Rename from `calc-logunits-div'.
20407 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20408 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20409
20410 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20411 functions being autoloaded.
20412
20413 * calc/calc.el (calc-lu-power-reference): Rename from
20414 `calc-logunits-power-reference'.
20415 (calc-lu-field-reference): Rename from
20416 `calc-logunits-field-reference'.
20417
20418 * calc/calc-help.el (calc-l-prefix-help):
20419 Mention musical note functions.
20420
20421 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20422
20423 * minibuffer.el (completion-all-sorted-completions):
20424 Use :completion-cycle-penalty text property if present.
20425
20426 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20427
20428 * allout.el (allout-yank-processing): Adjust for new rebulleting
20429 regime so bullet being yanked is used without prompting the user
20430 for a choice.
20431
20432 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20433
20434 * startup.el (command-line): Warn the user that _emacs is deprecated.
20435
20436 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20437
20438 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20439 (delphi-verbose, delphi-comment-face, delphi-string-face)
20440 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20441 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20442 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20443 (delphi-new-comment-line, delphi-font-lock-defaults)
20444 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20445 Fix typos in docstrings.
20446
20447 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20448
20449 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20450 Invert the roles of character and string values for INSTEAD, so a
20451 string is used for the more common case of a defaulting prompt.
20452
20453 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20454
20455 * progmodes/ruby-mode.el (ruby-backward-sexp):
20456 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20457 * play/gamegrid.el (gamegrid-make-face):
20458 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20459 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20460 * notifications.el (notifications-notify):
20461 * net/xesam.el (xesam-search-engines):
20462 * net/quickurl.el (quickurl-list-insert):
20463 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20464
20465 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20466
20467 * startup.el (command-line): Update package subdirectory regexp.
20468
20469 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20470
20471 * allout.el (allout-abbreviate-flattened-numbering)
20472 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20473
20474 * subr.el (read-char-choice): Only show the cursor after the prompt,
20475 not after the answer.
20476
20477 2011-03-15 Kevin Ryde <user42@zip.com.au>
20478
20479 * help-fns.el (variable-at-point): Skip leading quotes, if any
20480 (bug#8253).
20481
20482 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20483
20484 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20485 warning message.
20486
20487 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20488
20489 * shell.el (shell): When called interactively, offer to change the
20490 shell file name on remote hosts.
20491
20492 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20493
20494 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20495 integration for LDAP parameters. The host, base, user or binddn,
20496 and secret tokens can be specified in a netrc file, for instance.
20497 This is optional because an `auth-source' parameter must be
20498 specified in the search attributes.
20499
20500 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20501
20502 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20503
20504 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20505
20506 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20507 into declaration. Remove redundant and harmful binding.
20508
20509 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20510
20511 * files.el (file-ownership-preserved-p): Pass `integer' as an
20512 explicit 2nd argument to `file-attributes'. If the file's owner
20513 is the Administrators group on Windows, and the current user is
20514 Administrator, consider that a match.
20515
20516 * server.el (server-ensure-safe-dir): Consider server directory
20517 safe on MS-Windows if its owner is the Administrators group while
20518 the current Emacs user is Administrator. Use `=' to compare
20519 numerical UIDs, since they could be integers or floats.
20520
20521 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20522
20523 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20524
20525 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20526
20527 Sync with Tramp 2.2.1.
20528
20529 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20530
20531 * net/trampver.el: Update release number.
20532
20533 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20534
20535 * progmodes/compile.el (compilation--previous-directory): Fix up
20536 various nil/dead-marker mismatches (bug#8014).
20537 (compilation-directory-properties, compilation-error-properties):
20538 Don't call it at a position past the one we're about to change.
20539
20540 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20541 Disable obsolescence warnings in the file that declares it.
20542
20543 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20544
20545 * allout-widgets.el (allout-widgets-tally):
20546 Initialize allout-widgets-tally as a hash table rather than nil to
20547 prevent mode-line redisplay warnings. Also, clarify the module
20548 description and fix a comment typo.
20549
20550 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20551
20552 * help-fns.el (describe-variable): Don't complete keywords.
20553 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20554
20555 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20556
20557 * emacs-lisp/package.el (package-version-join): Impose a standard
20558 string representation for pre/alpha/beta version lists.
20559 (package-unpack-single): Standardize the directory name by passing
20560 it through package-version-join.
20561 (package-strip-rcs-id): Accept any version string that does not
20562 signal an error in version-to-list.
20563
20564 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20565
20566 * simple.el (delete-trailing-whitespace): Return nil for the
20567 benefit of `write-file-functions'.
20568
20569 2011-03-10 Glenn Morris <rgm@gnu.org>
20570
20571 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20572
20573 * vc/vc-git.el (vc-git-program): New option.
20574 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20575 (vc-git--call): Use it.
20576
20577 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20578
20579 * cus-edit.el (Custom-newline): If no button at point, look
20580 for a subgroup button at start-of-line. (Bug#2298)
20581
20582 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20583
20584 2011-03-10 Julien Danjou <julien@danjou.info>
20585
20586 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20587 `cursor-type' is nil.
20588
20589 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20590
20591 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20592
20593 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20594
20595 * allout.el: Change so yank of distinctive-bullet items
20596 preserves the existing header prefix, rebulleting it if necessary,
20597 rather than replacing it. This is necessary for proper operation
20598 of cooperative addons like allout-widgets.
20599 (allout-make-topic-prefix, allout-rebullet-heading):
20600 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20601 value as alternate bullet to be used, instead of prompting the user
20602 for a bullet character.
20603
20604 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20605
20606 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20607 Do not use `tramp-file-name-port', because this returns also
20608 `tramp-default-port'.
20609
20610 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20611
20612 * net/rcirc.el (rcirc-handler-001): Remove useless
20613 with-rcirc-process-buffer.
20614 (rcirc-check-auth-status): Swap arguments to string-match.
20615
20616 2011-03-09 Glenn Morris <rgm@gnu.org>
20617
20618 * shell.el (shell-mode):
20619 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20620
20621 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20622 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20623
20624 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20625
20626 * emacs-lisp/package.el (package-refresh-contents)
20627 (package-menu-execute): Use condition-case-no-debug.
20628
20629 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20630
20631 * simple.el (shell-command-to-string): Use `process-file'.
20632
20633 * emacs-lisp/package.el (package-tar-file-info): Handle also
20634 remote files.
20635
20636 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20637 Use `equal' for upload base check.
20638
20639 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20640
20641 * textmodes/texinfo.el (texinfo-environments):
20642 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20643
20644 2011-03-08 Glenn Morris <rgm@gnu.org>
20645
20646 * cus-start.el (cursor-in-non-selected-windows):
20647 Fix :set quoting oddness. (Bug#8192)
20648
20649 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20650 in some setf expressions. (Bug#2159)
20651
20652 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20653
20654 * custom.el (custom-available-themes): Return themes in
20655 alphabetical order.
20656
20657 See ChangeLog.15 for earlier changes.
20658
20659 ;; Local Variables:
20660 ;; coding: utf-8
20661 ;; End:
20662
20663 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20664
20665 This file is part of GNU Emacs.
20666
20667 GNU Emacs is free software: you can redistribute it and/or modify
20668 it under the terms of the GNU General Public License as published by
20669 the Free Software Foundation, either version 3 of the License, or
20670 (at your option) any later version.
20671
20672 GNU Emacs is distributed in the hope that it will be useful,
20673 but WITHOUT ANY WARRANTY; without even the implied warranty of
20674 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20675 GNU General Public License for more details.
20676
20677 You should have received a copy of the GNU General Public License
20678 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.