* src/keyboard.c: Override inhibit-quit after the third C-g.
[bpt/emacs.git] / lisp / ChangeLog
... / ...
CommitLineData
12012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4
52012-04-10 Juanma Barranquero <lekktu@gmail.com>
6
7 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8 (list-dynamic-libraries--loaded): New function.
9 (list-dynamic-libraries--refresh): Use it.
10
112012-04-10 Nathan Weizenbaum <nweiz@google.com>
12
13 * progmodes/python.el (python-fill-paragraph): Make
14 python-fill-region in a multiline string work when font-lock is
15 disabled (bug#7018).
16
172012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
18
19 * language/european.el (cp775): Added oem/legacy (en)coding on
20 DOS/MS Windows for the Baltic languages. There are still plenty of
21 texts written in this encoding/codepage (bug#6519).
22
232012-04-10 Glenn Morris <rgm@gnu.org>
24
25 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
26 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
27
282012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
29
30 * recentf.el (recentf-dialog-mode-map): Added two keybindings for
31 next-line "n" and previous-line "p" in order to make recentf more
32 consistent with ibuffer, dired or org-mode (bug#9387).
33
342012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
35
36 * image.el (put-image): Return the overlay created instead of the
37 optional input string (bug#7834). Note that this may break code
38 that is (for some reason or other) depending on `put-image'
39 returning the string.
40
41 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
42
43 * simple.el (zap-to-char): Allow zapping using input methods
44 (bug#1580).
45
46 * textmodes/fill.el (fill-region): Leave point and mark where they
47 were before filling (bug#5399).
48
492012-04-09 Glenn Morris <rgm@gnu.org>
50
51 * version.el (emacs-bzr-get-version):
52 Handle lightweight checkouts of local branches.
53
542012-04-09 Andreas Schwab <schwab@linux-m68k.org>
55
56 * international/characters.el: Recover lost case pairs. (Bug#11209)
57
582012-04-09 Chong Yidong <cyd@gnu.org>
59
60 * custom.el (custom-variable-p): Return nil for non-symbol
61 arguments instead of signaling an error.
62 (user-variable-p): Obsolete alias for custom-variable-p.
63
64 * apropos.el (apropos-variable):
65 * files-x.el (read-file-local-variable):
66 * simple.el (set-variable):
67 * woman.el (woman-mini-help):
68 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
69
702012-04-09 Glenn Morris <rgm@gnu.org>
71
72 * startup.el (normal-top-level): Don't look for leim-list.el
73 in places where it will not be found. (Bug#910)
74
75 * international/mule-cmds.el (set-default-coding-systems):
76 * files.el (normal-mode):
77 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
78 This function was removed with ucs-tables.el in 2008.
79
802012-04-08 Eli Zaretskii <eliz@gnu.org>
81
82 * textmodes/ispell.el (ispell-check-version): For hunspell, set
83 ispell-encoding8-command to "-i", without a trailing space.
84 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
85 separate command-line arguments, to specify the encoding, since
86 that's how hunspell expects it.
87
882012-04-08 Glenn Morris <rgm@gnu.org>
89
90 * loadup.el: Load bindings before cus-start.
91 This reduces somewhat the number of "rogue" settings in emacs -Q.
92
932012-04-07 Glenn Morris <rgm@gnu.org>
94
95 * version.el (emacs-bzr-get-version): New function.
96 (emacs-bzr-version): New variable.
97 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
98 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
99
1002012-04-07 Eli Zaretskii <eliz@gnu.org>
101
102 * international/uni-bidi.el, international/uni-category.el:
103 * international/uni-combining.el, international/uni-decimal.el:
104 * international/uni-decomposition.el, international/uni-digit.el:
105 * international/uni-lowercase.el, international/uni-mirrored.el:
106 * international/uni-name.el, international/uni-numeric.el:
107 * international/uni-titlecase.el, international/uni-uppercase.el:
108 Update for Unicode 6.1.
109
1102012-04-07 Eli Zaretskii <eliz@gnu.org>
111
112 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
113
1142012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
115
116 * window.el (shrink-window): Mention the `window-min-height'
117 variable in the doc string.
118
1192012-04-05 Bastien Guerry <bzg@altern.org>
120
121 * color.el (color-lighten-name): Fix typo.
122
1232012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
124
125 * server.el (server--on-display-p): New function.
126 (server--on-display-p): Use it.
127
1282012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
129
130 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
131 (bug#11145).
132
1332012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
134
135 * comint.el (comint--common-quoted-suffix): Check string boundary
136 before comparing (bug#11158).
137 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
138
1392012-04-04 Chong Yidong <cyd@gnu.org>
140
141 * minibuffer.el (completion-extra-properties): Doc fix.
142
143 * subr.el (delayed-warnings-hook): Doc fix.
144
1452012-04-04 Daiki Ueno <ueno@unixuser.org>
146
147 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
148 selection (Bug#11159).
149 (epa-insert-keys): Inform that the default public key will be
150 exported if no key is selected.
151
1522012-04-04 Richard Stallman <rms@gnu.org>
153
154 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
155
1562012-04-03 Chong Yidong <cyd@gnu.org>
157
158 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
159 mail-insert-file, not its obsolete alias mail-attach-file.
160
1612012-04-03 Michael Albinus <michael.albinus@gmx.de>
162
163 * notifications.el (notifications-notify): Fix docstring.
164
1652012-04-02 Glenn Morris <rgm@gnu.org>
166
167 * emacs-lisp/authors.el (authors-aliases): Another addition.
168
1692012-04-02 Michael Albinus <michael.albinus@gmx.de>
170
171 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
172 `tramp-compat-call-process' instead of `tramp-local-call-process'.
173 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
174
1752012-04-01 Chong Yidong <cyd@gnu.org>
176
177 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
178 Handle root directory properly.
179 (copy-directory): Caller changed.
180
181 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
182 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
183
1842012-03-31 Glenn Morris <rgm@gnu.org>
185
186 * term/xterm.el (xterm-extra-capabilities): Doc fix.
187
188 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
189
190 * calendar/calendar.el (calendar-window-list)
191 (calendar-hide-window): Restore. (Bug#11140)
192 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
193
194 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
195
1962012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
197
198 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
199 Check if file is a symlink (Bug#10489).
200
201 * files.el (copy-directory): Likewise.
202
2032012-03-30 Chong Yidong <cyd@gnu.org>
204
205 * image.el (imagemagick-types-inhibit)
206 (imagemagick-register-types): Doc fix.
207
2082012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
209
210 * ispell.el (ispell-get-extended-character-mode): Disable
211 extended-char-mode for hunspell. hunspell does not support it and
212 treats ~word as ordinary words in pipe mode.
213
2142012-03-30 Glenn Morris <rgm@gnu.org>
215
216 * tutorial.el (help-with-tutorial): Ensure local variables don't
217 happen to make the buffer read-only. (Bug#11127)
218
2192012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
220
221 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
222 (perl-calculate-indent): Return `noindent' in strings.
223
2242012-03-28 Sam Steingold <sds@gnu.org>
225
226 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
227 instead of the broken adhockery which does not prevent calendar
228 buffers from being displayed at random after exit.
229 (calendar-window-list, calendar-hide-window): Remove the broken
230 adhockery.
231
2322012-03-28 Glenn Morris <rgm@gnu.org>
233
234 * replace.el (query-replace-map): Doc fix.
235
2362012-03-28 Andreas Schwab <schwab@linux-m68k.org>
237
238 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
239 contents. (Bug#11109)
240
2412012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
242
243 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
244 (bug#11077).
245 (avl-tree--check, avl-tree--check-node): New funs.
246
2472012-03-27 Martin Rudalics <rudalics@gmx.at>
248
249 * window.el (switch-to-visible-buffer): New option.
250 (switch-to-prev-buffer, switch-to-next-buffer):
251 Observe switch-to-visible-buffer. Make sure that checking for a window
252 showing a buffer already is done on the same frame.
253
2542012-03-27 Glenn Morris <rgm@gnu.org>
255
256 * startup.el (mail-host-address): Doc fix.
257
2582012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
261 than 197 variables.
262
2632012-03-26 Ami Fischman <ami@fischman.org>
264
265 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
266
2672012-03-26 Glenn Morris <rgm@gnu.org>
268
269 * files.el (save-buffers-kill-emacs): Doc fix.
270
271 * startup.el (normal-top-level, command-line, command-line-1):
272 Give them doc strings.
273
2742012-03-25 Eli Zaretskii <eliz@gnu.org>
275
276 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
277 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
278
2792012-03-25 Chong Yidong <cyd@gnu.org>
280
281 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
282 theme if it was previously enabled before (Bug#11031).
283
284 * cus-theme.el (custom-theme-write-faces): Retrieve current face
285 spec with custom-face-get-current-spec if its :shown-value is not
286 determined yet (Bug#9337).
287 (customize-create-theme, custom-theme-revert): Doc fixes.
288
289 * button.el (button-at): Minor addition to docstring.
290
2912012-03-24 Simon Leinen <simon.leinen@gmail.com>
292
293 * vc/vc.el (vc-merge): Fix a prompt.
294
2952012-03-24 Chong Yidong <cyd@gnu.org>
296
297 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
298 point (Bug#9623).
299
300 * button.el (button-at): Minor addition to docstring.
301
3022012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
303
304 * newcomment.el (comment-choose-indent): No space after BOL.
305
3062012-03-22 Sam Steingold <sds@gnu.org>
307
308 * window.el (switch-to-prev-buffer): Revert last patch because the
309 bug turned out to be an advertised feature (Elisp manual 28.14).
310
3112012-03-22 Glenn Morris <rgm@gnu.org>
312
313 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
314 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
315
3162012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
317
318 * net/network-stream.el (network-stream-open-starttls): Make error
319 message under Windows be less misleading.
320
3212012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
322
323 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
324 understands (bug#9942).
325
3262012-03-22 Chong Yidong <cyd@gnu.org>
327
328 * simple.el (end-of-visible-line): Handle return value of
329 next-single-property-change properly (Bug#9371).
330
3312012-03-22 Kenichi Handa <handa@m17n.org>
332
333 * international/quail.el (quail-insert-kbd-layout): Fix previous
334 change. To avoid unwanted bidi reordering, use
335 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
336
3372012-03-21 Dmitry Gutov <dgutov@yandex.ru>
338
339 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
340 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
341 (ruby-beginning-of-indent): Be more careful with the difference
342 between word-boundary and symbol boundary.
343 (ruby-mode-syntax-table): Make : a symbol constituent.
344
3452012-03-21 Andreas Politz <politza@fh-trier.de>
346
347 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
348
3492012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
350
351 * progmodes/etags.el (tags-completion-at-point-function):
352 Improve last fix.
353
354 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
355
3562012-03-21 Sam Steingold <sds@gnu.org>
357
358 * progmodes/etags.el (tags-completion-at-point-function):
359 Avoid the error when point is inside the pattern.
360
3612012-03-21 John Yates <john@yates-sheets.org> (tiny change)
362
363 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
364 line (Bug#10855).
365
3662012-03-21 Drew Adams <drew.adams@oracle.com>
367
368 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
369
3702012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
371
372 * ido.el (ido-set-current-directory, ido-read-internal)
373 (ido-choose-completion-string, ido-completion-help): Handle nil
374 value of ido-completion-buffer (Bug#11008).
375
3762012-03-21 Sam Steingold <sds@gnu.org>
377
378 * window.el (switch-to-prev-buffer): Do not switch to a visible
379 window previous buffer, just like with the frame previous buffers.
380
3812012-03-21 Chong Yidong <cyd@gnu.org>
382
383 * faces.el (make-face, make-empty-face, copy-face):
384 * face-remap.el (face-remap-add-relative, face-remap-set-base):
385 Doc fixes.
386
3872012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
388
389 * wid-edit.el (widget-complete-field): Remove (bug#11051).
390 (widget-complete): Remove broken use of it.
391
3922012-03-20 Chong Yidong <cyd@gnu.org>
393
394 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
395 Use string-width and truncate-string-width to handle arbitrary
396 characters.
397
3982012-03-20 Tassilo Horn <tassilo@member.fsf.org>
399
400 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
401 to draw rectangles, not squares. (Regression introduced by revno
402 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
403
4042012-03-18 Chong Yidong <cyd@gnu.org>
405
406 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
407 it is not yet defined (for temacs).
408
4092012-03-18 Leo Liu <sdl.web@gmail.com>
410
411 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
412
4132012-03-17 Eli Zaretskii <eliz@gnu.org>
414
415 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
416 (ispell-choices-win-default-height, ispell-silently-savep)
417 (ispell-dictionary-alist, ispell-encoding8-command)
418 (ispell-check-version, ispell-aspell-find-dictionary)
419 (ispell-valid-dictionary-list, ispell-words-keyword)
420 (ispell-get-word, ispell-internal-change-dictionary)
421 (ispell-region, ispell-skip-region-list)
422 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
423 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
424 (ispell-message-text-end, ispell-message)
425 (ispell-buffer-local-parsing): Doc fix.
426
4272012-03-13 Jambunathan K <kjambunathan@gmail.com>
428
429 * htmlfontify.el: Add support for code block fontification for ODT
430 export (Bug #9914).
431 (hfy-optimisations): Define new option
432 `body-text-only'
433 (hfy-fontify-buffer): Honor above setting.
434 (hfy-begin-span, hfy-end-span): New routines factored out form
435 `hfy-fontify-buffer'.
436 (hfy-begin-span-handler, hfy-end-span-handler): New variables
437 that permit insertion of custom tags.
438 (hfy-fontify-buffer): Use above handlers.
439 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
440 (hfy-face-to-css): Re-defined to be a variable.
441 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
442 over multiple runs. This is made possible by having the caller let
443 bind a special variable `hfy-user-sheet-assoc'.
444 (htmlfontify-string): New defun.
445 (hfy-compile-face-map): Make sure that the last char in the
446 buffer is correctly fontified.
447 (hfy-face-resolve-face): Whitespace only change.
448
4492012-03-17 Eli Zaretskii <eliz@gnu.org>
450
451 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
452 message more clear.
453
4542012-03-16 Leo Liu <sdl.web@gmail.com>
455
456 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
457
4582012-03-16 Alan Mackenzie <acm@muc.de>
459
460 Further optimise the handling of large macros.
461
462 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
463 limit to a call of `c-literal-limits'.
464 (c-determine-+ve-limit): New function.
465 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
466 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
467 In CASE 5B, restrict a search limit to 500.
468 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
469
470 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
471 Restrict macro bounds to +-500 from after-change's BEG END.
472
4732012-03-16 Leo Liu <sdl.web@gmail.com>
474
475 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
476
4772012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
478
479 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
480 `special-mode' setting of `buffer-read-only'. (Bug#11010)
481
4822012-03-16 Glenn Morris <rgm@gnu.org>
483
484 * view.el (view-buffer, view-buffer-other-window)
485 (view-buffer-other-frame): Doc fixes re special mode-class.
486
487 * subr.el (eval-after-load): If named feature is provided not from
488 a file, run after-load forms. (Bug#10946)
489
490 * calendar/calendar.el (calendar-insert-at-column):
491 Handle non-unit-width characters a bit better. (Bug#10978)
492
4932012-03-15 Chong Yidong <cyd@gnu.org>
494
495 * emacs-lisp/ring.el (ring-extend): New function.
496 (ring-insert+extend): Extend the ring correctly (Bug#11019).
497
498 * comint.el (comint-read-input-ring)
499 (comint-add-to-input-history): Grow comint-input-ring lazily.
500
5012012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
502
503 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
504 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
505
506 * imenu.el: Fix multiple inheritance breakage (bug#9199).
507 (imenu-add-to-menubar): Don't add a redundant index.
508 (imenu-update-menubar): Handle a dynamically composed keymap.
509
5102012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
511
512 * mail/sendmail.el (mail-encode-header):
513 Bind rfc2047-encode-encoded-words to nil.
514
5152012-03-13 Glenn Morris <rgm@gnu.org>
516
517 * calendar/calendar.el (calendar-string-spread):
518 Handle non-unit-width characters a bit better. (Bug#10978)
519
5202012-03-13 Leo Liu <sdl.web@gmail.com>
521
522 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
523 directory and file as argument (Bug#10822).
524
5252012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
526
527 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
528 For dynamically generated code, follow $PC.
529 (gdb-disassembly-handler-custom): Handle no function name case.
530
5312012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
532
533 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
534 * emulation/ws-mode.el (ws-query-replace):
535 * sort.el (sort-regexp-fields):
536 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
537
5382012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * dabbrev.el: Fix cycle completion order (bug#10963).
541 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
542 (dabbrev-completion): Don't use an obarray; provide
543 a cycle-sort-function.
544
5452012-03-12 Leo Liu <sdl.web@gmail.com>
546
547 * simple.el (kill-new): Use equal-including-properties for comparison.
548 (kill-do-not-save-duplicates): Doc fix.
549
5502012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
551
552 * dabbrev.el: Fix cycle completion (bug#10963).
553 Use lexical binding and wrap to 80 columns.
554 (dabbrev-completion): Delay computing the list of completions.
555
5562012-03-12 Kenichi Handa <handa@m17n.org>
557
558 * international/quail.el (quail-insert-kbd-layout): Surround each
559 row by LRO and PDF instead of inserting many LRMs. Pad the left
560 and right of each non-spacing marks. Insert invisible space
561 between lower and upper characters to prevent composition.
562
5632012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * minibuffer.el (minibuffer-complete): Don't get confused when the
566 function is run twice via different commands (bug#10958).
567 (complete-with-action): Fix docstring.
568
5692012-03-12 Chong Yidong <cyd@gnu.org>
570
571 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
572 (nxml-completion-at-point-function): New function.
573 (nxml-mode): Use it.
574 (nxml-bind-meta-tab-to-complete-flag): Default to t.
575
576 * emacs-lisp/package.el (package-unpack, package-unpack-single):
577 Load generated autoloads file before byte compiling (Bug#10970).
578 (package--make-autoloads-and-compile): New helper fun.
579
5802012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
581
582 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
583
5842012-03-11 Michael Albinus <michael.albinus@gmx.de>
585
586 * autorevert.el (auto-revert-handler): Ensure, that
587 file-readable-p is applied only for local files or in
588 auto-revert-tail-mode.
589
5902012-03-11 Andreas Schwab <schwab@linux-m68k.org>
591
592 * server.el (server-eval-at): Handle non-tcp connections.
593 Decode result string.
594
595 * server.el (server-msg-size): New constant.
596 (server-reply-print): New function.
597 (server-eval-and-print): Use it.
598 (server-eval-at): Use server-quote-arg and server-unquote-arg.
599 Handle -print-nonl.
600
6012012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
602
603 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
604 (Bug#10987).
605
6062012-03-11 Chong Yidong <cyd@gnu.org>
607
608 * simple.el (goto-line): Doc fix (Bug#9938).
609
610 * subr.el (save-window-excursion): Doc fix (Bug#9979).
611
612 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
613 when finished (Bug#10963).
614
6152012-03-11 Martin Rudalics <rudalics@gmx.at>
616
617 * window.el (split-window-below): Fix bug in case where
618 split-window-keep-point is nil (Bug#10971).
619
6202012-03-11 Juri Linkov <juri@jurta.org>
621
622 * replace.el (replace-highlight): Set isearch-word to nil
623 unconditionally. (Bug#10887)
624
6252012-03-10 Eli Zaretskii <eliz@gnu.org>
626
627 * net/mairix.el (mairix-replace-invalid-chars): Rename from
628 mairix-replace-illegal-chars; all callers changed. Don't remove
629 ^, ~, and = characters: they are meaningful in mairix search specs.
630 (mairix-widget-create-query): Add usage information about mairix
631 search forms: negating words, searching for substrings, etc.
632
6332012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
634
635 * international/fontset.el (font-encoding-alist): Add an entry for
636 ksx1001 (Bug#5667).
637
6382012-03-10 Richard Stallman <rms@gnu.org>
639
640 * mail/sendmail.el (mail-encode-header):
641 Set rfc2047-encode-encoded-words.
642
643 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
644
645 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
646 view buffer means not swapped.
647 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
648 (rmail-write-region-annotate): Error if real text has disappeared.
649
650 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
651
6522012-03-10 Chong Yidong <cyd@gnu.org>
653
654 * emulation/cua-rect.el (cua--init-rectangles):
655 * emulation/cua-base.el (cua--init-keymaps):
656 Add delete-forward-char to remappings (Bug#9666).
657
6582012-03-10 Martin Rudalics <rudalics@gmx.at>
659
660 * speedbar.el (speedbar-unhighlight-one-tag-line):
661 Avoid unhighlighting due to frame switching (Bug#10275).
662
6632012-03-10 Chong Yidong <cyd@gnu.org>
664
665 * minibuffer.el (completion-in-region, completion-help-at-point):
666 Give the completion field overlay a high priority (Bug#6830).
667
668 * dired.el (dired-goto-file): Recognize absolute file name
669 listings (Bug#7126).
670 (dired-goto-file-1): New helper function.
671 (dired-toggle-read-only): Inhibit warnings.
672
6732012-03-09 Michael Albinus <michael.albinus@gmx.de>
674
675 * net/dbus.el: (dbus-property-handler): Return empty array if
676 there are no properties.
677
6782012-03-09 Leo Liu <sdl.web@gmail.com>
679
680 * savehist.el (savehist-printable): Stricter check for string
681 value (Bug#10937).
682
6832012-03-09 Eli Zaretskii <eliz@gnu.org>
684
685 * mail/smtpmail.el (smtpmail-send-it):
686 Bind coding-system-for-write to *-unix, so that FCC files are kept in
687 valid mbox format.
688
6892012-03-09 Glenn Morris <rgm@gnu.org>
690
691 * files.el (dir-locals-find-file):
692 Don't check result is regular, readable.
693 (dir-locals-read-from-file): Demote errors.
694
6952012-03-08 Eli Zaretskii <eliz@gnu.org>
696
697 * international/quail.el (quail-insert-kbd-layout):
698 Insert invisible LRM characters before each character in a keyboard
699 layout cell, to prevent their reordering by bidi display engine.
700 For details, see the discussion in
701 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
702
7032012-03-08 Alan Mackenzie <acm@muc.de>
704
705 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
706 the starting position; make it extend the marked region when
707 invoked repeatedly - all under appropriate circumstances.
708 Fixes bugs #5525, #10906.
709
7102012-03-08 Glenn Morris <rgm@gnu.org>
711
712 * files.el (locate-dominating-file, dir-locals-find-file):
713 Undo 2012-03-06 change.
714
7152012-03-07 Eli Zaretskii <eliz@gnu.org>
716
717 * international/quail.el (quail-help):
718 Force bidi-paragraph-direction be left-to-right. See discussion in
719 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
720 for the reason.
721
7222012-03-07 Michael Albinus <michael.albinus@gmx.de>
723
724 Avoid superfluous registering of signals. (Bug#10807)
725
726 * notifications.el (notifications-on-action-object)
727 (notifications-on-close-object): New defvars.
728 (notifications-on-action-signal, notifications-on-closed-signal):
729 Unregister the signal if not needed any longer.
730 (notifications-notify): Register `notifications-action-signal' or
731 `notifications-closed-signal', if :on-action or :on-close has been
732 passed as argument.
733
7342012-03-07 Chong Yidong <cyd@gnu.org>
735
736 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
737 non-X platforms.
738
7392012-03-06 Glenn Morris <rgm@gnu.org>
740
741 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
742 (x-disown-selection-internal, x-get-selection-internal):
743 Doc fix (add arglist signatures). (Bug#10783)
744
7452012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
746
747 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
748 Handle breakpoints with no "type".
749
7502012-03-06 Glenn Morris <rgm@gnu.org>
751
752 * files.el (locate-dominating-file): Add optional predicate argument.
753 (dir-locals-find-file): Make use of above change.
754
7552012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
756
757 * info.el (Info-insert-dir): Also try "dir.gz".
758
7592012-03-06 Glenn Morris <rgm@gnu.org>
760
761 * files.el (dir-locals-find-file):
762 Ignore non-readable or non-regular files. (Bug#10928)
763
764 * files.el (locate-dominating-file): Doc fix.
765
7662012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
767
768 * calendar/calendar.el (calendar-set-mode-line):
769 `getenv' returns a string. (Bug#10951)
770
7712012-03-05 Leo Liu <sdl.web@gmail.com>
772
773 * simple.el (backward-delete-char-untabify): Constrain point to
774 field (Bug#10939).
775
776 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
777
7782012-03-05 Chong Yidong <cyd@gnu.org>
779
780 * simple.el (count-words): If called from Lisp, return the word
781 count, for symmetry with `count-lines'. Arglist changed.
782 (count-words--message): Args changed. Consolidate counting code
783 from count-words and count-words-region.
784 (count-words-region): Caller changed.
785 (count-lines-region): Make it an obsolete alias.
786
7872012-03-04 Tassilo Horn <tassilo@member.fsf.org>
788
789 * saveplace.el (save-place-to-alist)
790 (save-place-ignore-files-regexp): Allow value nil to disable this
791 feature.
792
7932012-03-04 Chong Yidong <cyd@gnu.org>
794
795 * faces.el (face-spec-reset-face): For the default face, reset the
796 attributes to default values (Bug#10748).
797
7982012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
799
800 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
801 previous patch: Check `message-send-mail-function', and not the
802 default function (bug#10897).
803
8042012-03-04 Michael Albinus <michael.albinus@gmx.de>
805
806 * notifications.el (notifications-on-action-signal)
807 (notifications-on-closed-signal): Check for unique service name of
808 incoming event. Fix error in removing entry.
809 (top): Register for signals with wildcard service name.
810 (notifications-notify): Use daemon unique service name for map entries.
811
8122012-03-04 Chong Yidong <cyd@gnu.org>
813
814 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
815
8162012-03-04 Glenn Morris <rgm@gnu.org>
817
818 * abbrev.el (copy-abbrev-table, abbrev-table-p)
819 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
820 (expand-abbrev, define-abbrev-table): Doc fixes.
821
8222012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
823
824 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
825 `message-default-send-mail-function' and not `send-mail-function'
826 when doing the prompting for `sendmail-query-once' before sending
827 in Message buffers (bug#10897).
828
829 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
830 This is inconsistent with all the other stream functions, which leave
831 the setting up to the higher levels (if so wanted) (bug#10931).
832
8332012-03-02 Alan Mackenzie <acm@muc.de>
834
835 Depessimize the handling of very large macros.
836
837 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
838 (c-macro-cache-syntactic): New variables to implement a one
839 element macro cache.
840 (c-invalidate-macro-cache): New function.
841 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
842 Adapt to use the new cache.
843 (c-state-safe-place): Use better the cache of safe positions.
844 (c-state-semi-nonlit-pos-cache)
845 (c-state-semi-nonlit-pos-cache-limit):
846 New variables for...
847 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
848 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
849 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
850 Use c-state-semi-safe-place.
851
852 * progmodes/cc-langs.el (c-get-state-before-change-functions):
853 Add c-invalidate-macro-cache to the C, C++, Obj entries.
854
8552012-03-02 Michael Albinus <michael.albinus@gmx.de>
856
857 * jka-compr.el (jka-compr-call-process):
858 Apply `file-accessible-directory-p' only when the default directory is
859 not remote.
860
8612012-03-01 Michael Albinus <michael.albinus@gmx.de>
862
863 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
864 access of FILE2, if FILE1 does not exist.
865
866 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
867 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
868
869 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
870 Add "PAGER=" to `process-environment'.
871
8722012-03-01 Michael R. Mauger <mmaug@yahoo.com>
873
874 * progmodes/sql.el: Bug fix
875 (sql-get-login-ext): Save login values in globals.
876 (sql-get-login): Use new version of `sql-get-login-ext'.
877 (sql-interactive-mode): Set global `sql-connection' to nil.
878 (sql-connect): Set global values for connection.
879 (sql-product-interactive): Save global values as buffer local.
880
8812012-02-29 Leo Liu <sdl.web@gmail.com>
882
883 * abbrev.el (define-abbrevs): Reset sys to nil.
884
8852012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
886
887 * files.el (file-equal-p): Rename from `files-equal-p'.
888 Return nil when one or both files don't exist.
889 (file-subdir-of-p): Now only top directory must exists,
890 return nil if it doesn't.
891 (copy-directory): No need to test with `file-subdir-of-p' after
892 creating dir.
893 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
894 to `file-equal-p'.
895
8962012-02-28 Glenn Morris <rgm@gnu.org>
897
898 * shell.el (shell-mode):
899 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
900 * play/landmark.el (landmark-font-lock-face-O):
901 * play/handwrite.el (handwrite):
902 * play/gomoku.el (gomoku-O):
903 * net/browse-url.el (browse-url-browser-display):
904 * international/mule.el (define-charset):
905 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
906 * filesets.el (filesets-find-file-delay):
907 * eshell/em-xtra.el (eshell-xtra):
908 * eshell/em-unix.el (eshell-grep):
909 * emulation/viper.el (viper-mode):
910 * emacs-lisp/regexp-opt.el (regexp-opt-group):
911 * emacs-lisp/easymenu.el (easy-menu-define):
912 * calendar/timeclock.el (timeclock-use-display-time):
913 * bs.el (bs-mode):
914 * bookmark.el (bookmark-save-flag):
915 Doc fix (standardize possessive apostrophe usage).
916
9172012-02-27 Chong Yidong <cyd@gnu.org>
918
919 * emulation/viper-cmd.el (viper-intercept-ESC-key):
920 Fix key-binding lookup for ESC key (Bug#9146).
921
922 * font-lock.el (font-lock-specified-p): Rename from
923 font-lock-spec-present. Callers changed.
924
9252012-02-27 Daniel Hackney <dan@haxney.org>
926
927 * emacs-lisp/package.el (package-compute-transaction):
928 Handle holding a package version to t in package-load-list.
929
9302012-02-26 Michael Albinus <michael.albinus@gmx.de>
931
932 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
933 (tramp-get-inode, tramp-get-device): Use cached values.
934
9352012-02-26 Alan Mackenzie <acm@muc.de>
936
937 Check there is a font-lock specification before doing initial
938 fontification.
939
940 * font-core.el (font-lock-mode): Move the conditional from
941 :after-hook to font-lock-initial-fontify.
942 (font-lock-default-function): Move the check for a specification
943 to font-lock-spec-present.
944
945 * font-lock.el (font-lock-initial-fontify): Call ...
946 (font-lock-spec-present): New function.
947
9482012-02-26 Jim Blandy <jimb@red-bean.com>
949
950 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
951 (gdb-send): Apply it to the operand of the '-interpreter-exec
952 console' command, so that we can pass arguments with (say) quotes
953 in them. Store exact string sent in gdb-debug-log (Bug#10765).
954
9552012-02-26 Chong Yidong <cyd@gnu.org>
956
957 * help-fns.el (describe-function-1): Clarify description of
958 remapping (Bug#10844).
959
960 * files.el (files-equal-p): Doc fix.
961 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
962 and quit the loop once a mismatch is found.
963
9642012-02-25 Juanma Barranquero <lekktu@gmail.com>
965
966 * bs.el (bs--show-with-configuration): Don't throw an error
967 if the window cannot be split; otherwise, subsequent calls to
968 bs-show fail, restoring a stale window config. (Bug#10882)
969
9702012-02-25 Jan Djärv <jan.h.d@swipnet.se>
971
972 * term/ns-win.el (global-map): Bind ns-drag-file to
973 ns-find-file (Bug#5855, Bug#10050).
974
9752012-02-25 Andreas Schwab <schwab@linux-m68k.org>
976
977 * calendar/parse-time.el (parse-time-string): Allow extractor to
978 return nil.
979
9802012-02-25 Michael Albinus <michael.albinus@gmx.de>
981
982 * net/tramp.el (tramp-file-name-for-operation):
983 Add `files-equal-p' and `file-subdir-of-p'.
984
985 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
986 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
987 Add COPY-CONTENTS argument.
988
9892012-02-25 Chong Yidong <cyd@gnu.org>
990
991 Add custom groups for VC backends, for consistency with vc-bzr.
992
993 * vc/vc-arch.el (vc-arch):
994 * vc/vc-cvs.el (vc-cvs):
995 * vc/vc-git.el (vc-git):
996 * vc/vc-hg.el (vc-hg):
997 * vc/vc-mtn.el (vc-mtn):
998 * vc/vc-rcs.el (vc-rcs):
999 * vc/vc-sccs.el (vc-sccs):
1000 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1001 All relevant defcustoms reassigned.
1002
10032012-02-25 Chong Yidong <cyd@gnu.org>
1004
1005 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1006
1007 * term/x-win.el (x-initialize-window-system): Reduce default for
1008 x-selection-timeout to 5 seconds (Bug#8869).
1009
10102012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1011
1012 * files.el (file-subdir-of-p): Fix typo.
1013
10142012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1015
1016 * files.el (files-equal-p, file-subdir-of-p): New functions.
1017 (copy-directory): Error when trying to copy a directory on itself.
1018 Add missing copy-contents arg to tramp handler.
1019 * dired-aux.el (dired-copy-file-recursive): Same.
1020 (dired-create-files): Modify destination when source is equal to
1021 dest when copying files.
1022 Return also when dest is a subdir of source. (Bug#10489)
1023
10242012-02-24 Michael Albinus <michael.albinus@gmx.de>
1025
1026 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1027 (Bug#10874)
1028
10292012-02-23 Alan Mackenzie <acm@muc.de>
1030
1031 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1032 parameter "after-hook:" to allow the expansion to run code after
1033 the execution of the mode hooks.
1034
1035 * font-lock.el (font-lock-initial-fontify): New function extracted
1036 from font-lock-mode-internal.
1037
1038 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1039 :after-hook.
1040
10412012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1044 (completion--cache-all-sorted-completions): New function.
1045 (completion-all-sorted-completions): Use it.
1046 (completion--do-completion, minibuffer-force-complete):
1047 Use it to re-instate the flush hook.
1048
1049 * icomplete.el (icomplete-completions): Replace last fix with a better
1050 one (bug#10850).
1051
10522012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1053
1054 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1055 when it might call us back infinitely (bug#10797).
1056
10572012-02-23 Glenn Morris <rgm@gnu.org>
1058
1059 * minibuffer.el (completion-category-overrides): Doc fix.
1060
10612012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1062
1063 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1064 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1065
10662012-02-23 Glenn Morris <rgm@gnu.org>
1067
1068 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1069 (authors-obsolete-files-regexps, authors-ignored-files)
1070 (authors-ambiguous-files, authors-renamed-files-alist):
1071 Add more entries.
1072
10732012-02-23 Juri Linkov <juri@jurta.org>
1074
1075 * isearch.el (isearch-occur): Sync interactive spec with occur's
1076 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1077
1078 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1079
10802012-02-22 Juri Linkov <juri@jurta.org>
1081
1082 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1083 (ucs-insert): Doc fix. Check for hex digits in the string.
1084 Don't display `nil' in the error message. (Bug#10857)
1085
10862012-02-22 Alan Mackenzie <acm@muc.de>
1087
1088 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1089
10902012-02-22 Glenn Morris <rgm@gnu.org>
1091
1092 * ffap.el (ffap-c-path):
1093 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1094
10952012-02-22 Chong Yidong <cyd@gnu.org>
1096
1097 * custom.el (load-theme): Doc fix.
1098
10992012-02-22 Glenn Morris <rgm@gnu.org>
1100
1101 * dired-x.el (dired-guess-shell-alist-default):
1102 Remove escape sequences from nroff output. (Bug#172)
1103
11042012-02-21 Glenn Morris <rgm@gnu.org>
1105
1106 * vc/emerge.el (emerge-defvar-local):
1107 Set `permanent-local' property rather than unused `preserved'.
1108
1109 * textmodes/picture.el (picture-delete-char): New alias.
1110 (picture-mode-map): Use it. (Bug#10860)
1111 (picture-mode): Doc fix.
1112
11132012-02-21 Juanma Barranquero <lekktu@gmail.com>
1114
1115 * newcomment.el (uncomment-region-default): Remove unused binding.
1116
11172012-02-21 Glenn Morris <rgm@gnu.org>
1118
1119 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1120 (picture-self-insert, picture-tab-chars): Doc fix.
1121 (picture-mode-map): Fix C-a, C-e.
1122
11232012-02-20 Glenn Morris <rgm@gnu.org>
1124
1125 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1126
11272012-02-20 Leo Liu <sdl.web@gmail.com>
1128
1129 * icomplete.el (icomplete-completions): Check FROM arg before
1130 passing to substring (Bug#10850).
1131
11322012-02-19 Chong Yidong <cyd@gnu.org>
1133
1134 * comint.el: Require ansi-color.
1135 (comint-output-filter-functions): Add ansi-color-process-output.
1136
1137 * ansi-color.el: Don't set comint-output-filter-functions; it is
1138 now in the initial value defined in comint.el.
1139 (ansi-color-apply-face-function): New variable.
1140 (ansi-color-apply-on-region): Use it.
1141 (ansi-color-apply-overlay-face): New function.
1142
1143 * shell.el (shell): No need to require ansi-color.
1144 (shell-mode): Use ansi-color-apply-face-function to highlight
1145 color escapes using font-lock-face property (Bug#10835).
1146
11472012-02-19 Chong Yidong <cyd@gnu.org>
1148
1149 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1150 mode-line formats (Bug#10839).
1151
11522012-02-18 Glenn Morris <rgm@gnu.org>
1153
1154 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1155
1156 * mail/undigest.el (unforward-rmail-message): Doc fix.
1157
1158 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1159
11602012-02-18 Eli Zaretskii <eliz@gnu.org>
1161
1162 * international/characters.el (script-list): Sync with the latest
1163 Unicode Character Database.
1164
11652012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1166
1167 * international/titdic-cnv.el: Remove duplicate coding tag.
1168 * language/cham.el: Likewise.
1169 * language/tai-viet.el: Likewise.
1170
11712012-02-18 Glenn Morris <rgm@gnu.org>
1172
1173 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1174 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1175 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1176 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1177 * calendar/holidays.el (holiday-bahai-holidays)
1178 (calendar-holidays, list-holidays):
1179 Use utf-8 Bahá'í in doc-strings, menus, etc.
1180
11812012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1182
1183 * saveplace.el (save-place-ignore-files-regexp): New variable
1184 allowing for excluding files from saving their location of point.
1185 The default value matches the temporary commit message editing
1186 files from Git, SVN, Bazaar, and Mercurial.
1187 (save-place-to-alist): Use it.
1188
11892012-02-17 Lawrence Mitchell <wence@gmx.li>
1190 Stefan Monnier <monnier@iro.umontreal.ca>
1191
1192 * newcomment.el (uncomment-region-default): Don't leave extra space
1193 when an arg is provided (bug#8150).
1194
11952012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1196
1197 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
1198
11992012-02-17 Glenn Morris <rgm@gnu.org>
1200
1201 * net/socks.el: Require network-stream. (Bug#10599)
1202
12032012-02-17 Kenichi Handa <handa@m17n.org>
1204
1205 * international/charprop.el:
1206 * international/uni-name.el:
1207 * international/uni-old-name.el:
1208 * international/uni-comment.el: Regenerate.
1209
12102012-02-16 Glenn Morris <rgm@gnu.org>
1211
1212 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1213 Interactively in calendar buffer, give an error if not on a date.
1214
12152012-02-15 Glenn Morris <rgm@gnu.org>
1216
1217 * shell.el (shell-delimiter-argument-list):
1218 Revert 2011-02-17 change. (Bug#8027)
1219
12202012-02-15 Chong Yidong <cyd@gnu.org>
1221
1222 * minibuffer.el (completion-at-point-functions): Doc fix.
1223
1224 * custom.el (defcustom): Doc fix; note use of defvar.
1225
12262012-02-15 Glenn Morris <rgm@gnu.org>
1227
1228 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1229 Doc fixes.
1230
12312012-02-14 Glenn Morris <rgm@gnu.org>
1232
1233 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1234
12352012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1236
1237 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1238 way the ports list is computed.
1239 (smtpmail-query-smtp-server): Prompt the user for a port number if
1240 we can't connect to any of the standard ports (bug#10810).
1241
12422012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1243
1244 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1245
12462012-02-13 Glenn Morris <rgm@gnu.org>
1247
1248 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1249
12502012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1251
1252 * net/gnutls.el (gnutls-trustfiles): New variable.
1253 (gnutls-negotiate): Use it.
1254
12552012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1256
1257 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1258 does its stuff if Gnus is running.
1259
12602012-02-13 Alan Mackenzie <acm@muc.de>
1261
1262 Fix a loop in c-set-fl-decl-start.
1263
1264 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
1265 c-backward-syntactic-ws actually moves backwards.
1266
12672012-02-13 Leo Liu <sdl.web@gmail.com>
1268
1269 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1270 beginning so that all \C-o chars are removed.
1271
12722012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1273
1274 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
1275
12762012-02-12 Alan Mackenzie <acm@muc.de>
1277
1278 Fix infinite loop with long macros.
1279 * cc-engine.el (c-state-safe-place): Handle macros properly.
1280
12812012-02-12 Chong Yidong <cyd@gnu.org>
1282
1283 * window.el (display-buffer): Doc fix (Bug#10785).
1284
12852012-02-12 Glenn Morris <rgm@gnu.org>
1286
1287 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1288 (x-disown-selection-internal, x-get-selection-internal):
1289 Sync docs with the xselect.c versions.
1290
1291 * allout-widgets.el: Add missing license notice.
1292
12932012-02-11 Glenn Morris <rgm@gnu.org>
1294
1295 * select.el (x-get-selection-internal, x-own-selection-internal)
1296 (x-disown-selection-internal):
1297 * x-dnd.el (x-get-selection-internal): Update declarations.
1298
1299 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1300
1301 * window.el (window-sides-slots):
1302 * tool-bar.el (tool-bar-position):
1303 * term/xterm.el (xterm-extra-capabilities):
1304 * ses.el (ses-self-reference-early-detection):
1305 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1306 (verilog-auto-wire-type)
1307 (verilog-auto-delete-trailing-whitespace)
1308 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1309 (verilog-auto-tieoff-declaration):
1310 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1311 (sql-oracle-statement-starters, sql-oracle-scan-on):
1312 * progmodes/prolog.el (prolog-align-comments-flag)
1313 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1314 (prolog-left-indent-regexp, prolog-paren-indent-p)
1315 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1316 (prolog-types, prolog-mode-specificators)
1317 (prolog-determinism-specificators, prolog-directives)
1318 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1319 (prolog-electric-dot-flag)
1320 (prolog-electric-dot-full-predicate-template)
1321 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1322 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1323 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1324 (prolog-program-switches, prolog-prompt-regexp)
1325 (prolog-debug-on-string, prolog-debug-off-string)
1326 (prolog-trace-on-string, prolog-trace-off-string)
1327 (prolog-zip-on-string, prolog-zip-off-string)
1328 (prolog-use-standard-consult-compile-method-flag)
1329 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1330 (prolog-imenu-max-lines, prolog-info-predicate-index)
1331 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1332 (prolog-char-quote-workaround):
1333 * progmodes/cc-vars.el (c-defun-tactic):
1334 * net/tramp.el (tramp-encoding-command-interactive)
1335 (tramp-local-end-of-line):
1336 * net/soap-client.el (soap-client):
1337 * net/netrc.el (netrc-file):
1338 * net/gnutls.el (gnutls):
1339 * minibuffer.el (completion-category-overrides)
1340 (completion-cycle-threshold)
1341 (completion-pcm-complete-word-inserts-delimiters):
1342 * man.el (Man-name-local-regexp):
1343 * mail/feedmail.el (feedmail-display-full-frame):
1344 * international/characters.el (glyphless-char-display-control):
1345 * eshell/em-ls.el (eshell-ls-date-format):
1346 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1347 (lisp-lambda-list-keyword-parameter-indentation)
1348 (lisp-lambda-list-keyword-parameter-alignment):
1349 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1350 * dired-x.el (dired-omit-verbose):
1351 * cus-theme.el (custom-theme-allow-multiple-selections):
1352 * calc/calc.el (calc-highlight-selections-with-faces)
1353 (calc-lu-field-reference, calc-lu-power-reference)
1354 (calc-note-threshold):
1355 * battery.el (battery-mode-line-limit):
1356 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1357 (archive-7z-update):
1358 * allout.el (allout-prefixed-keybindings)
1359 (allout-unprefixed-keybindings)
1360 (allout-inhibit-auto-fill-on-headline)
1361 (allout-flattened-numbering-abbreviation):
1362 * allout-widgets.el (allout-widgets-auto-activation)
1363 (allout-widgets-icons-dark-subdir)
1364 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1365 (allout-widgets-theme-dark-background)
1366 (allout-widgets-theme-light-background)
1367 (allout-widgets-item-image-properties-emacs)
1368 (allout-widgets-item-image-properties-xemacs)
1369 (allout-widgets-run-unit-tests-on-load)
1370 (allout-widgets-time-decoration-activity)
1371 (allout-widgets-hook-error-post-time)
1372 (allout-widgets-track-decoration):
1373 Add missing :version tags to new defcustoms and defgroups.
1374
1375 * progmodes/sql.el (sql-ansi-statement-starters)
1376 (sql-oracle-statement-starters): Add custom type.
1377
1378 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1379 (prolog-system-version): Give it a type.
1380
13812012-02-11 Eli Zaretskii <eliz@gnu.org>
1382
1383 * term/pc-win.el (x-select-text, x-selection-owner-p)
1384 (x-own-selection-internal, x-disown-selection-internal)
1385 (x-get-selection-internal): Sync doc strings and argument lists
1386 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1387
13882012-02-11 Leo Liu <sdl.web@gmail.com>
1389
1390 * progmodes/python.el (python-end-of-statement): Fix infinite
1391 loop. (Bug#10788)
1392
13932012-02-10 Glenn Morris <rgm@gnu.org>
1394
1395 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1396 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1397
13982012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1399
1400 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1401 about SMTP before checking the From header.
1402
1403 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1404 into own function for reuse by emacsbug.el.
1405
14062012-02-10 Leo Liu <sdl.web@gmail.com>
1407
1408 * subr.el (condition-case-unless-debug): Rename from
1409 condition-case-no-debug. All callers changed.
1410 (with-demoted-errors): Fix caller.
1411
1412 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1413 * nxml/rng-valid.el (rng-do-some-validation):
1414 * emacs-lisp/package.el (package-refresh-contents)
1415 (package-menu-execute):
1416 * desktop.el (desktop-create-buffer):
1417 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1418
14192012-02-10 Glenn Morris <rgm@gnu.org>
1420
1421 * textmodes/bibtex.el:
1422 Add missing :version tags for new/changed defcustoms.
1423
1424 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1425
14262012-02-09 Lars Ingebrigtsen <larsi@rusty>
1427
1428 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1429 (smtpmail-via-smtp): Use it, or fall back on the From address.
1430 (smtpmail-send-it): Ditto.
1431
14322012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1435 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1436 (byte-compile-tmp-var): New const.
1437 (byte-compile-defvar): Use it to minimize .elc size.
1438 Just use `defvar' rather than simulate it (bug#10761).
1439
14402012-02-09 Glenn Morris <rgm@gnu.org>
1441
1442 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1443
1444 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1445 Add :version tags.
1446
1447 * progmodes/compile.el (compilation-error-screen-columns)
1448 (compilation-first-column, compilation-filter-start): Doc fixes.
1449
1450 * vc/log-view.el (log-view-toggle-entry-display):
1451 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1452
1453 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1454 (report-emacs-bug-can-use-xdg-email):
1455 (report-emacs-bug-insert-to-mailer): Doc fixes.
1456 (report-emacs-bug): Message fix.
1457
1458 * net/browse-url.el (browse-url-can-use-xdg-open)
1459 (browse-url-xdg-open): Doc fixes.
1460
1461 * electric.el (electric-indent-mode, electric-pair-mode)
1462 (electric-layout-rules, electric-layout-mode): Doc fixes.
1463 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1464
14652012-02-08 Martin Rudalics <rudalics@gmx.at>
1466
1467 * server.el (server-unselect-display): Don't inadvertently kill
1468 the current buffer. (Bug#10729)
1469
14702012-02-08 Glenn Morris <rgm@gnu.org>
1471
1472 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1473 (sql-list-table): Doc fixes.
1474
1475 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1476 Comment out (does nothing).
1477
1478 * completion.el (dynamic-completion-mode):
1479 * dirtrack.el (dirtrack-debug-mode):
1480 * electric.el (electric-layout-mode):
1481 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1482 * face-remap.el (text-scale-mode, buffer-face-mode):
1483 * iimage.el (iimage-mode):
1484 * image-mode.el (image-transform-mode):
1485 * minibuffer.el (completion-in-region-mode):
1486 * scroll-lock.el (scroll-lock-mode):
1487 * simple.el (next-error-follow-minor-mode):
1488 * tar-mode.el (tar-subfile-mode):
1489 * tooltip.el (tooltip-mode):
1490 * vcursor.el (vcursor-use-vcursor-map):
1491 * wid-browse.el (widget-minor-mode):
1492 * emulation/tpu-edt.el (tpu-edt-mode):
1493 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1494 * international/iso-ascii.el (iso-ascii-mode):
1495 * language/thai-util.el (thai-word-mode):
1496 * mail/supercite.el (sc-minor-mode):
1497 * net/goto-addr.el (goto-address-mode):
1498 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1499 * progmodes/cwarn.el (cwarn-mode):
1500 * progmodes/flymake.el (flymake-mode):
1501 * progmodes/glasses.el (glasses-mode):
1502 * progmodes/hideshow.el (hs-minor-mode):
1503 * progmodes/pascal.el (pascal-outline-mode):
1504 * textmodes/enriched.el (enriched-mode):
1505 * vc/smerge-mode.el (smerge-mode):
1506 Doc fixes (minor mode argument).
1507
15082012-02-07 Eli Zaretskii <eliz@gnu.org>
1509
1510 * ls-lisp.el (ls-lisp-sanitize): New function.
1511 (ls-lisp-insert-directory): Use it to fix or remove any elements
1512 in file-alist with missing attributes. (Bug#4673)
1513
15142012-02-07 Alan Mackenzie <acm@muc.de>
1515
1516 Fix spurious recognition of c-in-knr-argdecl.
1517
1518 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1519 putative K&R region.
1520
15212012-02-07 Alan Mackenzie <acm@muc.de>
1522
1523 * progmodes/cc-engine.el (c-forward-objc-directive):
1524 Prevent looping in "#pragma mark @implementation".
1525
15262012-02-07 Michael Albinus <michael.albinus@gmx.de>
1527
1528 * notifications.el (notifications-on-closed-signal): Make `reason'
1529 optional. (Bug#10744)
1530
15312012-02-07 Glenn Morris <rgm@gnu.org>
1532
1533 * emacs-lisp/easy-mmode.el (define-minor-mode):
1534 Doc fixes for the macro and the mode it defines.
1535
1536 * image.el (imagemagick-types-inhibit): Doc fix.
1537
1538 * cus-start.el (imagemagick-render-type): Add it.
1539
15402012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1541
1542 * progmodes/cc-mode.el
1543 (c-standard-font-lock-fontify-region-function): Set the default at
1544 load time, too, so that `font-lock-fontify-buffer' can be called
1545 without setting up the entire mode first. This fixes a bug in
1546 `mm-inline-text' with C MIME parts.
1547
15482012-02-06 Chong Yidong <cyd@gnu.org>
1549
1550 * simple.el (list-processes--refresh): Delete exited processes
1551 (Bug#8094).
1552
1553 * comint.el (comint-next-prompt): next-single-char-property-change
1554 and prev-single-char-property-change never return nil (Bug#8657).
1555
1556 * custom.el (defcustom): Doc fix (Bug#9711).
1557
15582012-02-05 Chong Yidong <cyd@gnu.org>
1559
1560 * cus-edit.el (custom-variable-reset-backup): Quote the value
1561 before storing it in the customized-value property (Bug#6712).
1562 (custom-display): Add a customization type tag.
1563 (custom-buffer-create-internal): Improve tooltip message.
1564
1565 * wid-edit.el (widget-field-value-get): New optional arg to
1566 suppress trailing whitespace truncation.
1567 (character): Use it (Bug#2689).
1568
15692012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1570
1571 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1572 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1573
15742012-02-05 Chong Yidong <cyd@gnu.org>
1575
1576 * cus-edit.el (custom-variable-value-create): For mismatched
1577 types, show the current value (Bug#7600).
1578
1579 * custom.el (defcustom): Doc fix.
1580
15812012-02-05 Glenn Morris <rgm@gnu.org>
1582
1583 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1584
15852012-02-05 Juanma Barranquero <lekktu@gmail.com>
1586
1587 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1588 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1589 (pp-last-sexp): Use `looking-at-p'.
1590
15912012-02-04 Glenn Morris <rgm@gnu.org>
1592
1593 * files.el (revert-buffer):
1594 Doc fix (mention revert-buffer-in-progress-p).
1595
1596 * emacs-lisp/ert-x.el (ert-simulate-command):
1597 Check deferred-action-list (which is obsolete) is bound.
1598
1599 * subr.el (with-wrapper-hook): Doc fixes.
1600
1601 * simple.el (filter-buffer-substring-functions)
1602 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1603
16042012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1605
1606 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1607 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1608
16092012-02-04 Leo Liu <sdl.web@gmail.com>
1610
1611 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1612
16132012-02-04 Glenn Morris <rgm@gnu.org>
1614
1615 * image.el (image-extension-data): Add obsolete alias.
1616
1617 * isearch.el (isearch-update): Doc fix.
1618
1619 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1620
1621 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1622
16232012-02-03 Glenn Morris <rgm@gnu.org>
1624
1625 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1626 (image-animate-timeout): Doc fix.
1627
1628 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1629
16302012-02-02 Glenn Morris <rgm@gnu.org>
1631
1632 * server.el (server-auth-dir): Doc fix.
1633 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1634
1635 * subr.el (run-mode-hooks): Doc fix.
1636
16372012-02-02 Juri Linkov <juri@jurta.org>
1638
1639 * image-mode.el (image-toggle-display-image): Remove tautological
1640 `major-mode' from the `derived-mode-p' test.
1641
16422012-02-02 Kenichi Handa <handa@m17n.org>
1643
1644 * composite.el (compose-region): Cancel previous change.
1645
16462012-02-02 Kenichi Handa <handa@m17n.org>
1647
1648 * composite.el (compose-region, compose-string): Signal error for
1649 a null string component (Bug#6988).
1650
16512012-02-01 Chong Yidong <cyd@gnu.org>
1652
1653 * view.el (view-buffer-other-window, view-buffer-other-frame):
1654 Handle special modes like view-buffer (Bug#10650).
1655 (view-buffer): Simplify.
1656
1657 * frame.el (set-frame-font): Tweak meaning of third argument.
1658
1659 * dynamic-setting.el (font-setting-change-default-font):
1660 Use set-frame-font (Bug#9982).
1661
16622012-02-01 Glenn Morris <rgm@gnu.org>
1663
1664 * progmodes/compile.el (compilation-internal-error-properties):
1665 Respect compilation-first-column in the "*compilation*" buffer.
1666
1667 * emacs-lisp/easy-mmode.el (define-minor-mode):
1668 Relax :variable's test for a named function.
1669
16702012-01-31 Alan Mackenzie <acm@muc.de>
1671
1672 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1673 off by one error.
1674
16752012-01-31 Chong Yidong <cyd@gnu.org>
1676
1677 * frame.el (set-frame-font): New arg ALL-FRAMES.
1678
1679 * menu-bar.el (menu-set-font): Use set-frame-font.
1680
1681 * faces.el (face-spec-reset-face): Don't apply unspecified
1682 attribute values to the default face.
1683
16842012-01-31 Juanma Barranquero <lekktu@gmail.com>
1685
1686 * progmodes/cwarn.el (cwarn): Remove dead link.
1687 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1688 Remove * from defcustom docstrings.
1689 (turn-on-cwarn-mode): Make obsolete.
1690 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1691 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1692
16932012-01-31 Glenn Morris <rgm@gnu.org>
1694
1695 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1696 Fix :variable handling of mode a symbol not equal to modefun.
1697 Allow named functions to be used as the cdr of :variable.
1698
16992012-01-30 Glenn Morris <rgm@gnu.org>
1700
1701 * emacs-lisp/authors.el (authors-fixed-entries):
1702 Remove reference to deleted file rnewspost.el.
1703
17042012-01-29 Juanma Barranquero <lekktu@gmail.com>
1705
1706 * window.el (window-with-parameter): Remove unused variable `windows'.
1707 (window--side-check): Remove unused variable `code'.
1708 (window--resize-siblings): Remove unused variable `first'.
1709 (adjust-window-trailing-edge): Remove unused variable `failed'.
1710 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1711 Use `let', not `let*'.
1712 (balance-windows-2): Remove unused variable `found'.
1713 (window--state-put-2): Remove unused variable `splits'.
1714 (window-state-put): Remove unused variable `selected'.
1715 (same-window-p): Use `string-match-p'.
1716 (display-buffer-assq-regexp): Remove unused variable `value'.
1717 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1718 Mark argument ALIST as ignored.
1719 (pop-to-buffer): Remove unused variable `old-window'.
1720
17212012-01-29 Eli Zaretskii <eliz@gnu.org>
1722
1723 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1724 and .lzma compressed files.
1725
17262012-01-29 Chong Yidong <cyd@gnu.org>
1727
1728 * frame.el (window-system-default-frame-alist): Doc fix.
1729
1730 * dynamic-setting.el (font-setting-change-default-font): Don't
1731 change the default face if SET-FONT argument is non-nil (Bug#9982).
1732
17332012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1734
1735 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1736
17372012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
1738
1739 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1740 breakpoints in files outside current directory (Bug#6098).
1741
17422012-01-29 Chong Yidong <cyd@gnu.org>
1743
1744 * progmodes/python.el: Require ansi-color at top-level.
1745
1746 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1747 Define and use in Emacs Lisp mode (Bug#9360).
1748 (lisp-mode-abbrev-table): Add doc.
1749 (lisp-mode-variables): Don't set local-abbrev-table.
1750 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1751
17522012-01-28 Roland Winkler <winkler@gnu.org>
1753
1754 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1755
17562012-01-28 Roland Winkler <winkler@gnu.org>
1757
1758 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1759 (bibtex-set-dialect): Use it. Either set global values of
1760 dialect-dependent variables or bind these variables buffer-locally
1761 (Bug#10254).
1762 (bibtex-mode): Call bibtex-set-dialect via
1763 hack-local-variables-hook.
1764 (bibtex-dialect): Update docstring.
1765 Add safe-local-variable predicate.
1766 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1767 bibtex-set-dialect.
1768 (bibtex-mode-map): Define menu for each dialect.
1769 (bibtex-entry): Fix docstring.
1770
17712012-01-28 Chong Yidong <cyd@gnu.org>
1772
1773 * eshell/esh-arg.el (eshell-quote-argument): New function.
1774
1775 * eshell/esh-ext.el (eshell-invoke-batch-file):
1776 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1777 first arg to eshell-parse-command (Bug#10523).
1778
17792012-01-28 Drew Adams <drew.adams@oracle.com>
1780
1781 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1782 `default-directory' is non-nil.
1783
17842012-01-28 Eli Zaretskii <eliz@gnu.org>
1785
1786 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1787 line that displays system-configuration-options. (Bug#9924)
1788
17892012-01-28 Drew Adams <drew.adams@oracle.com>
1790
1791 * descr-text.el (describe-char): Show information about POS, in
1792 addition to information about the character at POS. Improve and
1793 update the doc string. Change "code point" to "code point in
1794 charset", to avoid confusion with the character's Unicode code
1795 point shown above that. (Bug#10129)
1796
17972012-01-28 Eli Zaretskii <eliz@gnu.org>
1798
1799 * descr-text.el (describe-char): Show the raw character, not only
1800 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1801 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1802 for the reasons.
1803
18042012-01-28 Phil Hagelberg <phil@hagelb.org>
1805
1806 * emacs-lisp/package.el (package-install):
1807 Run package-refresh-contents if there is no archive yet (Bug#9798).
1808
18092012-01-28 Chong Yidong <cyd@gnu.org>
1810
1811 * emacs-lisp/package.el (package-maybe-load-descriptor):
1812 New function, split from package-maybe-load-descriptor.
1813 (package-maybe-load-descriptor): Use it.
1814 (package-download-transaction): Fully load required packages
1815 inside the loop, so that `require' calls work (Bug#10593).
1816 (package-install): No need to call package-initialize now.
1817
18182012-01-28 Chong Yidong <cyd@gnu.org>
1819
1820 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1821
1822 * tooltip.el (tooltip-mode): Doc fix.
1823 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1824
1825 * frame.el (set-cursor-color): Doc fix (Bug#352).
1826
1827 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1828 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1829
1830 * cus-edit.el (custom-buffer-create-internal): Fix search button
1831 action (Bug#10542).
1832 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
1833
18342012-01-27 Eduard Wiebe <usenet@pusto.de>
1835
1836 * dired.el (dired-mark-files-regexp):
1837 Include any subdirectory components. (Bug#10445)
1838
18392012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1840
1841 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1842 Handle [host]:port syntax. (Bug#10533)
1843
18442012-01-27 Alex Harsanyi <harsanyi@mac.com>
1845
1846 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1847
18482012-01-26 Glenn Morris <rgm@gnu.org>
1849
1850 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1851 * term.el (term-raw-escape-map): Use Control-X-prefix.
1852 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1853
18542012-01-25 Martin Rudalics <rudalics@gmx.at>
1855
1856 * window.el (window-state-get, window--state-get-1): Don't deal
1857 with fixed-sizeness of windows. Simplify code.
1858
18592012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1860
1861 * window.el (window--state-get-1, window--state-put-2):
1862 Don't save and restore the mark.
1863
18642012-01-25 Chong Yidong <cyd@gnu.org>
1865
1866 * custom.el (custom-variable-p): Doc fix.
1867
18682012-01-25 Glenn Morris <rgm@gnu.org>
1869
1870 * dired.el (dired-goto-file): Handle some of the more common
1871 characters that `ls -b' escapes. (Bug#10596)
1872
1873 * progmodes/compile.el (compilation-next-error-function):
1874 Respect compilation-first-column in the "*compilation*" buffer.
1875 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1876
1877 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1878
18792012-01-24 Glenn Morris <rgm@gnu.org>
1880
1881 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1882
18832012-01-24 Julien Danjou <julien@danjou.info>
1884
1885 * color.el (color-rgb-to-hsl): Fix value computing.
1886 (color-hue-to-rgb): New function.
1887 (color-hsl-to-rgb): New function.
1888 (color-clamp, color-saturate-hsl, color-saturate-name)
1889 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1890 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1891
18922012-01-24 Glenn Morris <rgm@gnu.org>
1893
1894 * vc/vc-rcs.el (vc-rcs-create-tag):
1895 * vc/vc-sccs.el (vc-sccs-create-tag):
1896 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1897
18982012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1899
1900 * eshell/esh-util.el (eshell-read-hosts-file):
1901 Skip comment lines. (Bug#10549)
1902
1903 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1904
19052012-01-23 Juanma Barranquero <lekktu@gmail.com>
1906
1907 * subr.el (display-delayed-warnings): Doc fix.
1908 (collapse-delayed-warnings): New function to collapse identical
1909 adjacent warnings.
1910 (delayed-warnings-hook): Add it.
1911
19122012-01-22 Michael Albinus <michael.albinus@gmx.de>
1913
1914 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1915
1916 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1917 properties, when "login-as" is set.
1918
1919 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1920 (tramp-default-user-alist): Don't add "pscp".
1921 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1922 property "login-as", if set. (Bug#10530)
1923
19242012-01-21 Michael Albinus <michael.albinus@gmx.de>
1925
1926 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1927 "plink1" and "psftp". (Bug#10530)
1928
19292012-01-21 Kenichi Handa <handa@m17n.org>
1930
1931 * international/mule-cmds.el (prefer-coding-system): Show a
1932 warning message if the default value of file-name-coding-system
1933 was not changed.
1934
19352012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1936
1937 * windmove.el (windmove-reference-loc):
1938 Fix windmove-reference-loc miscalculation.
1939
19402012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1941
1942 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1943 default unit.
1944
19452012-01-21 Glenn Morris <rgm@gnu.org>
1946
1947 * international/mule.el (auto-coding-alist): Add .tbz.
1948
1949 * files.el (local-enable-local-variables): Doc fix.
1950 (inhibit-local-variables-regexps): Rename from
1951 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1952 Doc fix. Add some extensions from auto-coding-alist.
1953 (inhibit-local-variables-suffixes):
1954 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1955 (inhibit-local-variables-p):
1956 New function, extracted from set-auto-mode-1.
1957 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1958 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1959 (hack-local-variables): Doc fix. Make the mode-only case
1960 respect enable-local-variables and friends.
1961 Respect inhibit-local-variables-regexps for file-locals, but
1962 not for directory-locals.
1963 (set-visited-file-name):
1964 Take account of inhibit-local-variables-regexps.
1965 Whether it applies may change as the file name is changed.
1966 * jka-cmpr-hook.el (jka-compr-install):
1967 * jka-compr.el (jka-compr-uninstall):
1968 Update for inhibit-first-line-modes-suffixes name change.
1969
19702012-01-20 Martin Rudalics <rudalics@gmx.at>
1971
1972 * help-macro.el (make-help-screen): Temporarily restore original
1973 binding for minor-mode-map-alist (Bug#10454).
1974
19752012-01-19 Julien Danjou <julien@danjou.info>
1976
1977 * color.el (color-name-to-rgb): Use the white color to find the max
1978 color component value and return correctly computed values.
1979 (color-name-to-rgb): Add missing float conversion for max value.
1980
19812012-01-19 Martin Rudalics <rudalics@gmx.at>
1982
1983 * window.el (window--state-get-1, window-state-get): Do not use
1984 special state value for window-persistent-parameters.
1985 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
1986 (window--state-put-2): Reset all window parameters to nil before
1987 assigning values of persistent parameters.
1988
19892012-01-18 Alan Mackenzie <acm@muc.de>
1990
1991 Eliminate sluggishness and hangs in fontification of "semicolon
1992 deserts".
1993
1994 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1995 Change value 10000 -> 3000.
1996 (c-state-safe-place): Reformulate so it doesn't stack up an
1997 infinite number of wrong entries in c-state-nonlit-pos-cache.
1998 (c-determine-limit-get-base, c-determine-limit): New functions to
1999 determine backward search limits disregarding literals.
2000 (c-find-decl-spots): Amend commenting.
2001 (c-cheap-inside-bracelist-p): New function which detects "={".
2002
2003 * progmodes/cc-fonts.el
2004 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2005 backward search.
2006 (c-font-lock-declarations): Fix an occurrence of point being
2007 undefined. Check additionally for point being in a bracelist or
2008 near a macro invocation without a semicolon so as to avoid a
2009 fruitless time consuming search for a declarator. Give a more
2010 precise search limit for declarators using the new
2011 c-determine-limit.
2012
20132012-01-18 Glenn Morris <rgm@gnu.org>
2014
2015 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2016 (set-auto-mode): Doc fixes.
2017
20182012-01-17 Glenn Morris <rgm@gnu.org>
2019
2020 * isearch.el (search-nonincremental-instead): Fix doc typo.
2021
2022 * dired.el (dired-insert-directory): Handle newlines in directory name.
2023 (dired-build-subdir-alist): Unescape newlines in directory name.
2024
20252012-01-17 Michael Albinus <michael.albinus@gmx.de>
2026
2027 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2028 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2029 (tramp-action-terminal): Use it. (Bug#10530)
2030
20312012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2034
20352012-01-16 Martin Rudalics <rudalics@gmx.at>
2036
2037 * window.el (window-state-ignored-parameters): Remove variable.
2038 (window--state-get-1): Rename argument MARKERS to IGNORE.
2039 Handle persistent window parameters. Make copy of clone-of
2040 parameter only if requested. (Bug#10348)
2041 (window--state-put-2): Install a window parameter only if it has
2042 a non-nil value or an existing parameter shall be overwritten.
2043
20442012-01-15 Michael Albinus <michael.albinus@gmx.de>
2045
2046 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2047
20482012-01-14 Eli Zaretskii <eliz@gnu.org>
2049
2050 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2051 don't pass the (nil) value of `upnode' to string-match.
2052
20532012-01-14 Chong Yidong <cyd@gnu.org>
2054
2055 * startup.el (command-line): Fix X resource class for cursorColor.
2056 Fix values recognized by the cursorBlink resource.
2057
20582012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2059
2060 * epg.el (epg--make-temp-file): Avoid permission race condition
2061 when running on old Emacs versions (bug#10403).
2062
20632012-01-14 Glenn Morris <rgm@gnu.org>
2064
2065 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2066
20672012-01-13 Alan Mackenzie <acm@muc.de>
2068
2069 Fix filling for when filladapt mode is enabled.
2070
2071 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2072 c-mask-paragraph, pass in `fill-paragraph' rather than
2073 `fill-region-as-paragraph'. (This is a reversion of a previous
2074 change.)
2075 * progmodes/cc-mode.el (c-basic-common-init):
2076 Make fill-paragraph-handle-comment buffer local and set it to nil.
2077
20782012-01-13 Glenn Morris <rgm@gnu.org>
2079
2080 * dired.el (dired-switches-escape-p): New function.
2081 (dired-insert-directory): Use dired-switches-escape-p.
2082 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2083
2084 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2085
20862012-01-12 Glenn Morris <rgm@gnu.org>
2087
2088 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2089 changes in adaptive-fill-regexp. (Bug#10276)
2090
20912012-01-11 Alan Mackenzie <acm@muc.de>
2092
2093 Fix Emacs bug #10463 - put `widen's around the critical spots.
2094
2095 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2096 widen around each invocation of c-state-pp-to-literal. Remove an
2097 unused let variable.
2098
20992012-01-11 Glenn Morris <rgm@gnu.org>
2100
2101 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
2102 Doc fix.
2103
21042012-01-10 Chong Yidong <cyd@gnu.org>
2105
2106 * net/network-stream.el (network-stream-open-starttls):
2107 Avoid emitting a confusing error message when the server gives a bad
2108 response to the capability command.
2109
21102012-01-10 Glenn Morris <rgm@gnu.org>
2111
2112 * mail/unrmail.el (unrmail): Tweak previous change.
2113
21142012-01-09 Chong Yidong <cyd@gnu.org>
2115
2116 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2117
21182012-01-08 Alan Mackenzie <acm@muc.de>
2119
2120 Optimise font locking in long enum definitions.
2121
2122 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2123 arm to a cond form to handle enums.
2124 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2125 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2126
21272012-01-07 Paul Eggert <eggert@cs.ucla.edu>
2128
2129 * files.el (move-file-to-trash): Preserve default file modes on error.
2130 (Bug#10401)
2131
21322012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2133
2134 * faces.el (set-face-attribute): Clarify the meaning of the nil
2135 frame (bug#10294).
2136
2137 * subr.el (with-selected-frame): Mention that the selected frame
2138 is restored (bug#9980).
2139
2140 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2141 (bug#9759).
2142
2143 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2144 (password-read): Don't autoload unused function.
2145
21462012-01-07 Juanma Barranquero <lekktu@gmail.com>
2147
2148 * progmodes/which-func.el (which-func-mode): Turn into a
2149 non-interactive function and mark as obsolete (bug#10428).
2150
21512012-01-06 Chong Yidong <cyd@gnu.org>
2152
2153 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2154 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2155 functions, along with 1 and -1.
2156
21572012-01-06 Eli Zaretskii <eliz@gnu.org>
2158
2159 * time.el (display-time-load-average)
2160 (display-time-default-load-average): Doc fixes. See the thread
2161 starting at
2162 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2163 for the details.
2164
21652012-01-06 Glenn Morris <rgm@gnu.org>
2166
2167 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2168 has no messages. (Bug#10377)
2169
2170 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2171 than Info-edit. (Bug#10385)
2172
2173 * time.el (display-time-load-average, display-time-next-load-average):
2174 Doc fixes.
2175
2176 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2177 local setting of buffer-read-only to the input buffer. (Bug#10419)
2178
2179 * calendar/calendar.el (calendar-mode):
2180 Locally set scroll-margin to 0. (Bug#10379)
2181
21822012-01-06 Ulrich Mueller <ulm@gentoo.org>
2183
2184 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2185
21862012-01-05 Glenn Morris <rgm@gnu.org>
2187
2188 * eshell/em-unix.el (diff-no-select): Autoload it.
2189 (eshell/diff): Use diff-no-select. (Bug#10420)
2190
21912012-01-05 Chong Yidong <cyd@gnu.org>
2192
2193 * shell.el (shell-dynamic-complete-functions): Revert last change.
2194 (shell-command-completion-function): New function.
2195 (shell-completion-vars): Use it to implement
2196 shell-completion-execonly (Bug#10417).
2197
2198 * custom.el (enable-theme): Don't set custom-safe-themes.
2199
2200 * cus-theme.el (custom-theme-merge-theme):
2201 Ignore custom-enabled-themes and custom-safe-themes.
2202
22032012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2204
2205 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2206 first prompt in `sql-interacive-mode'.
2207 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
2208 keywords.
2209 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
2210 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2211 context of original buffer. Invoke `sql-login-hook'.
2212
22132012-01-04 Eli Zaretskii <eliz@gnu.org>
2214
2215 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2216 letters in cite-prefix.
2217
22182012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2219
2220 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2221
22222012-01-03 Chong Yidong <cyd@gnu.org>
2223
2224 * shell.el (shell-dynamic-complete-functions):
2225 Put pcomplete-completions-at-point, so as to try
2226 comint-filename-completion first (Bug#10417).
2227
22282012-01-02 Richard Stallman <rms@gnu.org>
2229
2230 * battery.el (battery-status-function):
2231 Detect when to use battery-yeeloong-sysfs.
2232 (battery-echo-area-format): Add string for Yeeloong.
2233 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2234 (battery-yeeloong-sysfs): New function.
2235
22362012-01-02 Chong Yidong <cyd@gnu.org>
2237
2238 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2239 (dirtrack): Merge code for handling relative filenames in prompt
2240 from shell-dir-cookie-watcher.
2241 (dirtrack-debug-message): New arg to avoid excess format calls.
2242
2243 * shell.el (shell-dir-cookie-re): Variable deleted.
2244 (shell-dir-cookie-watcher): Function deleted.
2245 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2246 with dirtrack-mode.
2247
22482012-01-01 Eli Zaretskii <eliz@gnu.org>
2249
2250 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2251 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
2252 libgnutls-26.dll.
2253
22542011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2255
2256 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2257
22582011-12-31 Eli Zaretskii <eliz@gnu.org>
2259
2260 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2261 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2262
22632011-12-29 Michael Albinus <michael.albinus@gmx.de>
2264
2265 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2266 also for alternative shells.
2267 (tramp-open-connection-setup-interactive-shell): Check, whether
2268 the shell is a busybox.
2269 (tramp-send-command): Don't suppress multiple prompts for
2270 busyboxes, it hurts.
2271
22722011-12-28 Chong Yidong <cyd@gnu.org>
2273
2274 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2275 (gdb-get-source-file): Move mode line update to
2276 gdb-get-source-file (Bug#10087).
2277
22782011-12-25 Chong Yidong <cyd@gnu.org>
2279
2280 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2281 gud-gdb-marker-filter without taking it as an argument.
2282 (gud-gdb-run-command-fetch-lines): Caller changed.
2283 (gud-gdb-completion-function): New variable.
2284 (gud-gdb-completion-at-point): Use it.
2285 (gud-gdb-completions-1): Split from gud-gdb-completions.
2286
2287 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2288 function as separate arguments.
2289 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2290 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2291 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2292 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2293 (gdb-stopped, def-gdb-auto-update-trigger)
2294 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
2295 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2296 Callers changed.
2297 (gud-gdbmi-completions): New function.
2298 (gdb): Use it for generating the completion table.
2299
23002011-12-24 Alan Mackenzie <acm@muc.de>
2301
2302 Introduce a mechanism to widen the region used in context font
2303 locking. Use this to protect declarations from losing their contexts.
2304
2305 * progmodes/cc-langs.el (c-before-font-lock-functions):
2306 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
2307 (c-before-context-fontification-functions): New defvar, a list of
2308 functions to be run just before context (etc.) font locking.
2309
2310 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2311 New, functionality extracted from
2312 c-neutralize-syntax-in-and-mark-CPP.
2313 (c-in-after-change-fontification): New variable.
2314 (c-after-change): Set c-in-after-change-fontification.
2315 (c-set-fl-decl-start): Rejig its interface, so it can be called
2316 from both after-change and context fontifying.
2317 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2318 New functions.
2319 (c-standard-font-lock-fontify-region-function): New variable.
2320 (c-font-lock-fontify-region): New function.
2321
23222011-12-24 Juri Linkov <juri@jurta.org>
2323
2324 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2325 (Bug#10348)
2326
23272011-12-23 Michael Albinus <michael.albinus@gmx.de>
2328
2329 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2330 existence of source file. (Bug#10325)
2331
23322011-12-23 Alan Mackenzie <acm@muc.de>
2333
2334 Fix unstable fontification inside templates.
2335
2336 * progmodes/cc-langs.el (c-before-font-lock-functions):
2337 Newly created from the singular version. The (c c++ objc) entry now
2338 additionally has c-set-fl-decl-start. The other languages (apart
2339 from AWK) have that as a single entry.
2340
2341 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2342 The functionality for "local" declarations has been extracted to
2343 c-set-fl-decl-start.
2344
2345 * progmodes/cc-mode.el (c-common-init, c-after-change):
2346 Changes due to pluralisation of c-before-font-lock-functions.
2347 (c-set-fl-decl-start): New function, extracted from
2348 c-font-lock-enclosing-decls and enhanced.
2349
23502011-12-23 Juanma Barranquero <lekktu@gmail.com>
2351
2352 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2353
23542011-12-22 Juri Linkov <juri@jurta.org>
2355
2356 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2357
23582011-12-22 Chong Yidong <cyd@gnu.org>
2359
2360 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2361
23622011-12-21 Drew Adams <drew.adams@oracle.com>
2363
2364 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2365
23662011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2367
2368 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2369
23702011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2371
2372 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2373 highlighting and support. Fix up comments for capitalization.
2374 (cfengine-mode-debug): New var.
2375 (cfengine3-mode): Change the modeline indicator to "CFE3".
2376 (cfengine3-font-lock-keywords): Improve defun highlighting.
2377 (cfengine2-actions): Rename from `cfengine-actions'.
2378 (cfengine2-font-lock-keywords): Rename from
2379 `cfengine-font-lock-keywords'.
2380 (cfengine2-imenu-expression): Rename from
2381 `cfengine-imenu-expression'.
2382 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2383 (cfengine2-beginning-of-defun): Rename from
2384 `cfengine-beginning-of-defun'.
2385 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2386 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2387 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2388 modeline indicator to "CFE2".
2389 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2390 (cfengine-mode-abbrevs): Mark obsolete.
2391
23922011-12-21 Chong Yidong <cyd@gnu.org>
2393
2394 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2395 filename argument.
2396
23972011-12-20 Martin Rudalics <rudalics@gmx.at>
2398
2399 * window.el (window-normalize-buffer-to-display): Remove.
2400 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2401
24022011-12-19 Chong Yidong <cyd@gnu.org>
2403
2404 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2405 Don't signal an error in a predicate function; return non-nil.
2406 (vc-dir-mark-file): Move the error here.
2407 (vc-dir-mark-unmark): If acting on the region, keep going if one
2408 of the entries cannot be marked/unmarked.
2409 (vc-dir-mark-all-files): If current entry is a directory, mark
2410 only child files, as documented.
2411
24122011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2413
2414 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2415 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2416 addition.
2417
24182011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2419
2420 * term/ns-win.el (ns-get-selection-internal)
2421 (ns-store-selection-internal): Declare.
2422 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2423 Declare as obsolete.
2424 (ns-get-pasteboard, ns-paste-secondary):
2425 Use ns-get-selection-internal.
2426 (ns-set-pasteboard, ns-copy-including-secondary):
2427 Use ns-store-selection-internal.
2428
24292011-12-17 Chong Yidong <cyd@gnu.org>
2430
2431 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2432 (vc-deduce-fileset): Doc fix.
2433
24342011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2435
2436 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2437
24382011-12-13 Sam Steingold <sds@gnu.org>
2439
2440 * man.el (Man-getpage-in-background): When running under a
2441 window-system, ignore $MANWIDTH and $COLUMNS.
2442
24432011-12-15 Kenichi Handa <handa@m17n.org>
2444
2445 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2446 (setup-ethiopic-environment-internal): Comment out key-binding for
2447 ethio-toggle-punctuation.
2448
24492011-12-13 Alan Mackenzie <acm@muc.de>
2450
2451 Add the switch statement to AWK Mode.
2452
2453 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2454 "default" to the keywords regexp.
2455
2456 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2457 expression as the rest.
2458 (c-nonlabel-token-key): Allow string literals for AWK.
2459 Refactor for the other modes.
2460
2461 Large brace-block initialisation makes CC Mode slow: Fix.
2462 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2463 routines. Limit backward searching in c-font-lock-enclosing.decl.
2464
2465 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2466 pp-state and literal type in addition to the limits.
2467 (c-state-safe-place): New defun, extracted from c-state-literal-at.
2468 (c-state-literal-at): Use the above new defun.
2469 (c-slow-in-literal, c-fast-in-literal): Remove.
2470 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2471
2472 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2473 being in a literal. Add a limit for backward searching.
2474
2475 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2476 c-slow-in-literal.
2477
24782011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2479
2480 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2481
24822011-12-13 Martin Rudalics <rudalics@gmx.at>
2483
2484 * window.el (delete-other-windows): Use correct frame in call to
2485 window-with-parameter.
2486
24872011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2488
2489 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2490 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2491 (makefile-gmake-statements, makefile-makepp-statements):
2492 Use it and add new makepp keywords.
2493 (makefile-makepp-font-lock-keywords): Add new patterns.
2494 (makefile-match-function-end): Match new [...] and [[...]].
2495
24962011-12-11 Juanma Barranquero <lekktu@gmail.com>
2497
2498 * ses.el (ses-call-printer-return, ses-cell-property-get)
2499 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2500 (ses-create-cell-variable, ses-reset-header-string)
2501 (ses-cell-set-formula, ses-repair-cell-reference-all)
2502 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2503 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2504 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2505 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2506 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2507 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2508 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2509 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2510 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2511 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2512 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2513 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2514
25152011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2516
2517 * ses.el: The overall change is to add cell renaming, that is
2518 setting fancy names for cell symbols other than name matching
2519 "\\`[A-Z]+[0-9]+\\'" regexp .
2520 (ses-create-cell-variable): New defun.
2521 (ses-relocate-formula): Relocate formulas only for cells the
2522 symbols of which are not renamed, i.e. symbols whose names do not
2523 match regexp "\\`[A-Z]+[0-9]+\\'".
2524 (ses-relocate-all): Relocate values only for cells the symbols of
2525 which are not renamed.
2526 (ses-load): Create cells variables as the (ses-cell ...) are read,
2527 in order to check row col consistency with cell symbol name only
2528 for cells that are not renamed.
2529 (ses-replace-name-in-formula): New defun.
2530 (ses-rename-cell): New defun.
2531
25322011-12-11 Chong Yidong <cyd@gnu.org>
2533
2534 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2535 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2536
25372011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2538
2539 * window.el (other-window): Fix docstring.
2540
25412011-12-10 Eli Zaretskii <eliz@gnu.org>
2542
2543 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2544 `from' or `to' address before taking its substring.
2545 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2546 encoded name is chopped in the middle of the encoded string, and
2547 thus displayed encoded.
2548
25492011-12-10 Juanma Barranquero <lekktu@gmail.com>
2550
2551 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2552
25532011-12-10 Eli Zaretskii <eliz@gnu.org>
2554
2555 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2556 to use texinfo-update-node and commands that call it if the
2557 Texinfo file uses @node lines without next/prev/up pointers.
2558 Correct outdated description about texinfo-master-menu.
2559 (texinfo-all-menus-update, texinfo-master-menu)
2560 (texinfo-update-node, texinfo-every-node-update)
2561 (texinfo-multiple-files-update): Doc fix. Warn against updating
2562 all the @node lines.
2563 (texinfo-master-menu): Only call texinfo-update-node if the prefix
2564 argument is numeric. Explain better in the doc string what the
2565 function really does.
2566 (texinfo-insert-master-menu-list): Improve the error message
2567 displayed if there's no menu in the Top node.
2568 (Bug#2975) See also this thread:
2569 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2570
25712011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2572
2573 * speedbar.el (speedbar-supported-extension-expressions):
2574 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2575
25762011-12-09 Juanma Barranquero <lekktu@gmail.com>
2577
2578 * printing.el (pr-mode-alist):
2579 * simple.el (filter-buffer-substring-functions)
2580 (completion-list-insert-choice-function):
2581 * window.el (window-with-parameter, window-atom-root)
2582 (window-sides-slots, window-size-fixed, window-min-delta)
2583 (window-max-delta, window--resize-mini-window)
2584 (window--resize-child-windows-normal, window-tree)
2585 (delete-other-windows, quit-window, split-window)
2586 (display-buffer-record-window, special-display-buffer-names)
2587 (special-display-regexps, special-display-popup-frame)
2588 (same-window-p, split-window-sensibly)
2589 (display-buffer-overriding-action, display-buffer-alist)
2590 (display-buffer-base-action, display-buffer, switch-to-buffer)
2591 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2592 (fit-window-to-buffer, recenter-positions)
2593 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2594 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2595 and remove unneeded backslashes in docstrings.
2596
25972011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2598
2599 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2600
2601 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2602 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2603 end in ".mk".
2604 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2605 when reading the makefile (bug#10116).
2606
26072011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2610 (bug#10116).
2611
26122011-12-06 Glenn Morris <rgm@gnu.org>
2613
2614 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2615
26162011-12-06 Chong Yidong <cyd@gnu.org>
2617
2618 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2619
26202011-12-06 Juanma Barranquero <lekktu@gmail.com>
2621
2622 * textmodes/table.el (table-shorten-cell): Fix typo.
2623
26242011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2625
2626 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2627
26282011-12-05 Eli Zaretskii <eliz@gnu.org>
2629
2630 * descr-text.el (describe-char): Fix display of strong
2631 right-to-left characters and directional embeddings and overrides.
2632
2633 * simple.el (what-cursor-position): Fix display of codepoints of
2634 strong right-to-left characters.
2635
26362011-12-05 Chong Yidong <cyd@gnu.org>
2637
2638 * faces.el (read-color): Doc fix.
2639
26402011-12-05 Glenn Morris <rgm@gnu.org>
2641
2642 * align.el (align--set-marker): Add doc-string.
2643 Don't try to move something that is not a marker. (Bug#10216)
2644
26452011-12-04 Glenn Morris <rgm@gnu.org>
2646
2647 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2648 overly zealous deletion of trailing whitespace.
2649
26502011-12-04 Juanma Barranquero <lekktu@gmail.com>
2651
2652 * server.el (server-delete-client): On Windows, do not try to delete
2653 the only terminal.
2654 (server-process-filter): On Windows, treat requests for a tty frame as
2655 if they were for a GUI frame if the running server is in GUI mode.
2656
26572011-12-03 Glenn Morris <rgm@gnu.org>
2658
2659 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2660
26612011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2662
2663 * electric.el: Streamline electric-indent's hook.
2664 (electric-indent-chars): Revert to simple list.
2665 (electric-indent-functions): New var.
2666 (electric-indent-post-self-insert-function): Use it.
2667
2668 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2669 there's no inferior buffer (bug#10196).
2670 (prolog-consult-compile): Don't use toggle-read-only.
2671
26722011-12-02 Michael Albinus <michael.albinus@gmx.de>
2673
2674 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2675 interrupt. (Bug#10187)
2676
26772011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2678
2679 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2680 (bug#9160).
2681
2682 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2683 (bug#10191).
2684
26852011-12-02 Juri Linkov <juri@jurta.org>
2686
2687 * info.el (Info-search): Display "end of manual" when Isearch
2688 reaches the end of single-file Info manual. (Bug#9918)
2689
26902011-12-02 Eli Zaretskii <eliz@gnu.org>
2691
2692 * isearch.el (isearch-message-prefix): Run the input method part
2693 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2694
26952011-12-02 Juri Linkov <juri@jurta.org>
2696
2697 * isearch.el (isearch-occur): Use `word-search-regexp' for
2698 `isearch-word'.
2699 (isearch-search-and-update): Add condition for `isearch-word' and
2700 call `word-search-regexp'. (Bug#10145)
2701
27022011-12-01 Glenn Morris <rgm@gnu.org>
2703
2704 * eshell/em-hist.el (eshell-hist-initialize):
2705 Handle eshell-history-size nil and HISTSIZE set or unset.
2706 (eshell-history-file-name, eshell-history-size): Fix custom type.
2707
27082011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2709
2710 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2711
27122011-12-01 Michael McNamara <mac@mail.brushroad.com>
2713
2714 * progmodes/verilog-mode.el (verilog-pretty-expr):
2715 Rework verilog-pretty-expr to handle new assignment operators in system
2716 verilog, such as += *= and the like.
2717 (verilog-assignment-operator-re): Regular expression to find the
2718 assigment operator in a verilog assignment.
2719 (verilog-assignment-operation-re): Regular expression to find an
2720 assignment statement for pretty-expr.
2721 (verilog-in-attribute-p): Query returns true if point is in an
2722 attribute context; used to skip these for expression line up from
2723 pretty-expr.
2724 (verilog-in-parameter-p): Query returns true if point is in an
2725 parameter definition context; used to skip these for expression
2726 line up from pretty-expr.
2727 (verilog-in-parenthesis-p): Query returns true if point is in a
2728 parenthetical expression, specifically ( ) but not [ ] or { };
2729 used by pretty-expr.
2730 (verilog-just-one-space): If there is no space, don't add one.
2731 (verilog-get-lineup-indent-2): Specifically skip just attribute
2732 contexts for expression lineup, rather than skipping all
2733 parenthetical expressions.
2734 (verilog-calculate-indent): Fix comment, and fix indent.
2735 (verilog-do-indent): Indent declarations in lists (suggested by
2736 Joachim Lechner).
2737 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2738 skeleton items.
2739 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2740 by Alain Mellan).
2741
27422011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
2743
2744 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2745 parameters with embedded comments. Reported by Ray Stevens.
2746 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2747 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2748 Reported by Tim Holt.
2749 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2750 instantiated by upper module causing wrong expansion until AUTOed a
2751 second time. Reported by K C Buckenmaier.
2752 (verilog-diff-auto): Fix showing .* as a difference when
2753 `verilog-auto-star-save' off. Reported by Dan Dever.
2754 (verilog-auto-reset, verilog-read-always-signals)
2755 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2756 temporary signals in reset list if
2757 verilog-auto-reset-blocking-in-non is nil, and match assignment
2758 style to each signal's assignment type, bug381.
2759 Reported by Thomas Esposito.
2760 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2761 (verilog-uvm-statement-re): Support UVM indentation and
2762 highlighting, with old OVM keywords only.
2763 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
2764 Support AUTOTIEOFF creating non-wire data types.
2765 Suggested by Jonathan Greenlaw.
2766 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2767 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2768 (verilog-inject-sense, verilog-read-inst-pins)
2769 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2770 Fix mismatching parenthesis inside commented out code when deleting
2771 AUTOINST, bug383. Reported by Jonathan Greenlaw.
2772 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2773 non-numeric vector width. Reported by Alex Reed.
2774 (verilog-auto-ascii-enum): Add "onehot" option to work around not
2775 detecting signals with parameter widths. Reported by Alex Reed.
2776 (verilog-auto-delete-trailing-whitespace):
2777 With `verilog-auto-delete-trailing-whitespace' remove trailing
2778 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2779 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2780 Fix verilog-scan-cache corruption when running user AUTO expansion
2781 hooks that call indentation routines.
2782 (verilog-simplify-range-expression): Fix typo ignoring lower case
2783 identifiers.
2784 (verilog-delete-auto): Fix delete-autos to also remove user created
2785 automatics, as long as they start with AUTO.
2786 (verilog-batch-diff-auto, verilog-diff-auto)
2787 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2788 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2789 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2790 (verilog-in-paren-quick, verilog-re-search-backward-quick)
2791 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2792 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
2793 is disabled and its cache will get corrupt, causing AUTOS not to
2794 expand. Instead use only -quick functions.
2795 (verilog-scan-region): Fix scanning over escaped quotes.
2796 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2797 (verilog-re-search-backward-quick)
2798 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2799 related functions now ignore strings, to fix misparsing of strings
2800 with magic comments embedded in them.
2801 (verilog-read-auto-template):
2802 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2803 Reported by Brad Dobbie.
2804 (verilog-read-auto-template):
2805 Fix 'verilog-auto-inst-template-numbers' with comments.
2806 Reported by Brad Dobbie.
2807 (verilog-auto-inst, verilog-auto-inst-param)
2808 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2809 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2810 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
2811 debugging templates without merge conflicts, bug357.
2812 Reported by Brad Dobbie.
2813 (verilog-read-auto-template):
2814 Fix verilog-auto-inst-template-numbers with multiple templates.
2815 Reported by Brad Dobbie.
2816 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2817 abbrevs so user won't be asked to save.
2818 (verilog-read-auto-lisp-present): Fix to start at beginning of
2819 buffer in case called outside of verilog-auto.
2820 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2821 to "X-2". Reported by Matthew Myers.
2822 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2823 all inputs from module templates. Reported by Leith Johnson.
2824 (verilog-module-inside-filename-p): Fix locating programs as with
2825 modules.
2826 (verilog-auto-inst-port): Fix vl-width expressions when using
2827 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2828 (verilog-decls-get-regs, verilog-decls-get-signals,
2829 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2830 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2831 verilog-read-decls): Combine reg and wire structures into one var
2832 structure to represent SystemVerilog concepts.
2833 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2834 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
2835 (verilog-auto-wire-type, verilog-insert-definition):
2836 Add verilog-auto-wire-type and AUTOLOGIC to support using
2837 SystemVerilog "logic" keyword instead of "wire"/"reg".
2838 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2839 to declares outputs that also have assignments (presumably in an
2840 ifdef or generate if so there's not a driver conflict).
2841 Reported by Matthew Myers.
2842 (verilog-auto-declare-nettype, verilog-insert-definition):
2843 Add verilog-auto-declare-nettype to fix declarations using
2844 `default_nettype none. Reported by Julian Gorfajn.
2845 (verilog-read-always-signals-recurse, verilog-read-decls)
2846 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2847 malformed end statement, bug325. Reported by Joshua Wise and
2848 Andrew Drake.
2849 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2850 (verilog-inst-comment-re): Fix not deleting Interfaced comment
2851 when expanding .* in interfaces, bug320.
2852 Reported by Pierre-David Pfister.
2853 (verilog-read-module-name): Fix import statements between module
2854 name and open parenthesis, bug317.
2855 Reported by Pierre-David Pfister.
2856 (verilog-simplify-range-expression): Fix simplification of
2857 multiplications inside AUTOWIRE connections, bug303.
2858 (verilog-auto-inst-port): Support parameter expansion in
2859 multidimensional arrays.
2860 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2861 after "assert property". Reported by Julian Gorfajn.
2862 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2863 with multiplication, bug303.
2864 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2865 Reported by Jan Frode Lonnum.
2866
28672011-11-30 Juanma Barranquero <lekktu@gmail.com>
2868
2869 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2870 (hfy-shell-file-name, hfy-shell):
2871 * international/fontset.el (x-decompose-font-name): Fix typos.
2872
28732011-11-29 Ken Brown <kbrown@cornell.edu>
2874
2875 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2876 (gdb-version): Remove defvar.
2877 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2878 (gdb-gud-context-command, gdb-non-stop-handler)
2879 (gdb-current-context-command, gdb-stopped): Use it.
2880 (gdb-init-1): Enable pretty printing here.
2881 (gdb-non-stop-handler): Don't enable pretty-printing here.
2882 Check to see if the target supports non-stop mode; if not, turn off
2883 non-stop mode. Use the following.
2884 (gdb-check-target-async): New defun.
2885 (gud-watch, gdb-stopped): Fix whitespace.
2886 (gdb-get-source-file): Don't try to display the source file if
2887 `gdb-main-file' is nil.
2888
28892011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2890
2891 * align.el: Try to generate fewer markers (bug#10047).
2892 (align--set-marker): New macro.
2893 (align-region): Use it.
2894
28952011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2896
2897 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2898
28992011-11-29 Chong Yidong <cyd@gnu.org>
2900
2901 * indent.el (indent-for-tab-command, indent-according-to-mode):
2902 Doc fix.
2903 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2904
29052011-11-29 Michael Albinus <michael.albinus@gmx.de>
2906
2907 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2908 aware of remote file names. (Bug#10124)
2909
29102011-11-29 Chong Yidong <cyd@gnu.org>
2911
2912 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2913
29142011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 * files.el (find-file): Don't use force-same-window (bug#10144).
2917 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2918 use pop-to-buffer if the selected window can't be used.
2919 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2920
29212011-11-28 Eli Zaretskii <eliz@gnu.org>
2922
2923 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2924 special-mode-map.
2925
29262011-11-28 Chong Yidong <cyd@gnu.org>
2927
2928 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2929
29302011-11-27 Nick Roberts <nickrob@snap.net.nz>
2931
2932 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2933 gdb-get-source-file-list on gdb-create-source-file-list.
2934
29352011-11-26 Eli Zaretskii <eliz@gnu.org>
2936
2937 * whitespace.el (whitespace-newline): Use a different foreground
2938 color for 16-color light-background displays.
2939
29402011-11-24 Chong Yidong <cyd@gnu.org>
2941
2942 * window.el (display-buffer--special-action): Doc fix.
2943
29442011-11-25 Juanma Barranquero <lekktu@gmail.com>
2945
2946 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2947 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2948 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2949 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2950 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2951 (avl-tree-stack-first):
2952 * emacs-lisp/cconv.el (cconv--analyse-use):
2953 * net/gnutls.el (gnutls-negotiate): Fix typos.
2954
29552011-11-24 Glenn Morris <rgm@gnu.org>
2956
2957 * lpr.el (lpr-windows-system, lpr-lp-system):
2958 * mail/binhex.el (binhex-begin-line):
2959 * progmodes/grep.el (grep-history, grep-find-history):
2960 * textmodes/flyspell.el:
2961 * vc/pcvs-defs.el (cvs-global-menu):
2962 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2963 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2964 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2965
2966 * net/tls.el: Fix case of "GnuTLS".
2967
2968 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2969
2970 * version.el (emacs-build-system): Give it a doc-string.
2971
29722011-11-24 Juri Linkov <juri@jurta.org>
2973
2974 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2975
29762011-11-24 Glenn Morris <rgm@gnu.org>
2977
2978 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2979 if called on a non-mime message just toggle the headers. (Bug#8006)
2980
29812011-11-24 Juanma Barranquero <lekktu@gmail.com>
2982
2983 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2984 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2985 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2986 (allout-rebullet-heading, allout-open-sibtopic)
2987 (allout-toggle-current-subtree-encryption)
2988 (allout-toggle-subtree-encryption, allout-encrypt-string)
2989 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2990 (allout-distinctive-bullets-string, allout-auto-activation):
2991 * window.el (window-normalize-buffer-to-display):
2992 * progmodes/verilog-mode.el (verilog-batch-indent):
2993 * textmodes/bibtex.el (bibtex-field-braces-opt)
2994 (bibtex-field-strings-opt):
2995 * vc/cvs-status.el (cvs-tree-merge):
2996 Fix typos.
2997
29982011-11-23 Michael Albinus <michael.albinus@gmx.de>
2999
3000 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3001 `non-essential' to t, in order to avoid remote connections.
3002
30032011-11-23 Eli Zaretskii <eliz@gnu.org>
3004
3005 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3006 On MS-DOS and MS-Windows, compare with loaddefs.el
3007 case-insensitively.
3008
30092011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3010
3011 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3012
30132011-11-23 Glenn Morris <rgm@gnu.org>
3014
3015 * paths.el (rmail-file-name): Reformat the doc-string so that it
3016 is picked up.
3017
3018 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3019 (rmail-auto-file): Ignore case in the "special" field names,
3020 as mail-fetch-field does for all others.
3021
3022 * mail/rmail.el (rmail-forward):
3023 * mail/rmailkwd.el (rmail-set-label):
3024 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3025 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3026
3027 * mail/rmail.el (rmail-current-message): Doc fix.
3028
3029 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3030
30312011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3032
3033 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3034
30352011-11-22 Glenn Morris <rgm@gnu.org>
3036
3037 * mail/rmailmm.el (test-rmail-mime-handler)
3038 (test-rmail-mime-bulk-handler)
3039 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3040
30412011-11-21 Juri Linkov <juri@jurta.org>
3042
3043 * calc/calc.el (calc-read-key-sequence):
3044 Let-bind `input-method-function' to nil. (Bug#10018)
3045
30462011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3047
3048 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3049 Tell the caller that the next line needs recomputation, even
3050 though it doesn't start a sexp (bug#10094).
3051
30522011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3053
3054 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3055
30562011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3057
3058 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3059 Use force-same-window.
3060
30612011-11-20 Juanma Barranquero <lekktu@gmail.com>
3062
3063 * descr-text.el (describe-char-unicode-data):
3064 * json.el (json-string-escape):
3065 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3066 (Footnote-unicode, Footnote-style-p):
3067 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3068
30692011-11-20 Chong Yidong <cyd@gnu.org>
3070
3071 * window.el (replace-buffer-in-windows): Restore interactive spec.
3072
30732011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3074
3075 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3076
3077 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3078 (byte-compile-global-not-obsolete-vars): New var.
3079 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3080 Use it.
3081 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3082
30832011-11-20 Juanma Barranquero <lekktu@gmail.com>
3084
3085 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3086 * progmodes/pascal.el (electric-pascal-equal):
3087 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3088 * xml.el (xml-substitute-special): Fix typos.
3089
30902011-11-20 Glenn Morris <rgm@gnu.org>
3091
3092 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3093 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3094 Doc fixes.
3095 (rmail-decode-mime-charset): Mark as obsolete.
3096
3097 * mail/rmailsum.el (rmail-message-regexp-p-1):
3098 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3099 Before using mime functions, check they are set. (Bug#10077)
3100
31012011-11-19 Juri Linkov <juri@jurta.org>
3102
3103 * info.el (Info-finder-find-node): Use `package--builtins' instead
3104 of `package-alist'. Use node names formed by the pattern "Keyword "
3105 and the keyword name.
3106
31072011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3108
3109 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3110
31112011-11-19 Juri Linkov <juri@jurta.org>
3112
3113 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3114 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3115 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3116 `old-history', `old-history-forward'. Add let-binding
3117 `window-selected'. Remove calls to `kill-buffer',
3118 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3119 before calling `Info-find-node', so `Info-find-node-2' will reread
3120 the Info file. Restore window positions only when `window-selected'
3121 is non-nil.
3122
31232011-11-19 Juri Linkov <juri@jurta.org>
3124
3125 * isearch.el (isearch-lazy-highlight-new-loop):
3126 Remove condition `(not isearch-error)'. (Bug#9918)
3127
3128 * misearch.el (multi-isearch-search-fun): Add condition
3129 `(not bound)' to ignore lazy-highlighting search.
3130 Add the search-failed message "end of multi" when the end of
3131 multi-sequence is reached. Uncapitalize the search-failed
3132 message "Repeat for next buffer".
3133
3134 * info.el (Info-search): Add the search-failed message
3135 "end of the manual" when the end of the manual is reached
3136 in Isearch mode.
3137
31382011-11-19 Juri Linkov <juri@jurta.org>
3139
3140 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3141 Use non-destructive `remove' instead of `delete' because
3142 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3143 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3144
31452011-11-19 Juri Linkov <juri@jurta.org>
3146
3147 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3148 to nil instead of binding `search-ring' and `regexp-search-ring'.
3149 (Bug#9185)
3150
31512011-11-19 Eli Zaretskii <eliz@gnu.org>
3152
3153 * simple.el (line-move): Force movement by logical lines for any
3154 hscrolled window, not only when auto-hscroll-mode is on.
3155 (line-move-visual): Update doc string to that effect. (Bug#10076)
3156
31572011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3158
3159 * language/european.el (macintosh): Define as alias for mac-roman.
3160
31612011-11-19 Eli Zaretskii <eliz@gnu.org>
3162
3163 * mail/rmailmm.el (rmail-mime-display-header)
3164 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3165 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3166 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3167 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3168 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3169 of a raw aref.
3170 (rmail-mime-entity-segment): To get past the tagline, move forward
3171 2 more lines, to account for the 2 empty lines that precede and
3172 follow the line with the buttons.
3173 (rmail-mime-update-tagline): Move one more line, to get past the
3174 empty line that follows the buttons in the tagline. (Bug#9520)
3175
31762011-11-19 Martin Rudalics <rudalics@gmx.at>
3177
3178 * window.el (window-max-delta-1, window-min-delta-1)
3179 (window-min-size-1, window-state-get-1, window-state-put-1)
3180 (window-state-put-2): Use "window--" prefix.
3181
31822011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3183
3184 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3185 (smie-warning-count): New var.
3186 (smie-set-prec2tab): Use it.
3187 (smie-bnf->prec2): Improve warnings. Add docstring.
3188 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3189 (smie-bnf--set-class): New function.
3190 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3191 corner case.
3192
3193 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3194 (compilation-error-properties, compilation-move-to-column):
3195 Handle compilation-first-column while in the target buffer.
3196
3197 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3198 Don't hardcode point-min==1.
3199
3200 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3201 (eshell-rewrite-for-command): Remove workaround.
3202 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3203 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3204 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3205
3206 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3207
32082011-11-17 Glenn Morris <rgm@gnu.org>
3209
3210 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3211 Ignore buffer-local generated-autoload-file if it is the same
3212 as the global value. (Bug#10049)
3213
32142011-11-17 Juanma Barranquero <lekktu@gmail.com>
3215
3216 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3217 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3218 (reftex-toc-previous-heading, reftex-toc-max-level)
3219 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3220 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3221 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3222 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3223 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3224 (reftex-toc-rename-label, reftex-toc-visit-location)
3225 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3226 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3227 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3228 leaving "*toc*" only for references to the buffer.
3229
32302011-11-17 Martin Rudalics <rudalics@gmx.at>
3231
3232 * window.el (window-resize, delete-window, split-window):
3233 Replace window-splits by window-combination-resize.
3234 * cus-start.el (window-splits): Replace by window-combination-resize.
3235
32362011-11-17 Glenn Morris <rgm@gnu.org>
3237
3238 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3239 Make bash entry derive from sh entry, not shell entry.
3240
32412011-11-16 Michael Albinus <michael.albinus@gmx.de>
3242
3243 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3244 properties of linked files. (Bug#9879)
3245
3246 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3247 local file name.
3248
32492011-11-16 Juanma Barranquero <lekktu@gmail.com>
3250
3251 * menu-bar.el (menu-bar-file-menu):
3252 * printing.el (pr-ps-utility):
3253 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3254 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3255 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3256 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3257 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3258 (icalendar--convert-cyclic-to-ical)
3259 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3260 (icalendar--convert-ical-to-diary)
3261 (icalendar--convert-recurring-to-diary)
3262 (icalendar--convert-non-recurring-all-day-to-diary)
3263 (icalendar-import-format-sample):
3264 * progmodes/idlw-shell.el (idlwave-shell-mode):
3265 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3266 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3267 (vhdl-ps-print-init): Fix typos.
3268
32692011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3270
3271 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3272 FSF and collapse date sequence, obscure author/maintainer email address
3273 better, remove extra version line, track relocation of author's webpage.
3274
3275 * progmodes/python.el (python-pdbtrack-input-prompt)
3276 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3277 regular python pdb prompts. Adjustments shamelessly taken exactly as
3278 suggested in EmacsWiki page (tiny change):
3279 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
3280
32812011-11-16 Juanma Barranquero <lekktu@gmail.com>
3282
3283 * expand.el (expand-pos, expand-index, expand-point):
3284 Remove redundant info from docstring.
3285 (expand-add-abbrevs): Doc fix.
3286 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3287 (expand-sample-perl-mode-expand-list): Fix typos.
3288
3289 * net/dbus.el (dbus-event-member-name):
3290 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3291 * term/pc-win.el (msdos-create-frame-with-faces):
3292 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3293
32942011-11-16 Martin Rudalics <rudalics@gmx.at>
3295
3296 * window.el (split-window, window-state-get-1)
3297 (window-state-put-1, window-state-put-2): Rename occurrences of
3298 window-nest to window-combination-limit.
3299 * cus-start.el (window-nest): Rename to window-combination-limit.
3300
33012011-11-16 Chong Yidong <cyd@gnu.org>
3302
3303 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3304 regexp (Bug#10033).
3305
33062011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3307
3308 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3309 `completing-read' will remove *Completions* and will preserve
3310 current-buffer for us.
3311 (tmm-add-prompt): Users of *Completions* will always (re)set its
3312 major mode.
3313 (tmm-old-comp-map): Remove.
3314
33152011-11-16 Glenn Morris <rgm@gnu.org>
3316
3317 * mail/rmailedit.el: Require rmailmm when compiling.
3318 (rmail-old-mime-state): New declaration.
3319 (rmail-edit-current-message): If editing a mime message,
3320 edit the "raw" message from the mbox buffer.
3321 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3322
33232011-11-15 Glenn Morris <rgm@gnu.org>
3324
3325 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3326 which wasn't being used. Add optional arg to force given state.
3327 (rmail-mime): Add optional arg to force given state.
3328
33292011-11-15 Juanma Barranquero <lekktu@gmail.com>
3330
3331 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3332 * frame.el (display-mm-dimensions-alist):
3333 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3334 (outline-move-subtree-down):
3335 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3336 (newsticker--treeview-do-get-node):
3337 * net/quickurl.el (quickurl-list-buffer-name):
3338 * progmodes/dcl-mode.el (dcl-mode):
3339 * progmodes/gdb-mi.el (gdb-mapcar*):
3340 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3341
33422011-11-15 Glenn Morris <rgm@gnu.org>
3343
3344 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3345 in a boolean sense, so just make it a boolean, and fix the doc.
3346 (rmail-show-mime-function, rmail-mime-feature)
3347 (rmail-require-mime-maybe): Doc fixes.
3348 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3349
3350 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3351
33522011-11-15 Juanma Barranquero <lekktu@gmail.com>
3353
3354 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3355 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3356 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3357 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3358
33592011-11-15 Glenn Morris <rgm@gnu.org>
3360
3361 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3362 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3363 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3364 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3365 (rmail-mime, rmail-show-mime): Doc fixes.
3366
3367 * term/ns-win.el (mode-line-frame-identification):
3368 Leave it alone. (Bug#10051)
3369
3370 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3371
3372 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3373 Handle empty buffers. (Bug#9978)
3374
33752011-11-14 Juanma Barranquero <lekktu@gmail.com>
3376
3377 * international/mule.el (define-charset):
3378 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3379 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3380 * progmodes/verilog-mode.el (verilog-backward-token):
3381 * textmodes/ispell.el (lookup-words):
3382 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3383
33842011-11-14 Glenn Morris <rgm@gnu.org>
3385
3386 * progmodes/executable.el
3387 (executable-make-buffer-file-executable-if-script-p):
3388 Handle file-modes returning nil.
3389
3390 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3391 message - not necessary, and causes problems. (Bug#9831)
3392
3393 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3394
3395 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3396
3397 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3398 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3399 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3400
34012011-11-12 Martin Rudalics <rudalics@gmx.at>
3402
3403 * window.el (window-resize, delete-window): Use window-splits
3404 variable instead of function.
3405 (window-state-get-1, window-state-put-2, window-state-put):
3406 Don't deal with windows' splits status.
3407
34082011-11-12 Glenn Morris <rgm@gnu.org>
3409
3410 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3411 (apropos-documentation): Doc fixes.
3412
34132011-11-11 Juanma Barranquero <lekktu@gmail.com>
3414
3415 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3416 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3417
34182011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3419
3420 * electric.el (electric-indent-post-self-insert-function): Make it
3421 possible for a char to only indent in some circumstances.
3422 (electric-indent-mode): Simplify.
3423
34242011-11-11 Martin Rudalics <rudalics@gmx.at>
3425
3426 * window.el (windows-with-parameter): Remove unused function.
3427 (windows-at-side): Rename to window-at-side-list.
3428 (window-check, window-atom-check, window-atom-check-1)
3429 (window-side-check, window-size-ignore, window-size-fixed-1)
3430 (window-in-direction-2): Prefix with "window--".
3431 (window-tree-1): Rename to window--subtree, fix doc-string.
3432
34332011-11-11 Glenn Morris <rgm@gnu.org>
3434
3435 * subr.el (eval-after-load): If FILE is already loaded,
3436 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3437
34382011-11-10 Glenn Morris <rgm@gnu.org>
3439
3440 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3441 Call svn via vc-svn-command rather than vc-do-command.
3442 (vc-svn-command): Add --non-interactive. (Bug#9993)
3443 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3444
3445 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3446 Add toggle-read-only. (Bug#7292)
3447 * files.el (toggle-read-only): Mention that it should only
3448 be used interactively. (Bug#10006)
3449
34502011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3451
3452 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3453 Adjust regexp for OCaml warnings.
3454
3455 * electric.el (electric-pair-post-self-insert-function): Let user
3456 turn it off buffer-locally (bug#9932).
3457
3458 * progmodes/python.el (python-beginning-of-statement):
3459 Rewrite (bug#2703).
3460
3461 * progmodes/compile.el: Better handle TABs (bug#9749).
3462 (compilation-internal-error-properties)
3463 (compilation-next-error-function): Obey the target buffer's
3464 compilation-error-screen-columns.
3465
34662011-11-09 Juanma Barranquero <lekktu@gmail.com>
3467
3468 * progmodes/meta-mode.el: Remove obsolete comments.
3469 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3470 Fix typos in docstrings.
3471
34722011-11-09 Martin Rudalics <rudalics@gmx.at>
3473
3474 * window.el (window-size-fixed-p): Rewrite doc-string.
3475 (window-resizable-p): Rename to window--resizable-p. Update callers.
3476 (window--resizable): New function. Make all callers of
3477 window-resizable call window--resizable instead.
3478 (window-resizable): Rewrite in terms of window--resizable.
3479
34802011-11-08 Glenn Morris <rgm@gnu.org>
3481
3482 * progmodes/delphi.el (delphi-mode-syntax-table):
3483 Let define-derived-mode define a proper syntax table. (Bug#9994)
3484
34852011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * window.el: Stay away from defsubst.
3488 (window-list-no-nils): Remove.
3489 (window-state-get-1, window-state-get): Use backquote instead.
3490
34912011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3492
3493 * emacs-lisp/find-func.el (find-function-read):
3494 Fix incorrect use of default argument in `completing-read'.
3495
34962011-11-08 Martin Rudalics <rudalics@gmx.at>
3497
3498 * window.el (display-buffer-function, special-display-function):
3499 Mention display-buffer-record-window but do not mention
3500 help-setup parameter in doc-strings.
3501 (window-min-delta): Fix doc-string typo.
3502
35032011-11-08 Chong Yidong <cyd@gnu.org>
3504
3505 * window.el (window-total-height, window-total-width): Doc fix.
3506 (window-body-size): Move from C.
3507 (window-body-height, window-body-width): Move to C.
3508
35092011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3510
3511 * window.el: Make special-display like display-buffer-alist (bug#9532).
3512 (display-buffer--special-action): New function, morphed
3513 from display-buffer--special.
3514 (display-buffer): Use it to handle special-display-buffers at higher
3515 priority (just after display-buffer-alist).
3516 (display-buffer-fallback-action, display-buffer--other-frame-action)
3517 (pop-to-buffer-same-window): Remove display-buffer--special.
3518
35192011-11-07 Glenn Morris <rgm@gnu.org>
3520
3521 * calendar/cal-menu.el (cal-menu-set-date-title):
3522 Do nothing if not in a calendar. (Bug#9976)
3523
35242011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3525
3526 * files.el (find-file): Always use selected-window.
3527
35282011-11-07 Martin Rudalics <rudalics@gmx.at>
3529
3530 * window.el (window-combinations): Make WINDOW argument
3531 mandatory. Rewrite doc-string.
3532 (walk-window-subtree, window-atom-check, window-min-delta)
3533 (window-max-delta, window--resize-this-window)
3534 (window--resize-root-window-vertically, window-tree)
3535 (balance-windows, window-state-put): Rewrite doc-strings as to
3536 not mention the term "subwindow".
3537 (window--resize-subwindows-skip-p): Rename to
3538 window--resize-child-windows-skip-p.
3539 (window--resize-subwindows-normal): Rename to
3540 window--resize-child-windows-normal.
3541 (window--resize-subwindows): Rename to
3542 window--resize-child-windows.
3543 (window-or-subwindow-p): Rename to window--in-subtree-p.
3544
35452011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3546
3547 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3548 Ensure that mbox format messages end in two newlines (Bug#9974).
3549
35502011-11-06 Chong Yidong <cyd@gnu.org>
3551
3552 * window.el (window-combination-p): Function deleted; its
3553 side-effect is not used in any existing code.
3554 (window-combinations, window-combined-p): Call window-*-child
3555 directly.
3556
35572011-11-05 Chong Yidong <cyd@gnu.org>
3558
3559 * window.el (window-valid-p): Rename from window-any-p.
3560 (window-size-ignore, window-state-get): Callers changed.
3561 (window-normalize-window): Rename from window-normalize-any-window.
3562 New arg LIVE-ONLY, replacing window-normalize-live-window.
3563 (window-normalize-live-window): Delete.
3564 (window-combination-p, window-combined-p, window-combinations)
3565 (walk-window-subtree, window-atom-root, window-min-size)
3566 (window-sizable, window-sizable-p, window-size-fixed-p)
3567 (window-min-delta, window-max-delta, window-resizable)
3568 (window-resizable-p, window-full-height-p, window-full-width-p)
3569 (window-current-scroll-bars, window-point-1, set-window-point-1)
3570 (window-at-side-p, window-in-direction, window-resize)
3571 (adjust-window-trailing-edge, maximize-window, minimize-window)
3572 (window-deletable-p, delete-window, delete-other-windows)
3573 (record-window-buffer, unrecord-window-buffer)
3574 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3575 (quit-window, split-window, window-state-put)
3576 (set-window-text-height, fit-window-to-buffer)
3577 (shrink-window-if-larger-than-buffer): Callers changed.
3578
35792011-11-04 Eli Zaretskii <eliz@gnu.org>
3580
3581 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3582 rfc2047-decode-string.
3583 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3584 warnings.
3585
3586 * window.el (window-body-height, window-body-width): Mention in
3587 the doc string that the return values are in frame's canonical
3588 units. (Bug#9949)
3589
35902011-11-03 Alan Mackenzie <acm@muc.de>
3591
3592 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3593 change in cc-engine.el.
3594
35952011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3596
3597 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3598
35992011-11-02 Martin Rudalics <rudalics@gmx.at>
3600
3601 * window.el (quit-window): Call unrecord-window-buffer after
3602 showing another buffer in the window. (Bug#9937)
3603 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3604
36052011-11-02 Juanma Barranquero <lekktu@gmail.com>
3606
3607 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3608 Accept status with more than 9 shelves. (Bug#9935)
3609 Reported by Colin D Bennett <colin@gibibit.com>.
3610
36112011-11-01 Martin Rudalics <rudalics@gmx.at>
3612
3613 * help.el (with-help-window): Don't reference
3614 temp-buffer-show-specifiers in doc-string.
3615
36162011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3617
3618 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3619 menu-item.
3620
36212011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3622
3623 * whitespace.el: New version 13.2.2.
3624 (whitespace-newline-mode): Disable properly. Reported by Sarah
3625 <EmacsWiki>.
3626
36272011-10-30 Ulf Jasper <ulf.jasper@web.de>
3628
3629 * net/newst-treeview.el: Remove "Time-stamp".
3630 (newsticker--group-manage-orphan-feeds): Do not call
3631 newsticker--treeview-tree-update.
3632 (newsticker-treeview-update, newsticker-treeview):
3633 Call newsticker--treeview-tree-update if necessary.
3634
36352011-10-30 Martin Rudalics <rudalics@gmx.at>
3636
3637 * window.el (window-iso-combination-p, window-iso-combined-p)
3638 (window-iso-combinations): Remove "iso-" infix.
3639 Suggested by Chong Yidong.
3640 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3641 (window-max-delta-1, window-resize, window--resize-siblings)
3642 (window--resize-this-window, adjust-window-trailing-edge)
3643 (split-window, balance-windows-1)
3644 (shrink-window-if-larger-than-buffer):
3645 * calendar/calendar.el (calendar-generate-window):
3646 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3647
36482011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3651 in place (bug#9907).
3652 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3653 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3654 (eshell-structure-basic-command, eshell-rewrite-while-command)
3655 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3656 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3657 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3658 (eshell-do-pipelines-synchronously, eshell-eval-command):
3659 Use backquotes and prefer setq to set.
3660 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3661 (eshell-macrop): Use functionp.
3662 (eshell-do-eval): Handle multiple expressions in `while' body.
3663
36642011-10-30 Chong Yidong <cyd@gnu.org>
3665
3666 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3667 instead of set-mark (Bug#9810).
3668
36692011-10-30 Chong Yidong <cyd@gnu.org>
3670
3671 * window.el (split-window-below, split-window-right): Rename from
3672 split-window-above-each-other and split-window-side-by-side
3673 respectively. All callers changed.
3674 (split-window-sensibly, split-window-sensibly): Use them.
3675 (split-window-keep-point): Doc fix.
3676
3677 * isearch.el: Add isearch-scroll property to split-window-below
3678 and split-window-right.
3679
3680 * follow.el (follow-mode):
3681 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3682 * progmodes/ada-xref.el (ada-gdb-application):
3683 * emulation/vip.el (vip-buffer-in-two-windows):
3684 * image-dired.el (image-dired-dired-with-window-configuration):
3685 * dired-x.el (dired-do-find-marked-files):
3686 * dired.el (dired-pop-to-buffer):
3687 * bs.el (bs--show-with-configuration):
3688 * vc/emerge.el (emerge-setup-windows):
3689 * textmodes/two-column.el (2C-two-columns):
3690 * textmodes/reftex-toc.el (reftex-toc):
3691 * progmodes/gdb-mi.el (gdb-setup-windows):
3692 * progmodes/fortran.el (fortran-window-create):
3693 * net/newst-treeview.el (newsticker--treeview-window-init):
3694 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3695 * emulation/tpu-edt.el (tpu-gold-map):
3696 * emulation/crisp.el (crisp-mode-map):
3697 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3698
36992011-10-29 Chong Yidong <cyd@gnu.org>
3700
3701 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3702
3703 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3704
3705 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3706 forged Ispell output (Bug#7904).
3707
3708 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3709
37102011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3711
3712 * doc-view.el: Avoid ugly errors about not finding nil.
3713 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3714 (doc-view-dvipdf-program, doc-view-unoconv-program)
3715 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3716 Avoid nil or absolute file name as default value.
3717 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3718
37192011-10-28 Alan Mackenzie <acm@muc.de>
3720
3721 * progmodes/cc-defs.el (c-version): -> 5.32.2.
3722
37232011-10-28 Alan Mackenzie <acm@muc.de>
3724
3725 Amend the handling of c-beginning/end-of-defun in nested declaration
3726 scopes.
3727
3728 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3729 cc-langs.el. Change it to a defcustom.
3730
3731 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3732 cc-vars.el.
3733
3734 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3735 Prevent "class foo : bar" being spuriously recognized as a label.
3736
3737 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
3738 Add parameter `inclusive' (to include enclosing braces in the region).
3739 (c-widen-to-enclosing-decl-scope): New function.
3740 (c-while-widening-to-decl-block): New macro.
3741 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3742 outward for defun boundaries, and correspondingly change symbol
3743 `respect-enclosure' to `go-outward'.
3744 (c-declaration-limits): Change algorithm to report only the "innermost"
3745 defun's boundaries.
3746
37472011-10-28 Deniz Dogan <deniz@dogan.se>
3748
3749 * net/rcirc.el (rcirc-mode): Use hard newlines.
3750
37512011-10-28 Alan Mackenzie <acm@muc.de>
3752
3753 Amend to indent and fontify macros "which include their own semicolon"
3754 correctly, using the "virtual semicolon" mechanism.
3755
3756 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
3757
3758 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3759 Recode to scan one line at a time rather than having \n and \r
3760 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
3761 (c-forward-label): Amend for virtual semicolons.
3762 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
3763
3764 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3765 of the new C macros.
3766
3767 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
3768 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3769 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
3770 (c-opt-cpp-macro-define): Make into a full language variable.
3771 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3772 AWK Mode (including \n, \r) removed, no longer needed.
3773
3774 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3775 Invoke c-make-macro-with-semi-re.
3776
3777 * progmodes/cc-vars.el (c-macro-with-semi-re):
3778 (c-macro-names-with-semicolon): New variables.
3779 (c-make-macro-with-semi-re): New function.
3780
37812011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 * vc/log-edit.el: Fill empty field rather than adding new one.
3784 (log-edit-add-field): New function.
3785 (log-edit-insert-changelog): Use it.
3786
37872011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3788
3789 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3790
37912011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3792
3793 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3794 (gdb--check-interpreter): New function.
3795 (gdb): Use it.
3796
37972011-10-27 Glenn Morris <rgm@gnu.org>
3798
3799 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3800 (least-positive-float, least-negative-float)
3801 (least-positive-normalized-float, least-negative-normalized-float)
3802 (float-epsilon, float-negative-epsilon):
3803 Remove unnecessary declarations.
3804
3805 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3806 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3807 (least-positive-float, least-negative-float)
3808 (least-positive-normalized-float, least-negative-normalized-float)
3809 (float-epsilon, float-negative-epsilon): Add doc-strings,
3810 based on those in cl.texi.
3811
3812 * files.el (set-visited-file-name): If the major-mode changed,
3813 reload the local variables. (Bug#9796)
3814
38152011-10-27 Chong Yidong <cyd@gnu.org>
3816
3817 * subr.el (change-major-mode-after-body-hook): New hook.
3818 (run-mode-hooks): Run it.
3819
3820 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3821 Use change-major-mode-before-body-hook.
3822
3823 * simple.el (fundamental-mode):
3824 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3825 change introducing fundamental-mode-hook.
3826
38272011-10-26 Juanma Barranquero <lekktu@gmail.com>
3828
3829 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
3830
38312011-10-26 Michael Albinus <michael.albinus@gmx.de>
3832
3833 * ido.el (ido-file-name-all-completions-1): Do not require
3834 tramp.el explicitly. (Bug#7583)
3835
38362011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3837
3838 * progmodes/octave-mod.el:
3839 * progmodes/octave-inf.el: Update maintainer.
3840
38412011-10-26 Chong Yidong <cyd@gnu.org>
3842
3843 * subr.el (with-wrapper-hook): Rewrite doc.
3844
38452011-10-25 Michael Albinus <michael.albinus@gmx.de>
3846
3847 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
3848 filenames "/method:foo:". (Bug#9793)
3849
38502011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3851
3852 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3853 (bug#9865).
3854
38552011-10-24 Glenn Morris <rgm@gnu.org>
3856
3857 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3858
38592011-10-24 Michael Albinus <michael.albinus@gmx.de>
3860
3861 * notifications.el: Add the requirement of a running D-Bus session
3862 bus to the Commentary.
3863
38642011-10-24 Juri Linkov <juri@jurta.org>
3865
3866 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3867 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3868 (Bug#9364)
3869
38702011-10-24 Juri Linkov <juri@jurta.org>
3871
3872 * info.el (Info-following-node-name-re): Add newline to the list
3873 of allowed characters for leading space. (Bug#9824)
3874
38752011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3876
3877 * progmodes/octave-inf.el (inferior-octave-mode-map):
3878 Fix C-c C-h binding.
3879 * progmodes/octave-mod.el (octave-help): Remove.
3880
38812011-10-23 Michael Albinus <michael.albinus@gmx.de>
3882
3883 Sync with Tramp 2.2.3.
3884
3885 * net/tramp-cache.el (top): Pacify byte-compiler using
3886 `init-file-user' and `site-run-file'.
3887
3888 * net/trampver.el: Update release number.
3889
38902011-10-23 Chong Yidong <cyd@gnu.org>
3891
3892 * files.el (toggle-read-only): Remove obsolete comment about
3893 version control.
3894
3895 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3896 for toggle-read-only. Note that this hasn't called vc-next-action
3897 since 2008-05-02, though it wasn't documented at the time.
3898
3899 * vc/ediff-init.el (ediff-toggle-read-only-function):
3900 Use toggle-read-only.
3901
39022011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3903
3904 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3905 of c-parse-state.
3906
3907 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3908 correct faulty logical expression.
3909 (c-parse-state-state, c-record-parse-state-state):
3910 (c-replay-parse-state-state): New defvar/defuns.
3911 (c-debug-parse-state): Use new functions.
3912
39132011-10-22 Martin Rudalics <rudalics@gmx.at>
3914
3915 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
3916 last fix. Use window-in-direction correctly.
3917
39182011-10-21 Chong Yidong <cyd@gnu.org>
3919
3920 * progmodes/idlwave.el (idlwave-mode):
3921 * progmodes/vera-mode.el (vera-mode): No need to set
3922 require-final-newline; that's done in prog-mode.
3923 Suggested by Stefan Monnier.
3924
39252011-10-21 Martin Rudalics <rudalics@gmx.at>
3926
3927 * mouse.el (mouse-drag-window-above)
3928 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3929 (mouse-drag-mode-line-1, mouse-drag-header-line)
3930 (mouse-drag-vertical-line-rightward-window): Remove.
3931 (mouse-drag-line): New function.
3932 (mouse-drag-mode-line, mouse-drag-header-line)
3933 (mouse-drag-vertical-line): Call mouse-drag-line.
3934 * window.el (window-at-side-p, windows-at-side): New functions.
3935
39362011-10-21 Ulrich Mueller <ulm@gentoo.org>
3937
3938 * tar-mode.el (tar-grind-file-mode):
3939 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3940
39412011-10-21 Chong Yidong <cyd@gnu.org>
3942
3943 * progmodes/idlwave.el (idlwave-mode):
3944 * progmodes/vera-mode.el (vera-mode):
3945 Use mode-require-final-newline.
3946
39472011-10-20 Glenn Morris <rgm@gnu.org>
3948
3949 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
3950
39512011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3952
3953 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3954
39552011-10-20 Chong Yidong <cyd@gnu.org>
3956
3957 * emulation/cua-base.el (cua-mode):
3958 * mail/footnote.el (footnote-mode):
3959 * mail/mailabbrev.el (mail-abbrevs-mode):
3960 * net/xesam.el (xesam-minor-mode):
3961 * progmodes/bug-reference.el (bug-reference-mode):
3962 * progmodes/cap-words.el (capitalized-words-mode):
3963 * progmodes/compile.el (compilation-minor-mode)
3964 (compilation-shell-minor-mode):
3965 * progmodes/gud.el (gud-tooltip-mode):
3966 * progmodes/hideif.el (hide-ifdef-mode):
3967 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3968 * progmodes/subword.el (subword-mode):
3969 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3970 * progmodes/which-func.el (which-function-mode):
3971 * term/tvi970.el (tvi970-set-keypad-mode):
3972 * term/vt100.el (vt100-wide-mode):
3973 * textmodes/flyspell.el (flyspell-mode):
3974 * textmodes/ispell.el (ispell-minor-mode):
3975 * textmodes/nroff-mode.el (nroff-electric-mode):
3976 * textmodes/paragraphs.el (use-hard-newlines):
3977 * textmodes/refill.el (refill-mode):
3978 * textmodes/reftex.el (reftex-mode):
3979 * textmodes/rst.el (rst-minor-mode):
3980 * textmodes/sgml-mode.el (html-autoview-mode)
3981 (sgml-electric-tag-pair-mode):
3982 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3983 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3984 * emulation/crisp.el (crisp-mode):
3985 * emacs-lisp/eldoc.el (eldoc-mode):
3986 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3987 minor mode behavior.
3988
39892011-10-19 Juri Linkov <juri@jurta.org>
3990
3991 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3992 the list of hard-coded chars with escape-glyph face.
3993
39942011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3997
39982011-10-19 Michael Albinus <michael.albinus@gmx.de>
3999
4000 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4001 running process.
4002
40032011-10-19 Glenn Morris <rgm@gnu.org>
4004
4005 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4006 Ignore ignored files. (Bug#9726)
4007
40082011-10-19 Chong Yidong <cyd@gnu.org>
4009
4010 Doc fix for minor modes, stating that an omitted argument enables
4011 the mode unconditionally when called from Lisp.
4012
4013 * abbrev.el (abbrev-mode):
4014 * allout.el (allout-mode):
4015 * autoinsert.el (auto-insert-mode):
4016 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4017 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4018 (global-auto-revert-mode):
4019 * battery.el (display-battery-mode):
4020 * composite.el (global-auto-composition-mode)
4021 (auto-composition-mode):
4022 * delsel.el (delete-selection-mode):
4023 * desktop.el (desktop-save-mode):
4024 * dired-x.el (dired-omit-mode):
4025 * dirtrack.el (dirtrack-mode):
4026 * doc-view.el (doc-view-minor-mode):
4027 * double.el (double-mode):
4028 * electric.el (electric-indent-mode, electric-pair-mode):
4029 * emacs-lock.el (emacs-lock-mode):
4030 * epa-hook.el (auto-encryption-mode):
4031 * follow.el (follow-mode):
4032 * font-core.el (font-lock-mode):
4033 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4034 * help.el (temp-buffer-resize-mode):
4035 * hilit-chg.el (highlight-changes-mode)
4036 (highlight-changes-visible-mode):
4037 * hi-lock.el (hi-lock-mode):
4038 * hl-line.el (hl-line-mode, global-hl-line-mode):
4039 * icomplete.el (icomplete-mode):
4040 * ido.el (ido-everywhere):
4041 * image-file.el (auto-image-file-mode):
4042 * image-mode.el (image-minor-mode):
4043 * iswitchb.el (iswitchb-mode):
4044 * jka-cmpr-hook.el (auto-compression-mode):
4045 * linum.el (linum-mode):
4046 * longlines.el (longlines-mode):
4047 * master.el (master-mode):
4048 * mb-depth.el (minibuffer-depth-indicate-mode):
4049 * menu-bar.el (menu-bar-mode):
4050 * minibuf-eldef.el (minibuffer-electric-default-mode):
4051 * mouse-sel.el (mouse-sel-mode):
4052 * msb.el (msb-mode):
4053 * mwheel.el (mouse-wheel-mode):
4054 * outline.el (outline-minor-mode):
4055 * paren.el (show-paren-mode):
4056 * recentf.el (recentf-mode):
4057 * reveal.el (reveal-mode, global-reveal-mode):
4058 * rfn-eshadow.el (file-name-shadow-mode):
4059 * ruler-mode.el (ruler-mode):
4060 * savehist.el (savehist-mode):
4061 * scroll-all.el (scroll-all-mode):
4062 * scroll-bar.el (scroll-bar-mode):
4063 * server.el (server-mode):
4064 * shell.el (shell-dirtrack-mode):
4065 * simple.el (auto-fill-mode, transient-mark-mode)
4066 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4067 (line-number-mode, column-number-mode, size-indication-mode)
4068 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4069 * strokes.el (strokes-mode):
4070 * time.el (display-time-mode):
4071 * t-mouse.el (gpm-mouse-mode):
4072 * tool-bar.el (tool-bar-mode):
4073 * tooltip.el (tooltip-mode):
4074 * type-break.el (type-break-mode-line-message-mode)
4075 (type-break-query-mode):
4076 * view.el (view-mode):
4077 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4078 (global-whitespace-mode, global-whitespace-newline-mode):
4079 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4080
4081 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4082 Fix autogenerated docstring.
4083
40842011-10-19 Juri Linkov <juri@jurta.org>
4085
4086 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4087 by checking environment variables "DESKTOP_SESSION" and
4088 "XDG_CURRENT_DESKTOP". (Bug#9779)
4089
40902011-10-19 Juri Linkov <juri@jurta.org>
4091
4092 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4093 (browse-url-chromium-program, browse-url-chromium-arguments):
4094 New defcustoms.
4095 (browse-url-default-browser): Check for `browse-url-chromium' and
4096 call `browse-url-chromium-program'.
4097 (browse-url-chromium): New command. (Bug#9779)
4098
40992011-10-18 Juanma Barranquero <lekktu@gmail.com>
4100
4101 * facemenu.el (list-colors-duplicates): On Windows, detect more
4102 duplicates by assuming that only colors matching "^System" are
4103 special "system colors". (Bug#9722)
4104
41052011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4107 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4108 to distinguish the author from the committer.
4109
41102011-10-18 Michael Albinus <michael.albinus@gmx.de>
4111
4112 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4113
41142011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4115
4116 * international/mule.el (sgml-html-meta-auto-coding-function):
4117 Add support for detecting encoding in HTML5 specified only as
4118 <meta charset="UTF-8">. Implementation just makes http-equiv and
4119 content-type parts from HTML4 encoding string optional. (Bug#9716)
4120
41212011-10-18 Glenn Morris <rgm@gnu.org>
4122
4123 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4124
41252011-10-18 Chong Yidong <cyd@gnu.org>
4126
4127 * faces.el (cursor): Doc fix.
4128
41292011-10-17 Chong Yidong <cyd@gnu.org>
4130
4131 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4132
41332011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
4134
4135 * dirtrack.el (dirtrack): Support shell buffers with path
4136 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4137
41382011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4139
4140 * json.el: Bump version to 1.3 and note change in History.
4141 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4142
41432011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4144
4145 * comint.el (comint-insert-input, comint-send-input)
4146 (comint-get-old-input-default, comint-backward-matching-input)
4147 (comint-next-prompt): Use nil instead of `input' for field property of
4148 past user input (bug#114).
4149
4150 * minibuffer.el (completion--replace): Inherit surrounding properties
4151 (bug#114).
4152 (minibuffer-complete-and-exit): Use it.
4153
4154 * comint.el (comint--table-subvert): Quote the all-completions output
4155 (bug#9160).
4156
41572011-10-17 Martin Rudalics <rudalics@gmx.at>
4158
4159 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4160
4161 * menu-bar.el (menu-bar-file-menu): Add entry for making new
4162 window on right of selected. (Bug#9350) Reword other window
4163 entries and separate them from frame entries.
4164
41652011-10-15 Glenn Morris <rgm@gnu.org>
4166
4167 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4168 Doc fixes.
4169
41702011-10-15 Chong Yidong <cyd@stupidchicken.com>
4171
4172 * net/network-stream.el (network-stream-open-starttls):
4173 Improve detection of failure due to lack of TLS support.
4174
4175 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4176 putting the input text in front and in bold.
4177
41782011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4179
4180 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4181
4182 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4183 empty buffer.
4184
4185 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4186 unread-command-events rather than pushing yet-another event.
4187
41882011-10-14 Eli Zaretskii <eliz@gnu.org>
4189
4190 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4191 the explanation of the possible choices. Make the options passed
4192 to completing-read shorter.
4193
41942011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4195
4196 * textmodes/flyspell.el (flyspell-large-region): Make sure
4197 extended character mode is used if defined (Bug#1339).
4198
41992011-10-13 Eli Zaretskii <eliz@gnu.org>
4200
4201 * simple.el (what-cursor-position): Fix the display of the
4202 character info for LRE, LRO, RLE, and RLO characters by appending
4203 an invisible PDF.
4204
42052011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4206
4207 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4208 even in case of error; add debug spec; simplify data flow.
4209 (with-timeout-handler): Remove.
4210
42112011-10-12 Michael Albinus <michael.albinus@gmx.de>
4212
4213 Fix Bug#6019, Bug#9315.
4214
4215 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4216 complete `buffer-file-name', the local file name part could look
4217 remotely (for example on VMS).
4218
4219 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4220 `tramp-run-real-handler'.
4221 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4222 already quoted by '"'.
4223
4224 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4225 Let `file-name-handler-alist' be nil, the local file name part
4226 could look remotely (for example on VMS).
4227
42282011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4231 from here...
4232 (flyspell-post-command-hook): ...to here.
4233
42342011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4237 if not needed.
4238 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4239 using completion. Protect against "slow" callers.
4240 Remove the "message hack".
4241
42422011-10-11 Juri Linkov <juri@jurta.org>
4243
4244 * isearch.el (isearch-lazy-highlight-word): New variable.
4245 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4246 Use it. (Bug#9727)
4247
42482011-10-11 Glenn Morris <rgm@gnu.org>
4249
4250 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4251 like f90-previous-statement does.
4252
42532011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4254
4255 * eshell/eshell.el (eshell-command): History should be saved
4256 only in interactive use, to avoid error.
4257
42582011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4259
4260 * minibuffer.el (completion-file-name-table): Fix last change,
4261 i.e. ignore normal errors but not the other ones.
4262
42632011-10-10 Martin Rudalics <rudalics@gmx.at>
4264
4265 * window.el (special-display-buffer-names)
4266 (special-display-regexps): Remove some remnants of earlier
4267 changes from doc-strings.
4268 (quit-windows-on): New function.
4269
4270 * vc/vc.el (vc-revert, vc-rollback):
4271 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4272 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
4273 (Bug#6183) (Bug#7074) (Bug#7447)
4274
42752011-10-09 Martin Rudalics <rudalics@gmx.at>
4276
4277 * window.el (frame-auto-hide-function): Add version tag.
4278 (Bug#9699)
4279
42802011-10-09 Michael Albinus <michael.albinus@gmx.de>
4281
4282 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4283 condition.
4284
42852011-10-09 Leo Liu <sdl.web@gmail.com>
4286
4287 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4288 (Bug#9701)
4289
42902011-10-08 Glenn Morris <rgm@gnu.org>
4291
4292 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4293 before the first code statement zero indent. (Bug#9690)
4294
42952011-10-08 Chong Yidong <cyd@stupidchicken.com>
4296
4297 * simple.el (count-words-region): Always count in the region.
4298 Report the number of lines and characters too.
4299 (count-words): New command, which counts in the buffer if the
4300 region is inactive, as count-words-region used to.
4301 (count-words--message): New function. Handle plurals.
4302 (count-lines-region): Make it an alias for count-words-region.
4303
4304 * bindings.el (esc-map): Replace count-lines-region with
4305 count-words-region.
4306
43072011-10-08 Martin Rudalics <rudalics@gmx.at>
4308
4309 * window.el (window--delete): Delete dedicated frame
4310 unconditionally when argument KILL is non-nil. (Bug#9699)
4311 (switch-to-buffer): Fix doc-string typo.
4312
43132011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4314
4315 * eshell/eshell.el (eshell-command): Avoid using hooks.
4316
43172011-10-07 Chong Yidong <cyd@stupidchicken.com>
4318
4319 * bindings.el ([M-left],[M-right]): Bind to left-word and
4320 right-word respectively.
4321
43222011-10-07 Glenn Morris <rgm@gnu.org>
4323
4324 * cus-start.el (debug-on-quit): Fix custom type.
4325
43262011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4327
4328 * subr.el (define-key-after): Clarify that the function is not
4329 useful for non-menu keymaps.
4330
4331 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4332
43332011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4334
4335 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
4336 in current minibuffer (Fix bug with recursive minibuffers).
4337
43382011-10-06 Chong Yidong <cyd@stupidchicken.com>
4339
4340 * progmodes/gdb-mi.el (gdb): Doc fix.
4341
43422011-10-05 Martin Rudalics <rudalics@gmx.at>
4343
4344 * window.el (frame-auto-hide-function): New option replacing
4345 frame-auto-delete. Suggested by Stefan Monnier.
4346 (window--delete): Call frame-auto-hide-function instead of
4347 investigating frame-auto-delete.
4348 (window-point-1, set-window-point-1): New functions.
4349 (window-in-direction, record-window-buffer, window-state-get-1)
4350 (display-buffer-record-window): Use window-point-1 instead of
4351 window-point.
4352 (set-window-buffer-start-and-point): Use set-window-point-1.
4353
43542011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4357
43582011-10-05 Glenn Morris <rgm@gnu.org>
4359
4360 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4361 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4362
43632011-10-05 Leo Liu <sdl.web@gmail.com>
4364
4365 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4366 works with buffer object.
4367
43682011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4369
4370 * mpc.el (mpc-tool-bar-map): Add labels.
4371
43722011-10-04 Glenn Morris <rgm@gnu.org>
4373
4374 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4375
43762011-10-04 Martin Rudalics <rudalics@gmx.at>
4377
4378 * window.el (window--delete): New function.
4379 (frame-auto-delete): Resuscitate option.
4380 (bury-buffer, replace-buffer-in-windows)
4381 (quit-window): Rewrite using window--delete.
4382 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4383 Pass display-buffer-mark-dedicated to window--display-buffer-2
4384 (Bug#9639).
4385
43862011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4387
4388 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4389 returns a list (bug#9554). Add remote file name completion.
4390 * comint.el (comint--table-subvert): Curry and get quote&unquote
4391 functions as arguments.
4392 (comint--complete-file-name-data): Adjust call accordingly.
4393 * pcomplete.el (pcomplete--table-subvert): Remove.
4394 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4395
4396 * minibuffer.el (completion-table-case-fold): Use currying.
4397 (completion--styles-type, completion--cycling-threshold-type):
4398 New constants.
4399 (completion-styles, completion-category-overrides)
4400 (completion-cycle-threshold): Use them.
4401 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4402 completion-table-case-fold.
4403
44042011-10-03 Stephen Berman <stephen.berman@gmx.net>
4405
4406 * minibuffer.el (completion-category-overrides): Fix type of styles
4407 and add more user friendly tags (bug#9660).
4408
44092011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4410
4411 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4412 (mule-input-method-string): New widget.
4413 (default-input-method, language-info-custom-alist): Use it.
4414
44152011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4416
4417 * pcomplete.el: Require comint.
4418 (pcomplete--common-suffix): Remove.
4419 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4420 (pcomplete--table-subvert): Sync with comint--table-subvert.
4421 (pcomplete--entries): Use comint-completion-file-name-table.
4422 * comint.el (comint-unquote-filename): Simplify.
4423 (comint-completion-file-name-table): New function (bug#9616).
4424 (comint--complete-file-name-data): Use it.
4425
4426 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4427 (pcmpl-gnu-tar-buffer): Remove.
4428 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4429 around. Make sure pcomplete-suffix-list is only changed temporarily.
4430 Don't look inside the tar's file if it's too large.
4431
44322011-10-01 Chong Yidong <cyd@stupidchicken.com>
4433
4434 * cus-edit.el (custom-mode-map):
4435 * epa.el (epa-key-list-mode-map):
4436 * man.el (Man-mode-map):
4437 * startup.el (splash-screen-keymap):
4438 * simple.el (special-mode-map): Use scroll-up-command and
4439 scroll-down-command.
4440
4441 * progmodes/idlw-help.el (idlwave-help-mode-map):
4442 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4443 * net/newst-plainview.el (newsticker-mode-map):
4444 * emulation/ws-mode.el (wordstar-mode-map):
4445 * emulation/vi.el (vi-com-map):
4446 * calc/calc-graph.el (calc-graph-show-dumb):
4447 * term/sun.el (terminal-init-sun):
4448 * term/ns-win.el (global-map):
4449 * progmodes/grep.el (grep-mode-map):
4450 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4451 * mail/rmail.el (rmail-mode-map):
4452 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4453
4454 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4455 custom-safe-themes as special.
4456
44572011-10-01 Julien Danjou <julien@danjou.info>
4458
4459 * notifications.el (notifications-notify): Fix docstring.
4460
44612011-10-01 Per Starbäck <per@starback.se>
4462
4463 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4464
44652011-09-30 Martin Rudalics <rudalics@gmx.at>
4466
4467 * startup.el (command-line-1): Fix last fix by inserting
4468 initial-scratch-message into *scratch* before displaying it.
4469 (Bug#9605) and (Bug#9636)
4470
44712011-09-29 Eli Zaretskii <eliz@gnu.org>
4472
4473 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4474 window is hscrolled, move by logical lines. (Bug#9607)
4475 (line-move-visual): Update the doc string to the above effect.
4476
44772011-09-29 Martin Rudalics <rudalics@gmx.at>
4478
4479 * window.el (display-buffer-record-window): When WINDOW is the
4480 selected window use `point' instead of `window-point'. (Bug#9626)
4481
4482 * startup.el (command-line-1): Use insert-before-markers when
4483 inserting initial-scratch-message. (Bug#9605)
4484
4485 * help.el (help-window): Remove variable.
4486
44872011-09-29 Glenn Morris <rgm@gnu.org>
4488
4489 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4490
44912011-09-29 Juanma Barranquero <lekktu@gmail.com>
4492
4493 * descr-text.el (describe-char-categories): Accept category
4494 descriptions more than one line long.
4495
44962011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4497
4498 * simple.el (delete-trailing-whitespace): Fix last change.
4499
4500 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4501 Don't confuse "y => 3" as the beginning of a `y' operation.
4502
4503 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4504 object has more than 4 slots (bug#9613).
4505
45062011-09-28 Juanma Barranquero <lekktu@gmail.com>
4507
4508 * subr.el (with-output-to-temp-buffer):
4509 * net/quickurl.el (quickurl, quickurl-browse-url):
4510 Fix typos in docstrings.
4511
45122011-09-27 Eli Zaretskii <eliz@gnu.org>
4513
4514 * minibuffer.el (completion-styles)
4515 (completion-category-overrides): Cross reference each other in doc
4516 strings.
4517
45182011-09-27 Glenn Morris <rgm@gnu.org>
4519
4520 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4521 to split-string. (Bug#9606)
4522
45232011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4524
4525 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4526 (bug#9615).
4527
45282011-09-27 Chong Yidong <cyd@stupidchicken.com>
4529
4530 * emacs-lisp/package.el (list-packages): Fix echo area message.
4531
45322011-09-27 Leo Liu <sdl.web@gmail.com>
4533
4534 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4535
45362011-09-25 Michael Albinus <michael.albinus@gmx.de>
4537
4538 * net/dbus.el (dbus-unregister-object): Don't release services for
4539 registered signals. (Bug#9581)
4540
45412011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4542
4543 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4544 function that picks between cfengine 2 and 3 support
4545 automatically. Update docs accordingly.
4546
45472011-09-22 Kenichi Handa <handa@m17n.org>
4548
4549 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4550 ZERO.
4551 (indian-itrans-v5-table-for-tamil): New variable.
4552 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4553
45542011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4555
4556 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4557 that's true if the current command involved collapsing of text.
4558 It's reset to false at the beginning of the next command.
4559 (allout-post-command-business): Move the cursor to the beginning
4560 of entry if the cursor is hidden and collapsing activity just
4561 happened.
4562
45632011-09-24 Chong Yidong <cyd@stupidchicken.com>
4564
4565 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4566 tracking (Bug#9541).
4567
45682011-09-24 Ulf Jasper <ulf.jasper@web.de>
4569
4570 * net/newst-reader.el (newsticker-html-renderer)
4571 (newsticker-show-news): Automatically load html rendering package
4572 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4573 because w3m-fill-column is let-bound" and the error "Symbol's value
4574 as variable is void: w3m-fill-column".
4575
45762011-09-24 Michael Albinus <michael.albinus@gmx.de>
4577
4578 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4579 Release services only if they are defined. (Bug#9581)
4580
45812011-09-23 Richard Stallman <rms@gnu.org>
4582
4583 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4584 distinguish start of paragraph from start of its text.
4585
4586 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4587
4588 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4589 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4590 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4591
45922011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4593
4594 * international/mule-diag.el (mule-diag): Insert a newline after
4595 each fontset description.
4596
45972011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 * simple.el (delete-trailing-whitespace):
4600 Document last change; simplify.
4601
46022011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4603
4604 * simple.el (delete-trailing-whitespace): Also delete
4605 extra newlines at the end of the buffer.
4606
4607 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4608 (picture-newline): Use forward-line so as to ignore fields.
4609
46102011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 * subr.el (with-wrapper-hook): Fix edebug spec.
4613
46142011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4615
4616 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4617 (bug#4538).
4618
46192011-09-23 Michael Albinus <michael.albinus@gmx.de>
4620
4621 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4622 Fix nasty bug using wrong cached values.
4623
46242011-09-23 Alan Mackenzie <acm@muc.de>
4625
4626 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4627
46282011-09-23 Chong Yidong <cyd@stupidchicken.com>
4629
4630 * window.el (pop-to-buffer): Ensure right window is selected if we
4631 chose another frame.
4632
46332011-09-22 Eli Zaretskii <eliz@gnu.org>
4634
4635 * simple.el (what-cursor-position): Use get-char-property-change
4636 and next-single-char-property-change, to be able to show display
4637 properties that come from overlays as well as text properties.
4638
46392011-09-22 Chong Yidong <cyd@stupidchicken.com>
4640
4641 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4642
4643 * cmuscheme.el (run-scheme, switch-to-scheme):
4644 * cus-edit.el (customize-group, custom-buffer-create)
4645 (customize-browse):
4646 * info.el (info):
4647 * shell.el (shell):
4648 * mail/sendmail.el (mail):
4649 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4650
46512011-09-22 Richard Stallman <rms@gnu.org>
4652
4653 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4654 move back only to line beg, don't move back over blank lines.
4655
46562011-09-22 Michael Albinus <michael.albinus@gmx.de>
4657
4658 * files.el (copy-directory): Set directory attributes only in case
4659 they could be retrieved from the source directory. (Bug#9565)
4660
46612011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4662
4663 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4664 (hs-find-block-beginning, hs-hide-level-recursive):
4665 Ignore strings as well as comments. (Bug#9502)
4666
46672011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4668
4669 * progmodes/sql.el (sql-comint-postgres):
4670 Convert port number to a string. (Bug#9566)
4671
46722011-09-22 Martin Rudalics <rudalics@gmx.at>
4673
4674 * window.el (quit-window): Undedicate window when switching to
4675 previous buffer. Reported by Thierry Volpiatto
4676 <thierry.volpiatto@gmail.com>.
4677 (special-display-popup-frame): When popping up a new frame reset
4678 its previous buffers to nil. Simplify code.
4679
46802011-09-21 Michael Albinus <michael.albinus@gmx.de>
4681
4682 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4683 and process filter, as done also in `shell-command'.
4684
46852011-09-21 Martin Rudalics <rudalics@gmx.at>
4686
4687 * window.el (set-window-buffer-start-and-point):
4688 Call set-window-start with NOFORCE argument t.
4689 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4690 (quit-window): Reword doc-string. Handle new format of
4691 quit-restore parameter. Don't delete window if it has a
4692 previous buffer we can show instead of the present one.
4693 (display-buffer-record-window): Rewrite using a new format for
4694 the quit-restore window parameter
4695 (special-display-popup-frame, display-buffer-same-window)
4696 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4697 (display-buffer-pop-up-window, display-buffer-use-some-window):
4698 Adapt symbol passed to display-buffer-record-window.
4699 * help.el (help-window-setup): Handle new format of quit-restore
4700 parameter.
4701
47022011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4703
4704 * faces.el (face-list): Fix docstring (bug#9564).
4705
4706 * window.el (display-buffer--action-function-custom-type):
4707 Don't include internal functions in the Custom interface.
4708
47092011-09-20 Juri Linkov <juri@jurta.org>
4710
4711 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4712 (Info-forward-node, Info-backward-node, Info-next-preorder)
4713 (Info-last-preorder): Use it. (Bug#9528)
4714
47152011-09-20 Juri Linkov <juri@jurta.org>
4716
4717 * info.el (Info-last-preorder): Visit last menu item only when
4718 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4719
47202011-09-20 Julien Danjou <julien@danjou.info>
4721
4722 * password-cache.el (password-cache-remove): Remove entries even if the
4723 value is nil, so that password with a nil value (negative caching) is
4724 possible to invalidate.
4725
47262011-09-20 Lawrence Mitchell <wence@gmx.li>
4727
4728 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4729 all whitespace around breakpoint. (Bug#9553)
4730 (f90-find-breakpoint): Only break at whitespace inside a comment.
4731
47322011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * minibuffer.el (completion-file-name-table): Keep track of errors.
4735 (completion-table-with-predicate): Handle the case where pred1 is nil.
4736 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4737
47382011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4739
4740 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4741 (debugger-return-value): Signal an error if the debugging context does
4742 not await any return value.
4743
4744 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4745 * image-mode.el (image-toggle-display-text)
4746 (image-toggle-display-image): Stay away from evil `intangible'.
4747
47482011-09-19 Leo Liu <sdl.web@gmail.com>
4749
4750 * replace.el (occur-revert-arguments): Make it permanent-local.
4751 (occur-mode): Don't call font-lock-defontify.
4752
47532011-09-19 Chong Yidong <cyd@stupidchicken.com>
4754
4755 * net/ldap.el (ldap-search-internal): Don't push empty search
4756 result (Bug#9508).
4757
47582011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4759
4760 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4761
47622011-09-19 Michael Albinus <michael.albinus@gmx.de>
4763
4764 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4765 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4766
47672011-09-18 Juri Linkov <juri@jurta.org>
4768
4769 * buff-menu.el (Buffer-menu-mode-map):
4770 * dired.el (dired-mode-map):
4771 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4772 (lisp-interaction-mode-map):
4773 * emacs-lisp/package.el (package-menu-mode-map):
4774 * epa.el (epa-key-list-mode-map):
4775 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4776 (menu-bar-options-menu):
4777 * outline.el (outline-mode-menu-bar-map):
4778 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4779 * vc/vc-dir.el (vc-dir-menu-map):
4780 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4781 Capitalize non-function content words in menu item strings.
4782
4783 * dired.el (dired-mode-map): Add menu item for
4784 `image-dired-dired-toggle-marked-thumbs'.
4785
47862011-09-18 Juri Linkov <juri@jurta.org>
4787
4788 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4789 to `isearch-case-fold-search' and restore its original value
4790 after the `isearch-mode' call.
4791
47922011-09-18 Juri Linkov <juri@jurta.org>
4793
4794 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4795 because `zgrep' returns 1 for successful matches (bug#9226).
4796
47972011-09-18 Juri Linkov <juri@jurta.org>
4798
4799 * info.el (Info-extract-menu-node-name): Check the second match
4800 for empty string (second test-case of bug#9528).
4801 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4802 intermediate nodes to the history (first test-case of bug#9528).
4803
48042011-09-18 Juri Linkov <juri@jurta.org>
4805
4806 * info.el (Info-mode-syntax-table): New variable.
4807 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
4808
48092011-09-18 Juri Linkov <juri@jurta.org>
4810
4811 * info.el (Info-file-supports-index-cookies):
4812 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4813 outputs one more line for long file names (bug#4142).
4814
48152011-09-18 Chong Yidong <cyd@stupidchicken.com>
4816
4817 * newcomment.el (comment-normalize-vars): If prompting for
4818 comment-start, set comment-start-skip too (Bug#8424).
4819
48202011-09-18 Johan Bockgård <bojohan@gnu.org>
4821
4822 * icomplete.el: Fix previous fix of Bug#5849.
4823 (icomplete-mode): Don't set completion-show-inline-help.
4824 (icomplete-minibuffer-setup): Set completion-show-inline-help
4825 locally during icompletion.
4826
48272011-09-18 Chong Yidong <cyd@stupidchicken.com>
4828
4829 * woman.el (woman2-process-escapes): Don't delete unrecognized
4830 escapes (Bug#7843).
4831
4832 * files.el (inhibit-first-line-modes-regexps): Add image files.
4833 (hack-local-variables-prop-line): Return nil for malformed
4834 prop-lines (Bug#9044).
4835
48362011-09-18 Michael Albinus <michael.albinus@gmx.de>
4837
4838 * net/tramp.el (top): Don't require 'shell.
4839 (tramp-methods): Fix docstring.
4840 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
4841 Return complete remote file name. Handle "smb" case.
4842 Use `tramp-tmpdir', if defined for the respective method.
4843 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4844
4845 * net/tramp-compat.el (top): Require 'shell.
4846
4847 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4848 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4849 `tramp-current-host'.
4850 (tramp-get-remote-tmpdir): Remove.
4851
4852 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4853 `tramp-tmpdir' entries.
4854 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4855 (tramp-smb-handle-file-attributes): Ignore errors.
4856 (tramp-smb-wait-for-output): Check also for process end.
4857
48582011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4859
4860 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4861 when sending QUIT (bug#9312).
4862
48632011-09-17 Chong Yidong <cyd@stupidchicken.com>
4864
4865 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4866 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4867 occur-mode-display-occurrence.
4868 (occur-edit-mode): Add usage message.
4869 (occur-cease-edit): New command.
4870 (occur-after-change-function): Use text properties to find the
4871 position of the prefix text.
4872 (occur-engine): Set stickiness of prefix text properties.
4873
48742011-09-17 Glenn Morris <rgm@gnu.org>
4875
4876 * progmodes/etags.el (complete-tag):
4877 Fix call to completion-in-region. (Bug#9526)
4878
48792011-09-17 Juri Linkov <juri@jurta.org>
4880
4881 * textmodes/ispell.el (ispell-word): Add to the error message
4882 the word, ispell program name and current dictionary (bug#9121).
4883 (ispell-tex-arg-end): Capitalize "error" in the error message.
4884
48852011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4886
4887 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4888 check. (Bug#4251)
4889
48902011-09-17 Juri Linkov <juri@jurta.org>
4891
4892 * window.el (window-safe-min-height, window-safe-min-width):
4893 Fix typos (followup to bug#9522).
4894
48952011-09-17 Sven Joachim <svenjoac@gmx.de>
4896
4897 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4898
48992011-09-16 Eli Zaretskii <eliz@gnu.org>
4900
4901 * simple.el (line-move): If goal-column is set, move by logical
4902 lines, not by display lines. (Bug#971)
4903 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4904 to reflect the above change.
4905
49062011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4907
4908 * image.el (imagemagick-register-types): Use regexp-opt.
4909
49102011-09-15 Chong Yidong <cyd@stupidchicken.com>
4911
4912 * window.el (display-buffer-base-action): Rename from
4913 display-buffer-default-action. Make default value empty.
4914 (display-buffer-overriding-action): Convert to defvar.
4915 (display-buffer-fallback-action): New var.
4916
49172011-09-15 Chong Yidong <cyd@stupidchicken.com>
4918
4919 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4920 declaration.
4921 (package--add-to-archive-contents): If there is a duplicate entry
4922 with an older version, remove it.
4923 (package-menu-mark-delete, package-menu-mark-install)
4924 (package-menu-mark-unmark): Make unused args optional.
4925 (package-menu-mark-obsolete-for-deletion):
4926 Use package-menu-get-status instead of a regexp search.
4927 (package-menu-get-status): Use tabulated-list-entry.
4928 (package-menu-mark-upgrades): New command.
4929 (package-menu-mode-map): Bind it to U. Add it to menu bar.
4930 (package-menu-execute): Do installation before deletion.
4931 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4932 instead of checking major-mode.
4933 (package-menu--find-upgrades): New function.
4934
49352011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4936
4937 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4938 passwords in the log buffer.
4939 (smtpmail-process-filter): Update the process marker so that the
4940 "broken by peer" status message is inserted in the right place.
4941
49422011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4943
4944 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4945 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4946 bibtex-completion-at-point-function.
4947 (bibtex-completion-at-point-function): Use them.
4948
4949 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4950
4951 * mpc.el (mpc-constraints-tag-lookup): New function.
4952 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4953 also to browser "album|playlist".
4954
49552011-09-14 Juri Linkov <juri@jurta.org>
4956
4957 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4958 (isearch-edit-string): Use length of `isearch-string' when
4959 `isearch-fail-pos' returns nil.
4960 (isearch-message): Remove duplicate code and call
4961 `isearch-fail-pos' with arg `t'.
4962
49632011-09-14 Chong Yidong <cyd@stupidchicken.com>
4964
4965 * replace.el (occur-mode-goto-occurrence): Don't force using other
4966 window (Bug#9499).
4967
4968 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4969
49702011-09-14 Martin Rudalics <rudalics@gmx.at>
4971
4972 * window.el (display-buffer-window): Remove.
4973 (display-buffer-record-window): Use help-setup window parameter
4974 instead of variable display-buffer-window.
4975 (display-buffer-function, special-display-buffer-names)
4976 (special-display-function): Mention help-setup parameter instead
4977 of display-buffer-window in doc-string.
4978 * help.el (help-window-setup): New argument help-window.
4979 Use help-window-setup parameter instead of display-buffer-window.
4980 Reword some messages.
4981 (with-help-window): Pass window used for displaying the buffer
4982 to help-window-setup. Don't set display-buffer-window.
4983
49842011-09-13 Glenn Morris <rgm@gnu.org>
4985
4986 * emacs-lisp/debug.el (debugger-make-xrefs):
4987 Preserve point. (Bug#9462)
4988
49892011-09-13 Chong Yidong <cyd@stupidchicken.com>
4990
4991 * window.el (window-deletable-p): Use next-frame.
4992
49932011-09-13 Martin Rudalics <rudalics@gmx.at>
4994
4995 * window.el (window-auto-delete): Remove.
4996 (window-deletable-p): Remove argument FORCE. Don't deal with
4997 dedication and previous buffers.
4998 (switch-to-prev-buffer): Don't delete window.
4999 (delete-windows-on): Delete a window's frame if and only if the
5000 window is dedicated.
5001 (replace-buffer-in-windows): Delete buffer's window or frame if
5002 and only if window is dedicated.
5003 (quit-window): Handle quit-restore as before last change.
5004 (bury-buffer): Delete window only if window-deletable-p returns t.
5005
50062011-09-13 Chong Yidong <cyd@stupidchicken.com>
5007
5008 * window.el (window-deletable-p): Never delete the last frame on a
5009 given terminal.
5010
50112011-09-13 Glenn Morris <rgm@gnu.org>
5012
5013 * help.el (describe-key-briefly): Copy previous standard-output change.
5014
50152011-09-13 PJ Weisberg <pj@irregularexpressions.net>
5016
5017 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5018
50192011-09-13 Glenn Morris <rgm@gnu.org>
5020
5021 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5022 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5023
50242011-09-12 Chong Yidong <cyd@stupidchicken.com>
5025
5026 * dired-aux.el (dired-mark-read-string): Don't return default
5027 value on empty input (Bug#9361).
5028 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5029 Omit initial minibuffer contents.
5030 (dired-do-chmod): Signal an error on empty input.
5031 (dired-mark-read-string): Don't return default on empty input.
5032
5033 * files.el (file-modes-symbolic-to-number): Doc fix.
5034
50352011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5036
5037 * international/mule-cmds.el (ucs-completions): Remove.
5038 (read-char-by-name): Use complete-with-action instead; add metadata.
5039
50402011-09-11 Chong Yidong <cyd@stupidchicken.com>
5041
5042 * window.el (display-buffer--action-function-custom-type)
5043 (display-buffer--action-custom-type): New vars.
5044 (display-buffer-alist, display-buffer-default-action)
5045 (display-buffer-overriding-action): Add defcustom types.
5046
5047 * frame.el (delete-other-frames): Doc fix (Bug#276).
5048
50492011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5050
5051 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5052
50532011-09-11 Chong Yidong <cyd@stupidchicken.com>
5054
5055 Change modes that used same-window-* vars to use switch-to-buffer.
5056
5057 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5058 Use switch-to-buffer.
5059
5060 * cus-edit.el (customize-group, custom-buffer-create)
5061 (customize-browse, custom-buffer-create-other-window):
5062 Use switch-to-buffer or switch-to-buffer-other-window.
5063
5064 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5065 (Info-prev, Info-up, Info-speedbar-goto-node)
5066 (info-display-manual): Use switch-to-buffer.
5067 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5068
5069 * mail/sendmail.el (mail): Use switch-to-buffer.
5070 (mail-recover): Use switch-to-buffer-other-window.
5071
5072 * cmuscheme.el (run-scheme, switch-to-scheme):
5073 * ielm.el (ielm):
5074 * shell.el (shell):
5075 * net/rlogin.el (rlogin):
5076 * net/telnet.el (telnet, rsh):
5077 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5078
50792011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5080
5081 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5082
50832011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5084
5085 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5086 so don't mention it (bug#9301).
5087 (dired-sort-toggle-or-edit): Clarify string further.
5088
5089 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5090 match `x', `w32' and `ns', like the manual says (bug#9029).
5091
5092 * subr.el (eval-after-load): Doc string clarification (bug#9125).
5093 (process-kill-buffer-query-function): Mention the buffer name in
5094 the query.
5095
5096 * image-mode.el (image-next-line): The line parameter is mandatory
5097 (bug#9258).
5098
5099 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5100 which can be useful (bug#9301).
5101
5102 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5103
5104 * subr.el (match-string): Mention that the current buffer should
5105 be the same as the search was done in (bug#9282).
5106
5107 * facemenu.el: Disable the remove-* commands if the mark isn't
5108 active (bug#9162).
5109
51102011-09-10 Chong Yidong <cyd@stupidchicken.com>
5111
5112 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5113 of display-buffer.
5114 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5115
5116 * replace.el (occur-mode-goto-occurrence)
5117 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5118 and display-buffer.
5119
5120 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5121 display-buffer.
5122
5123 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5124 special-display and same-window variables.
5125 (mail-other-window): Use switch-to-buffer-other-window.
5126 (mail-other-frame): USe switch-to-buffer-other-frame.
5127
5128 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5129 Use display-buffer-other-frame.
5130 (gdb-display-gdb-buffer): Use pop-to-buffer.
5131
5132 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5133
5134 * progmodes/python.el: Don't set same-window-buffer-names.
5135
5136 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5137
5138 * window.el (display-buffer-alist): Add *Python*.
5139
51402011-09-10 Chong Yidong <cyd@stupidchicken.com>
5141
5142 * window.el (display-buffer-alist): Add entry for buffers
5143 previously handled same-window-*.
5144 (display-buffer-alist, display-buffer-default-action)
5145 (display-buffer-overriding-action): Mark as risky.
5146 (display-buffer-alist): Document action function changes.
5147 (display-buffer--same-window-action)
5148 (display-buffer--other-frame-action): New variables.
5149 (switch-to-buffer, display-buffer-other-frame): Use them.
5150 (display-buffer): Rename reuse-frame entry to reusable-frames.
5151 (display-buffer-reuse-selected-window): Function deleted.
5152 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5153 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5154 (display-buffer-special): New function.
5155 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5156 display-buffer-reuse-or-pop-window. Split off special-display
5157 part into display-buffer-special.
5158 (display-buffer-use-some-window): Don't perform any special
5159 pop-up-frames handling.
5160 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5161 (display-buffer--maybe-same-window): Rename from
5162 display-buffer-maybe-same-window.
5163
5164 * info.el: Don't set same-window-regexps.
5165 (info-setup): New function.
5166 (info-other-window, info): Call it.
5167
5168 * cus-edit.el: Don't set same-window-regexps.
5169 (customize-group): New argument.
5170 (customize-group-other-window): Use it.
5171 (customize-face, customize-face-other-window): Likewise.
5172 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5173
5174 * net/rlogin.el:
5175 * net/telnet.el:
5176 * progmodes/gud.el: Don't set same-window-regexps.
5177
5178 * cmuscheme.el:
5179 * ielm.el:
5180 * shell.el:
5181 * mail/sendmail.el:
5182 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5183
51842011-09-10 Juri Linkov <juri@jurta.org>
5185
5186 * isearch.el (isearch-edit-string): Remove obsolete mention of
5187 `C-w' (`isearch-yank-word-or-char') from docstring.
5188 (isearch-query-replace): Fix typo in docstring (bug#9466).
5189
51902011-09-10 Juri Linkov <juri@jurta.org>
5191
5192 * paren.el (show-paren-function): Don't show escaped parens.
5193 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5194
51952011-09-10 Eli Zaretskii <eliz@gnu.org>
5196
5197 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5198 (mm-default-file-encoding): Remove autoload forms, they are
5199 replaced with autoload cookies in mml.el and mm-encode.el.
5200 (mail-add-attachment): New command.
5201 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5202 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5203 the doc string.
5204 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5205
52062011-09-10 Reuben Thomas <rrt@sc3d.org>
5207
5208 * simple.el (count-words-region): Use buffer if there's no region
5209 (bug#9429).
5210
52112011-09-09 Juri Linkov <juri@jurta.org>
5212
5213 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5214 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5215 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5216
52172011-09-09 Alan Mackenzie <acm@muc.de>
5218
5219 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5220 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5221
52222011-09-09 Eli Zaretskii <eliz@gnu.org>
5223
5224 Fix for Savannah bug#9392.
5225 * simple.el (mail-encode-mml): New defvar.
5226
5227 * mail/rmail.el (mail-encode-mml): Add a defvar.
5228 (rmail-enable-mime-composing): Default to t.
5229 (rmail-forward): Use MIME method of forwarding only if both
5230 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5231 Set mail-encode-mml non-nil if the MIME method was used.
5232
5233 * mail/sendmail.el (mml-to-mime): Add autoload form.
5234 (mail-encode-mml): Add a defvar.
5235 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5236 to nil.
5237 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5238 message through mml-to-mime, and reset mail-encode-mml to nil.
5239
52402011-09-09 Glenn Morris <rgm@gnu.org>
5241
5242 * woman.el (woman-if-body): When processing an .el block,
5243 do not delete the next .el block as well. (Bug#9447)
5244 (woman-special-characters): Add oq, cq, and hy characters.
5245
52462011-09-08 Martin Rudalics <rudalics@gmx.at>
5247
5248 * window.el (window-deletable-p): Make sure window is live before
5249 invoking window-prev-buffers.
5250
52512011-09-08 Leo Liu <sdl.web@gmail.com>
5252
5253 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5254
52552011-09-08 Juri Linkov <juri@jurta.org>
5256
5257 * progmodes/compile.el (compilation-environment): Make it
5258 a defcustom (bug#8340).
5259
52602011-09-08 Martin Rudalics <rudalics@gmx.at>
5261
5262 * window.el (frame-auto-delete): Rename to window-auto-delete.
5263 Make it control auto-deletion of windows and/or frames.
5264 (window-deletable-p): New argument FORCE. Rewrite conditions
5265 for deleting window/frame. (Bug#9419)
5266 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5267 Rewrite handling of case when window/frame can be deleted.
5268 (delete-windows-on): Call window-deletable-p with new FORCE
5269 argument t. (Bug#9456)
5270
52712011-09-07 Chong Yidong <cyd@stupidchicken.com>
5272
5273 * help-mode.el (help-mode): Restore autoload.
5274
52752011-09-07 Juri Linkov <juri@jurta.org>
5276
5277 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5278 `compilation-environment'. Set buffer-local
5279 `compilation-environment' to `thisenv' later after (funcall mode).
5280 (Bug#8340)
5281
5282 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5283 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5284 instead of replacing its value. (Bug#8340)
5285
52862011-09-07 Juri Linkov <juri@jurta.org>
5287
5288 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5289 based on text properties put by `grep-filter' instead of matching
5290 escape sequences.
5291 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5292 to the value of `grep-error-screen-columns' (bug#9438).
5293
52942011-09-07 Juri Linkov <juri@jurta.org>
5295
5296 * simple.el (next-error-highlight, next-error-highlight-no-select):
5297 Doc fix (bug#9432).
5298
52992011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5300
5301 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5302 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5303
53042011-09-07 Leo Liu <sdl.web@gmail.com>
5305
5306 * net/rcirc.el (rcirc-mode): Conditionally initialize
5307 rcirc-input-ring.
5308
53092011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5310
5311 * emacs-lisp/find-func.el (find-function-C-source): Only set
5312 find-function-C-source-directory after checking that we found a source
5313 file there (bug#9440).
5314
53152011-09-06 Alan Mackenzie <acm@muc.de>
5316
5317 * isearch.el (isearch-other-meta-char): Wherever a key list is
5318 unread, "unread" the prefix arg, too. This fixes bug #8901.
5319
53202011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5321
5322 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5323
53242011-09-05 Juri Linkov <juri@jurta.org>
5325
5326 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5327
53282011-09-05 Juri Linkov <juri@jurta.org>
5329
5330 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5331 keeping point where processing of grep matches begins, and
5332 continue to delete remaining escape sequences from the same point.
5333 (grep-filter): Make leading zero optional in "0?1;31m" because
5334 git-grep emits "\033[1;31m" escape sequences unlike expected
5335 "\033[01;31m" as GNU Grep does (bug#9408).
5336 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5337
53382011-09-05 Juri Linkov <juri@jurta.org>
5339
5340 * subr.el (y-or-n-p): Capitalize "yes".
5341
53422011-09-04 Michael Albinus <michael.albinus@gmx.de>
5343
5344 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5345 `tramp-cache-unload-hook' where appropriate.
5346 (tramp-methods): Rename `tramp-remote-sh' to
5347 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5348 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5349
5350 * net/tramp-sh.el (top): Don't require 'shell.
5351 (tramp-methods): Add `tramp-remote-shell' and
5352 `tramp-remote-shell-args' entries.
5353 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5354 (tramp-sh-handle-shell-command): Remove.
5355 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5356 Use `tramp-remote-shell'.
5357
53582011-09-03 Chong Yidong <cyd@stupidchicken.com>
5359
5360 * mail/sendmail.el (sendmail-query-once-function): Delete.
5361 (sendmail-query-once): Save directly to send-mail-function.
5362 Update message-send-mail-function too.
5363
5364 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5365
53662011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5367
5368 * progmodes/python.el (python-mode-map): Use correct function to
5369 start python interpreter from menu-bar (as reported by Geert
5370 Kloosterman).
5371 (inferior-python-mode-map): Fix typo.
5372 (python-shell-map): Remove.
5373
53742011-09-03 Deniz Dogan <deniz@dogan.se>
5375
5376 * net/rcirc.el (rcirc-print): Simplify code for
5377 rcirc-scroll-show-maximum-output. There is no need to walk
5378 through all windows to find the right one.
5379
53802011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5381
5382 * help.el (help-return-method): Doc fix.
5383
53842011-09-03 Martin Rudalics <rudalics@gmx.at>
5385
5386 * window.el (window-deletable-p): Don't return a non-nil value
5387 when there's a buffer that was shown in the window before.
5388 (Bug#9419)
5389 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5390 Set window's previous buffers to nil.
5391
53922011-09-03 Eli Zaretskii <eliz@gnu.org>
5393
5394 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5395 newline before and after the tag line, so it doesn't interfere
5396 with determining the paragraph direction of bidirectional text.
5397
53982011-09-03 Leo Liu <sdl.web@gmail.com>
5399
5400 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5401
54022011-09-02 Chong Yidong <cyd@stupidchicken.com>
5403
5404 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5405 (pop-to-buffer): Change interactive spec. Pass second argument
5406 directly to display-buffer.
5407 (display-buffer): Fix interactive spec. Use functionp to
5408 distinguish between a function and a list of functions.
5409
5410 * abbrev.el (edit-abbrevs):
5411 * arc-mode.el (archive-extract):
5412 * autoinsert.el (auto-insert):
5413 * bookmark.el (bookmark-bmenu-list):
5414 * files.el (find-file):
5415 * view.el (view-buffer):
5416 * progmodes/compile.el (compilation-goto-locus):
5417 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5418
54192011-09-02 Chong Yidong <cyd@stupidchicken.com>
5420
5421 * window.el (display-buffer-alist): Doc fix.
5422 (display-buffer): Add docstring. Don't treat
5423 display-buffer-default specially.
5424 (display-buffer-reuse-selected-window)
5425 (display-buffer-same-window, display-buffer-maybe-same-window)
5426 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5427 (display-buffer-pop-up-window)
5428 (display-buffer-reuse-or-pop-window)
5429 (display-buffer-use-some-window): New functions.
5430 (display-buffer-default-action): Use them.
5431 (display-buffer-default): Delete.
5432 (pop-to-buffer-1): Fix choice of actions.
5433
54342011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5435
5436 * minibuffer.el (completion--insert-strings): Don't get confused by
5437 completion entries that end with an LF char.
5438
54392011-09-01 Eli Zaretskii <eliz@gnu.org>
5440
5441 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5442
54432011-09-01 Chong Yidong <cyd@stupidchicken.com>
5444
5445 * window.el (display-buffer): Restore interactive spec.
5446 (display-buffer-same-window, display-buffer-other-window):
5447 New functions.
5448 (pop-to-buffer-1): New function. Use the above.
5449 (pop-to-buffer, pop-to-buffer-same-window): Use it.
5450 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5451
5452 * view.el (view-buffer-other-window, view-buffer-other-frame):
5453 Just use pop-to-buffer.
5454
54552011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5456
5457 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5458
54592011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5460
5461 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5462
54632011-08-31 Richard Stallman <rms@gnu.org>
5464
5465 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5466 of the separation of rmail-view-buffer from rmail-buffer.
5467 If you say no to "replace original", the decrypt is in the
5468 view buffer. If you say yes, the decrypt goes into the
5469 rmail buffer also.
5470
54712011-08-31 Martin Rudalics <rudalics@gmx.at>
5472
5473 * window.el (display-buffer-window): Rewrite doc-string.
5474 (display-buffer-record-window): New function.
5475 (display-buffer-macro-specifiers)
5476 (display-buffer-even-window-sizes, display-buffer-set-height)
5477 (display-buffer-set-width, display-buffer-in-window)
5478 (display-buffer-reuse-window, display-buffer-split-specifiers)
5479 (display-buffer-side-specifiers, display-buffer-split-window-1)
5480 (display-buffer-split-window, display-buffer-split-atom-window)
5481 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5482 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5483 (display-buffer-other-window-means-other-frame)
5484 (display-buffer-normalize-special)
5485 (display-buffer-normalize-default)
5486 (display-buffer-normalize-argument)
5487 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5488 (display-buffer-normalize-specifiers, display-buffer-frame)
5489 (display-buffer-same-window, display-buffer-same-frame)
5490 (display-buffer-other-window)
5491 (display-buffer-same-frame-other-window)
5492 (display-buffer-other-frame, pop-to-buffer-same-window)
5493 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5494 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5495 (switch-to-buffer-same-frame)
5496 (switch-to-buffer-other-window-same-frame)
5497 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5498 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5499 (display-buffer-alist-set): Remove.
5500 (display-buffer-function, special-display-buffer-names)
5501 (special-display-regexps, special-display-function):
5502 In doc-string refer to display-buffer-window and quit-restore
5503 parameter.
5504 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5505 (special-display-frame-alist, special-display-popup-frame)
5506 (same-window-buffer-names, same-window-regexps, same-window-p)
5507 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5508 (split-window-preferred-function, split-height-threshold)
5509 (split-width-threshold, window-splittable-p)
5510 (split-window-sensibly, window--try-to-split-window)
5511 (window--frame-usable-p, even-window-heights)
5512 (window--even-window-heights, window--display-buffer-1)
5513 (window--display-buffer-2, display-buffer-other-frame):
5514 Restore old Emacs 23 code, order and doc-strings where applicable.
5515 (display-buffer-default, display-buffer-assq-regexp): New functions.
5516 (display-buffer-alist): Rewrite doc-string.
5517 (display-buffer-default-action)
5518 (display-buffer-overriding-action): New variables.
5519 (display-buffer, switch-to-buffer): Rewrite.
5520 (pop-to-buffer): Restore Emacs 23 behavior but use
5521 window-normalize-buffer-to-display.
5522 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5523 Restore Emacs 23 behavior but use
5524 window-normalize-buffer-to-switch-to.
5525 (pop-to-buffer-same-window): Rewrite.
5526 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5527 Rewrite using Emacs 23 options.
5528
55292011-08-31 Michael Albinus <michael.albinus@gmx.de>
5530
5531 * net/tramp.el (tramp-root-regexp): Remove.
5532 (tramp-completion-file-name-regexp-unified)
5533 (tramp-completion-file-name-regexp-separate)
5534 (tramp-completion-file-name-regexp-url): Don't use leading volume
5535 letter on win32 systems. (Bug#5303, Bug#9311)
5536 (tramp-drop-volume-letter): Simplify definition.
5537 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5538
55392011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5540
5541 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5542 (bug#9356).
5543
55442011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5545
5546 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5547
55482011-08-29 Juri Linkov <juri@jurta.org>
5549
5550 * isearch.el (isearch-done): Don't display message "Mark saved"
5551 when arg `edit' is non-nil to prevent its flicker in the echo area.
5552
55532011-08-28 Chong Yidong <cyd@stupidchicken.com>
5554
5555 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5556 obsolete packages for deletion.
5557
55582011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5559
5560 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5561 (help-mode): Derive help-mode from special-mode. Don't invoke
5562 view-mode from help-mode.
5563 (help-xref-override-view-map): Remove.
5564 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5565 view-mode is not used anymore.
5566
55672011-08-28 Chong Yidong <cyd@stupidchicken.com>
5568
5569 * server.el (server-port): Doc fix.
5570
5571 * cus-theme.el (custom-theme-choose-mode): Inherit from
5572 special-mode (Bug#9124).
5573 (custom-theme-choose-mode-map): Add special-mode to parent.
5574
55752011-08-28 Alan Mackenzie <acm@muc.de>
5576
5577 * progmodes/cc-fonts.el
5578 (c-make-font-lock-BO-decl-search-function): New function.
5579 (c-basic-matchers-after - "Fontify the clauses after various
5580 keywords"): Extract the three keyword lists for the 3 erroneous
5581 constructs from the list of four, and use the new function above
5582 in place of an old one.
5583
55842011-08-28 Deniz Dogan <deniz@dogan.se>
5585
5586 * net/rcirc.el (rcirc-insert-prev-input)
5587 (rcirc-insert-next-input): Remove unused argument.
5588
55892011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5590
5591 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5592
55932011-08-27 Alan Mackenzie <acm@muc.de>
5594
5595 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5596 handle function pointer parameters properly.
5597
55982011-08-27 Martin Rudalics <rudalics@gmx.at>
5599
5600 * window.el (display-buffer-reuse-window): Fix case where
5601 selected window was reused with non-nil OTHER-WINDOW argument.
5602 (Bug#9381)
5603
56042011-08-27 Deniz Dogan <deniz@dogan.se>
5605
5606 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5607 oftc's NickServ messages.
5608
56092011-08-27 Glenn Morris <rgm@gnu.org>
5610
5611 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5612
56132011-08-26 Chong Yidong <cyd@stupidchicken.com>
5614
5615 * emacs-lisp/package.el (package-install): Call package-initialize
5616 if called interactively.
5617
56182011-08-26 Leo Liu <sdl.web@gmail.com>
5619
5620 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5621
56222011-08-25 Juri Linkov <juri@jurta.org>
5623
5624 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5625 `search-whitespace-regexp' (bug#9364).
5626
56272011-08-25 Juri Linkov <juri@jurta.org>
5628
5629 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5630 `regexp-search-ring' to their global values to protect from
5631 updating by `read-from-minibuffer' (bug#9185).
5632
56332011-08-25 Juri Linkov <juri@jurta.org>
5634
5635 * textmodes/ispell.el (ispell-command-loop): Add newline
5636 at the end of the "Use option `i'..." line.
5637
56382011-08-25 Juri Linkov <juri@jurta.org>
5639
5640 * battery.el (display-battery-mode): If `battery-status-function'
5641 or `battery-mode-line-format' is nil, display the message and set
5642 `display-battery-mode' to nil (bug#9363).
5643
56442011-08-25 Eli Zaretskii <eliz@gnu.org>
5645
5646 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5647 bidi-string-mark-left-to-right; they are unnecessary now.
5648
56492011-08-25 Deniz Dogan <deniz@dogan.se>
5650
5651 * net/quickurl.el: Documentation typo fixes.
5652
56532011-08-25 Chong Yidong <cyd@stupidchicken.com>
5654
5655 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5656
56572011-08-25 Glenn Morris <rgm@gnu.org>
5658
5659 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5660
5661 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5662 (smtpmail-via-smtp): Handle nil response from smtp.
5663
56642011-08-24 Juri Linkov <juri@jurta.org>
5665
5666 * proced.el (proced-marked): Inherit from `error' instead of
5667 `font-lock-warning-face'.
5668
5669 * ibuffer.el (ibuffer-marked-face): Change default face from
5670 `font-lock-warning-face' to `warning'.
5671 (ibuffer-deletion-face): Change default face from
5672 `font-lock-type-face' to `error'.
5673
5674 * battery.el (battery-update): Use the face `error' instead of
5675 `font-lock-warning-face' (bug#6117).
5676
56772011-08-24 Juri Linkov <juri@jurta.org>
5678
5679 * faces.el (success): Change face color from "Green3" to
5680 "ForestGreen" on light background (bug#9353).
5681
56822011-08-24 Chong Yidong <cyd@stupidchicken.com>
5683
5684 * window.el (quit-window): Rename from quit-restore-window.
5685 Use same arglist as old quit-window.
5686 (frame-auto-delete): Doc fix.
5687
5688 * view.el (view-mode-exit): Use quit-window.
5689
56902011-08-24 Juri Linkov <juri@jurta.org>
5691
5692 * isearch.el (isearch-ring-adjust1): Start visiting previous
5693 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5694 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5695 for empty search string (when the last search string is reused
5696 automatically) to adjust the isearch ring to the last element and
5697 prepare the correct index for further M-p commands (bug#9185).
5698
56992011-08-24 Kenichi Handa <handa@m17n.org>
5700
5701 * international/ucs-normalize.el: If decomposition property of
5702 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5703 nil.
5704 (nfd, nfkd): Likewise.
5705
57062011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5707
5708 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5709 from process filters aren't reliably transmitted to the surrounding
5710 accept-process-output.
5711 (mpc-proc-check): New function.
5712 (mpc-proc-sync): Use it (bug#8293)
5713
57142011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5715
5716 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5717 Add compatibility functions (bug#9313).
5718
57192011-08-23 Eli Zaretskii <eliz@gnu.org>
5720
5721 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5722
5723 * international/uni-bidi.el: Regenerate.
5724
57252011-08-23 Kenichi Handa <handa@m17n.org>
5726
5727 * international/charprop.el:
5728 * international/uni-bidi.el:
5729 * international/uni-category.el:
5730 * international/uni-combining.el:
5731 * international/uni-comment.el:
5732 * international/uni-decimal.el:
5733 * international/uni-decomposition.el:
5734 * international/uni-digit.el:
5735 * international/uni-lowercase.el:
5736 * international/uni-mirrored.el:
5737 * international/uni-name.el:
5738 * international/uni-numeric.el:
5739 * international/uni-old-name.el:
5740 * international/uni-titlecase.el:
5741 * international/uni-uppercase.el: Regenerate.
5742
57432011-08-23 Martin Rudalics <rudalics@gmx.at>
5744
5745 * help.el (help-window-setup): Fix message displayed when other
5746 window is reused. (Bug#9341)
5747
57482011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5749
5750 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5751 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5752
5753 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5754 Mark obsolete.
5755 * shell.el (shell-parse-pcomplete-arguments): New function.
5756 (shell-completion-vars): Use it instead (bug#9160).
5757
57582011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5759
5760 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5761 strings and comments (bug#9333).
5762
5763 * emacs-lisp/debug.el (debug-arglist): New function.
5764 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5765 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5766
57672011-08-22 Juri Linkov <juri@jurta.org>
5768
5769 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5770 Revert regexp that highlights output switches to its old
5771 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5772
5773 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5774 to check for empty output (bug#9226).
5775
57762011-08-22 Chong Yidong <cyd@stupidchicken.com>
5777
5778 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5779 symbol-constituent as the default, as that stops font-lock from
5780 working properly (Bug#8843).
5781
57822011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5783
5784 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5785 `coding-system-for-*' around the process open call to avoid
5786 auth-source side effects.
5787 (smtpmail-try-auth-methods): Expand the secret password.
5788 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5789 probe hangs.
5790
57912011-08-21 Chong Yidong <cyd@stupidchicken.com>
5792
5793 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5794
5795 * emacs-lisp/find-func.el (find-function-noselect): New arg
5796 lisp-only.
5797
5798 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5799 signal an error for built-in functions (Bug#6664).
5800
58012011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5802
5803 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5804 (smtpmail-try-auth-methods): Use it.
5805
58062011-08-21 Chong Yidong <cyd@stupidchicken.com>
5807
5808 * font-lock.el (font-lock-fontify-region)
5809 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5810 (font-lock-default-unfontify-buffer)
5811 (font-lock-default-fontify-region)
5812 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5813
5814 * progmodes/compile.el (compilation-error-properties):
5815 Fix confusion between file struct and message struct (Bug#9319).
5816 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5817 `ant' regexp.
5818
5819 * net/browse-url.el (browse-url-firefox): Don't call
5820 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5821
58222011-08-20 Glenn Morris <rgm@gnu.org>
5823
5824 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5825
5826 * tutorial.el (tutorial--default-keys): Update some default bindings.
5827
5828 * files.el (hack-local-variables): Fully ignore case for "mode:".
5829
58302011-08-20 Alan Mackenzie <acm@muc.de>
5831
5832 Resolve invalid use of a regexp in regexp-opt.
5833
5834 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5835 detection for a java annotation.
5836
5837 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
5838 detection for a java annotation.
5839
5840 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5841 handling for java.
5842 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5843
58442011-08-20 Chong Yidong <cyd@stupidchicken.com>
5845
5846 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5847 (Bug#9274).
5848
58492011-08-20 Alan Mackenzie <acm@muc.de>
5850
5851 Fontify CPP expressions correctly when starting in the middle of
5852 such a construct. Mainly for when jit-lock etc. starts a chunk
5853 here.
5854
5855 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
5856 variable.
5857 (c-make-font-lock-search-form): New function, extracted from
5858 c-make-font-lock-search-function.
5859 (c-make-font-lock-search-function): Use the above function.
5860 (c-make-font-lock-context-search-function): New function.
5861 (c-cpp-matchers): Enhance the preprocessor expression case with
5862 the above function
5863 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5864 which takes an expression.
5865
5866 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5867
58682011-08-20 Martin Rudalics <rudalics@gmx.at>
5869
5870 * window.el (display-buffer-reuse-window)
5871 (display-buffer-pop-up-window): Don't reuse or split a side
5872 window.
5873
58742011-08-19 Glenn Morris <rgm@gnu.org>
5875
5876 * files.el (hack-local-variables-prop-line, hack-local-variables):
5877 Downcase "Mode:". (Bug#9331)
5878
58792011-08-18 Chong Yidong <cyd@stupidchicken.com>
5880
5881 * international/characters.el: Add L and R categories.
5882
5883 * subr.el (bidi-string-mark-left-to-right): Rename from
5884 string-mark-left-to-right. Use category search.
5885
5886 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5887
58882011-08-18 Juri Linkov <juri@jurta.org>
5889
5890 * faces.el (error, warning, success): New faces with definitions
5891 copied from old default values of `font-lock-warning-face',
5892 `compilation-warning', `compilation-info' (bug#6117).
5893
5894 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5895
5896 * progmodes/compile.el (compilation-error): Inherit from `error'.
5897 (compilation-warning): Inherit from `warning'.
5898 (compilation-info): Inherit from `success'.
5899
5900 * dired.el (dired-marked): Inherit from `warning'.
5901 (dired-flagged): Inherit from `error'.
5902
59032011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5904
5905 * mail/smtpmail.el (auth-source): Require to avoid problems with
5906 binding variables (bug#9298). Also clean up some unused
5907 autoloads.
5908
5909 * net/network-stream.el (network-stream-open-starttls):
5910 Support using starttls.el without using gnutls-cli.
5911
59122011-08-17 Juri Linkov <juri@jurta.org>
5913
5914 * progmodes/grep.el (rgrep): Handle the case when
5915 `grep-find-command' is a cons cell (bug#9278).
5916
59172011-08-17 Martin Rudalics <rudalics@gmx.at>
5918
5919 * window.el (display-buffer-pop-up-frame): Run frame creation
5920 function with BUFFER current (as special-display-popup-frame
5921 does). Reported by Drew Adams.
5922
59232011-08-17 Daiki Ueno <ueno@unixuser.org>
5924
5925 * epa-mail.el: Simplify GnuPG group expansion using
5926 epg-expand-group.
5927 (epa-mail-group-alist, epa-mail-group-modtime)
5928 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5929 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5930 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5931 Remove.
5932
59332011-08-16 Feng Li <fengli@gmail.com> (tiny change)
5934
5935 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5936
59372011-08-16 Alan Mackenzie <acm@muc.de>
5938
5939 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5940 Correct, to avoid the inside of macros.
5941
59422011-08-16 Richard Stallman <rms@gnu.org>
5943
5944 * epa-mail.el: Handle GnuPG group definitions.
5945 (epa-mail-group-alist, epa-mail-group-modtime)
5946 (epa-mail-gnupg-conf-file): New variables.
5947 (epa-mail-parse-groups, epa-mail-sync-groups)
5948 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5949 (epa-mail-expand-recipients): New functions.
5950 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5951
5952 * mail/rmail.el (rmail-epa-decrypt): New command.
5953
5954 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5955 Don't bind buffer-read-only, just inhibit-read-only.
5956 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5957 (epa-decrypt-armor-in-region): Make error message clearer.
5958
59592011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5962 and "a2b" to "ab" for `prefix'.
5963
59642011-08-14 Chong Yidong <cyd@stupidchicken.com>
5965
5966 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5967 filter groups.
5968 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5969 Fourquet (Bug#8804).
5970
59712011-08-12 Juanma Barranquero <lekktu@gmail.com>
5972
5973 * startup.el (argi): Declare as global variable (bug#9275).
5974
59752011-08-12 Chong Yidong <cyd@stupidchicken.com>
5976
5977 * subr.el (string-mark-left-to-right): Search the entire string
5978 for RTL script, not just the terminating character. Doc fix.
5979
59802011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5981
5982 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5983 New function.
5984 (js--regexp-literal, js-syntax-propertize-function): Remove.
5985 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5986 (js-mode-map): Don't rebind electric keys.
5987 (js-insert-and-indent): Remove.
5988 (js-mode): Setup electric-layout and electric-indent instead.
5989
5990 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5991
59922011-08-12 Daiki Ueno <ueno@unixuser.org>
5993
5994 * epa.el (epa-progress-callback-function): Fix the logic of
5995 displaying progress.
5996 * epa-file.el (epa-file-insert-file-contents): Make progress
5997 display more user-friendly.
5998 (epa-file-write-region): Ditto.
5999
60002011-08-10 Chong Yidong <cyd@stupidchicken.com>
6001
6002 * subr.el (string-mark-left-to-right): New function.
6003
6004 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6005 Use string-mark-left-to-right.
6006 (list-buffers-noselect): Caller changed.
6007
6008 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6009 Use string-mark-left-to-right.
6010 (tabulated-list-print): Recenter after moving point.
6011
60122011-08-10 Juri Linkov <juri@jurta.org>
6013
6014 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6015 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6016 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6017
60182011-08-09 Chong Yidong <cyd@stupidchicken.com>
6019
6020 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6021 (Bug#7554).
6022
60232011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6024
6025 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6026 character. (Bug#6594)
6027
60282011-08-08 Chong Yidong <cyd@stupidchicken.com>
6029
6030 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6031 (image-dired--with-db-file): New macro.
6032 (image-dired-write-tags, image-dired-remove-tag)
6033 (image-dired-create-gallery-lists, image-dired-write-comments)
6034 (image-dired-get-comment, image-dired-mark-tagged-files)
6035 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6036 (image-dired-gallery-generate): Use insert-file-contents.
6037
6038 * time.el (display-time-world-list, display-time-world-display):
6039 * time-stamp.el (time-stamp-string):
6040 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6041 set-time-zone-rule (Bug#7337).
6042
60432011-08-08 Daiki Ueno <ueno@unixuser.org>
6044
6045 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6046 (epg-error-to-string, epg-errors-to-string): New function.
6047 (epg-wait-for-completion): Reverse errors list.
6048 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6049 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6050 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6051 (epg-sign-keys, epg-generate-key-from-file)
6052 (epg-generate-key-from-string): Format errors by using
6053 epg-errors-to-string (bug#9255).
6054 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6055
60562011-08-07 Juri Linkov <juri@jurta.org>
6057
6058 * faces.el (list-faces-display): Remove extra angle bracket
6059 from `help-mode-map'.
6060
6061 * info.el (Info-history-toc-nodes): Doc fix.
6062
6063 * longlines.el (longlines-mode): Doc fix.
6064
60652011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6066
6067 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6068 of statements and in a few more cases (bug#9183).
6069
6070 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6071 New functions.
6072 (cl-transform-lambda): Use them (bug#9239).
6073
60742011-08-05 Martin Rudalics <rudalics@gmx.at>
6075
6076 * window.el (display-buffer-same-window)
6077 (display-buffer-same-frame, display-buffer-other-window)
6078 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6079 (pop-to-buffer-other-window)
6080 (pop-to-buffer-same-frame-other-window)
6081 (pop-to-buffer-other-frame): Make them defuns.
6082 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6083
60842011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6085
6086 * subr.el (make-composed-keymap): Move from C. Change calling
6087 convention, and improve docstring to bring attention to a subtle point.
6088 * minibuffer.el (completing-read-default): Adjust accordingly.
6089
60902011-08-03 Michael Albinus <michael.albinus@gmx.de>
6091
6092 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6093 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6094
6095 * net/trampver.el: Update release number.
6096
60972011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6098
6099 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6100 "in" (bug#9190).
6101
61022011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6103
6104 * mail/sendmail.el (sendmail-query-once): Restore the current
6105 buffer after querying (bug#9074).
6106
6107 * dired.el (dired-flagged): Use different faces for marked and
6108 flagged files (bug#6117).
6109
6110 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6111 (bug#4433).
6112
6113 * ido.el (ido-mode): Switch off the message if called
6114 non-interactively.
6115
6116 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6117 before 587, since it appears that that's more likely to work for
6118 more people.
6119
6120 * cus-edit.el (custom-file): When running under emacs -q, always
6121 refuse to save the customizations, even if the .emacs file doesn't
6122 exist.
6123
6124 * info.el: Remove the `Info-beginning-of-buffer' function
6125 (bug#8325).
6126
6127 * net/network-stream.el (network-stream-open-starttls):
6128 Use `starttls-available-p' to see whether starttls.el can be used.
6129
61302011-08-01 Martin Rudalics <rudalics@gmx.at>
6131
6132 * window.el (display-buffer-in-window): Don't set dedicated status
6133 of window here (Bug#9215).
6134 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6135 (display-buffer-pop-up-side-window)
6136 (display-buffer-in-side-window): Set dedicated status of window here.
6137
61382011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6139
6140 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6141 before binding generated-autoload-file.
6142
61432011-08-01 Deniz Dogan <deniz@dogan.se>
6144
6145 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6146
61472011-07-30 Michael Albinus <michael.albinus@gmx.de>
6148
6149 Sync with Tramp 2.2.2.
6150
6151 * net/trampver.el: Update release number.
6152
61532011-07-30 Juri Linkov <juri@jurta.org>
6154
6155 * dired-aux.el (dired-touch-initial): Remove function.
6156 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6157 current time, and `default' to the last modification time of the
6158 current marked file (bug#6887).
6159
61602011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6161
6162 * simple.el (goto-line): Use string-to-number to provide a
6163 numeric argument to read-number (bug#9163).
6164
61652011-07-27 Michael Albinus <michael.albinus@gmx.de>
6166
6167 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6168 connection process, it could be nil.
6169
61702011-07-27 Leo Liu <sdl.web@gmail.com>
6171
6172 Simplify url handling in rcirc-mode.
6173
6174 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6175 (rcirc-browse-url-at-mouse): Remove.
6176 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6177
61782011-07-26 Alan Mackenzie <acm@muc.de>
6179
6180 Fontify bitfield declarations properly.
6181
6182 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6183 (c-symbol-chars): Now exported as a lang variable.
6184 (c-not-primitive-type-keywords): New lang variable.
6185
6186 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6187 QT keyword "more" to prevent "more slots: ...." being spuriously
6188 parsed as a bitfield declaration.
6189
6190 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6191 Refactor and enhance to handle bitfield declarations.
6192 (c-punctuation-in): New function.
6193 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6194 declarations properly.
6195
61962011-07-26 Ulf Jasper <ulf.jasper@web.de>
6197
6198 * calendar/icalendar.el (icalendar--all-events): Take care of
6199 multiple vcalendars in a single file.
6200 (icalendar--convert-float-to-ical): Checkdoc fixes.
6201
62022011-07-25 Deniz Dogan <deniz@dogan.se>
6203
6204 * image.el (insert-image): Clarifying docstring.
6205
62062011-07-24 Michael Albinus <michael.albinus@gmx.de>
6207
6208 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6209 `tramp-send-command-and-check' if there is no error.
6210 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6211
62122011-07-22 Alan Mackenzie <acm@muc.de>
6213
6214 Prevent cc-langs.elc being loaded at run time.
6215
6216 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6217 cc-langs.
6218
6219 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
6220 "(require 'cc-langs)". Quote a form so it will evaluate at
6221 (cc-mode's) compilation time.
6222
62232011-07-22 Michael Albinus <michael.albinus@gmx.de>
6224
6225 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6226 loading. (Bug#9114)
6227
62282011-07-21 Martin Rudalics <rudalics@gmx.at>
6229
6230 * window.el (display-buffer-pop-up-window)
6231 (display-buffer-pop-up-side-window)
6232 (display-buffer-in-side-window): Call display-buffer-set-height
6233 and display-buffer-set-width after setting the new window's
6234 buffer so `fit-window-to-buffer' and friends work on the right buffer.
6235
62362011-07-20 Sam Steingold <sds@gnu.org>
6237
6238 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6239 (etags-tags-included-tables): Call `convert-standard-filename' on
6240 the file names contained in TAGS so that windows Emacs can handle
6241 TAGS files created by cygwin ctags.
6242
62432011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6244
6245 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6246 which apparently didn't work.
6247
62482011-07-19 Roland Winkler <winkler@gnu.org>
6249
6250 * proced.el (proced-send-signal): For *Marked Processes* buffer
6251 put point at beginning of buffer.
6252
62532011-07-19 Stephen Berman <stephen.berman@gmx.net>
6254
6255 * proced.el (proced-format): Make header lines align with the text
6256 (bug#1779).
6257
62582011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6259
6260 * view.el (view-buffer): Allow running in `special' modes if we're
6261 visiting a file (bug#8615).
6262
62632011-07-19 Martin Rudalics <rudalics@gmx.at>
6264
6265 * window.el (display-buffer-alist-of-strings-p)
6266 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6267 New functions.
6268 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6269 more accurately.
6270
62712011-07-18 Alan Mackenzie <acm@muc.de>
6272
6273 Fontify declarators properly when, e.g., a jit-lock chunk begins
6274 inside a declaration.
6275
6276 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6277
6278 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6279 New function.
6280 (c-complex-decl-matchers): Insert reference to
6281 c-font-lock-enclosing-decls.
6282
6283 * progmodes/cc-engine.el (c-backward-single-comment):
6284 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6285 to nil around calls to (forward-comment -1).
6286
62872011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6288
6289 * image.el (put-image): Doc typo fix.
6290
6291 * progmodes/etags.el (tags-search): Doc typo fix.
6292
6293 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6294 password if we get errors 550 to 554.
6295
62962011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6297
6298 * net/gnutls.el (gnutls-log-level): Remove.
6299
6300 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6301 indentation character (bug#6380).
6302
6303 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6304
6305 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6306 to clarify what the problem is (bug#4291).
6307
6308 * simple.el (current-kill): Clarify what
6309 `interprogram-paste-function' does (bug#7500).
6310 (auto-fill-mode): Document `auto-fill-function' in relation to
6311 `auto-fill-mode' (bug#2470).
6312
63132011-07-16 Lawrence Mitchell <wence@gmx.li>
6314
6315 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6316 method if slot is read-only (bug#9035).
6317
63182011-07-16 Martin Rudalics <rudalics@gmx.at>
6319
6320 * frame.el (select-frame-set-input-focus): New argument NORECORD.
6321 * window.el (pop-to-buffer): Select window used even if it was
6322 selected before, see discussion of (Bug#8615), (Bug#6954).
6323 Pass argument NORECORD on to select-frame-set-input-focus.
6324
63252011-07-15 Glenn Morris <rgm@gnu.org>
6326
6327 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
6328 Respect help-form.
6329
63302011-07-09 Lawrence Mitchell <wence@gmx.li>
6331
6332 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6333 (gnutls-negotiate): Use it.
6334
63352011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6336
6337 * net/gnutls.el (gnutls-negotiate):
6338 Upcase `gnutls-algorithm-priority'.
6339
63402011-07-15 Glenn Morris <rgm@gnu.org>
6341
6342 * jka-compr.el (jka-compr-verbose): Move from here...
6343 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6344 Add missing :version tag.
6345 * info.el: No need to require jka-compr when compiling.
6346
63472011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6348
6349 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6350 (gnutls-negotiate): Use it.
6351
6352 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6353
6354 * info.el (Info-beginning-of-buffer): New command.
6355 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6356 announcing `b' as the key (bug#8325).
6357 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6358
6359 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6360
6361 * international/mule-cmds.el
6362 (describe-specified-language-support): Make the error message
6363 clearer (bug#8905).
6364
6365 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6366
6367 * isearch.el (isearch-barrier): Add a doc string, since it's
6368 mentioned in a function doc string (bug#8678).
6369
63702011-07-15 Martin Rudalics <rudalics@gmx.at>
6371
6372 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6373 buffer argument (Bug#9083) and self-identifying label argument.
6374
63752011-07-15 Glenn Morris <rgm@gnu.org>
6376
6377 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6378
63792011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6380
6381 * man.el (Man-fontify-manpage): Fix message when formatting the
6382 man page (bug#7929).
6383
63842011-07-14 Eli Zaretskii <eliz@gnu.org>
6385
6386 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6387 argument LRM; if non-nil, append an invisible LRM character to the
6388 buffer name.
6389 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6390 last argument non-nil, when formatting buffer names.
6391 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6392 paragraph direction.
6393
63942011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6395
6396 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6397 the man page name (bug#7929).
6398
6399 * image.el (put-image): Mention the `put-image' overlay property
6400 (bug#7834).
6401
6402 * scroll-bar.el (set-scroll-bar-mode): Mention that
6403 `scroll-bar-mode' lists the values (bug#7772).
6404
6405 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6406 command (bug#7729).
6407
6408 * rect.el (apply-on-rectangle): Return the point after the last
6409 operation.
6410 (string-rectangle): Go to the point after the last operation
6411 (bug#7522).
6412
6413 * printing.el (pr-toggle-region): Clarify the documentation
6414 slightly (bug#7493).
6415
6416 * time.el (display-time-update):
6417 Allow `display-time-mail-function' to return nil (bug#7158).
6418 Fix suggested by Detlev Zundel.
6419
6420 * vc/diff.el (diff): Clarify the order the file names are read
6421 (bug#7111).
6422
6423 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6424 the doc string (bug#7015).
6425
6426 * font-lock.el (font-lock-maximum-decoration): Mention what
6427 numeric levels mean (bug#6935).
6428
6429 * startup.el (initial-buffer-choice): Don't mention the `none'
6430 selection, which is against policy.
6431
64322011-07-14 Martin Rudalics <rudalics@gmx.at>
6433
6434 * window.el (display-buffer-normalize-special):
6435 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6436
64372011-07-14 Eli Zaretskii <eliz@gnu.org>
6438
6439 * subr.el (version<, version<=, version=): Mention "-CVS" and
6440 "-12345" alpha version numbers.
6441
64422011-07-14 Chong Yidong <cyd@stupidchicken.com>
6443
6444 * bindings.el: Add advertised binding for set-mark-command
6445 (Bug#5772).
6446
64472011-07-14 Chong Yidong <cyd@stupidchicken.com>
6448
6449 * bindings.el (mode-line-other-buffer):
6450 * bookmark.el (bookmark-bmenu-2-window):
6451 * bs.el (bs-cycle-next, bs-cycle-previous):
6452 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6453 switch-to-buffer.
6454
6455 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6456 Delete.
6457
64582011-07-14 Juanma Barranquero <lekktu@gmail.com>
6459
6460 * follow.el (follow-debug-message, follow-redisplay):
6461 * jka-cmpr-hook.el (with-auto-compression-mode):
6462 Fix typos in docstrings.
6463
64642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6465
6466 * subr.el (with-silent-modifications): Clarify somewhat what the
6467 macro inhibits (bug#6525).
6468
6469 * simple.el (eval-expression): Note what it does if called
6470 interactively (bug#6495).
6471
64722011-07-13 Chong Yidong <cyd@stupidchicken.com>
6473
6474 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6475 Use pop-to-buffer buffer-or-name if it is nil.
6476
6477 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6478 Remove switch-to-buffer.
6479
64802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6481
6482 * files.el (make-directory): Clarify that an error will be raised
6483 if there's an error (bug#6397).
6484
6485 * startup.el (initial-buffer-choice): Add `none' as a choice
6486 (bug#6234).
6487
6488 * subr.el (add-hook): Clarify section about buffer-local hooks
6489 (bug#6218).
6490
6491 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6492
64932011-07-13 Juanma Barranquero <lekktu@gmail.com>
6494
6495 * tabify.el (untabify): Preserve the current column so that point
6496 doesn't move (bug#6032).
6497
64982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6499
6500 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6501 Rewrite to avoid awkward possessive "s" (bug#5986).
6502
65032011-07-13 Glenn Morris <rgm@gnu.org>
6504
6505 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6506 (dired-insert-directory): Give a message the first time
6507 if ls is found not to support --dired.
6508
65092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6510
6511 * simple.el (toggle-truncate-lines): Clarify what is toggled
6512 (bug#5580). Text by Drew Adams.
6513
65142011-07-13 Chong Yidong <cyd@stupidchicken.com>
6515
6516 * simple.el (blink-matching-open): Make the error message from the
6517 last change less verbose.
6518
65192011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6520
6521 * font-lock.el (font-lock-comment-face): Use the high contrast
6522 "yellow" color for font-lock-comment-face on low color terminals
6523 using a dark background color (bug#4221).
6524
65252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6526
6527 * dired.el (dired-insert-set-properties): Make the doc string
6528 reflect what it does now (bug#5325).
6529
6530 * simple.el (blink-matching-open): Say that we were unable to find
6531 the match within the limit, if we're limited (bug#5122).
6532
6533 * international/mule-cmds.el (prefer-coding-system): Add an
6534 example (bug#4869).
6535
6536 * progmodes/etags.el (tags-search): Document `file-list-form'
6537 (bug#4731).
6538
65392011-07-13 Lawrence Mitchell <wence@gmx.li>
6540
6541 * net/browse-url.el (browse-url-default-browser)
6542 (browse-url-browser-function): Make the default browser choice a
6543 bit more logical (bug#4300). Also clean up the doc string.
6544
65452011-07-13 Juanma Barranquero <lekktu@gmail.com>
6546
6547 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6548 binary endings (bug#4440).
6549
65502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6551
6552 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6553 which can be pretty annoying (bug#8971).
6554
6555 * jka-compr.el (jka-compr-verbose): New variable, and use
6556 throughout (bug#8971).
6557
6558 * info.el (Info-find-file): Fall back on the installation
6559 directory if we can't find the info node anywhere else.
6560
65612011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6562
6563 * vc/vc.el (vc-revert-file):
6564 Don't set file time-stamp in the past. (Bug#5181)
6565
65662011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6567
6568 * files.el (after-find-file): Give a better error message when
6569 trying to find a symlink that points to a file that doesn't exist
6570 (bug#4398).
6571
6572 * progmodes/cc-vars.el: Remove (probably) misleading comment
6573 (bug#4396).
6574
65752011-07-12 Johan Bockgård <bojohan@gnu.org>
6576
6577 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6578
65792011-07-12 Chong Yidong <cyd@stupidchicken.com>
6580
6581 * mouse-sel.el: Hack restoring functionality, while keeping
6582 compatibility with 2010-07-03 changes to mouse selection.
6583 (mouse-sel-primary-overlay): New var.
6584 (mouse-sel-selection-alist): Use it.
6585 (mouse-sel-mode): Doc fix; remove points that are default features
6586 of mouse.el.
6587
65882011-07-12 Johan Bockgård <bojohan@gnu.org>
6589
6590 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6591 Fix previous fix (bug#2490).
6592
65932011-07-12 Roland Winkler <winkler@gnu.org>
6594
6595 * textmodes/bibtex.el (bibtex-initialize):
6596 Use pop-to-buffer-same-window.
6597 (bibtex-search-entries): Fix interactive call.
6598
65992011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6600
6601 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6602 Fontise bytecomp Error lines more correctly (bug#2490).
6603 Fix suggested by Johan Bockgård.
6604
6605 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6606
6607 * dired-x.el (dired-guess-default): Use `delete-dups'.
6608
66092011-07-12 Chong Yidong <cyd@stupidchicken.com>
6610
6611 * dired.el (dired-mark-prompt):
6612 * dired-aux.el (dired-read-shell-command): Doc fix.
6613
66142011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6615
6616 * mail/sendmail.el (sendmail-query-once):
6617 Use `customize-save-variable' unconditionally, now that it works under
6618 emacs -Q.
6619
6620 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6621
6622 * cus-edit.el (custom-file): Take an optional no-error variable.
6623 (customize-save-variable): Set the variable, and give a warning if
6624 running under "emacs -q".
6625
66262011-07-11 Juanma Barranquero <lekktu@gmail.com>
6627
6628 * loadhist.el (unload-feature-special-hooks):
6629 Add `auto-coding-functions', `fill-nobreak-predicate' and
6630 `find-directory-functions' (bug#5327).
6631
66322011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6633
6634 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6635
6636 * cus-edit.el (custom-guess-name-alist): -alist variables should
6637 use the `alist' type (bug#3120). Suggested by Drew Adams.
6638
6639 * printing.el: Add documentation to all the `pr-toggle-' commands.
6640
66412011-07-11 Leo Liu <sdl.web@gmail.com>
6642
6643 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6644 backends where it makes sense (bug#2623).
6645
66462011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6647
6648 * dired-x.el (dired-guess-default): Remove duplicate shell command
6649 entries (bug#2028).
6650 (dired-guess-default): Fix grammar in doc string (bug#2028).
6651 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6652
6653 * subr.el (remove-duplicates): New conveniency function.
6654
66552011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6656
6657 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6658 (bug#1526).
6659
66602011-07-10 Martin Rudalics <rudalics@gmx.at>
6661
6662 * window.el (display-buffer-normalize-default): Don't invert
6663 meaning of even-window-heights. Reported by Eli Zaretskii
6664 <eliz@gnu.org>.
6665
66662011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6667
6668 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6669
66702011-07-10 Chong Yidong <cyd@stupidchicken.com>
6671
6672 * window.el (display-buffer): Fix arguments to
6673 display-buffer-reuse-window in last change.
6674
6675 * faces.el (link): Use a less saturated blue on light backgrounds.
6676
6677 * startup.el (fancy-startup-text, fancy-about-text)
6678 (fancy-startup-tail): Use font-lock faces, for background safety.
6679
66802011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6681
6682 * emulation/viper-cmd.el (viper-change-state-to-vi):
6683 Limit triggering of abbrev expansion (Bug#9038).
6684
66852011-07-09 Martin Rudalics <rudalics@gmx.at>
6686
6687 * window.el (display-buffer-default-specifiers): Remove.
6688 (display-buffer-macro-specifiers): Remove default specifiers.
6689 (display-buffer-alist): Default to nil.
6690 (display-buffer-reuse-window): New optional argument other-window.
6691 (display-buffer-pop-up-window): Allow splitting internal
6692 windows. Check whether a live window was created.
6693 (display-buffer-other-window-means-other-frame)
6694 (display-buffer-normalize-arguments): Rename to
6695 display-buffer-normalize-argument and rewrite. Set the
6696 other-window specifier.
6697 (display-buffer-normalize-special): New function.
6698 (display-buffer-normalize-options): Rename to
6699 display-buffer-normalize-default and rewrite.
6700 (display-buffer-normalize-options-inhibit): Remove.
6701 (display-buffer-normalize-specifiers): Rewrite.
6702 (display-buffer): Process other-window specifier and call
6703 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6704 more faithfully.
6705 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
6706 (display-buffer-alist-set): Don't handle 'unset default values.
6707 (display-buffer-in-window, display-buffer-alist-set):
6708 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
6709 <tassilo@member.fsf.org>.
6710
67112011-07-09 Leo Liu <sdl.web@gmail.com>
6712
6713 * register.el (insert-register): Restore accidental change on
6714 2011-06-26. (Bug#9028)
6715
67162011-07-09 Glenn Morris <rgm@gnu.org>
6717
6718 * subr.el (remq): Handle the empty list. (Bug#9024)
6719
67202011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6721
6722 * mail/sendmail.el (send-mail-function): No longer delay custom
6723 initialization.
6724 * custom.el (custom-initialize-delay): Doc fix.
6725
67262011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6727
6728 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6729
67302011-07-08 Michael Albinus <michael.albinus@gmx.de>
6731
6732 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6733 human-friendly prompt.
6734
67352011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6736
6737 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6738 provided by a particular plugin.
6739
67402011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6741
6742 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6743 save customizations (with "emacs -Q"), just set the variable
6744 instead of erroring out.
6745
6746 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6747
67482011-07-08 Juri Linkov <juri@jurta.org>
6749
6750 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6751 (archive-zip-update-case): Use 7z if found by `executable-find'.
6752 The order of searching the available programs is the same as in
6753 `archive-zip-extract' (bug#8968).
6754
67552011-07-07 Chong Yidong <cyd@stupidchicken.com>
6756
6757 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6758 (menu-bar-options-menu): Tweak descriptions.
6759
67602011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6761
6762 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6763 menu items into verb phrases (bug#1421). Also refill to fit under
6764 80 columns.
6765
67662011-07-07 Chong Yidong <cyd@stupidchicken.com>
6767
6768 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6769 (Info-read-node-name): Doc fix (Bug#1084).
6770
6771 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6772 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6773 (end-of-sexp, beginning-of-sexp)
6774 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6775 (forward-symbol, forward-same-syntax, word-at-point)
6776 (sentence-at-point): Doc fix (Bug#1144).
6777
67782011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6779
6780 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6781 should cover it (bug#1281).
6782
6783 * cus-edit.el (custom-show): Mark as obsolete.
6784
6785 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
6786 negotiation fails, then possibly try again with a non-encrypted
6787 connection (bug#9017).
6788
6789 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6790 be used.
6791
67922011-07-07 Richard Stallman <rms@gnu.org>
6793
6794 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6795 property, and handle its changed format.
6796 Look for the correct line number.
6797 Use file's line contents (but not past first =) to find
6798 correct line in message.
6799
68002011-07-07 Kenichi Handa <handa@m17n.org>
6801
6802 * international/characters.el (build-unicode-category-table):
6803 Delete it.
6804 (unicode-category-table): Set it by unicode-property-table-internal.
6805
6806 * international/mule-cmds.el (char-code-property-alist): Move to
6807 to src/chartab.c.
6808 (get-char-code-property): Call unicode-property-table-internal to
6809 load a file. Call get-unicode-property-internal where necessary.
6810 (put-char-code-property): Call unicode-property-table-internal to
6811 load a file. Call put-unicode-property-internal where necessary.
6812 put-unicode-property-internal where necessary.
6813 (char-code-property-description):
6814 Call unicode-property-table-internal to load a file.
6815
6816 * international/charprop.el:
6817 * international/uni-bidi.el:
6818 * international/uni-category.el:
6819 * international/uni-combining.el:
6820 * international/uni-comment.el:
6821 * international/uni-decimal.el:
6822 * international/uni-decomposition.el:
6823 * international/uni-digit.el:
6824 * international/uni-lowercase.el:
6825 * international/uni-mirrored.el:
6826 * international/uni-name.el:
6827 * international/uni-numeric.el:
6828 * international/uni-old-name.el:
6829 * international/uni-titlecase.el:
6830 * international/uni-uppercase.el: Regenerate.
6831
6832 * loadup.el: Load international/charprop.el before
6833 international/characters.
6834
68352011-07-07 Chong Yidong <cyd@stupidchicken.com>
6836
6837 * window.el (next-buffer, previous-buffer): Signal an error if
6838 called from a minibuffer window.
6839
6840 * bindings.el: Revert 2011-07-04 change.
6841
68422011-07-06 Richard Stallman <rms@gnu.org>
6843
6844 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6845 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6846 Treat markers like ints.
6847 (rmail-mime-entity): Doc fix.
6848
68492011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6850
6851 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6852 defcustom again for backwards compatibility.
6853
6854 * simple.el (shell-command-on-region): Fill.
6855
6856 * dired-aux.el (dired-kill-line): Add a doc string.
6857
6858 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6859 to "\\sw\\|\\s_" (bug#358).
6860
6861 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6862 (dired-unmark-backward): Ditto.
6863 (dired-flag-backup-files): Ditto.
6864
6865 * dired-x.el (dired-mark-sexp): Ditto.
6866
68672011-07-06 Richard Stallman <rms@gnu.org>
6868
6869 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6870 (rmail-mime-entity): New arg TRUNCATED.
6871 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6872 New functions.
6873 (rmail-mime-save): Warn if entity is truncated.
6874 (rmail-mime-toggle-hidden): Likewise, for showing.
6875 (rmail-mime-process-multipart): Record when an entity is truncated.
6876
6877 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6878 if ENTITY is a string.
6879
68802011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6881
6882 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
6883 of faces when `M-C-x'-ing their definitions (bug#8378).
6884 Also clean up the code slightly.
6885
6886 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
6887 because that makes the colors go away.
6888
6889 * mail/sendmail.el (send-mail-function): Change the default to
6890 `sendmail-query-once'.
6891 (sendmail-query-once): Add an autoload cookie.
6892
6893 * net/network-stream.el (network-stream-open-starttls): Try using
6894 a plain connection even if the server offered STARTTLS, and we
6895 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6896 capability. This should make smtpmail.el work in slightly more
6897 configurations.
6898
68992011-07-06 Michael Albinus <michael.albinus@gmx.de>
6900
6901 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6902 New defun.
6903 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6904
69052011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6906
6907 * progmodes/sql.el: Version 3.0
6908 (sql-product-alist): Add product :completion-object,
6909 :completion-column, and :statement attributes.
6910 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
6911 (sql-mode-syntax-table): Mark all punctuation.
6912 (sql-font-lock-keywords-builder): Temporarily remove fallback on
6913 ansi keywords.
6914 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
6915 (sql-mode-oracle-font-lock-keywords): Improve.
6916 (sql-oracle-show-reserved-words): New function for development.
6917 (sql-product-font-lock): Simplify for source code buffers.
6918 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6919 New functions.
6920 (sql-highlight-product): Set product specific syntax table.
6921 (sql-mode-map): Add statement movement functions.
6922 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6923 New variable.
6924 (sql-statement-regexp, sql-beginning-of-statement)
6925 (sql-end-of-statement, sql-signum): New functions.
6926 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
6927 (sql-show-sqli-buffer): Bug fix.
6928 (sql-interactive-mode): Store connection data as buffer local.
6929 (sql-connect): Add NEW-NAME parameter. Redesign interaction
6930 with sql-interactive-mode.
6931 (sql-save-connection): Save buffer local settings.
6932 (sql-connection-menu-filter): Change menu entry name.
6933 (sql-product-interactive): Bug fix.
6934 (sql-preoutput-hold): New variable.
6935 (sql-interactive-remove-continuation-prompt): Bug fixes.
6936 (sql-debug-redirect): New variable.
6937 (sql-str-literal): New function.
6938 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
6939 Redesign.
6940 (sql-oracle-save-settings, sql-oracle-restore-settings)
6941 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6942 (sql-completion-object, sql-completion-column)
6943 (sql-completion-sqlbuf): New variables.
6944 (sql-build-completions-1, sql-build-completions)
6945 (sql-try-completion): New functions.
6946 (sql-read-table-name): Use them.
6947 (sql-contains-names): New buffer local variable.
6948 (sql-list-all, sql-list-table): Use it.
6949 (sql-oracle-completion-types): New variable.
6950 (sql-oracle-completion-object, sql-sqlite-completion-object)
6951 (sql-postgres-completion-object): New functions.
6952
69532011-07-06 Glenn Morris <rgm@gnu.org>
6954
6955 * window.el (pop-to-buffer): Doc fix.
6956
69572011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
6958
6959 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6960
69612011-07-06 Chong Yidong <cyd@stupidchicken.com>
6962
6963 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6964
6965 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
6966
69672011-07-05 Chong Yidong <cyd@stupidchicken.com>
6968
6969 * button.el (button): Inherit from link face. Suggested by Dan
6970 Nicolaescu.
6971
69722011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6973
6974 * progmodes/gdb-mi.el: Fit in 80 columns.
6975 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6976 switch-to-buffer.
6977
6978 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6979 if imenu is simply not configured (bug#8941).
6980
69812011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6982
6983 * allout.el (allout-post-undo-hook): New allout outline-change
6984 event hook to signal undo activity.
6985 (allout-post-command-business): Run allout-post-undo-hook if an
6986 undo just occurred.
6987 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6988 * allout-widgets.el (allout-widgets-after-undo-function):
6989 Ensure the integrity of the current item's decoration after it has been
6990 in the vicinity of an undo.
6991 (allout-widgets-mode): Include allout-widgets-after-undo-function
6992 on the new allout-post-undo-hook.
6993
69942011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6997 Let define-derived-mode define it.
6998 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6999 cycles of abbrev-table inheritance (bug#8998).
7000
70012011-07-05 Roland Winkler <winkler@gnu.org>
7002
7003 * textmodes/bibtex.el: Add support for biblatex.
7004 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7005 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7006 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7007 (bibtex-entry-alist, bibtex-field-alist): New variables.
7008 (bibtex-entry-field-alist): Obsolete alias for
7009 bibtex-BibTeX-entry-alist.
7010 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7011 (bibtex-set-dialect): New command.
7012 (bibtex-entry-type, bibtex-entry-head)
7013 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7014 Bind via bibtex-set-dialect.
7015 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7016 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7017 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7018 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7019 Define via bibtex-set-dialect.
7020 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7021 Obey bibtex-no-opt-remove-re.
7022 (bibtex-vec-push, bibtex-vec-incr): New functions.
7023 (bibtex-format-entry, bibtex-field-list)
7024 (bibtex-print-help-message, bibtex-validate)
7025 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7026
70272011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7028
7029 * progmodes/compile.el (compilation-goto-locus):
7030 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7031 * bs.el (bs-cycle-next, bs-cycle-previous):
7032 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7033 * bindings.el (mode-line-other-buffer):
7034 * autoinsert.el (auto-insert):
7035 * arc-mode.el (archive-extract):
7036 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7037
70382011-07-05 Juanma Barranquero <lekktu@gmail.com>
7039
7040 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7041 Fix check of `emacs-lock-unlockable-modes'.
7042 Coerce true values of `emacs-lock--try-unlocking' to t.
7043
70442011-07-05 Juanma Barranquero <lekktu@gmail.com>
7045
7046 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7047 * emacs-lock.el: New file.
7048
70492011-07-05 Julien Danjou <julien@danjou.info>
7050
7051 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7052 than `boundp' to check if face is set.
7053
70542011-07-05 Juanma Barranquero <lekktu@gmail.com>
7055
7056 * register.el (registerv-make):
7057 * window.el (window-min-height): Fix typos in docstrings.
7058
70592011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7060
7061 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7062 Update doc string.
7063
70642011-07-04 Juanma Barranquero <lekktu@gmail.com>
7065
7066 * server.el (server-execute): Catch quit and call
7067 `server-return-error' to pass the error back to emacsclient and
7068 close the connection (bug#8942).
7069
70702011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7071
7072 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7073 insecure exception for current topic. Also note that auto-saves
7074 are handled differently.
7075
7076 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7077 State variables for tracking auto-save inhibition situation.
7078
7079 (allout-write-contents-hook-handler): Rename from
7080 'allout-write-file-hook-handler', and describe how it depends on
7081 write-contents-functions sensitivity to non-nil value to prevent
7082 file write.
7083
7084 (allout-auto-save-hook-handler): Remove. auto-save does not check
7085 this in individual buffers, only in the starting buffer, so this
7086 is not the right way for us to inhibit auto-save in a buffer
7087 according to its condition.
7088
7089 (allout-mode): Use new allout-write-contents-hook-handler, and
7090 only with write-contents-functions. Remove auto-save provisions -
7091 they're implemented elsewhere.
7092
7093 (allout-before-change-handler): If undo is in progress, note that
7094 for attention of allout-post-command-business.
7095
7096 (allout-post-command-business): If the command we're following was
7097 an undo, check for change in the status of encrypted items and
7098 adjust auto-save inhibitions accordingly.
7099
7100 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7101 according to whether there are or aren't any plain-text topics
7102 pending encryption.
7103
7104 (allout-inhibit-auto-save-info-for-decryption):
7105 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7106 if there are plain-text topics pending encryption.
7107
7108 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7109 buffer-saved-size and some allout state to not inhibit auto-saves
7110 if there are no longer any plain-text topics pending encryption.
7111
7112 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7113 No longer provide for exemption of the current topic.
7114
71152011-07-04 Juri Linkov <juri@jurta.org>
7116
7117 Add 7z operations to delete and save changed members (bug#8968).
7118 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7119 New defcustoms.
7120 (archive-7z-write-file-member): New function.
7121 (archive-7z-summarize): Fix the number of dashes in the
7122 listing output.
7123
71242011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7125
7126 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7127 (bug#8958).
7128
71292011-07-04 Chong Yidong <cyd@stupidchicken.com>
7130
7131 * bindings.el: Ignore next-buffer and previous-buffer in
7132 minibuffer-local-map.
7133
7134 * font-lock.el (font-lock-builtin-face): Change light background
7135 color to dark slate blue (Bug#6693).
7136
71372011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7138
7139 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7140
71412011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7142
7143 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7144 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7145 Add switch-to-buffer.
7146
71472011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7148
7149 * isearch.el (isearch-search-fun-function): Clarify further the
7150 meaning of the function returned.
7151
71522011-07-04 Michael Albinus <michael.albinus@gmx.de>
7153
7154 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7155
7156 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7157 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7158 Use it.
7159 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7160 `tramp-default-remote-path' does not exist.
7161 (tramp-send-command-and-read): New optional argument NOERROR.
7162 (tramp-open-connection-setup-interactive-shell)
7163 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7164 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7165 (tramp-process-sentinel): Flush also process' connection property.
7166 (tramp-sh-handle-start-file-process): Do not set process
7167 sentinel. It is done now ...
7168 (tramp-maybe-open-connection): ... here. (Bug#8929)
7169
71702011-07-04 MON KEY <monkey@sandpframing.com>
7171
7172 * play/animate.el (animate-string): Doc fixes and allow changing
7173 the buffer name (bug#5417).
7174
71752011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7176
7177 * play/animate.el (animation-buffer-name): Rename from *animate*.
7178
71792011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7180
7181 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7182 This is simpler and helps future-proof the code.
7183 (timer-until): Use time-subtract and float-time.
7184 (timer--time-less-p): Use time-less-p.
7185
71862011-07-04 Juanma Barranquero <lekktu@gmail.com>
7187
7188 * type-break.el (timep): Use the value of `float-time' to avoid a
7189 byte-compiler warning.
7190
7191 * server.el (server-eval-and-print): Return any result, even nil.
7192
71932011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7194
7195 * type-break.el: Accept time formats that the builtins accept.
7196 (timep, type-break-time-difference): Accept any format that
7197 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7198 This is simpler and helps future-proof the code.
7199 (type-break-time-difference): Round rather than ignoring
7200 subseconds components.
7201
72022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7203
7204 * info.el (Info-apropos-matches): Make non-interactive, since it
7205 doesn't seem to do anything useful as a command (bug#8829).
7206
72072011-07-03 Chong Yidong <cyd@stupidchicken.com>
7208
7209 * frame.el (frame-background-mode, frame-set-background-mode):
7210 Move from faces.el.
7211 (frame-default-terminal-background): New function.
7212
7213 * custom.el (custom-push-theme): Don't record faces in `changed'
7214 theme; this doesn't work correctly for per-frame face settings.
7215 (disable-theme): Use face-set-after-frame-default to reset faces.
7216 (custom--frame-color-default): New function.
7217
72182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7219
7220 * dired.el (dired-flagging-regexp): Remove unused variable
7221 (bug#8769).
7222
72232011-03-29 Kevin Ryde <user42@zip.com.au>
7224
7225 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7226 `perl-Test2' extend to match possible "fail #N" rep count
7227 (bug#8377).
7228
72292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7230
7231 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7232 `smtpmail-via-smtp' now returns the error instead of nil.
7233
7234 * isearch.el (isearch-search-fun-function): Clarify the doc string
7235 (bug#8101).
7236
72372011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
7238
7239 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7240 unnecessary spaces (bug#8987).
7241
72422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7243
7244 * net/network-stream.el (open-network-stream): Use the
7245 :end-of-capability command thoughout.
7246
72472011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7248
7249 * net/network-stream.el (open-network-stream): Add the
7250 :end-of-capability command parameter, used by pop3.el.
7251
72522011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7253
7254 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7255
7256 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7257 for list)" (bug#6475).
7258
7259 * files.el (file-expand-wildcards): Ignore non-readable
7260 sub-directories while trying to find matches instead of signaling
7261 an error (bug#6297).
7262
7263 * man.el (Man-reference-regexp): Allow matching possible
7264 word-wrapped references (bug#6289).
7265
7266 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7267 for consistency with the other vc buffers (bug#6197).
7268 (vc-checkin): Ditto.
7269
7270 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7271
7272 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7273
72742011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7275
7276 * custom.el (defcustom): Clarify that :set is only used in the
7277 Customize user interface (bug#6089).
7278
7279 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7280 associated with a file, refuse to run instead of erroring out
7281 (bug#6084).
7282
7283 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7284 the doc string, since it appears that using `fill-column' always
7285 controls the width (bug#7845).
7286
7287 * simple.el (shell-command-on-region): Say where the error output
7288 went if `shell-command-default-error-buffer' is set (bug#6857).
7289
72902011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7291
7292 * allout.el (allout-yank-processing): Adjust cursor position for
7293 backwards-deleted space.
7294
7295 (allout-rebullet-heading): Register changes with
7296 allout-exposure-changed-hook, so the modified topic is properly
7297 decorated.
7298
72992011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7300
7301 * minibuffer.el (completion-in-region): Document PREDICATE
7302 (bug#7136).
7303
7304 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7305 of keyword/argument pairs (bug#6904).
7306
7307 * replace.el (multi-occur):
7308 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7309
73102011-07-02 Drew Adams <drew.adams@oracle.com>
7311
7312 * dired.el (dired-mark-if): Make the message about whether it's
7313 marking or unmarking clearer (bug#8523).
7314
73152011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7316
7317 * disp-table.el (display-table-print-array): New function.
7318 (describe-display-table): Use it to print the vectors more pretty
7319 (Bug#8859).
7320
73212011-07-02 Martin Rudalics <rudalics@gmx.at>
7322
7323 * window.el (window-state-get-1): Don't assign clone numbers.
7324 Add clone-of item to list of window parameters.
7325 (window-state-put-2): Don't process clone numbers.
7326 (display-buffer-alist): Fix doc-string.
7327
73282011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7329
7330 * subr.el (remq): Don't allocate if it's not needed.
7331 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7332 (keymap--merge-bindings): New functions.
7333 (keymap-canonicalize): Use them to refine the canonicalization.
7334 * minibuffer.el (minibuffer-local-completion-map)
7335 (minibuffer-local-must-match-map): Move initialization from C.
7336 (minibuffer-local-filename-completion-map): Move initialization from C;
7337 don't inherit from anything here.
7338 (minibuffer-local-filename-must-match-map): Make obsolete.
7339 (completing-read-default): Use make-composed-keymap to combine
7340 minibuffer-local-filename-completion-map with either
7341 minibuffer-local-must-match-map or
7342 minibuffer-local-filename-completion-map.
7343
73442011-07-01 Glenn Morris <rgm@gnu.org>
7345
7346 * type-break.el (type-break-time-sum): Use dolist.
7347
7348 * textmodes/flyspell.el (flyspell-word-search-backward):
7349 Replace CL function.
7350
73512011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7352
7353 * mouse.el (mouse--strip-first-event): New function.
7354 (function-key-map): Use it to map fringe clicks to normal clicks
7355 by default.
7356
7357 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7358 (vc-bzr-revision-completion-table): Add support for annotate and date.
7359
7360 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7361 inherit from parent.
7362
73632011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7364
7365 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7366 (dired-show-file-type): Doc fixup (bug#8818).
7367
7368 * dired.el (dired-mode): Fix up the doc string as suggested by
7369 Drew Adams (bug#8817).
7370
7371 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7372 cookie, since the manual says that it should be possible to add
7373 this function to `find-file-hook' (bug#8709).
7374
73752011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7376
7377 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7378 here. Noted Ted Zlatanov as the maintainer.
7379 (cfengine-common-settings, cfengine-common-syntax): New functions
7380 to set up common things between `cfengine-mode' and
7381 `cfengine3-mode'.
7382 (cfengine3-mode): New mode.
7383 (cfengine3-defuns cfengine3-defuns-regex
7384 (cfengine3-class-selector-regex cfengine3-category-regex)
7385 (cfengine3-vartypes cfengine3-font-lock-keywords)
7386 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7387 (cfengine3-indent-line): Add from cfengine3.el.
7388
73892011-07-01 Michael Albinus <michael.albinus@gmx.de>
7390
7391 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7392
7393 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7394
73952011-07-01 Martin Rudalics <rudalics@gmx.at>
7396
7397 * window.el (same-window-buffer-names, same-window-regexps)
7398 (same-window-p, special-display-frame-alist)
7399 (special-display-popup-frame, special-display-function)
7400 (special-display-buffer-names, special-display-regexps)
7401 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7402 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7403 (split-window-preferred-function, split-height-threshold)
7404 (split-width-threshold, even-window-heights)
7405 (display-buffer-mark-dedicated, window-splittable-p)
7406 (split-window-sensibly, window-safely-shrinkable-p):
7407 Un-obsolete.
7408 (display-buffer): Don't spread args with function specifier
7409 because special-display-popup-frame won't like it.
7410
74112011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7412
7413 Time-stamp simplifications and fixes.
7414 These improve accuracy slightly, and future-proof the code
7415 against some potential changes to current-time format.
7416
7417 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7418 by using time-since and float-time.
7419
7420 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7421 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7422 + NNN microseconds".
7423
7424 * type-break.el (type-break-time-sum): Rewrite using time-add.
7425
7426 * play/hanoi.el (hanoi-current-time-float): Remove.
7427 All uses replaced by float-time.
7428
7429 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7430 This yields a more-accurate answer.
7431 (rng-time-to-float): Remove; no longer needed.
7432
7433 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7434
7435 * calendar/timeclock.el (timeclock-seconds-to-time):
7436 Defalias to seconds-to-time, since they're the same thing.
7437
7438 * emacs-lisp/elp.el (elp-elapsed-time):
7439 * emacs-lisp/benchmark.el (benchmark-elapse):
7440 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7441
74422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7443
7444 * window.el (bury-buffer): Don't iconify the only frame.
7445 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7446 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7447
74482011-07-01 Chong Yidong <cyd@stupidchicken.com>
7449
7450 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7451 Add mouse-yank-primary.
7452
74532011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7454
7455 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7456
74572011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7460 (find-library-name): Use it to find relative load names when provided
7461 absolute file name (bug#8803).
7462
74632011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7464
7465 * textmodes/flyspell.el (flyspell-word): Consider words that
7466 differ only in case as potential doublons (bug#5687).
7467
7468 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7469 Remove two rather uninteresting debugging-like messages to make
7470 debbugs.el more silent.
7471
7472 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7473 a password-like phrase.
7474
74752011-06-30 Masatake YAMATO <yamato@redhat.com>
7476
7477 * progmodes/cc-guess.el: New file.
7478
7479 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7480
7481 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7482 derived from `c-basic-common-init'.
7483
7484 * progmodes/cc-mode.el (top-level): Require cc-guess.
7485 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7486
74872011-06-30 Lawrence Mitchell <wence@gmx.li>
7488
7489 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7490
74912011-06-30 Alan Mackenzie <acm@muc.de>
7492
7493 * progmodes/cc-engine.el (c-guess-continued-construct):
7494 Correct the handling of template-args-cont, particularly for when font
7495 lock is disabled. Name this case as "CASE G".
7496
74972011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7498
7499 * allout.el (allout-yank-processing): Fix injection of extra space
7500 between bullet and non-whitespace character in first topic when
7501 pasting, ensuring that the actual spacing in the pasted topic
7502 following the bullet char is preserved. This extra space was
7503 causing pasted encrypted topics to get a decrypted status even
7504 when the content was actually still encrypted. Now the decryption
7505 status from before the paste is preserved.
7506
7507 (allout-flag-region): Set all allout overlays so they evaporate
7508 when reduced to zero length (evanescent), to prevent overlay
7509 leakage.
7510
75112011-06-30 Glenn Morris <rgm@gnu.org>
7512
7513 * w32-fns.el (w32-charset-info-alist): Declare.
7514
7515 * find-dired.el (find-grep-options): Simplify.
7516
7517 * term/ns-win.el (ns-set-resource): Declare.
7518
7519 * ses.el (row, col): Declare dynamic variables honestly.
7520
7521 * textmodes/reftex-parse.el (index-tags): Declare.
7522
75232011-06-30 Chong Yidong <cyd@stupidchicken.com>
7524
7525 * cus-edit.el (customize-push-and-save): New function.
7526
7527 * files.el (hack-local-variables-confirm): Use it.
7528
7529 * custom.el (load-theme): New arg NO-CONFIRM.
7530 Use customize-push-and-save (Bug#8720).
7531 (custom-enabled-themes): Doc fix.
7532
7533 * cus-theme.el (customize-create-theme)
7534 (custom-theme-merge-theme): Callers to load-theme changed.
7535
75362011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7537
7538 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7539 short URLs have at least one dot in them (bug #7614).
7540
7541 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7542 nil, because using a pty is apparently too slow (bug #895).
7543
75442011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7545
7546 * mail/sendmail.el (sendmail-query-once): New function.
7547 (sendmail-query-once-function): New variable.
7548
75492011-06-29 Glenn Morris <rgm@gnu.org>
7550
7551 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7552
7553 * ses.el (top-level): Require cl when compiling.
7554 (ses-set-localvars): Fix error statement.
7555 Call it at compile time to silence a storm of warnings.
7556
75572011-06-29 Martin Rudalics <rudalics@gmx.at>
7558
7559 * window.el (normalize-live-buffer): Rename to
7560 window-normalize-buffer.
7561 (normalize-live-frame): Rename to window-normalize-frame.
7562 (normalize-any-window): Rename to window-normalize-any-window.
7563 (normalize-live-window): Rename to window-normalize-live-window.
7564 (make-window-atom): Rename to window-make-atom.
7565 (window-resize-reset): Rename to window--resize-reset.
7566 (window-resize-reset-1): Rename to window--resize-reset-1.
7567 (resize-mini-window): Rename to window--resize-mini-window.
7568 (resize-subwindows-skip-p): Rename to
7569 window--resize-subwindows-skip-p.
7570 (resize-subwindows-normal): Rename to
7571 window--resize-subwindows-normal.
7572 (resize-subwindows): Rename to window--resize-subwindows.
7573 (resize-other-windows): Rename to window--resize-siblings.
7574 (resize-this-window): Rename to window--resize-this-window.
7575 (resize-root-window): Rename to window--resize-root-window.
7576 (resize-root-window-vertically): Rename to
7577 window--resize-root-window-vertically.
7578 (normalize-buffer-to-display): Rename to
7579 window-normalize-buffer-to-display.
7580 (normalize-buffer-to-switch-to): Rename to
7581 window-normalize-buffer-to-switch-to.
7582 Correspondingly update all callers of the functions listed
7583 above.
7584 (display-buffer-alist, display-buffer-normalize-arguments)
7585 (display-buffer-normalize-options, display-buffer)
7586 (display-buffer-alist-set): Use "function" instead of
7587 "fun-with-args".
7588
75892011-06-28 Chong Yidong <cyd@stupidchicken.com>
7590
7591 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7592 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7593 debbugs.gnu.org. Mention acknowledgment email.
7594
75952011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7596
7597 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7598 buffer multibyteness, since it shouldn't matter.
7599
76002011-06-28 Martin Rudalics <rudalics@gmx.at>
7601
7602 * window.el (display-buffer-in-side-window): Handle dedicated
7603 windows as in display-buffer-reuse-window.
7604 (display-buffer-normalize-alist): Use value of override
7605 specifier.
7606 (display-buffer-normalize-specifiers): Use value of
7607 other-window-means-other-frame specifier.
7608 (display-buffer-alist): Rewrite some texts in widgets.
7609 (display-buffer): Spread arguments when calling function
7610 specified by fun-with-args.
7611
76122011-06-28 Deniz Dogan <deniz@dogan.se>
7613
7614 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7615 Unnest `let'.
7616
7617 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7618 selectors (Bug#5732).
7619 (css-proprietary-nmstart-re): Use `regexp-opt'.
7620
76212011-06-27 Jari Aalto <jari.aalto@cante.net>
7622
7623 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7624 (eshell-ls-date-format): New defcustom.
7625 (eshell-ls-file): Use it.
7626
76272011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7628
7629 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7630
76312011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7632
7633 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7634 (ange-ftp-make-tmp-name): New arg.
7635 (ange-ftp-file-local-copy): Use it.
7636
76372011-06-27 Jambunathan K <kjambunathan@gmail.com>
7638
7639 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7640 no-conversion (Bug#8870).
7641
76422011-06-27 Martin Rudalics <rudalics@gmx.at>
7643
7644 * window.el (window-right, window-left, window-child)
7645 (window-child-count, window-last-child)
7646 (window-iso-combination-p, walk-window-tree-1)
7647 (window-atom-check-1, window-tree-1, delete-window)
7648 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7649 new naming conventions - window-vchild, window-hchild,
7650 window-next and window-prev are now called window-top-child,
7651 window-left-child, window-next-sibling and window-prev-sibling
7652 respectively.
7653 (resize-window-reset): Rename to window-resize-reset.
7654 (resize-window-reset-1): Rename to window-resize-reset-1.
7655 (resize-window): Rename to window-resize.
7656 (window-min-height, window-min-width)
7657 (resize-mini-window, resize-this-window, resize-root-window)
7658 (resize-root-window-vertically, adjust-window-trailing-edge)
7659 (enlarge-window, shrink-window, maximize-window)
7660 (minimize-window, delete-window, quit-restore-window)
7661 (split-window, balance-windows, balance-windows-area-adjust)
7662 (balance-windows-area, window-state-put-2)
7663 (display-buffer-even-window-sizes, display-buffer-set-height)
7664 (display-buffer-set-width, set-window-text-height)
7665 (fit-window-to-buffer): Rename all "resize-window" prefixed
7666 calls to use the "window-resize" prefix convention.
7667 (display-buffer-alist): Fix symbol for label specifier.
7668 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7669 corresponding specifier.
7670 Reported by Juanma Barranquero <lekktu@gmail.com>.
7671
76722011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7673
7674 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7675 convention.
7676 (ses-call-printer): Does not pass an empty string to formatter when the
7677 cell is empty to keep from barking printer Calc math-format-value.
7678
76792011-06-27 Richard Stallman <rms@gnu.org>
7680
7681 * battery.el (battery-mode-line-limit): New variable.
7682 (battery-update): Handle it.
7683
7684 * mail/rmailmm.el (rmail-mime-process-multipart):
7685 Handle truncated messages.
7686
76872011-06-27 Glenn Morris <rgm@gnu.org>
7688
7689 * progmodes/flymake.el (flymake-err-line-patterns):
7690 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7691
76922011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7693
7694 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
7695 (ses--clean-!, ses--clean-_): New functions.
7696 (ses-range): Add configurability of readout order, and conversion
7697 to Calc vector.
7698
7699 * ses.el (ses-repair-cell-reference-all): New function.
7700 (ses-cell-symbol): Set macro as safe, so that it can be used in
7701 formulas.
7702
7703 * ses.el: Update cycle detection algorithm.
7704 (ses-localvars): Add ses--Dijkstra-attempt-nb and
7705 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
7706 (ses-set-localvars): New function.
7707 (ses-make-cell): Add property-list as a cell element.
7708 (ses-cell-property-get-fun, ses-cell-property-get)
7709 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
7710 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7711 New functions.
7712 (ses-cell-property-set, ses-cell-property-pop)
7713 (ses-cell-property-get-handle): New macro.
7714 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7715 New aliases, used for code readability.
7716 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7717 cycle detection.
7718 (ses-self-reference-early-detection): New defcustom.
7719 (ses-formula-references): Robustify against self-referring cells.
7720 (ses-mode): Use ses-set-localvars.
7721 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7722 before lauching the update processing.
7723 (ses-initialize-Dijkstra-attempt): New function.
7724 (ses-recalculate-cell): Update for cycle detection based on
7725 Dijkstra algorithm.
7726
7727 * ses.el: Fix commenting and indenting convention.
7728
77292011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * bs.el (bs-cycle-next): Complete last change.
7732
77332011-06-27 Drew Adams <drew.adams@oracle.com>
7734
7735 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7736
77372011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7738
7739 * net/network-stream.el (network-stream-open-starttls):
7740 Don't re-get capabilities unless we've reestablished connection.
7741 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7742
7743 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7744 to binary to possibly avoid line encoding issues on Windows (among
7745 other things).
7746
77472011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7748
7749 * net/network-stream.el (open-network-stream): Return an :error
7750 saying what the problem was, if possible.
7751
7752 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7753 server.
7754
7755 * net/network-stream.el (network-stream-open-starttls): If we
7756 wanted to use STARTTLS, and the server offered it, but we weren't
7757 able to because we had no STARTTLS support, then close the connection.
7758 (open-network-stream): Return an :error element, if present.
7759
77602011-06-26 Chong Yidong <cyd@stupidchicken.com>
7761
7762 * hl-line.el (hl-line-sticky-flag): Doc fix.
7763 (global-hl-line-sticky-flag): New option (Bug#8323).
7764 (global-hl-line-highlight): Obey it.
7765
7766 * vc/vc.el (vc-revert-show-diff): Default to t.
7767
77682011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7769
7770 * allout-widgets.el (allout-widgets-post-command-business):
7771 Stop decorating intermediate isearch matches. They're not being
7772 undecorated when an isearch is continued past, and isearch
7773 automatically collapses them. This leads to "widget leaks", where
7774 decorated items accumulate in collapsed areas. Lines with lots of
7775 hidden widgets can slow down cursor travel, substantially.
7776 Too much complicated machinery would be needed to ensure undecoration,
7777 so we're doing without this nicety.
7778
7779 (allout-widgets-tally-string): Don't try to do a hash-table-count
7780 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7781 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7782 *Messages* when allout-widgets-maintain-tally is t.
7783
77842011-06-26 Martin Rudalics <rudalics@gmx.at>
7785
7786 * window.el (display-buffer-normalize-argument): Rename to
7787 display-buffer-normalize-arguments. Handle special meaning of
7788 LABEL argument. Respect special-display-function when popping up
7789 a new frame. Fix code searching for a window showing the buffer
7790 on another frame.
7791 (display-buffer-normalize-specifiers):
7792 Call display-buffer-normalize-arguments.
7793 (display-buffer-in-window): Don't undedicate the window if its
7794 buffer remains the same.
7795 Reported by Drew Adams <drew.adams@oracle.com>.
7796 (display-buffer-alist): Add choice for same-window macro
7797 specfier.
7798 (display-buffer): Mention special meaning of LABEL argument in
7799 doc-string. Fix quoting. Don't pop up a new frame even as
7800 fallback.
7801
78022011-06-26 Juanma Barranquero <lekktu@gmail.com>
7803
7804 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7805 avoid deleting the current window in some cases (bug#8911).
7806
78072011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7808
7809 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7810 (Bug#8934)
7811
78122011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7813
7814 * net/network-stream.el (network-stream-open-starttls):
7815 Use built-in TLS support if `gnutls-available-p' is true.
7816 (network-stream-open-tls): Ditto.
7817
78182011-06-26 Leo Liu <sdl.web@gmail.com>
7819
7820 * register.el (registerv): New struct.
7821 (registerv-make): New function.
7822 (jump-to-register, describe-register-1, insert-register):
7823 Support the jump-func, print-func and insert-func slot of a registerv
7824 struct. (Bug#8415)
7825
78262011-06-26 Chong Yidong <cyd@stupidchicken.com>
7827
7828 * vc/vc.el (vc-revert-show-diff): New defcustom.
7829 (vc-diff-internal): New arg specifying diff buffer.
7830 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7831 reuse an existing *vc-diff* buffer (Bug#8927).
7832
7833 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7834
78352011-06-26 Glenn Morris <rgm@gnu.org>
7836
7837 * progmodes/f90.el (f90-critical-indent): New option.
7838 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7839 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7840 (f90-mode): Doc fix.
7841 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7842 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7843 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7844 (f90-match-end): Handle block, critical.
7845
78462011-06-25 Glenn Morris <rgm@gnu.org>
7847
7848 * calendar/diary-lib.el (diary-included-files): Doc fix.
7849 (diary-include-files): New function, extracted from
7850 diary-include-other-diary-files and diary-mark-included-diary-files.
7851 (diary-include-other-diary-files, diary-mark-included-diary-files):
7852 Just call diary-include-files.
7853 (diary-mark-entries): Reset diary-included-files on first call.
7854
7855 * calendar/diary-lib.el (diary-mark-entries)
7856 (diary-mark-included-diary-files):
7857 Visit included diary-files in temp buffers.
7858
7859 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7860 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7861 (f90-start-block-re, f90-imenu-generic-expression)
7862 (f90-looking-at-program-block-start, f90-no-block-limit):
7863 Add support for submodules.
7864
7865 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7866 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
7867
78682011-06-25 Eli Zaretskii <eliz@gnu.org>
7869
7870 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7871 buffer-file-type before setting its value, to avoid disastrous
7872 global effects on decoding files for DOS/Windows systems. (Bug#8780)
7873
78742011-06-25 Juanma Barranquero <lekktu@gmail.com>
7875
7876 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7877
7878 * ses.el (ses-unload-function):
7879 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7880
7881 * proced.el (proced-unload-function):
7882 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7883
78842011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7885
7886 * server.el (server-create-window-system-frame): Add parameters arg.
7887 (server-process-filter): Doc fix. Handle frame-parameters.
7888
78892011-06-25 Juanma Barranquero <lekktu@gmail.com>
7890
7891 Fix bug#8730, bug#8781.
7892
7893 * loadhist.el (unload--set-major-mode): New function.
7894 (unload-feature): Use it.
7895
7896 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7897 (python-unload-function): New function.
7898
78992011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7900
7901 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7902
79032011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7904
7905 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7906 the candidates list.
7907
79082011-06-24 Juanma Barranquero <lekktu@gmail.com>
7909
7910 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7911
79122011-06-23 Richard Stallman <rms@gnu.org>
7913
7914 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7915 (rmail-variables): Set next-error-move-function.
7916 (rmail-what-message): Take argument POS.
7917 (rmail-next-error-move): New function.
7918
79192011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7920
7921 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7922 messages for adjacent non-terminals.
7923
79242011-06-23 Richard Stallman <rms@gnu.org>
7925
7926 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
7927 (rmail-show-message-1): Preserve buffer modified flag.
7928 (rmail-start-mail): Don't specify use of rmail-mail-return;
7929 that's done by mail-bury now.
7930 (rmail-mail-return): Handle arg NEWBUF.
7931
79322011-06-23 Michael Albinus <michael.albinus@gmx.de>
7933
7934 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7935 SIZE is a number.
7936
79372011-06-23 Martin Rudalics <rudalics@gmx.at>
7938
7939 * window.el (get-lru-window, get-mru-window)
7940 (get-largest-window): Never return a minibuffer window.
7941 (display-buffer-pop-up-window): Fix a bug that could lead to
7942 reusing the minibuffer window.
7943 (display-buffer): Pass original specifier argument to
7944 display-buffer-function instead of the normalized one.
7945 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7946
79472011-06-22 Leo Liu <sdl.web@gmail.com>
7948
7949 * minibuffer.el (completing-read-function)
7950 (completing-read-default): Move from minibuf.c
7951
79522011-06-22 Richard Stallman <rms@gnu.org>
7953
7954 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7955 to Rmail even if not started by a special Rmail command.
7956
7957 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7958 Copy the buffer currently showing just one message.
7959
79602011-06-22 Roland Winkler <winkler@gnu.org>
7961
7962 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7963 (bibtex-clean-entry): First delete the old key so that a
7964 customized algorithm for generating the new key does not get
7965 confused by the old key.
7966 (bibtex-url): Obey regexp of first step.
7967 (bibtex-search-entries): Do not use add-to-list with local
7968 list-var.
7969
79702011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7971
7972 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7973 stored a user name, then query for the password first, instead of
7974 waiting for SMTP to give an error message and the trying again.
7975
79762011-06-22 Lawrence Mitchell <wence@gmx.li>
7977
7978 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7979 BUFFER in call-process.
7980
79812011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7982
7983 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7984 QUIT twice.
7985 (smtpmail-try-auth-methods): Require user name and password from
7986 auth-source.
7987
79882011-06-22 Martin Rudalics <rudalics@gmx.at>
7989
7990 * window.el (display-buffer-default-specifiers)
7991 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7992 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
7993 (split-window): Normalize SIDE argument (Bug#8916).
7994
7995 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7996 (special-display-frame-alist, special-display-popup-frame):
7997 Remove duplicate declarations. These are now in window.el.
7998
79992011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8000
8001 * mail/smtpmail.el (smtpmail-via-smtp):
8002 Set :use-starttls-if-possible so that we always use STARTTLS if the
8003 server supports it. SMTP servers that support STARTTLS commonly
8004 require it.
8005
8006 * net/network-stream.el (network-stream-open-starttls): Support
8007 upgrading to STARTTLS always, even if we don't have built-in support.
8008 (open-network-stream): Add the :always-query-capabilities keyword.
8009
8010 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8011 upgrades with `open-network-stream', and rely solely on
8012 auth-source for all credentials. Big changes throughout the file,
8013 but in particular:
8014 (smtpmail-auth-credentials): Remove.
8015 (smtpmail-starttls-credentials): Remove.
8016 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8017 MAIL FROM, too.
8018
8019 * net/network-stream.el (network-stream-open-starttls):
8020 Provide support for client certificates both for external and built-in
8021 STARTTLS.
8022 (auth-source): Require.
8023 (open-network-stream): Document the :client-certificate keyword.
8024 (network-stream-certificate): Change cert-cert to cert and
8025 cert-key to key.
8026
80272011-06-21 Michael Albinus <michael.albinus@gmx.de>
8028
8029 * net/tramp-cache.el (top): Don't load the persistency file when
8030 "emacs -Q" has been called.
8031
80322011-06-21 Tim Harper <timcharper@gmail.com>
8033
8034 * term/ns-win.el (ns-initialize-window-system):
8035 Set application-specific `ApplePressAndHoldEnabled' system
8036 resource to NO as it is not yet supported by the NS port.
8037
80382011-06-21 Juanma Barranquero <lekktu@gmail.com>
8039
8040 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8041 (list-dynamic-libraries): ...not here.
8042
80432011-06-21 Leo Liu <sdl.web@gmail.com>
8044
8045 * subr.el (sha1): Implement sha1 using secure-hash.
8046
80472011-06-21 Martin Rudalics <rudalics@gmx.at>
8048
8049 * window.el (display-buffer-alist): In default value do not
8050 enforce searching a window on any but the selected frame.
8051 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8052 (display-buffer-select-window): Remove function.
8053 (display-buffer-in-window): When a window on another frame gets
8054 reused, do not select it any more but just raise its frame if
8055 necessary (Bug#8851) and (Bug#8856).
8056 (display-buffer-normalize-options): Handle pop-up-frames related
8057 options more faithfully.
8058 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8059 window if it is on another frame.
8060 (display-buffer-alist, display-buffer-default-specifiers):
8061 Don't make new frame unsplittable by default.
8062 (display-buffer-normalize-argument): Fix doc-string typo and use
8063 'same-frame-other-window instead of 'other-window when associating
8064 with display-buffer-macro-specifiers.
8065
80662011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8067
8068 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8069 New functions.
8070 (5x5-mode-map, 5x5-mode-menu): Bind them.
8071 (5x5-draw-grid): Tweak the solver's rendering.
8072
80732011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8074
8075 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8076 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8077
80782011-06-21 Drew Adams <drew.adams@oracle.com>
8079
8080 * menu-bar.el: Use function variable instead of switch-to-buffer.
8081 (menu-bar-select-buffer-function): New variable.
8082 (menu-bar-update-buffers): Use it (bug#8876).
8083
80842011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8085
8086 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8087 variable's status.
8088
80892011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8090
8091 * x-dnd.el (x-dnd-version-from-flags)
8092 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8093 and long as number (Bug#8899).
8094 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8095
80962011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8097
8098 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8099 (completion-try-completion, completion-all-completions): Compute the
8100 metadata argument if it's missing; make it optional (bug#8795).
8101
8102 * wid-edit.el: Use lex-bind and move towards completion-at-point.
8103 (widget-complete): Use new :completion-function property.
8104 (widget-completions-at-point): New function.
8105 (default): Use :completion-function instead of :complete.
8106 (widget-default-completions): Rename from widget-default-complete;
8107 Rewrite.
8108 (widget-string-complete, widget-file-complete, widget-color-complete):
8109 Remove functions.
8110 (file, symbol, function, variable, coding-system, color):
8111 * international/mule-cmds.el (default-input-method, charset)
8112 (language-info-custom-alist):
8113 * cus-edit.el (face): Use new property :completions.
8114
8115 * progmodes/pascal.el (pascal-completions-at-point): New function.
8116 (pascal-mode): Use it.
8117 (pascal-mode-map): Use completion-at-point.
8118 (pascal-toggle-completions): Make obsolete.
8119 (pascal-complete-word, pascal-show-completions):
8120 * progmodes/octave-mod.el (octave-complete-symbol):
8121 Redefine as obsolete alias.
8122 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8123 Signal absence of completion info for old Octave,
8124 (inferior-octave-complete): Redefine as obsolete alias.
8125 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8126 (meta-completions-at-point): Rename from meta-complete-symbol and
8127 adapt it for use on completion-at-point-functions.
8128 (meta-common-mode): Use it.
8129 (meta-looking-at-backward, meta-match-buffer): Remove.
8130 (meta-complete-symbol): Redefine as obsolete alias.
8131 (meta-common-mode-map): Use completion-at-point.
8132 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8133 (makefile-mode-map): Use completion-at-point.
8134 (makefile-completions-at-point): Rename from makefile-complete and
8135 adapt it for use on completion-at-point-functions.
8136 (makefile-mode): Use it.
8137 (makefile-complete): Redefine as obsolete alias.
8138
81392011-06-20 Deniz Dogan <deniz@dogan.se>
8140
8141 * net/rcirc.el: Delete trailing whitespaces once and for all.
8142
81432011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8144
8145 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8146
81472011-06-19 Chong Yidong <cyd@stupidchicken.com>
8148
8149 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8150
8151 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8152
81532011-06-19 Martin Rudalics <rudalics@gmx.at>
8154
8155 * window.el (display-buffer-other-window-means-other-frame):
8156 Call display-buffer-normalize-alist.
8157 (display-buffer-normalize-specifiers-1): Rename to
8158 display-buffer-normalize-argument. New argument other-frame.
8159 Rewrite.
8160 (display-buffer-normalize-specifiers-2): Rename to
8161 display-buffer-normalize-options.
8162 (display-buffer-normalize-alist-1): New function.
8163 (display-buffer-normalize-specifiers-3): Rename to
8164 display-buffer-normalize-alist.
8165 Call display-buffer-normalize-alist-1.
8166 (display-buffer-normalize-options-inhibit): New variable.
8167 (display-buffer-normalize-specifiers): Rewrite calling
8168 display-buffer-normalize-alist,
8169 display-buffer-normalize-argument, and
8170 display-buffer-normalize-options. Don't call the latter if
8171 display-buffer-normalize-options-inhibit is non-nil.
8172 (frame-auto-delete): New option.
8173 (window-deletable-p): Use frame-auto-delete.
8174 (window-list-no-nils, window-state-ignored-parameters)
8175 (window-state-get-1, window-state-get, window-state-put-list)
8176 (window-state-put-1, window-state-put-2, window-state-put):
8177 New functions.
8178 (display-buffer-normalize-options): Move special-display-p group
8179 after pop-up-frame group (Bug#8851) and (Bug#8856).
8180
81812011-06-18 Chong Yidong <cyd@stupidchicken.com>
8182
8183 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8184 groups (Bug#8776).
8185 (rx-submatch-n): New function.
8186 (rx): Document it.
8187
8188 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8189 (Bug#8768).
8190
8191 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8192
8193 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8194
8195 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8196 anytime existing face settings are present (Bug#8889).
8197
8198 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8199 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8200 Remove unused argument.
8201
82022011-06-18 Martin Rudalics <rudalics@gmx.at>
8203
8204 * window.el (display-buffer-default-specifiers):
8205 Remove pop-up-frame. Add pop-up-window-min-height,
8206 pop-up-window-min-width, and another reuse-window specifier
8207 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
8208 (display-buffer-normalize-specifiers-2):
8209 Handle split-height-threshold and split-width-threshold also when
8210 pop-up-windows is unset. Add a reuse-window specifier for the
8211 case popping up a new window fails.
8212 (special-display-popup-frame): Remove double quoting.
8213 (display-buffer-normalize-specifiers-1): Fix thinko.
8214
82152011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8216
8217 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8218 according to comint-completion-addsuffix.
8219
8220 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8221 (pcomplete-suffix-list): Mark as obsolete.
8222 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8223 pcomplete-seen in the closure.
8224 (pcomplete-comint-setup): Setup completion-at-point as well.
8225 (pcomplete--entries): New function.
8226 (pcomplete--env-regexp): New var.
8227 (pcomplete-entries): Rewrite to work with partial-completion and
8228 without relying on pcomplete-suffix-list.
8229 (pcomplete-pare-list): Remove, unused.
8230
82312011-06-17 Martin Rudalics <rudalics@gmx.at>
8232
8233 * window.el (display-buffer-alist): Set pop-up-window-min-height
8234 and pop-up-window-min-width in default value. Reported by
8235 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8236 other-window-means-other-frame.
8237 (display-buffer-macro-specifiers): Comment out entry for
8238 other-window specifier.
8239 (display-buffer-other-window-means-other-frame): New function.
8240 (display-buffer-normalize-specifiers-1): New arguments
8241 buffer-name and label. Treat other-window case specially.
8242 (display-buffer-normalize-specifiers-2): Treat other-window case
8243 specially.
8244 (display-buffer-normalize-specifiers-3): New function.
8245 (display-buffer-normalize-specifiers):
8246 Call display-buffer-normalize-specifiers-3.
8247
82482011-06-17 Martin Rudalics <rudalics@gmx.at>
8249
8250 * window.el (same-window-p): Fix two typos introduced when
8251 adding with-no-warnings.
8252 (display-buffer-normalize-specifiers-1): Don't check
8253 pop-up-frames for 'unset initialization.
8254 (display-buffer-normalize-specifiers-2): Major rewrite using
8255 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8256 (pop-up-frames, display-buffer-reuse-frames)
8257 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8258 Suggested by David Engster <deng@randomsample.de>.
8259 (even-window-heights): Initialize to 'unset.
8260 (display-buffer-alist-set): Handle new 'unset initializations.
8261 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8262 other window case.
8263
82642011-06-16 Martin Rudalics <rudalics@gmx.at>
8265
8266 * window.el (display-buffer-normalize-specifiers-1):
8267 Respect current value of pop-up-frames for most reasonable values of
8268 second argument of display-buffer (Bug#8865).
8269 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8270 (switch-to-buffer-other-window-same-frame)
8271 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8272 Adams (Bug#8875).
8273 (display-buffer): Don't check noninteractive when calling
8274 display-buffer-pop-up-frame.
8275 (display-buffer-pop-up-frame): Never pop up a frame in
8276 noninteractive mode (Bug#8857).
8277 (enlarge-window, shrink-window): Don't report an error when the
8278 window can't be resized as requested (Bug#8862).
8279
82802011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8281
8282 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8283
8284 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8285
8286 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8287
82882011-06-15 Alan Mackenzie <acm@muc.de>
8289
8290 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8291 for declarators, disable knr checking to speed up for normal files.
8292 2: Refactor, replacing a sequence of nested if forms by a cond form.
8293
82942011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8295
8296 * net/network-stream.el (open-network-stream): Add the keyword
8297 :always-query-capabilities for the case where you want to force a
8298 `plain' network connection, but the protocol still requires the
8299 capabilitiy command (i.e., SMTP and EHLO).
8300
8301 * subr.el (process-live-p): Rename from `process-alive-p' for
8302 consistency with other `-live-p' functions.
8303
83042011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8305
8306 * window.el (same-window-buffer-names, same-window-regexps)
8307 (special-display-frame-alist, special-display-popup-frame)
8308 (special-display-function, special-display-buffer-names)
8309 (special-display-regexps, pop-up-frame-alist)
8310 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8311 (pop-up-windows, split-window-preferred-function)
8312 (split-height-threshold, split-width-threshold, even-window-heights)
8313 (display-buffer-mark-dedicated): Don't encourage the use of
8314 display-buffer-alist from Elisp code.
8315
83162011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8317
8318 * progmodes/python.el (python-mode): Derive from prog-mode.
8319 * progmodes/ps-mode.el (ps-mode):
8320 * progmodes/mixal-mode.el (mixal-mode):
8321 * progmodes/cfengine.el (cfengine-mode):
8322 * progmodes/ld-script.el (ld-script-mode): Likewise.
8323
83242011-06-15 Martin Rudalics <rudalics@gmx.at>
8325
8326 * window.el (display-buffer-alist): Trim default value to avoid
8327 popping up a new frame (Bug#8857) or reusing an arbitrary window
8328 on another frame.
8329 (display-buffer): Do not fall back on popping up a new frame in
8330 batch mode (Bug#8857).
8331
83322011-06-14 Chong Yidong <cyd@stupidchicken.com>
8333
8334 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8335 (custom-theme-summary): New function.
8336 (customize-themes): Use it.
8337
83382011-06-13 Glenn Morris <rgm@gnu.org>
8339
8340 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8341
83422011-06-13 Martin Rudalics <rudalics@gmx.at>
8343
8344 * help.el (help-window): Remove variable.
8345 (help-window-point-marker, temp-buffer-max-height)
8346 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8347 (help-print-return-message): Don't set help-window.
8348 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8349 (help-window-setup-finish): Remove.
8350 (help-window-display-message, help-window-setup)
8351 (with-help-window): Major rewrite based on new
8352 display-buffer-window variable.
8353
8354 * help-mode.el (help-mode-finish): Remove help-window related
8355 code.
8356
8357 * view.el (view-exits-all-viewing-windows): Remove reference to
8358 view-return-to-alist in doc-string.
8359 (view-return-to-alist): Make obsolete.
8360 (view-buffer): Call pop-to-buffer-same-window and remove
8361 undo-window code.
8362 (view-buffer-other-window): Call pop-to-buffer-other-window and
8363 simplify code. Ignore second argument.
8364 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8365 simplify code. Ignore second argument.
8366 (view-return-to-alist-update): Make obsolete.
8367 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8368 Rewrite using quit-restore window parameters.
8369 (view-mode-exit): Rename second argument to EXIT-ONLY.
8370 Rewrite using quit-restore-window.
8371 (View-exit, View-exit-and-edit, View-leave, View-quit)
8372 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8373 appropriate arguments.
8374 (view-end-message): Use quit-restore window parameter.
8375
8376 * window.el (display-buffer-function): Rewrite doc-string.
8377 (display-buffer-window, display-buffer-alist): New variables.
8378 (display-buffer-split-specifiers)
8379 (display-buffer-side-specifiers)
8380 (display-buffer-macro-specifiers): New constants.
8381 (display-buffer-even-window-sizes, display-buffer-set-height)
8382 (display-buffer-set-width, display-buffer-select-window)
8383 (display-buffer-in-window, display-buffer-reuse-window)
8384 (display-buffer-split-window-1, display-buffer-split-window)
8385 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8386 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8387 (display-buffer-in-side-window, normalize-buffer-to-display)
8388 (display-buffer-normalize-specifiers-1)
8389 (display-buffer-normalize-specifiers-2)
8390 (display-buffer-normalize-specifiers, display-buffer-frame):
8391 New functions.
8392 (display-buffer): Major rewrite.
8393 (display-buffer-other-window, display-buffer-other-frame)
8394 (pop-to-buffer, switch-to-buffer-other-window)
8395 (switch-to-buffer-other-frame): Rewrite.
8396 (display-buffer-same-window, display-buffer-same-frame)
8397 (display-buffer-same-frame-other-window)
8398 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8399 (pop-to-buffer-other-window)
8400 (pop-to-buffer-same-frame-other-window)
8401 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8402 (switch-to-buffer-other-window-same-frame): New functions.
8403 (same-window-p, special-display-p): Rewrite disabling warnings.
8404 Make obsolete.
8405 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8406 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8407 Make obsolete
8408 (same-window-buffer-names, same-window-regexps)
8409 (special-display-frame-alist, special-display-popup-frame)
8410 (special-display-function, special-display-buffer-names)
8411 (special-display-regexps, pop-up-frame-alist)
8412 (pop-up-frame-function, split-window-preferred-function)
8413 (split-height-threshold, split-width-threshold)
8414 (even-window-heights): Make obsolete.
8415
84162011-06-12 Glenn Morris <rgm@gnu.org>
8417
8418 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
8419 Misc simplifications.
8420
84212011-06-12 Martin Rudalics <rudalics@gmx.at>
8422
8423 * window.el (window-safely-shrinkable-p): Restore function which
8424 was inadvertently removed in change from 2011-06-11. Declare as
8425 obsolete.
8426
8427 * calendar/calendar.el (calendar-generate-window):
8428 Use window-iso-combined-p instead of combination of one-window-p and
8429 window-safely-shrinkable-p.
8430
84312011-06-12 Glenn Morris <rgm@gnu.org>
8432
8433 * progmodes/fortran.el (fortran-mode-syntax-table):
8434 * progmodes/f90.el (f90-mode-syntax-table):
8435 Set % to punctuation. (Bug#8820)
8436 (f90-find-tag-default): Remove, no longer needed.
8437
84382011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8439
8440 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8441
84422011-06-11 Chong Yidong <cyd@stupidchicken.com>
8443
8444 * image.el (image-animated-p): Return animation delay in seconds.
8445 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8446 (image-animate-timeout): Remove DELAY argument. Don't assume
8447 every subimage has the same delay; get it from image-animated-p.
8448 (image-animate): Caller changed.
8449
84502011-06-11 Michael Albinus <michael.albinus@gmx.de>
8451
8452 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8453 to ignored backtrace functions.
8454
84552011-06-11 Glenn Morris <rgm@gnu.org>
8456
8457 * calendar/appt.el (appt-disp-window-function): Doc fix.
8458 (appt-check): Handle overlapping appointments. (Bug#8337)
8459
84602011-06-11 Martin Rudalics <rudalics@gmx.at>
8461
8462 * window.el (window-tree-1, window-tree): New functions, moving
8463 the latter to window.el.
8464 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8465 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8466 (bw-refresh-edges): Remove.
8467 (balance-windows-1, balance-windows-2): New functions.
8468 (balance-windows): Rewrite in terms of window tree functions,
8469 balance-windows-1 and balance-windows-2.
8470 (bw-adjust-window): Remove.
8471 (balance-windows-area-adjust): New function with functionality of
8472 bw-adjust-window but using resize-window.
8473 (set-window-text-height): Rewrite doc-string.
8474 Use normalize-live-window and resize-window.
8475 (enlarge-window-horizontally, shrink-window-horizontally):
8476 Rename argument to DELTA.
8477 (window-buffer-height): New function.
8478 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8479 Rewrite using new window resize routines.
8480 (kill-buffer-and-window, mouse-autoselect-window-select):
8481 Use ignore-errors instead of condition-case.
8482 (quit-window): Call delete-frame instead of delete-windows-on
8483 for the only buffer on frame.
8484
84852011-06-10 Martin Rudalics <rudalics@gmx.at>
8486
8487 * loadup.el (top-level): Load window before files for the sake
8488 of replace-buffer-in-windows.
8489
8490 * files.el (read-buffer-to-switch)
8491 (switch-to-buffer-other-window)
8492 (switch-to-buffer-other-frame, display-buffer-other-frame):
8493 Move to window.el.
8494
8495 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8496 (previous-buffer): Move to window.el.
8497
8498 * bindings.el (unbury-buffer): Move to window.el.
8499
8500 * window.el (delete-other-windows-vertically): Move after
8501 definition of delete-other-windows.
8502 (other-window, delete-windows-on, replace-buffer-in-windows):
8503 Move here from window.c.
8504 (record-window-buffer, unrecord-window-buffer)
8505 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8506 (switch-to-next-buffer): New functions.
8507 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8508 from simple.el. Call switch-to-next-buffer.
8509 (previous-buffer): Move here from simple.el.
8510 Call switch-to-prev-buffer.
8511 (bury-buffer): Move here from buffer.c. Switch to previous
8512 buffer when window cannot be deleted.
8513 (unbury-buffer): Move here from bindings.el.
8514 (ctl-x-map): Move binding for other-window from window.c to
8515 here.
8516 (read-buffer-to-switch, switch-to-buffer-other-window)
8517 (switch-to-buffer-other-frame): Move here from files.el.
8518 (normalize-buffer-to-switch-to): New functions.
8519 (switch-to-buffer): Move here from buffer.c.
8520 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8521
85222011-06-10 Martin Rudalics <rudalics@gmx.at>
8523
8524 * window.el (window-min-height, window-min-width): Move here
8525 from window.c. Add defcustoms and rewrite doc-strings.
8526 (resize-mini-window, resize-window): New functions.
8527 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8528 Move here from window.c.
8529 (maximize-window, minimize-window): New functions.
8530 (delete-window, delete-other-windows, split-window): Move here
8531 from window.c.
8532 (window-split-min-size): New function.
8533 (split-window-keep-point): Mention split-window-above-each-other
8534 instead of split-window-vertically.
8535 (split-window-above-each-other, split-window-vertically):
8536 Rename split-window-vertically to split-window-above-each-other
8537 and provide defalias for old definition.
8538 (split-window-side-by-side, split-window-horizontally):
8539 Rename split-window-horizontally to split-window-side-by-side
8540 and provide defalias for the old definition.
8541 (ctl-x-map): Move bindings for delete-window,
8542 delete-other-windows and enlarge-window here from window.c.
8543 Replace bindings for split-window-vertically and
8544 split-window-horizontally by bindings for
8545 split-window-above-each-other and split-window-side-by-side.
8546
8547 * cus-start.el (all): Remove entries for window-min-height and
8548 window-min-width. Add entries for window-splits and
8549 window-nest.
8550
85512011-06-09 Glenn Morris <rgm@gnu.org>
8552
8553 * calendar/appt.el (appt-mode-line): New function.
8554 (appt-check, appt-disp-window): Use it.
8555
8556 * files.el (hack-one-local-variable-eval-safep):
8557 Allow minor-modes with explicit +/-1 arguments.
8558
85592011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8560
8561 * term/xterm.el (xterm): Add defgroup.
8562 (xterm-extra-capabilities): Add defcustom to supply known xterm
8563 capabilities, skip querying them, or query them (default).
8564 (terminal-init-xterm): Use it.
8565 (terminal-init-xterm-modify-other-keys): New function to set up
8566 modifyOtherKeys support to simplify `terminal-init-xterm'.
8567
85682011-06-09 Martin Rudalics <rudalics@gmx.at>
8569
8570 * window.el (resize-window-reset, resize-window-reset-1)
8571 (resize-subwindows-skip-p, resize-subwindows-normal)
8572 (resize-subwindows, resize-other-windows, resize-this-window)
8573 (resize-root-window, resize-root-window-vertically)
8574 (window-deletable-p, window-or-subwindow-p)
8575 (frame-root-window-p): New functions.
8576
85772011-06-09 Glenn Morris <rgm@gnu.org>
8578
8579 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8580 (ange-ftp-get-files): Use it.
8581
85822011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8583
8584 * mail/sendmail.el (mail-recover-1, mail-recover):
8585 * files.el (recover-file, recover-session):
8586 Handle dired-listing-switches not being just a single short option.
8587
85882011-06-09 Glenn Morris <rgm@gnu.org>
8589
8590 * calendar/appt.el (appt-display-message, appt-disp-window):
8591 Handle lists of appointments.
8592
85932011-06-08 Martin Rudalics <rudalics@gmx.at>
8594
8595 * window.el (one-window-p): Move down in code.
8596 Rewrite doc-string.
8597 (window-current-scroll-bars): Rewrite doc-string.
8598 Normalize live window argument.
8599 (walk-windows, get-window-with-predicate, count-windows):
8600 Rewrite doc-string. Use window-list-1.
8601 (window-in-direction-2, window-in-direction, get-mru-window):
8602 New functions.
8603
86042011-06-08 Reuben Thomas <rrt@sc3d.org>
8605
8606 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8607 Doc fix (Bug#8713).
8608
86092011-06-08 Chong Yidong <cyd@stupidchicken.com>
8610
8611 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8612
86132011-06-08 Juanma Barranquero <lekktu@gmail.com>
8614
8615 * loadhist.el (unload-feature-special-hooks):
8616 Add `comint-output-filter-functions'.
8617
86182011-06-08 Ivan Kanis <gnu@kanis.fr>
8619
8620 * calendar/appt.el (appt-check): Move some initializations into the let.
8621
86222011-06-08 Martin Rudalics <rudalics@gmx.at>
8623
8624 * window.el (window-height): Defalias to window-total-height.
8625 (window-width): Defalias to window-body-width.
8626
86272011-06-07 Chong Yidong <cyd@stupidchicken.com>
8628
8629 * image-mode.el (image-toggle-animation): New command.
8630 (image-mode-map): Bind it to RET.
8631 (image-mode): Update message.
8632 (image-toggle-display-image): Avoid a spurious cache flush.
8633 (image-transform-rotation): Doc fix.
8634 (image-transform-properties): Return quickly in the normal case.
8635 (image-animate-loop): Rename from image-animate-max-time.
8636
8637 * image.el (image-animate-max-time): Move to image-mode.el.
8638 (create-animated-image): Remove unnecessary function.
8639 (image-animate): Rename from image-animate-start. New arg.
8640 (image-animate-stop): Remove; just use image-animate-timer.
8641 (image-animate-timer): Use car-safe.
8642 (image-animate-timeout): Rename argument.
8643
86442011-06-07 Martin Rudalics <rudalics@gmx.at>
8645
8646 * window.el (get-lru-window, get-largest-window): Move here from
8647 window.c. Rename first argument to ALL-FRAMES.
8648 Rephrase doc-strings.
8649 (get-buffer-window-list): Rewrite using window-list-1.
8650 Rephrase doc-string.
8651 (window-safe-min-height, window-safe-min-width): New constants.
8652 (window-size-ignore, window-min-size, window-min-size-1)
8653 (window-sizable, window-sizable-p, window-size-fixed-1)
8654 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8655 (window-max-delta-1, window-max-delta, window-resizable)
8656 (window-resizable-p, window-total-height, window-total-width)
8657 (window-body-width): New functions.
8658 (window-full-height-p, window-full-width-p): Rewrite using
8659 window-total-size.
8660 (window-body-height): Rewrite using window-body-size.
8661
86622011-06-06 Martin Rudalics <rudalics@gmx.at>
8663
8664 * window.el (window-right, window-left, window-child)
8665 (window-child-count, window-last-child, window-any-p)
8666 (normalize-live-buffer, normalize-live-frame)
8667 (normalize-any-window, normalize-live-window)
8668 (window-iso-combination-p, window-iso-combined-p)
8669 (window-iso-combinations)
8670 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8671 (windows-with-parameter, window-with-parameter)
8672 (window-atom-root, make-window-atom, window-atom-check-1)
8673 (window-atom-check, window-side-check, window-check):
8674 New functions.
8675 (ignore-window-parameters, window-sides, window-sides-vertical)
8676 (window-sides-slots): New variables.
8677 (window-size-fixed): Move down in code. Minor doc-string fix.
8678
86792011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8680
8681 * comint.el (comint-dynamic-complete-as-filename)
8682 (comint-dynamic-complete-filename): Correctly call
8683 completion-in-region.
8684
86852011-06-05 Deniz Dogan <deniz@dogan.se>
8686
8687 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8688 in last change.
8689
86902011-06-05 Deniz Dogan <deniz@dogan.se>
8691
8692 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8693 (rcirc): Use it to prompt for encryption.
8694
86952011-06-05 Roland Winkler <winkler@gnu.org>
8696
8697 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8698 (bibtex-search-entries): New command bound to C-c C-a.
8699 (bibtex-display-entries): New function.
8700
87012011-06-05 Roland Winkler <winkler@gnu.org>
8702
8703 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8704 (bibtex-insert-kill): After yanking insert newline if necessary.
8705 (bibtex-initialize): Call bibtex-string-files-init only once.
8706 (bibtex-mode): Do not call easy-menu-add.
8707 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8708 (bibtex-yank): Set arg properly if nil.
8709
87102011-06-05 Roland Winkler <winkler@gnu.org>
8711
8712 * textmodes/bibtex.el (bibtex-search-entry-globally):
8713 New variable.
8714 (bibtex-search-entry): Use it.
8715
87162011-06-05 Roland Winkler <winkler@gnu.org>
8717
8718 * textmodes/bibtex.el (bibtex-entry-format): New option
8719 sort-fields.
8720 (bibtex-format-entry, bibtex-reformat): Honor this option.
8721 (bibtex-parse-entry): Return fields in proper order.
8722
87232011-06-05 Juanma Barranquero <lekktu@gmail.com>
8724
8725 * doc-view.el (doc-view-remove-if): Move computation of result out
8726 of `dolist' to silence misleading lexical-binding warning.
8727
87282011-06-04 Chong Yidong <cyd@stupidchicken.com>
8729
8730 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8731 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8732
87332011-06-04 Michael Albinus <michael.albinus@gmx.de>
8734
8735 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8736 "SunOS 5.10".
8737
87382011-06-04 Michael Albinus <michael.albinus@gmx.de>
8739
8740 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8741 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8742 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8743 (tramp-parse-putty):
8744 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8745 (tramp-completion-function-alist-ssh)
8746 (tramp-completion-function-alist-telnet)
8747 (tramp-completion-function-alist-su)
8748 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8749 cookie.
8750
8751 * net/tramp-ftp.el:
8752 * net/tramp-sh.el:
8753 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8754 load "tramp.el" `tramp-set-completion-function'.
8755
87562011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8757
8758 * shell.el: Require and use pcomplete.
8759 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8760 (shell-completion-vars): Set pcomplete-default-completion-function.
8761
87622011-06-04 Deniz Dogan <deniz@dogan.se>
8763
8764 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8765 `memq' (Bug#8799).
8766
87672011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8768
8769 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8770
87712011-06-02 Juanma Barranquero <lekktu@gmail.com>
8772
8773 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8774 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8775 * vc/log-view.el (log-view-beginning-of-defun):
8776 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8777 (smerge-refine-forward, smerge-refine-chopup-region):
8778 Silence warning for unused `dotimes' counter variables.
8779
87802011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8781
8782 * net/tramp.el (tramp-with-progress-reporter): Rename from
8783 with-progress-reporter. Use `declare'.
8784 * net/tramp-smb.el:
8785 * net/tramp-sh.el:
8786 * net/tramp-gvfs.el: Update all uses.
8787
87882011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8789
8790 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8791 buffer isn't killed before making it current.
8792
87932011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8794
8795 Silence various byte-compiler warnings.
8796 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8797 `access-type' and new obsolescence format.
8798 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8799 new format.
8800 (byte-compile-check-variable): New `access-type' argument.
8801 Only warn if the access-type is obsolete.
8802 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8803 (byte-compile-variable-set): Adjust callers.
8804 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8805 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8806 setting it as obsolete.
8807 * simple.el (minibuffer-completing-symbol):
8808 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8809 access as obsolete.
8810 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8811 obsolete yet.
8812 * international/quail.el (quail-mouse-choose-completion): Remove unused
8813 code referring to obsolete var.
8814 (quail-choose-completion-string): Remove.
8815 * server.el (server-clients-with, server-kill-buffer-query-function)
8816 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8817 * proced.el (proced-send-signal):
8818 * emacs-lisp/lisp.el (lisp-complete-symbol):
8819 Replace completion-annotate-function with completion-extra-properties.
8820
88212011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8822
8823 * simple.el (goto-line): Use read-number.
8824 (overriding-map-is-bound): Remove.
8825 (saved-overriding-map): Change default.
8826 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8827 Take the map as argument.
8828 (universal-argument, negative-argument, digit-argument): Use it.
8829 (restore-overriding-map): Adjust.
8830 (do-auto-fill): Use fill-forward-paragraph.
8831 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8832
8833 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8834 (minibuffer-inactive-mode): New major mode.
8835 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8836 the *Messages* buffer" hack.
8837 (mouse-popup-menubar): Don't burp if the event is a normal key.
8838
8839 Miscellaneous tweaks.
8840 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8841 lexical scoping as in subr.el's dolist and dotimes.
8842 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8843 Silence compiler warning.
8844 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8845 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8846 * international/ccl.el (ccl-compile): Trivial simplification.
8847 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8848 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8849 `printflag' argument.
8850 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8851 Purecopy the whole obsolescence data.
8852
88532011-06-01 Leo Liu <sdl.web@gmail.com>
8854
8855 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8856 improve doc-string as suggested by Marco Pessotto
8857 <melmothx@gmail.com>.
8858 (rcirc-print): Fix last change.
8859
88602011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8861
8862 * minibuffer.el (complete-with-action): Return nil for the metadata and
8863 boundaries of non-functional tables.
8864 (completion-table-dynamic): Return nil for the metadata.
8865 (completion-table-with-terminator): Add default case, using
8866 complete-with-action.
8867 (completion--metadata): New function.
8868 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8869 to try and avoid pathological performance problems.
8870 (completion--embedded-envvar-table): Return `category' metadata.
8871
88722011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8873
8874 * subr.el (process-alive-p): New tiny convenience function.
8875
88762011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8877
8878 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8879 content but also its previous major mode.
8880
88812011-05-31 Helmut Eller <eller.helmut@gmail.com>
8882
8883 * emacs-lisp/debug.el (debug): Restore the previous content of the
8884 *Backtrace* buffer when we exit with C-M-c.
8885
88862011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8887
8888 * minibuffer.el: Add metadata method to completion tables.
8889 (completion-category-overrides): New defcustom.
8890 (completion-metadata, completion--field-metadata)
8891 (completion-metadata-get, completion--styles)
8892 (completion--cycle-threshold): New functions.
8893 (completion-try-completion, completion-all-completions):
8894 Add `metadata' argument to choose completion-styles.
8895 (completion--do-completion): Use metadata to choose cycling.
8896 (completion-all-sorted-completions): Use metadata for sorting.
8897 Remove :completion-cycle-penalty which is not needed any more.
8898 (completion--try-word-completion): Add `metadata' argument.
8899 (minibuffer-completion-help): Check metadata for annotation function
8900 and sorting.
8901 (completion-file-name-table): Return `category' metadata.
8902 (minibuffer-completing-file-name): Make obsolete.
8903 * simple.el (minibuffer-completing-symbol): Make obsolete.
8904 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8905 completion-try-completion.
8906
89072011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8908
8909 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8910
89112011-05-30 Leo Liu <sdl.web@gmail.com>
8912
8913 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
8914 (rcirc-print): Decode all incoming messages (bug#8744).
8915 (rcirc-decode-coding-system): Allow value nil for automatic coding
8916 system detection.
8917
89182011-06-01 Glenn Morris <rgm@gnu.org>
8919
8920 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8921
89222011-05-29 Chong Yidong <cyd@stupidchicken.com>
8923
8924 * image.el (image-animate-max-time): Allow nil and t values.
8925 Default to nil.
8926 (create-animated-image): Doc fix.
8927 (image-animate-start): Remove second arg; just use
8928 image-animate-max-time.
8929 (image-animate-timeout): Doc fix. Args changed.
8930
8931 * image-mode.el (image-toggle-display-image): Ensure that the
8932 image spec passed to the animate timer is the same object as in
8933 the buffer's display property (Bug#6981).
8934 (image-transform-properties): Doc fix.
8935
8936 * image.el (image-animate-max-time): Default to nil.
8937
89382011-05-29 Martin Rudalics <rudalics@gmx.at>
8939
8940 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8941 entire buffer list (Bug#8184).
8942
89432011-05-29 Chong Yidong <cyd@stupidchicken.com>
8944
8945 * image.el (imagemagick-types-inhibit)
8946 (imagemagick-register-types): Doc fix.
8947
89482011-05-29 Deniz Dogan <deniz@dogan.se>
8949
8950 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8951 default.
8952
89532011-05-29 Chong Yidong <cyd@stupidchicken.com>
8954
8955 * select.el: Don't perform clipboard-manager saving in hooks;
8956 leave the hooks empty.
8957
89582011-05-28 Leo Liu <sdl.web@gmail.com>
8959
8960 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8961 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8962 (occur-edit-mode): New major mode (Bug#8463).
8963 (occur-after-change-function): New function.
8964 (occur-engine): Give Occur tags a read-only property.
8965
89662011-05-28 Kevin Ryde <user42@zip.com.au>
8967
8968 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8969
89702011-05-28 Chong Yidong <cyd@stupidchicken.com>
8971
8972 * bindings.el (help-echo): Make the initial non-indicator dash
8973 empty on graphical terminals (Bug#7295).
8974
8975 * files.el (auto-mode-alist): Move config rule after the
8976 in-stripping one (Bug#8547).
8977
8978 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8979
8980 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8981 setting (Bug#8740).
8982
89832011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8984
8985 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8986 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8987 (Bug#8539).
8988
89892011-05-28 Chong Yidong <cyd@stupidchicken.com>
8990
8991 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8992
89932011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8994
8995 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8996 (hs-hide-block-at-point, hs-find-block-beginning)
8997 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8998 (Bug#8279).
8999
90002011-05-28 Glenn Morris <rgm@gnu.org>
9001
9002 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9003
90042011-05-28 Chong Yidong <cyd@stupidchicken.com>
9005
9006 * help-fns.el (describe-function-1): If the function is a derived
9007 major mode, print the parent mode.
9008
9009 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9010 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9011
90122011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9013
9014 * minibuffer.el (completion--capf-wrapper): Check applicability before
9015 returning non-nil for non-exclusive completion data.
9016 * progmodes/etags.el (tags-completion-at-point-function):
9017 * info-look.el (info-lookup-completions-at-point): Mark as
9018 non-exclusive.
9019 (info-complete): Adjust accordingly.
9020
9021 * info-look.el: Convert to lexical-binding and completion-at-point.
9022 (info-lookup-completions-at-point): New function.
9023 (info-complete): Use it and completion-in-region.
9024
90252011-05-28 Drew Adams <drew.adams@oracle.com>
9026
9027 * isearch.el: Let M-e start with point at the first mismatched char.
9028 (isearch-fail-pos): New function.
9029 (isearch-edit-string): Use it.
9030
90312011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9032
9033 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9034
90352011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
9036
9037 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9038 traversal functions for avl-trees.
9039 (avl-tree--stack): New struct.
9040 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9041 (avl-tree-enter): Add optional `updatefun' arg.
9042 (avl-tree--do-enter): Add optional `updatefun' arg.
9043 Change return value.
9044 (avl-tree-delete): Add optional `test' and `nilflag' args.
9045 (avl-tree--do-delete): Add `test' and `nilflag' args.
9046 Change return value.
9047 (avl-tree-member): Add optional `nilflag'
9048 (avl-tree-member-p): New function.
9049 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9050 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9051 (avl-tree-stack-empty-p): New functions.
9052
9053 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9054 avl-tree--del-balance1 and make it work both ways.
9055 (avl-tree--del-balance2): Remove.
9056 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9057 make it work both ways.
9058 (avl-tree--enter-balance2): Remove.
9059 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9060 New macros.
9061 (avl-tree--mapc, avl-tree-map): Add direction argument.
9062
90632011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
9064
9065 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9066
90672011-05-27 Chong Yidong <cyd@stupidchicken.com>
9068
9069 * select.el: Support clipboard managers with built-in function
9070 x-clipboard-manager-save, via delete-frame-functions and
9071 kill-emacs-hook.
9072 (xselect-convert-to-targets): Add MULTIPLE target to list.
9073 (xselect-convert-to-save-targets): New function.
9074
90752011-05-27 Kenichi Handa <handa@m17n.org>
9076
9077 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9078 let-binding rfc2047-encode-encoded-words to nil.
9079
90802011-05-27 Glenn Morris <rgm@gnu.org>
9081
9082 * mail/emacsbug.el: Don't require url-util.
9083
9084 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9085
9086 * files.el (set-auto-mode):
9087 Also respect mode: entries at the end of the file. (Bug#8586)
9088
90892011-05-26 Glenn Morris <rgm@gnu.org>
9090
9091 * files.el (hack-local-variables-prop-line, hack-local-variables):
9092 Downcase mode names, as seems to be traditional.
9093 (hack-local-variables, hack-local-variables-apply): Doc fixes.
9094
9095 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9096 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9097
90982011-05-25 Julien Danjou <julien@danjou.info>
9099
9100 * textmodes/rst.el (rst-define-level-faces): Do not define face
9101 symbol if it is already defined.
9102
91032011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9104
9105 * play/5x5.el (5x5-new-game, 5x5-randomize):
9106 Reset 5x5-solver-output to nil when a new grid is cast.
9107 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9108 these debugging traces, as defmacro breaks the compiled code.
9109
91102011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9111
9112 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9113
91142011-05-24 Leo Liu <sdl.web@gmail.com>
9115
9116 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9117 (vc-bzr-sha1): Adapt.
9118
9119 * sha1.el: Remove. Function `sha1' is now builtin.
9120
9121 * bindings.el: Provide sha1 feature.
9122
91232011-05-24 Kenichi Handa <handa@m17n.org>
9124
9125 * mail/sendmail.el: Require `rfc2047'.
9126 (mail-insert-from-field): Do not perform RFC2047 encoding.
9127 (mail-encode-header): New function.
9128 (sendmail-send-it): Set buffer-file-coding-system of the work
9129 buffer to the return value of select-message-coding-system.
9130 Call mail-encode-header.
9131
9132 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9133
91342011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
9135
9136 * mail/supercite.el (sc-default-cite-frame):
9137 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9138
91392011-05-24 Glenn Morris <rgm@gnu.org>
9140
9141 * progmodes/python.el (brm-menu): Declare.
9142
9143 * emulation/viper.el (viper-set-hooks): Declare.
9144
9145 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9146 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9147 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9148 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9149 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9150 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9151
91522011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 Add an :exit-function for completion-at-point.
9155
9156 * minibuffer.el (completion--done): New fun.
9157 (completion--do-completion): Use it. New arg `expect-exact'.
9158 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9159 since completion--do-completion does it for us now.
9160 (minibuffer-force-complete): Use completion--done and
9161 completion--replace. Handle sole-completion case with more care.
9162 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9163 (completion-extra-properties): New var.
9164 (completion-annotate-function): Make obsolete.
9165 (minibuffer-completion-help): Adjust accordingly.
9166 Use completion-list-insert-choice-function.
9167 (completion-at-point, completion-help-at-point):
9168 Bind completion-extra-properties.
9169 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9170 * simple.el (completion-list-insert-choice-function): New var.
9171 (completion-setup-function): Preserve it.
9172 (choose-completion): Pay attention to it, shuffle the code a bit.
9173 (choose-completion-string): New arg `insert-function'.
9174
9175 * textmodes/bibtex.el: Convert to lexical binding.
9176 (bibtex-mode-map): Use completion-at-point.
9177 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9178 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9179 (bibtex-complete): Define as obsolete alias.
9180 (bibtex-complete-internal): Remove.
9181 (bibtex-format-entry): Remove unused sub-group in regexp.
9182 * shell.el (shell--command-completion-data)
9183 (shell-environment-variable-completion):
9184 * pcomplete.el (pcomplete-completions-at-point):
9185 * comint.el (comint--complete-file-name-data): Use :exit-function
9186 instead of completion-table-with-terminator so it also works for
9187 choose-completion.
9188
91892011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9190
9191 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9192
9193 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9194 (bug#8710).
9195
9196 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9197
91982011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9199
9200 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9201 customization variable and implement: If non-nil, auto-fill will
9202 be inhibited while on topic's header line.
9203
92042011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9205
9206 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
9207 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
9208 always have a solution in grid size = 5 cases.
9209 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9210 (5x5-solver-output, 5x5-log-buffer): New vars.
9211 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9212 Make these variables buffer local to achieve 5x5 multi-session-ness.
9213 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9214 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9215 (5x5-solve-suggest): New funs.
9216 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9217 randomize a grid so that we ensure that there is always a solution.
9218 (5x5-make-random-grid): Allow other movement than flipping.
9219
92202011-05-23 Kevin Ryde <user42@zip.com.au>
9221
9222 * emacs-lisp/advice.el (ad-read-advised-function):
9223 Use `function-called-at-point' as the default, if it has
9224 advice and passes PREDICATE.
9225
92262011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9229 byte-compile-lambda if it's actually a lambda.
9230
9231 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9232 Fix function quoting. Use backquote better.
9233
92342011-05-22 Yuanle Song <sylecn@gmail.com>
9235
9236 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9237 matching (Bug#8516).
9238
92392011-01-22 Jari Aalto <jari.aalto@cante.net>
9240
9241 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9242 different face (Bug#8178).
9243
92442011-05-22 Chong Yidong <cyd@stupidchicken.com>
9245
9246 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9247 defface (Bug#8144).
9248
92492011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9250
9251 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9252 funcall as well (bug#8712). Warn when performing those conversions.
9253 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9254
9255 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9256
92572011-05-22 Glenn Morris <rgm@gnu.org>
9258
9259 * files.el (hack-local-variables-prop-line): Small simplifications.
9260 (hack-local-variables, hack-local-variables-prop-line):
9261 If MODE-ONLY, return the mode, rather than just `t'.
9262
92632011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9264
9265 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9266
92672011-05-21 Glenn Morris <rgm@gnu.org>
9268
9269 * files.el (hack-local-variables-prop-line, hack-local-variables):
9270 If only interested in the mode, don't bother doing the other stuff.
9271
9272 * image-mode.el (image-after-revert-hook):
9273 Redraw all frames on which the image is visible. (Bug#8567)
9274
9275 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9276
9277 * wid-edit.el (widget-checklist-match-inline):
9278 Fix 2011-04-19 change. (Bug#8649)
9279
92802011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9281
9282 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9283 Also allow singlespace after single-letter capitals followed by a dot.
9284
9285 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9286 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9287
92882011-05-20 Nix <nix@esperi.org.uk>
9289
9290 * files.el (basic-save-buffer-2):
9291 Fix handling of break-hardlink-on-save with non-existent files.
9292
92932011-05-19 Deniz Dogan <deniz@dogan.se>
9294
9295 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9296 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
9297
92982011-05-19 Glenn Morris <rgm@gnu.org>
9299
9300 * progmodes/f90.el (f90-type-def-re):
9301 Handle "type, bind(c)". (Bug#8691)
9302
9303 * emacs-lisp/autoload.el (batch-update-autoloads):
9304 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9305
93062011-05-18 Michael Albinus <michael.albinus@gmx.de>
9307
9308 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9309 property for the correct connection in case of multihops.
9310
93112011-05-18 Glenn Morris <rgm@gnu.org>
9312
9313 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9314 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9315
9316 Rationalize calendar handling of day and month abbrev-arrays.
9317 * calendar/calendar.el (calendar-customized-p): New function.
9318 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9319 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9320 Add :set function.
9321 (calendar-abbrev-length, calendar-day-abbrev-array)
9322 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9323 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9324 Elements may no longer be nil.
9325 (calendar-day-name, calendar-month-name):
9326 Update for changed nature of abbrev arrays.
9327 * calendar/diary-lib.el (diary-name-pattern):
9328 Update for changed nature of abbrev arrays.
9329 (diary-mark-entries-1): Update calendar-make-alist calls.
9330 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9331 * calendar/cal-html.el (cal-html-day-abbrev-array):
9332 Simply inherit from calendar-day-abbrev-array.
9333
93342011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9335
9336 * progmodes/grep.el (grep-mode): Disable default
9337 compilation-directory-matcher setting (bug#8684).
9338
93392011-05-17 Michael Albinus <michael.albinus@gmx.de>
9340
9341 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9342 instead of "head" and "tail". There were problems with SunOS 5.9,
9343 and it performs better.
9344
93452011-05-17 Glenn Morris <rgm@gnu.org>
9346
9347 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9348
9349 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9350 Replace obsolete function.
9351
9352 * shell.el (pcomplete-parse-arguments-function): Declare.
9353
9354 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9355 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9356 (appt-check): Doc fixes.
9357 (appt-disp-window-function, appt-delete-window-function):
9358 Remove needless special case in custom :type.
9359 (appt-display-count): Default to 0, not nil.
9360 (appt-check): Reset appt-display-count to 0, not nil.
9361
93622011-05-17 Juanma Barranquero <lekktu@gmail.com>
9363
9364 * progmodes/python.el (python-font-lock-keywords):
9365 Add the Python 3.X keyword "nonlocal" (bug#8639).
9366
93672011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9370
93712011-05-16 Kevin Ryde <user42@zip.com.au>
9372
9373 * info-look.el (makefile-automake-mode): New setups, looking in
9374 automake manual, then makefile-mode.
9375 (makefile-mode): Remove automake manual, have it just in
9376 makefile-automake-mode since there's various things different or
9377 not relevant to plain make.
9378 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9379 believe a hypothetical automake-mode would go to makefile-mode,
9380 not the other way around.
9381
93822011-05-15 Chong Yidong <cyd@stupidchicken.com>
9383
9384 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9385 hunk-end tags (Bug#8672).
9386
9387 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9388 vc-annotate-show-diff-revision-at-line (Bug#8671).
9389
93902011-05-14 Glenn Morris <rgm@gnu.org>
9391
9392 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9393 in the middle of an existing one with multiple authors. (Bug#8645)
9394 (change-log-font-lock-keywords): Also handle multiple author lines
9395 with leading tabs. (Bug#8644)
9396
9397 * calendar/appt.el (appt-check): Rename some local variables.
9398 Some simplification/reordering.
9399
9400 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9401 (feedmail-sendmail-f-doesnt-sell-me-out)
9402 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9403 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9404 (feedmail-queue-runner-message-sender): Set :version.
9405 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9406 (bbdb-dwim-net-address, vm-mail): Declare.
9407 (feedmail-binmail-gnulinuxish-template):
9408 Rename from feedmail-binmail-linuxish-template.
9409 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9410 Use insert-buffer-substring.
9411
94122011-05-14 Bill Carpenter <bill@carpenter.org>
9413
9414 * mail/feedmail.el (feedmail-patch-level): Increase.
9415 (feedmail-debug): New custom group.
9416 (feedmail-confirm-outgoing-timeout)
9417 (feedmail-sendmail-f-doesnt-sell-me-out)
9418 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9419 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9420 (feedmail-sender-line, feedmail-from-line)
9421 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9422 (feedmail-spray-this-address)
9423 (feedmail-spray-address-fiddle-plex-list)
9424 (feedmail-queue-use-send-time-for-date)
9425 (feedmail-queue-use-send-time-for-message-id)
9426 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9427 (feedmail-buffer-eating-function):
9428 Doc fixes.
9429 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9430 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9431 (feedmail-message-action-scroll-down): New functions.
9432 (feedmail-queue-directory, feedmail-queue-draft-directory):
9433 Use expand-file-name.
9434 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9435 Remove C-v help entry.
9436 (feedmail-queue-buffer-file-name): New variable.
9437 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9438 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9439 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9440 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9441 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9442 (feedmail-message-action-toggle-spray)
9443 (feedmail-run-the-queue-no-prompts)
9444 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9445 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9446 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9447 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9448 (feedmail-envelope-deducer, feedmail-fiddle-from)
9449 (feedmail-fiddle-sender, feedmail-default-date-generator)
9450 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9451 (feedmail-fiddle-spray-address)
9452 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9453 (feedmail-fiddle-list-of-fiddle-plexes)
9454 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9455 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9456 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9457 Change default. Doc fix.
9458 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9459 (feedmail-binmail-linuxish-template): New constant.
9460 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9461 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9462 (feedmail-send-it): Add debug call.
9463 Use feedmail-queue-buffer-file-name, and
9464 feedmail-send-it-immediately-wrapper.
9465 (feedmail-message-action-send): Add debug call.
9466 Use feedmail-send-it-immediately-wrapper.
9467 (feedmail-queue-express-to-queue): Add debug call.
9468 Run feedmail-queue-express-hook.
9469 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9470 (feedmail-message-action-help-blat):
9471 Rename from feedmail-queue-send-edit-prompt-help-first.
9472 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9473 Check line-endings. Handle errors better.
9474 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9475 Doc fix. Add debug call.
9476 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9477 Use feedmail-queue-send-edit-prompt-inner.
9478 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9479 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9480 from feedmail-queue-send-edit-prompt.
9481 (feedmail-queue-send-edit-prompt-help)
9482 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9483 (feedmail-tidy-up-slug): Add debug call.
9484 Respect feedmail-queue-slug-suspect-regexp.
9485 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9486 (feedmail-dump-message-to-queue): Add debug call.
9487 Expand queue-directory.
9488 (feedmail-dump-message-to-queue): Change message slightly.
9489 Use feedmail-say-chatter.
9490 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9491 (feedmail-send-it-immediately-wrapper): New function.
9492 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9493 Insert empty string rather than newline. Handle full-frame case.
9494 Use catch/throw. Use feedmail-say-chatter.
9495 (feedmail-fiddle-from): Try mail-host-address.
9496 (feedmail-default-message-id-generator): Doc fix.
9497 Bind system-time-locale. Handle missing end.
9498 (feedmail-fiddle-x-mailer): Add debug call.
9499 Handle feedmail-x-mailer-line being nil.
9500 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9501 Add debug call. Use buffer-substring-no-properties.
9502 (feedmail-say-debug, feedmail-say-chatter): New functions.
9503 (feedmail-find-eoh): Give an explicit error.
9504
95052011-05-13 Ulf Jasper <ulf.jasper@web.de>
9506
9507 * net/newst-treeview.el (newsticker-treeview-face): Change default
9508 family from helvetica to sans.
9509 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9510 etc/images/newsticker.
9511
9512 * net/newst-reader.el (newsticker-feed-face): Change default
9513 family from helvetica to sans.
9514
9515 * net/newst-plainview.el (newsticker-new-item-face)
9516 (newsticker-old-item-face, newsticker-immortal-item-face)
9517 (newsticker-obsolete-item-face, newsticker-date-face)
9518 (newsticker-statistics-face): Change default family from
9519 helvetica to sans.
9520 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9521 etc/images/newsticker.
9522
9523 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9524 (newsticker--process-auto-mark-filter-match): : Tell user about
9525 auto-marking.
9526
95272011-05-13 Didier Verna <didier@xemacs.org>
9528
9529 Common Lisp indentation improvements on defmethod and lambda-lists.
9530 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9531 TODO entries.
9532 (lisp-lambda-list-keyword-parameter-indentation)
9533 (lisp-lambda-list-keyword-parameter-alignment)
9534 (lisp-lambda-list-keyword-alignment): New customizable user options.
9535 (lisp-indent-defun-method): Improve docstring.
9536 (extended-loop-p): Fix comment.
9537 (lisp-indent-lambda-list-keywords-regexp): New variable.
9538 (lisp-indent-lambda-list): New function.
9539 (lisp-indent-259): Use it.
9540 (lisp-indent-defmethod): Support for more than one
9541 method qualifier and properly indent methods lambda-lists.
9542 (defgeneric): Provide a missing common-lisp-indent-function property.
9543
95442011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9547 bounds for the empty string (bug#8667).
9548
95492011-05-13 Glenn Morris <rgm@gnu.org>
9550
9551 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9552
9553 * mail/sendmail.el (sendmail-program): Try executable-find first.
9554 (sendmail-send-it): `sendmail-program' cannot be unbound.
9555
9556 * calendar/appt.el (appt-make-list): Simplify.
9557 (appt-time-msg-list): Doc fix.
9558 (appt-check): Change mode-line message at the time of the appointment.
9559
95602011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9561
9562 * progmodes/ld-script.el (ld-script-keywords)
9563 (ld-script-builtins): Update keywords list.
9564
95652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9566
9567 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9568
9569 * shell.el (shell-completion-vars): New function.
9570 (shell-mode):
9571 * simple.el (read-shell-command): Use it.
9572 (blink-matching-open): No need for " [...]" in minibuffer-message.
9573
95742011-05-12 Glenn Morris <rgm@gnu.org>
9575
9576 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9577 (appt-check): Simplify.
9578
95792011-05-12 Eli Zaretskii <eliz@gnu.org>
9580
9581 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9582 literal "/dev/null".
9583
95842011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9585
9586 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9587 Fix typo.
9588
95892011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
9590
9591 * progmodes/which-func.el (which-function):
9592 Use add-log-current-defun instead of add-log-current-defun-function,
9593 which might not be defined (Bug#8260).
9594
95952011-05-12 Glenn Morris <rgm@gnu.org>
9596
9597 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9598 Let byte-compile-initial-macro-environment always take precedence.
9599
96002011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * net/rcirc.el: Add support for SSL/TLS connections.
9603 (rcirc-server-alist): New field `encryption'.
9604 (rcirc): Check `encryption' settings.
9605 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9606 Merge make-local-variable into `set'.
9607 (rcirc--connection-open-p): New function.
9608 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9609 the process is not a network process (e.g. running gnutls-cli).
9610 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9611 Make rcirc-(en|de)code-coding-system local here.
9612 (rcirc-mode): Merge make-local-variable into `set'.
9613 (rcirc-parent-buffer): Make permanent buffer-local.
9614 (rcirc-multiline-minor-mode): Don't do it here.
9615 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9616 there's no server buffer.
9617
96182011-05-11 Glenn Morris <rgm@gnu.org>
9619
9620 * newcomment.el (comment-kill): Prefix "unused" local.
9621
9622 * term/w32console.el (get-screen-color): Declare.
9623
9624 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9625 Handle symbol elements of byte-compile-initial-macro-environment.
9626
96272011-05-10 Leo Liu <sdl.web@gmail.com>
9628
9629 * bookmark.el (bookmark-bmenu-mode-map):
9630 Bind bookmark-bmenu-search to `/'.
9631
9632 * mail/footnote.el: Convert to utf-8 encoding.
9633 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9634 (Footnote-unicode): New function.
9635 (footnote-style-alist): Add unicode style to the list.
9636 (footnote-style): Doc fix.
9637
96382011-05-10 Jim Meyering <meyering@redhat.com>
9639
9640 Fix doubled-word typos.
9641 * international/quail.el (quail-insert-kbd-layout): and and -> and
9642 * kermit.el: and and -> and
9643 * net/ldap.el (ldap-search-internal): to to -> to
9644 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9645 * progmodes/js.el (js-mode): and and -> and
9646 * textmodes/artist.el (artist-move-to-xy): at at -> at
9647 (artist-draw-region-trim-line-endings): if if -> if
9648 And Safetyc -> Safety.
9649 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9650
96512011-05-10 Glenn Morris <rgm@gnu.org>
9652 Stefan Monnier <monnier@iro.umontreal.ca>
9653
9654 * files.el (hack-one-local-variable-eval-safep):
9655 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9656
96572011-05-10 Glenn Morris <rgm@gnu.org>
9658
9659 * calendar/diary-lib.el (diary-list-entries-hook)
9660 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9661 (diary-nongregorian-marking-hook, diary-list-entries)
9662 (diary-include-other-diary-files, diary-mark-entries)
9663 (diary-mark-included-diary-files): Doc fixes.
9664
96652011-05-09 Juanma Barranquero <lekktu@gmail.com>
9666
9667 * misc.el: Require tabulated-list.el during compilation.
9668
96692011-05-09 Chong Yidong <cyd@stupidchicken.com>
9670
9671 * progmodes/compile.el (compilation-start):
9672 Run compilation-filter-hook for the async case too.
9673 (compilation-filter-hook): Doc fix.
9674
96752011-05-09 Deniz Dogan <deniz@dogan.se>
9676
9677 * wdired.el: Remove outdated installation comment. Fix usage
9678 comment.
9679
96802011-05-09 Juanma Barranquero <lekktu@gmail.com>
9681
9682 * misc.el: Implement new command `list-dynamic-libraries'.
9683 (list-dynamic-libraries--loaded-only-p): New variable.
9684 (list-dynamic-libraries--refresh): New function.
9685 (list-dynamic-libraries): New command.
9686
96872011-05-09 Chong Yidong <cyd@stupidchicken.com>
9688
9689 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9690 Fix the ant regexp to handle end-line and end-column info from jikes.
9691 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9692 higher priority to avoid clobbering by gnu.
9693
96942011-05-08 Chong Yidong <cyd@stupidchicken.com>
9695
9696 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9697 if the face has existing theme settings (Bug#8454).
9698
96992011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9700
9701 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9702 Only match variables declared via `my' or `our' (Bug#8261).
9703
9704 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9705 special file names `.' and `..' (Bug#8259).
9706
97072011-05-08 Chong Yidong <cyd@stupidchicken.com>
9708
9709 * progmodes/grep.el (grep-mode-font-lock-keywords):
9710 Remove buffer-changing entries.
9711 (grep-filter): New function.
9712 (grep-mode): Add it to compilation-filter-hook.
9713
9714 * progmodes/compile.el (compilation-filter-hook)
9715 (compilation-filter-start): New defvars.
9716 (compilation-filter): Call compilation-filter-hook prior to
9717 updating the process mark.
9718
97192011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9720
9721 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9722
97232011-05-07 Eli Zaretskii <eliz@gnu.org>
9724
9725 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9726 mailclient-send-it even if window-system is nil. (Bug#8595)
9727
9728 * term/w32console.el (terminal-init-w32console):
9729 Call get-screen-color and use its output to set the frame
9730 background-mode. (Bug#8597)
9731
97322011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9733
9734 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9735 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9736 New functions.
9737 (defgeneric, eieio--defmethod): Use them.
9738 (eieio-defgeneric): Remove.
9739 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9740
97412011-05-07 Glenn Morris <rgm@gnu.org>
9742
9743 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9744 Use let rather than let*.
9745 (timeclock-find-discrep): Remove unused local.
9746
9747 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9748
9749 * calendar/appt.el (appt-time-msg-list): Doc fix.
9750
97512011-05-06 Noah Friedman <friedman@splode.com>
9752
9753 * apropos.el (apropos-print-doc): Only use
9754 emacs-lisp-docstring-fill-column when it is bound to an integer,
9755 per that variable's documentation.
9756
97572011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9758
9759 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
9760 and warnings are not silently discarded (e.g. use -d instead of -P).
9761
97622011-05-06 Glenn Morris <rgm@gnu.org>
9763
9764 * calendar/appt.el (appt-message-warning-time): Doc fix.
9765 (appt-warning-time-regexp): New option.
9766 (appt-make-list): Respect appt-message-warning-time.
9767
9768 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9769 New options.
9770 (diary-add-to-list): Strip comments from the displayed string.
9771 (diary-mode): Set comment-start and comment-end.
9772
9773 * vc/diff-mode.el (smerge-refine-subst): Declare.
9774 (diff-refine-hunk): Don't require smerge-mode when compiling.
9775
97762011-05-06 Juanma Barranquero <lekktu@gmail.com>
9777
9778 * simple.el (list-processes): Return nil as the docstring says.
9779
97802011-05-05 Michael Albinus <michael.albinus@gmx.de>
9781
9782 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9783 to "".
9784 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9785 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9786 determining of binary transfer. (Bug#7383)
9787
97882011-05-05 Michael Albinus <michael.albinus@gmx.de>
9789
9790 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9791 Fix port computation bug. (Bug#8618)
9792
97932011-05-05 Glenn Morris <rgm@gnu.org>
9794
9795 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9796
9797 * simple.el (shell-dynamic-complete-functions)
9798 (comint-dynamic-complete-functions): Declare.
9799
9800 * net/network-stream.el (gnutls-negotiate):
9801 * simple.el (tabulated-list-print): Fix declarations.
9802
9803 * progmodes/gud.el (syntax-symbol, syntax-point):
9804 Remove unnecessary and incorrect declarations.
9805
9806 * emacs-lisp/check-declare.el (check-declare-scan):
9807 Handle byte-compile-initial-macro-environment in bytecomp.el
9808
98092011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 Fix earlier half-done eieio-defmethod change (bug#8338).
9812 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9813 Streamline and change calling convention.
9814 (defmethod): Adjust accordingly and simplify.
9815 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9816 new eieio--defmethod.
9817 (slot-boundp): Minor CSE simplification.
9818
98192011-05-05 Milan Zamazal <pdm@zamazal.org>
9820
9821 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9822 (glasses-make-readable): Use glasses-separate-capital-groups.
9823
98242011-05-05 Juanma Barranquero <lekktu@gmail.com>
9825
9826 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9827 (warning-series): Doc fix.
9828 (display-warning): Don't try to create the buffer if we just found it.
9829
98302011-05-04 Chong Yidong <cyd@stupidchicken.com>
9831
9832 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9833 (autoload-find-generated-file): New function.
9834 (generate-file-autoloads): Bind generated-autoload-file to
9835 buffer-file-name.
9836 (update-file-autoloads, update-directory-autoloads):
9837 Use autoload-find-generated-file. If called interactively, prompt for
9838 output file (Bug#7989).
9839 (batch-update-autoloads): Doc fix.
9840
98412011-05-04 Juanma Barranquero <lekktu@gmail.com>
9842
9843 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9844
98452011-05-04 Glenn Morris <rgm@gnu.org>
9846
9847 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9848 function, so it follows changes in calendar-date-style.
9849 (diary-fancy-date-matcher): New function.
9850 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9851 (diary-fancy-font-lock-fontify-region-function):
9852 Use diary-fancy-date-pattern as a function.
9853
9854 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9855 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9856
98572011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9858
9859 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9860 instead of positional arguments. Allow :keylist and :crlfiles
9861 arguments.
9862 (open-gnutls-stream): Call it.
9863
9864 * net/network-stream.el (network-stream-open-starttls): Adjust to
9865 call `gnutls-negotiate' with :process and :hostname arguments.
9866
98672011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9868
9869 * minibuffer.el (completion--message): New function.
9870 (completion--do-completion, minibuffer-complete)
9871 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9872 (completion--do-completion): Don't ignore completion-auto-help when in
9873 icomplete-mode.
9874
9875 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9876 internal encoding (e.g. tibetan zero is not whitespace).
9877 (global-whitespace-mode): Prefer save-current-buffer.
9878 (whitespace-trailing-regexp): Remove useless save-match-data.
9879 (whitespace-empty-at-bob-regexp): Minor simplification.
9880
98812011-05-03 Chong Yidong <cyd@stupidchicken.com>
9882
9883 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9884
98852011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9886
9887 * textmodes/ispell.el (ispell-add-per-file-word-list):
9888 Use `concat' to create string for insertion.
9889
98902011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9893 Avoid open-line which runs post-self-insert-hook.
9894 (bibtex-fill-entry): Remove unused `end' var.
9895
98962011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9897
9898 * textmodes/ispell.el (ispell-add-per-file-word-list):
9899 Protect against `nil' value of `comment-start' (Bug#8579).
9900
99012011-05-03 Leo Liu <sdl.web@gmail.com>
9902
9903 * isearch.el (isearch-yank-pop): New command.
9904 (isearch-mode-map): Bind it to `M-y'.
9905 (isearch-forward): Mention it.
9906
99072011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9908
9909 * simple.el (minibuffer-complete-shell-command): Remove.
9910 (minibuffer-local-shell-command-map): Use completion-at-point.
9911 (read-shell-command): Setup completion vars here instead.
9912 (read-expression-map): Bind TAB to symbol completion.
9913
9914 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9915 error directly rather via storing it into `results'.
9916
99172011-05-02 Leo Liu <sdl.web@gmail.com>
9918
9919 * vc/diff.el: Fix description.
9920
99212011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9922
9923 * server.el (server-eval-at): New function.
9924
99252011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9926
9927 * net/network-stream.el (open-network-stream): Take a :nowait
9928 parameter and pass it on to `make-network-process'.
9929 (network-stream-open-plain): Ditto.
9930
99312011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9932
9933 * faces.el (face-spec-set-match-display): Don't match toolkit
9934 options on terminal frames.
9935
99362011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9937
9938 * progmodes/pascal.el: Use lexical binding.
9939 (pascal-mode-map): Remove author preferences.
9940
9941 * pcomplete.el (pcomplete-std-complete): Don't abuse
9942 completion-at-point.
9943
99442011-04-28 Juanma Barranquero <lekktu@gmail.com>
9945
9946 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9947 removing code that has been dead since 1991 or so.
9948
9949 * startup.el (command-line): When warning about "_emacs", use a
9950 delayed warning to allow the user to filter it out.
9951
99522011-04-28 Deniz Dogan <deniz@dogan.se>
9953
9954 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9955 user has not joined.
9956
99572011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9958
9959 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9960 aren't any completions at point.
9961
99622011-04-28 Juanma Barranquero <lekktu@gmail.com>
9963
9964 * subr.el (display-delayed-warnings): New function.
9965 (delayed-warnings-hook): New variable.
9966
99672011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9968
9969 * minibuffer.el (completion-at-point, completion-help-at-point):
9970 Don't presume that a given completion-at-point-function will always
9971 use the same calling convention.
9972
9973 * pcomplete.el (pcomplete-completions-at-point):
9974 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9975 pcomplete-seen is non-nil.
9976 (pcomplete-comint-setup): Also recognize the new comint/shell
9977 completion functions.
9978 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9979 pcomplete-seen is non-nil.
9980
99812011-04-27 Niels Giesen <niels.giesen@gmail.com>
9982
9983 * calendar/icalendar.el (diary-lib): Add require statement.
9984 (icalendar--create-uid): Read out a uid from a text-property on
9985 the first character in the entry. This allows for code to add its
9986 own uid to the entry.
9987 (icalendar--convert-float-to-ical): Add export of
9988 `diary-float'-entries save for those with the optional DAY
9989 argument.
9990
99912011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9992
9993 * subr.el (shell-quote-argument): Use alternate escaping strategy
9994 when we spot a variable reference in a string.
9995
99962011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9997
9998 * cus-start.el (all): Define customization for debug-on-event.
9999
100002011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10001
10002 * subr.el (shell-quote-argument): Escape correctly under Windows.
10003
100042011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10005
10006 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10007
100082011-04-25 Michael Albinus <michael.albinus@gmx.de>
10009
10010 * net/tramp.el (tramp-process-actions): Add POS argument.
10011 Delete region between POS and (pos).
10012
10013 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10014 Use `nil' position in `tramp-process-actions' call.
10015 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10016
10017 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10018 position in `tramp-process-actions' call.
10019
10020 * net/trampver.el: Update release number.
10021
100222011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10023
10024 * custom.el (defcustom): Obey lexical-binding.
10025
10026 Fix octave-inf completion problems reported by Alexander Klimov.
10027 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10028 Inherit from octave-mode-syntax-table.
10029 (inferior-octave-mode): Set info-lookup-mode.
10030 (inferior-octave-completion-at-point): New function.
10031 (inferior-octave-complete): Use it and completion-in-region.
10032 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10033 comint-filename-completion.
10034 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10035 symbol elements which shouldn't be word elements.
10036 (octave-font-lock-keywords, octave-beginning-of-defun)
10037 (octave-function-header-regexp): Adjust regexps accordingly.
10038 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10039
100402011-04-25 Juanma Barranquero <lekktu@gmail.com>
10041
10042 * net/gnutls.el (gnutls-errorp): Declare before first use.
10043
100442011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10045
10046 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10047 verify-error, and verify-hostname-error parameters. Check whether
10048 default trustfile exists before going to use it. Add missing
10049 argument to gnutls-message-maybe call. Return value.
10050 Reported by Claudio Bley <claudio.bley@gmail.com>.
10051 (open-gnutls-stream): Add usage example.
10052
10053 * net/network-stream.el (network-stream-open-starttls): Give host
10054 parameter to `gnutls-negotiate'.
10055 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10056 * subr.el (shell-quote-argument): Escape correctly under Windows.
10057
100582011-04-24 Daniel Colascione <dan.colascione@gmail.com>
10059
10060 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10061 Use correct match group (bug#8438).
10062
100632011-04-24 Chong Yidong <cyd@stupidchicken.com>
10064
10065 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10066 (package-menu--generate): New arg specifying packages to show.
10067 (package-menu-refresh, package-menu-execute, list-packages):
10068 Callers changed.
10069 (package-show-package-list): New function, replacing deleted
10070 package--list-packages (renamed because it is non-internal).
10071
10072 * finder.el (finder-list-matches): Use package-show-package-list
10073 instead of deleted package--list-packages.
10074
10075 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10076 Based on a previous implementation by Juanma Barranquero (Bug#8366).
10077 (vc-annotate-mode-map): Bind it to RET.
10078
100792011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10080
10081 * progmodes/etags.el (next-file): Don't use set-buffer to change
10082 buffers (Bug#8478).
10083
100842011-04-24 Chong Yidong <cyd@stupidchicken.com>
10085
10086 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10087
10088 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10089 (apropos-accumulator): Doc fix.
10090 (apropos-function, apropos-macro, apropos-command)
10091 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10092 (apropos-plist): Add face property.
10093 (apropos-symbols-internal): Fix indentation.
10094 (apropos-print): Simplify help, and recognize apropos-multi-type.
10095 (apropos-print-doc): Use button-type-get to extract the button's
10096 face property. Fill docstring (Bug#8352).
10097
100982011-04-23 Juanma Barranquero <lekktu@gmail.com>
10099
10100 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10101
10102 * play/mpuz.el (mpuz-silent): Doc fix.
10103 (mpuz-mode-map): Use mapc.
10104 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10105 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10106 Fix typos in docstrings.
10107
10108 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10109 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10110
10111 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10112
101132011-04-23 Chong Yidong <cyd@stupidchicken.com>
10114
10115 * minibuffer.el (completion--do-completion): Avoid the "Next char
10116 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10117
10118 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10119 mouse-2 into unread-command-events, it is interpreted correctly.
10120
10121 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10122 (image-toggle-display): Doc fix.
10123
101242011-04-23 Stephen Berman <stephen.berman@gmx.net>
10125
10126 * textmodes/page.el (what-page): Use line-number-at-pos to
10127 calculate line number (Bug#6825).
10128
101292011-04-22 Juanma Barranquero <lekktu@gmail.com>
10130
10131 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10132 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10133 Pass argument NO-DEFAULT to `find-tag-interactive'.
10134
101352011-04-22 Juanma Barranquero <lekktu@gmail.com>
10136
10137 Lexical-binding cleanup.
10138
10139 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10140 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10141 * progmodes/ada-prj.el (ada-prj-initialize-values)
10142 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10143 (ada-prj-show-value):
10144 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10145 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10146 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10147 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10148 * progmodes/bug-reference.el (bug-reference-push-button):
10149 * progmodes/fortran.el (fortran-line-length):
10150 * progmodes/glasses.el (glasses-change):
10151 * progmodes/octave-mod.el (octave-fill-paragraph):
10152 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10153 (python-pdbtrack-grub-for-buffer, python-sentinel):
10154 * progmodes/sql.el (sql-save-connection):
10155 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10156 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10157 Mark unused parameters.
10158
10159 * progmodes/compile.el (compilation--flush-directory-cache)
10160 (compilation--flush-parse, compile-internal): Mark unused parameters.
10161 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10162 (compilation-next-error-function): Remove unused variable `timestamp'.
10163
10164 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10165 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10166
10167 * progmodes/dcl-mode.el (dcl-end-of-command):
10168 Remove unused variable `start'.
10169 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10170 (dcl-option-value-basic, dcl-option-value-offset)
10171 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10172 Mark unused parameters.
10173 (dcl-save-local-variable): Remove unused variable `val'.
10174 (mode): Declare.
10175
10176 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10177 Mark unused parameters.
10178 (delphi-ignore-changes): Move before first use.
10179 (delphi-charset-token-at): Remove unused variable `start'.
10180 (delphi-else-start): Remove unused variable `if-count'.
10181 (delphi-comment-block-start, delphi-comment-block-end):
10182 Remove unused variable `kind'.
10183 (delphi-indent-line): Remove unused variable `new-point'.
10184
10185 * progmodes/ebrowse.el (ebrowse-files-list)
10186 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10187 Mark unused parameters. Don't quote `lambda'.
10188 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10189 Don't quote `lambda'.
10190 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10191 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10192 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10193 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10194 Use `ignore-errors'.
10195 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10196 (ebrowse-view/find-file-and-search-pattern)
10197 (ebrowse-view/find-member-declaration/definition):
10198 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10199 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10200 Rename parameter PREFIX-ARG to PREFIX.
10201 (ebrowse-tags-read-name): Remove unused variables `start' and
10202 `member-info'.
10203 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10204 to `tags-file'.
10205
10206 * progmodes/etags.el (local-find-tag-hook): Declare.
10207 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10208 Mark unused parameters.
10209
10210 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10211 (executable-interpret): Mark unused parameter.
10212
10213 * progmodes/flymake.el (flymake-process-sentinel)
10214 (flymake-after-change-function)
10215 (flymake-create-temp-with-folder-structure)
10216 (flymake-get-include-dirs-dot): Mark unused parameters.
10217 (flymake-safe-delete-directory): Remove unused variable `err'.
10218
10219 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10220 (speedbar-timer-fn, speedbar-line-text)
10221 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10222 (speedbar-center-buffer-smartly): Declare functions.
10223 (gdb-find-watch-expression): Remove unused variable `array'.
10224 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10225 (gdb-starting): Mark unused parameters.
10226 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10227 (gdb-table-string): Remove unused variable `res'.
10228 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10229 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10230 (gdb-display-buffer): Remove unused variable `cur-size'.
10231
10232 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10233 allow lexical-binding compilation.
10234 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10235 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10236 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10237 Mark unused parameters.
10238 (gud-gdb-marker-filter): Remove unused variable `match'.
10239 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10240 lambda expressions and funcall them, instead of using `fset'.
10241
10242 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10243 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10244
10245 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10246 variable `header-beg'; use `let'.
10247
10248 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10249 `restart', `last-sexp' and `at-do'.
10250
10251 * progmodes/js.el (js--debug): Mark unused parameter.
10252 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10253 (js--splice-into-items): Remove unused variable `item'.
10254 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10255
10256 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10257 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10258 (makefile-complete): Remove unused variable `try'.
10259 (makefile-fill-paragraph, makefile-match-function-end):
10260 Mark unused parameters.
10261
10262 * progmodes/octave-inf.el (inferior-octave-complete):
10263 Remove unused variable `proc'.
10264 (inferior-octave-output-digest): Mark unused parameter.
10265
10266 * progmodes/perl-mode.el (perl-calculate-indent):
10267 Remove unused variable `err'.
10268
10269 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10270 (prolog-indent-line): Mark unused parameters.
10271 (prolog-indent-line): Remove unused variable `beg'.
10272
10273 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10274 (reporter-dont-compact-list): Declare.
10275
10276 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10277 Remove unused variable `char'.
10278 (sh-debug): Mark unused parameter.
10279 (sh-get-indent-info): Remove unused variable `start'.
10280 (sh-calculate-indent): Remove unused variable `var'.
10281
10282 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10283 (simula-electric-keyword): Remove unused variable `null'.
10284 (simula-search-backward, simula-search-forward): Remove unused
10285 variables `begin' and `end'.
10286
10287 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10288 Remove unused variable `pos'.
10289 (vera-electric-tab, vera-comment-uncomment-region):
10290 Mark unused parameters.
10291 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10292
102932011-04-22 Chong Yidong <cyd@stupidchicken.com>
10294
10295 * emacs-lisp/package.el (package--builtins, package-alist)
10296 (package-load-descriptor, package-built-in-p, package-activate)
10297 (define-package, package-installed-p)
10298 (package-compute-transaction, package-buffer-info)
10299 (package--push): Doc fix. Distinguish more clearly between
10300 version strings and version lists.
10301
103022011-04-21 Juanma Barranquero <lekktu@gmail.com>
10303
10304 Lexical-binding cleanup.
10305
10306 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10307 (5x5-make-mutate-best):
10308 * play/fortune.el (fortune-in-buffer):
10309 * play/gomoku.el (gomoku-init-display):
10310 * play/solitaire.el (solitaire, solitaire-do-check):
10311 * play/tetris.el (tetris-default-update-speed-function):
10312 Mark unused parameters.
10313
10314 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10315 (bubbles--shift): Remove unused variable `char-org'.
10316 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10317 (bubbles--show-images): Remove unused variable `char'.
10318
10319 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10320 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10321 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10322 (decipher-analyze-buffer): Use ?\s.
10323 (decipher-make-checkpoint): Remove unused variable `mapping'.
10324
10325 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10326
10327 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10328 Remove unused variable `result'; use `let'.
10329
10330 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10331 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10332 (gametree-children-shown-p, gametree-compute-reduced-score):
10333 Use `ignore-errors'.
10334
10335 * play/handwrite.el (ps-lpr-switches): Declare.
10336 (handwrite): Remove unused variables `pmin' and `lastp'.
10337
10338 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10339
10340 * play/landmark.el (landmark-init-display)
10341 (landmark-update-naught-weights): Mark unused parameters.
10342 (landmark-y): Remove unused variable `noise'. Simplify.
10343 (landmark-human-plays): Remove unused variable `score'.
10344
10345 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10346 (mpuz-try-proposal): Remove unused variable `game'.
10347
10348 * play/zone.el (life-patterns): Declare.
10349
103502011-04-20 Juanma Barranquero <lekktu@gmail.com>
10351
10352 * vc/vc.el (ediff-vc-internal): Declare function.
10353
103542011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10355
10356 * shell.el: Use lexical-binding and std completion UI.
10357 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10358 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10359 comint-preoutput-filter-functions rather than on
10360 comint-output-filter-functions.
10361 (shell-command-completion, shell--command-completion-data)
10362 (shell-filename-completion, shell-environment-variable-completion)
10363 (shell-c-a-p-replace-by-expanded-directory): New functions.
10364 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10365 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10366 (shell-dynamic-complete-environment-variable): Use them.
10367 (shell-dynamic-complete-as-environment-variable)
10368 (shell-dynamic-complete-as-command): Remove.
10369 (shell-match-partial-variable): Match past point.
10370 * comint.el: Clean up use of completion-at-point-functions.
10371 (comint-completion-at-point): New function.
10372 (comint-mode): Use it completion-at-point-functions.
10373 (comint-dynamic-complete): Make it obsolete.
10374 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10375 (comint-c-a-p-replace-by-expanded-history): New function.
10376 (comint-dynamic-complete-functions)
10377 (comint-replace-by-expanded-history): Use it.
10378 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10379 termination strings. Try harder to avoid second try-completion.
10380 (completion-in-region-mode-map): Disable bindings that don't work yet.
10381
10382 * comint.el: Use lexical-binding. Require CL.
10383 (comint-dynamic-complete-functions): Use comint-filename-completion.
10384 (comint-completion-addsuffix): Tweak custom type.
10385 (comint-filename-completion, comint--common-suffix)
10386 (comint--common-quoted-suffix, comint--table-subvert)
10387 (comint--complete-file-name-data): New functions.
10388 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10389 (comint-dynamic-list-filename-completions): Use them.
10390 (comint-dynamic-simple-complete): Make obsolete.
10391
10392 * minibuffer.el (completion-in-region-mode):
10393 Keep completion-in-region-mode--predicate global.
10394 (completion-in-region--postch):
10395 Assume completion-in-region-mode--predicate is not null.
10396
10397 * progmodes/flymake.el (flymake-start-syntax-check-process):
10398 Obey `dir'. Simplify.
10399
10400 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10401 we're in VC after all.
10402
104032011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10404
10405 * vc/vc.el (vc-diff-build-argument-list-internal)
10406 (vc-version-ediff, vc-ediff): New commands.
10407 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10408
104092011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10410
10411 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10412 add sanity check.
10413
10414 * obsolete/erc-hecomplete.el: Make obsolete.
10415 * obsolete/: Standardize obsolescence info in the header.
10416
104172011-04-20 Glenn Morris <rgm@gnu.org>
10418
10419 * calendar/solar.el (solar-horizontal-coordinates):
10420 Use the longitude argument rather than `calendar-longitude'.
10421 (solar-date-next-longitude): Remove unused locals.
10422
104232011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10424
10425 * whitespace.el: New version 13.2.1.
10426
104272011-04-20 felix <EmacsWiki> (tiny change)
10428
10429 * whitespace.el (global-whitespace-mode): Keep highlight when
10430 switching between major modes on a file.
10431
104322011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10433
10434 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10435 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10436 multi-line comments as well.
10437
104382011-04-19 Juanma Barranquero <lekktu@gmail.com>
10439
10440 Lexical-binding cleanup.
10441
10442 * arc-mode.el (archive-mode-revert):
10443 * cmuscheme.el (scheme-interactively-start-process):
10444 * custom.el (custom-initialize-delay):
10445 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10446 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10447 * emacs-lock.el (emacs-lock-clear-sentinel):
10448 * ezimage.el (defezimage):
10449 * follow.el (follow-avoid-tail-recenter):
10450 * fringe.el (set-fringe-mode-1):
10451 * generic-x.el (bat-generic-mode-compile):
10452 * help-mode.el (help-info-variable, help-do-xref)
10453 (help-mode-revert-buffer):
10454 * help.el (view-emacs-todo):
10455 * iswitchb.el (iswitchb-completion-help):
10456 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10457 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10458 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10459 * locate.el (locate-update):
10460 * longlines.el (longlines-encode-region)
10461 (longlines-after-change-function):
10462 * outline.el (outline-isearch-open-invisible):
10463 * ps-def.el (declare-function, charset-dimension, char-width)
10464 (encode-char):
10465 * ps-mule.el (ps-mule-plot-string):
10466 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10467 (recentf-edit-list-select, recentf-edit-list-validate)
10468 (recentf-open-files-action):
10469 * rect.el (delete-whitespace-rectangle-line)
10470 (rectangle-number-line-callback):
10471 * register.el (window-configuration-to-register)
10472 (frame-configuration-to-register):
10473 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10474 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10475 (xselect-convert-to-targets, xselect-convert-to-delete)
10476 (xselect-convert-to-filename, xselect-convert-to-charpos)
10477 (xselect-convert-to-lineno, xselect-convert-to-colno)
10478 (xselect-convert-to-os, xselect-convert-to-host)
10479 (xselect-convert-to-user, xselect-convert-to-class)
10480 (xselect-convert-to-name, xselect-convert-to-integer)
10481 (xselect-convert-to-atom, xselect-convert-to-identity):
10482 * subr.el (declare, ignore, process-kill-without-query)
10483 (text-clone-maintain):
10484 * terminal.el (te-get-char, te-tic-sentinel):
10485 * tool-bar.el (tool-bar-make-keymap):
10486 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10487 * type-break.el (type-break-mode, type-break-noninteractive-query):
10488 * view.el (View-back-to-mark):
10489 * wid-browse.el (widget-browse-action, widget-browse-widget)
10490 (widget-browse-widgets, widget-browse-sexp):
10491 * widget.el (define-widget-keywords):
10492 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10493 Mark unused parameters.
10494
10495 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10496 (align-areas): Remove unused variable `look'.
10497 (align-region): Remove unused variables `real-end' and `pos-list'.
10498
10499 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10500
10501 * bindings.el (mode-line-modified, mode-line-remote):
10502 Mark unused parameters.
10503 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10504
10505 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10506 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10507
10508 * comint.el (comint-history-isearch-pop-state)
10509 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10510 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10511 (comint-substitute-in-file-name): Doc fix.
10512
10513 * completion.el (cmpl-statistics-block): Mark unused parameter.
10514 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10515 (save-completions-to-file, load-completions-from-file):
10516 Remove unused local variable `e'.
10517
10518 * composite.el (compose-chars): Remove unused variable `len'.
10519 (lgstring-insert-glyph): Remove unused variable `g'.
10520 (compose-glyph-string): Remove unused variables `ascent',
10521 `descent', `lbearing' and `rbearing'.
10522 (compose-glyph-string-relative): Remove unused variables
10523 `lbearing', `rbearing' and `wadjust'.
10524 (compose-gstring-for-graphic): Remove unused variables `header',
10525 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10526 (compose-gstring-for-terminal): Remove unused variables `header'
10527 and `nchars'. Use `let', not `let*'.
10528
10529 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10530 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10531 (Custom-buffer-done, custom-buffer-create-internal)
10532 (custom-browse-visibility-action, custom-browse-group-tag-action)
10533 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10534 (widget-magic-mouse-down-action, custom-toggle-parent)
10535 (custom-add-parent-links, custom-toggle-hide-variable)
10536 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10537 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10538 (custom-face-menu-create, custom-variable-menu-create, get)
10539 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10540 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10541 (customize-apropos): Remove unused variable `tests'.
10542 (custom-group-value-create): Remove unused variable `hidden-p'.
10543 (sort-fold-case): Declare.
10544
10545 * cus-theme.el (custom-reset-standard-faces-list)
10546 (custom-reset-standard-variables-list): Declare.
10547 (customize-create-theme, custom-theme-revert, custom-theme-write)
10548 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10549 Mark unused parameters.
10550
10551 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10552
10553 * delim-col.el (delimit-columns-max): Move defvar before first use.
10554
10555 * descr-text.el (describe-char-categories): Don't quote `lambda'.
10556 (describe-char): Don't quote `lambda'. Mark unused parameter.
10557
10558 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10559 (auto-insert): Declare.
10560 (desktop-restore-file-buffer): Rename desktop-* parameters;
10561 mark unused ones.
10562 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10563 (desktop-buffer): Rename desktop-* parameters.
10564
10565 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10566 (dframe-reposition-frame-xemacs, dframe-help-echo)
10567 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10568 Mark unused parameters.
10569
10570 * dired-aux.el (backup-extract-version-start, overwrite-query)
10571 (overwrite-backup-query, rename-regexp-query)
10572 (rename-non-directory-query): Declare.
10573 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10574 (dired-add-entry): Remove unused variable `orig-file-name'.
10575 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10576 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10577 `dired-copy-preserve-time' directly.
10578 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10579 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10580
10581 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10582 (dired-virtual-revert, dired-make-relative-symlink):
10583 Mark unused parameters.
10584 (manual-program): Declare.
10585 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10586 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10587 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10588
10589 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10590
10591 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10592
10593 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10594 Declare.
10595
10596 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10597
10598 * electric.el (Electric-command-loop): Rename parameter
10599 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10600
10601 * expand.el (expand-in-literal): Remove unused variable `here'.
10602
10603 * facemenu.el (facemenu-add-new-color):
10604 Remove unused variable `docstring'.
10605
10606 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10607 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10608 (face-attr-construct): Mark unused parameter. Doc fix.
10609 (read-color): Remove unused variable `hex-string'.
10610
10611 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10612 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10613 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10614 (display-buffer-other-frame): Remove unused variable `old-window'.
10615 (kill-buffer-hook): Declare.
10616 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10617 Mark unused parameters.
10618 (after-find-file): Pass 1 to `auto-save-mode', not t.
10619
10620 * files-x.el (auto-insert): Declare.
10621 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10622
10623 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10624 variable `buf'. Mark unused parameter.
10625 (find-lisp-insert-directory): Mark unused parameter.
10626
10627 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10628 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10629 (format-common-tail): Remove, unused.
10630 (format-deannotate-region): Remove unused variable `loc'.
10631 (format-annotate-region): Remove unused variable `p'.
10632 (format-annotate-single-property-change): Remove unused variables
10633 `default' and `tail'.
10634
10635 * forms.el (read-file-filter): Declare.
10636 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10637
10638 * frame.el (frame-creation-function-alist): Mark unused parameter.
10639 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10640
10641 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10642 Remove unused parameters.
10643 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10644 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10645
10646 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10647 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10648 (hfy-prepare-tag-map): Mark unused parameters.
10649 (htmlfontify-buffer): Use `called-interactively-p'.
10650
10651 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10652 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10653 (ibuffer-do-occur): Mark unused parameters.
10654 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10655 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10656
10657 * ibuffer.el: Don't quote `lambda'.
10658 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10659 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10660 Mark unused parameters.
10661
10662 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10663 (ido-completing-read): Mark unused parameters.
10664 (ido-copy-current-word): Mark unused parameters;
10665 remove unused variable `name'.
10666 (ido-sort-merged-list): Remove unused parameter `dirs'.
10667
10668 * ielm.el (ielm-input-sender): Mark unused parameter.
10669 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10670 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10671 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10672 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10673 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10674
10675 * image-dired.el (image-dired-display-thumbs): Remove unused
10676 variables `curr-file' and `count'.
10677 (image-dired-remove-tag): Remove unused variable `start'.
10678 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10679 variable `curr-file'
10680 (image-dired-rotate-original): Remove unused variable `temp-file'.
10681 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10682 Remove unused variable `file'.
10683 (image-dired-gallery-generate): Remove unused variable `curr'.
10684 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10685
10686 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10687
10688 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10689
10690 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10691
10692 * isearch.el (minibuffer-history-symbol): Declare.
10693 (isearch-edit-string): Remove unused variable `err'.
10694 (isearch-message-prefix, isearch-message-suffix):
10695 Mark unused parameters.
10696
10697 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10698
10699 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10700
10701 * makesum.el (double-column): Remove unused variable `cnt'.
10702
10703 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10704 (ido-ignore-item-temp-list): Declare.
10705
10706 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10707 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10708 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10709 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10710 `mouse-col-delta'.
10711
10712 * mouse-sel.el (mouse-extend-internal):
10713 Remove unused variable `orig-window-frame'.
10714
10715 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10716 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10717 Move declarations before first use.
10718 (pcomplete-opt): Mark unused parameters; doc fix.
10719
10720 * proced.el (proced-revert): Mark unused parameter.
10721 (proced-send-signal): Remove unused variable `err'.
10722
10723 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10724 Rename parameter PREFIX-ARG to ARG.
10725 (ps-basic-plot-string, ps-basic-plot-whitespace):
10726 Mark unused parameters.
10727
10728 * replace.el (replace-count): Define.
10729 (occur-revert-function): Mark unused parameters.
10730 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10731 (isearch-case-fold-search, isearch-string): Declare.
10732 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10733 bind `case-fold-search'. Remove unused variables `beg' and `end',
10734 and simplify.
10735 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10736 COUNT and bind `replace-count'.
10737 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10738 to COUNT.
10739
10740 * savehist.el (print-readably, print-string-length): Declare.
10741
10742 * shadowfile.el (shadow-expand-cluster-in-file-name):
10743 Remove unused variable `cluster'.
10744 (shadow-copy-file): Remove unused variable `i'.
10745 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10746 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10747 (shadow-define-literal-group, shadow-define-regexp-group)
10748 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10749
10750 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10751 (shell): Use `called-interactively-p'.
10752 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10753
10754 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10755 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10756 (delete-backward-char): Remove unused variable `ocol'.
10757 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10758 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10759 (event-apply-hyper-modifier, event-apply-shift-modifier)
10760 (event-apply-control-modifier, event-apply-meta-modifier):
10761 Mark unused parameters.
10762 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10763 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10764
10765 * speedbar.el (speedbar-ignored-directory-expressions)
10766 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10767 (speedbar-find-file, speedbar-dir-follow)
10768 (speedbar-directory-buttons-follow, speedbar-tag-find)
10769 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10770 (speedbar-buffers-line-directory, speedbar-buffer-click):
10771 Mark unused parameters.
10772 (speedbar-tag-file): Remove unused variable `mode'.
10773 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10774
10775 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10776
10777 * talk.el (talk): Remove unused variable `display'.
10778
10779 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10780 (tar-write-region-annotate): Mark unused parameter.
10781
10782 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10783 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10784 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10785 warning by another.
10786
10787 * time-stamp.el (time-stamp-string-preprocess):
10788 Remove unused variable `require-padding'.
10789
10790 * tree-widget.el (widget-glyph-enable): Declare.
10791 (tree-widget-action): Mark unused parameter.
10792
10793 * w32-fns.el (x-get-selection): Mark unused parameter.
10794 (autoload-make-program, generated-autoload-file): Declare.
10795
10796 * wdired.el (wdired-revert): Mark unused parameters.
10797 (wdired-xcase-word): Remove unused variable `err'.
10798
10799 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10800 (whitespace-help-scroll): Remove unused variable `data-help'.
10801
10802 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10803 (widget-image-insert, widget-after-change, default)
10804 (widget-default-format-handler, widget-default-notify)
10805 (widget-default-prompt-value, widget-info-link-action)
10806 (widget-url-link-action, widget-function-link-action)
10807 (widget-variable-link-action, widget-file-link-action)
10808 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10809 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10810 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10811 (widget-insert-button-action, widget-delete-button-action, visibility)
10812 (widget-documentation-link-action, widget-documentation-string-action)
10813 (widget-const-prompt-value, widget-regexp-match, symbol)
10814 (widget-coding-system-prompt-value)
10815 (widget-key-sequence-value-to-external, sexp)
10816 (widget-sexp-value-to-internal, character, vector, cons)
10817 (widget-choice-prompt-value, widget-boolean-prompt-value)
10818 (widget-color--choose-action): Mark unused parameters.
10819 (widget-item-match-inline, widget-choice-match-inline)
10820 (widget-checklist-match, widget-checklist-match-inline)
10821 (widget-group-match): Rename parameter VALUES to VALS.
10822 (widget-field-value-set): Remove unused variable `size'.
10823 (widget-color-action): Remove unused variables `value' and `start'.
10824
10825 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
10826 variable `dir'. Doc fix.
10827 (windmove-find-other-window): Don't pass it.
10828
10829 * window.el (count-windows): Mark unused parameter.
10830 (bw-adjust-window): Remove unused variable `err'.
10831
10832 * woman.el (woman-file-name): Remove unused variable `default'.
10833 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10834 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10835 (global-font-lock-mode): Declare.
10836 (woman-decode-region): Mark unused parameter.
10837 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10838
10839 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10840 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10841 (x-dnd-handle-moz-url): Remove unused variable `title'.
10842 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10843
10844 * xml.el (xml-parse-tag, xml-parse-attlist):
10845 Remove unused variable `pos'.
10846
108472011-04-19 Glenn Morris <rgm@gnu.org>
10848
10849 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10850 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10851 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10852 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10853 * calendar/cal-html.el (cal-html-insert-minical):
10854 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10855 (calendar-mark-date-pattern):
10856 Prefix "unused" locals.
10857
10858 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10859 optional argument `style'.
10860
10861 * calendar/appt.el (appt-make-list):
10862 * calendar/cal-china.el (calendar-chinese-date-string):
10863 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10864 (diary-hebrew-yahrzeit):
10865 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10866 * calendar/calendar.el (calendar-generate-window):
10867 * calendar/time-date.el (time-to-days):
10868 Remove unused local variables.
10869
108702011-04-18 Chong Yidong <cyd@stupidchicken.com>
10871
10872 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10873 glyphless-char-display table.
10874 (tabulated-list-glyphless-char-display): New var.
10875
108762011-04-18 Sam Steingold <sds@gnu.org>
10877
10878 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10879 to acknowledgments.
10880
108812011-04-17 Glenn Morris <rgm@gnu.org>
10882
10883 * calendar/diary-lib.el (diary-sexp-entry):
10884 * calendar/holidays.el (holiday-sexp):
10885 Set debug-on-error rather than the removed stack-trace-on-error.
10886
108872011-04-16 Glenn Morris <rgm@gnu.org>
10888
10889 * progmodes/f90.el: Use lexical-binding.
10890 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10891
108922011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10893
10894 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10895 (mail-mode): Setup mailalias completion here instead.
10896 * mail/mailalias.el: Use lexical-binding.
10897 (pattern, mailalias-done): Declare dynamic.
10898 (mail-completion-at-point-function): New function, from mail-complete.
10899 (mail-complete): Use it.
10900 (mail-completion-expand): New function.
10901 (mail-get-names): Use it.
10902 (mail-directory, mail-directory-process, mail-directory-stream):
10903 Don't use `pattern' for lexically bound arg.
10904
10905 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10906
10907 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10908 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10909 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10910
10911 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10912 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10913 (byte-interactive-p): Define them again, for use when inlining
10914 old code.
10915
109162011-04-15 Juanma Barranquero <lekktu@gmail.com>
10917
10918 * loadup.el: Use `string-to-number', not `string-to-int'.
10919
109202011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10921
10922 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10923 gud-gdb-complete-command.
10924 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10925 (gud-gdb-completion-at-point): New function.
10926 (gud-gdb-completions): Remove.
10927
109282011-04-14 Michael Albinus <michael.albinus@gmx.de>
10929
10930 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10931 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10932 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10933 whether `executable-find' is bound.
10934
10935 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10936
109372011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10938
10939 * minibuffer.el (completion-in-region-mode-predicate)
10940 (completion-in-region-mode--predicate): New vars.
10941 (completion-in-region, completion-in-region--postch)
10942 (completion-in-region-mode): Use them.
10943 (completion--capf-wrapper): Also return the hook function.
10944 (completion-at-point, completion-help-at-point):
10945 Adjust and provide a predicate.
10946
10947 Preserve arg names for advice of subr and lexical functions (bug#8457).
10948 * help-fns.el (help-function-arglist): Consolidate the subr and
10949 new-byte-code cases. Add argument `preserve-names' to extract names
10950 from the docstring when needed.
10951 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10952 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10953 (ad-arglist): Use help-function-arglist's new arg.
10954 (ad-definition-type): Use cond.
10955
109562011-04-13 Juanma Barranquero <lekktu@gmail.com>
10957
10958 * autorevert.el (auto-revert-handler):
10959 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10960 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10961 Don't quote lambda.
10962
10963 * image-mode.el (image-transform-set-scale):
10964 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10965
109662011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10967
10968 * net/network-stream.el (network-stream-open-starttls): Only do
10969 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
10970 Upgrades via gnutls-cli are too slow to be done opportunistically.
10971
109722011-04-12 Juanma Barranquero <lekktu@gmail.com>
10973
10974 * dframe.el (dframe-current-frame): Remove spurious quote.
10975
109762011-04-12 Glenn Morris <rgm@gnu.org>
10977
10978 * calendar/cal-tex.el (cal-tex-end-document):
10979 Try to automatically use latin1 input if needed.
10980
10981 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10982 Don't try to cons a mark onto an empty element.
10983
109842011-04-11 Leo Liu <sdl.web@gmail.com>
10985
10986 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10987 buffers.
10988 (ido-kill-buffer-at-head): Support killing virtual buffers.
10989
109902011-04-10 Chong Yidong <cyd@stupidchicken.com>
10991
10992 * minibuffer.el (completion-show-inline-help): New var.
10993 (completion--do-completion, minibuffer-complete)
10994 (minibuffer-force-complete, minibuffer-complete-word):
10995 Inhibit minibuffer messages if completion-show-inline-help is nil.
10996
10997 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10998 to avoid interference from inline help (Bug#5849).
10999
110002011-04-10 Leo Liu <sdl.web@gmail.com>
11001
11002 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11003 Fix typo.
11004
110052011-04-09 Chong Yidong <cyd@stupidchicken.com>
11006
11007 * image-mode.el (image-toggle-display-image): Signal an error if
11008 not in Image mode.
11009 (image-transform-mode, image-transform-resize)
11010 (image-transform-set-rotation): Doc fix.
11011 (image-transform-set-resize): Delete.
11012 (image-transform-set-scale, image-transform-fit-to-height)
11013 (image-transform-fit-to-width): Handle image-toggle-display-image
11014 and image-transform-resize directly.
11015
110162011-04-08 Sho Nakatani <lay.sakura@gmail.com>
11017
11018 * doc-view.el (doc-view-fit-width-to-window)
11019 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11020 New functions for fitting the shown image to the Emacs window size.
11021 (doc-view-mode-map): Add bindings for the new functions.
11022
110232011-04-08 Juanma Barranquero <lekktu@gmail.com>
11024
11025 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11026 Fix typo in docstring.
11027
110282011-04-08 Eli Zaretskii <eliz@gnu.org>
11029
11030 * files.el (file-size-human-readable): Produce one digit after
11031 decimal, like "ls -lh" does.
11032
11033 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11034 the file size representation.
11035
11036 * simple.el (list-processes): If async subprocesses are not
11037 available, error out with a clear error message.
11038
110392011-04-08 Chong Yidong <cyd@stupidchicken.com>
11040
11041 * help.el (help-form-show): New function, to be called from C.
11042 Put help-form output in a buffer named differently than *Help*.
11043
110442011-04-08 Eli Zaretskii <eliz@gnu.org>
11045
11046 * files.el (file-size-human-readable): New function.
11047
11048 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11049 computing the representation inline. Don't require `cl'.
11050
110512011-04-08 Glenn Morris <rgm@gnu.org>
11052
11053 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11054
11055 * net/browse-url.el (browse-url-firefox):
11056 Test system-type, not system-configuration.
11057
11058 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11059 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11060 Use log-edit-empty-buffer-p. (Bug#7598)
11061
11062 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11063 (rlogin-mode-map): Initialize in the defvar.
11064 (rlogin): Use ignore-errors.
11065
11066 * replace.el (occur-mode-map): Some fixes for menu items.
11067
110682011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11069
11070 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11071
110722011-04-06 Chong Yidong <cyd@stupidchicken.com>
11073
11074 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11075 issuing unused warnings.
11076
11077 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11078 macro directly.
11079
11080 * simple.el: Lisp reimplement of list-processes. Based on an
11081 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11082 (process-menu-mode): New major mode.
11083 (list-processes--refresh, list-processes):
11084 (process-menu-visit-buffer): New functions.
11085
11086 * files.el (save-buffers-kill-emacs): Don't assume any return
11087 value of list-processes, which is undocumented anyway.
11088
110892011-04-06 Chong Yidong <cyd@stupidchicken.com>
11090
11091 * emacs-lisp/tabulated-list.el: New file.
11092
11093 * emacs-lisp/package.el: Use Tabulated List mode.
11094 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11095 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11096 table format using Tabulated List mode variables.
11097 (package--push): New macro, replacing package-list-maybe-add.
11098 (package-menu--generate): Use package--push. Renamed from
11099 package--generate-package-list.
11100 (package-menu-refresh, list-packages): Use it.
11101 (package-menu--print-info): Rename from package-print-package.
11102 Return insertion data instead of inserting it directly.
11103 (package-menu-describe-package, package-menu-execute):
11104 Use tabulated-list-get-id.
11105 (package-menu-mark-delete, package-menu-mark-install)
11106 (package-menu-mark-unmark, package-menu-backup-unmark)
11107 (package-menu-mark-obsolete-for-deletion):
11108 Use tabulated-list-put-tag.
11109 (package--list-packages, package-menu-revert)
11110 (package-menu-get-package, package-menu-get-version)
11111 (package-menu-sort-by-column): Functions deleted.
11112 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11113 (package-menu--status-predicate, package-menu--version-predicate)
11114 (package-menu--name-predicate)
11115 (package-menu--description-predicate): Handle arguments in the
11116 Tabulated List format.
11117 (package-list-packages-no-fetch): Call list-packages.
11118
111192011-04-06 Juanma Barranquero <lekktu@gmail.com>
11120
11121 * files.el (after-find-file-from-revert-buffer): Remove variable.
11122 (after-find-file): Don't bind it.
11123 (revert-buffer-in-progress-p): New variable.
11124 (revert-buffer): Bind it.
11125 Pass nil for `after-find-file-from-revert-buffer'.
11126
11127 * saveplace.el (save-place-find-file-hook): Use new variable
11128 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11129
111302011-04-06 Glenn Morris <rgm@gnu.org>
11131
11132 * Makefile.in (AUTOGEN_VCS): New variable.
11133 (autoloads): Use $AUTOGEN_VCS.
11134
11135 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11136 * calendar/calendar.el (calendar-mode-map):
11137 Check for toolkit scroll bars. (Bug#8305)
11138
111392011-04-05 Chong Yidong <cyd@stupidchicken.com>
11140
11141 * minibuffer.el (completion-in-region--postch)
11142 (completion-in-region-mode): Remove unnecessary messages.
11143
111442011-04-05 Juanma Barranquero <lekktu@gmail.com>
11145
11146 * font-lock.el (font-lock-refresh-defaults):
11147 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11148 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11149
11150 * info.el (Info-directory-list, Info-read-node-name-2)
11151 (Info-split-parameter-string): Doc fixes.
11152 (Info-virtual-nodes): Reflow docstring.
11153 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11154 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11155 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11156 Fix typos in docstrings.
11157 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11158 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11159 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11160 (Info-restore-desktop-buffer): Mark unused parameters.
11161 (Info-directory-find-file, Info-directory-find-node)
11162 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11163 (Info-virtual-index-find-node, Info-apropos-find-file)
11164 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11165 Mark unused parameters; fix typos in docstrings.
11166 (Info-virtual-index): Remove unused local variable `nodename'.
11167
111682011-04-05 Deniz Dogan <deniz@dogan.se>
11169
11170 * net/rcirc.el: Update my e-mail address.
11171 (rcirc-mode-map): Remove M-o binding.
11172
111732011-04-05 Chong Yidong <cyd@stupidchicken.com>
11174
11175 * startup.el (command-line): Save the cursor's theme-face
11176 directly, instead of using face-override-spec.
11177
11178 * custom.el (load-theme): Minor optimization in assigning faces.
11179
111802011-04-04 Juanma Barranquero <lekktu@gmail.com>
11181
11182 * help-fns.el (describe-variable): Complete all variables having
11183 documentation, including keywords.
11184 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11185
111862011-04-04 Juanma Barranquero <lekktu@gmail.com>
11187
11188 Convert to lexical-binding.
11189
11190 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11191 (bs--get-marked-string, bs--get-modified-string)
11192 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11193 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11194 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11195
11196 * ehelp.el (electric-help-execute-extended)
11197 (electric-help-ctrl-x-prefix):
11198 * hexl.el (hexl-revert-buffer-function):
11199 * linum.el (linum-after-change, linum-after-scroll):
11200 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11201
11202 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11203
112042011-04-04 Daiki Ueno <ueno@unixuser.org>
11205
11206 * epa-dired.el:
11207 * epa-mail.el:
11208 * epa-hook.el:
11209 * epa-file.el:
11210 * epa.el:
11211 * epg.el: Use lexical binding.
11212
112132011-04-03 Chong Yidong <cyd@stupidchicken.com>
11214
11215 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11216
11217 * textmodes/flyspell.el (flyspell-word): Recognize default
11218 dictionary case for flyspell-mark-duplications-exceptions.
11219 Use regexp matching for languages.
11220 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11221 default dictionary (Bug#7926).
11222
112232011-04-02 Chong Yidong <cyd@stupidchicken.com>
11224
11225 * emacs-lisp/package.el (package--with-work-buffer):
11226 Recognize https URLs.
11227
11228 * net/network-stream.el: Move from gnus/proto-stream.el.
11229 Change prefix to network-stream throughout.
11230 (open-protocol-stream): Merge into open-network-stream, leaving
11231 open-protocol-stream as an alias. Handle nil BUFFER args.
11232
11233 * subr.el (open-network-stream): Move to net/network-stream.el.
11234
112352011-04-02 Glenn Morris <rgm@gnu.org>
11236
11237 * find-dired.el (find-exec-terminator): New option.
11238 (find-ls-option): Test for -ls support.
11239 (find-ls-subdir-switches): Test for -b in find-ls-option.
11240 (find-dired, find-grep-dired): Doc fixes.
11241 (find-dired): Use find-exec-terminator.
11242
11243 * find-dired.el (find-ls-option, find-ls-subdir-switches)
11244 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11245 (find-name-arg): Remove purecopy.
11246
11247 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11248 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11249 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11250 accordingly. Don't add the null-device if not needed.
11251
11252 * files.el (save-some-buffers): Doc fix.
11253
112542011-04-02 Eli Zaretskii <eliz@gnu.org>
11255
11256 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11257
112582011-04-01 Juanma Barranquero <lekktu@gmail.com>
11259
11260 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11261 Use `dolist' rather than `mapcar'.
11262
112632011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11264
11265 Add lexical binding.
11266
11267 * subr.el (apply-partially): Use new closures rather than CL.
11268 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11269 (dolist, dotimes): Use slightly different expansion for lexical code.
11270 (functionp): Move to C.
11271 (letrec): New macro.
11272 (with-wrapper-hook): Use it and apply-partially instead of CL.
11273 (eval-after-load): Preserve lexical-binding.
11274 (save-window-excursion, with-output-to-temp-buffer): Turn them
11275 into macros.
11276
11277 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11278
11279 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11280 than the arglist.
11281 (help-add-fundoc-usage): Don't add `Not documented'.
11282 (help-function-arglist): Handle closures, subroutines, and new
11283 byte-code-functions.
11284 (help-make-usage): Remove leading underscores.
11285 (describe-function-1): Handle closures.
11286 (describe-variable): Use special-variable-p for completion.
11287
11288 * files.el (lexical-binding): Declare safe.
11289
11290 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11291 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11292 (pcase): Add `let' pattern.
11293 Change memoization so it actually works.
11294 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11295 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11296 <let>: New case.
11297
11298 * emacs-lisp/macroexp.el: Use lexical binding.
11299 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11300 Don't convert ' to #' without checking that it's indeed quoting
11301 a lambda.
11302
11303 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
11304 Use eval-sexp-add-defvars.
11305 (eval-sexp-add-defvars): New fun.
11306
11307 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11308
11309 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11310 Don't autoload.
11311 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11312 than the internal `byte-compile-lambda'.
11313 (defmethod): Don't hide code under quotes.
11314 (eieio-defmethod): New `code' argument.
11315
11316 * emacs-lisp/eieio-comp.el: Remove.
11317
11318 * emacs-lisp/edebug.el (edebug-eval-defun)
11319 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11320 (edebug-toggle): Avoid `eval'.
11321
11322 * emacs-lisp/disass.el (disassemble-internal): Handle new
11323 `closure' objects.
11324 (disassemble-1): Handle new byte codes.
11325
11326 * emacs-lisp/cl.el (pushnew): Silence warning.
11327
11328 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11329 (cl-byte-compile-throw): Remove.
11330 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11331
11332 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11333 closures.
11334
11335 * emacs-lisp/cconv.el: New file.
11336
11337 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11338 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11339 (byte-compile-initial-macro-environment):
11340 Handle declare-function here.
11341 (byte-compile--lexical-environment): New var.
11342 (byte-stack-ref, byte-stack-set, byte-discardN)
11343 (byte-discardN-preserve-tos): New lap codes.
11344 (byte-interactive-p): Don't use any more.
11345 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11346 New macros.
11347 (byte-compile-lapcode): Use them and handle new lap codes.
11348 (byte-compile-obsolete): Remove.
11349 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11350 (byte-compile-arglist-warn): Check late def of inlinable funs.
11351 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11352 since they should have been expanded by now.
11353 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11354 (byte-compile-from-buffer): Remove unused second arg.
11355 (byte-compile-preprocess): New function.
11356 (byte-compile-toplevel-file-form): New function to distinguish
11357 file-form calls from outside from file-form calls from hunk-handlers.
11358 (byte-compile-file-form): Simplify.
11359 (byte-compile-file-form-defsubst): Remove.
11360 (byte-compile-file-form-defmumble): Simplify now that
11361 byte-compile-lambda always returns a byte-code-function.
11362 (byte-compile): Preprocess.
11363 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11364 Remove, not used any more.
11365 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11366 (byte-compile-make-args-desc): New funs.
11367 (byte-compile-lambda): Handle lexical functions. Always return
11368 a byte-code-function.
11369 (byte-compile-reserved-constants): New var, to make up room for
11370 closed-over variables.
11371 (byte-compile-constants-vector): Obey it.
11372 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11373 (byte-compile-macroexpand-declare-function): New function.
11374 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11375 byte-code-functions.
11376 (byte-compile-form): Check obsolescence here.
11377 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11378 (byte-compile-variable-ref): Remove.
11379 (byte-compile-dynamic-variable-op): New fun.
11380 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11381 (byte-compile-variable-set): New funs.
11382 (byte-compile-discard): Add 2 args.
11383 (byte-compile-stack-ref, byte-compile-stack-set)
11384 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11385 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11386 macroexpand-all instead.
11387 (byte-compile-quote-form): Remove.
11388 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11389 (byte-compile-bind, byte-compile-unbind): New funs.
11390 (byte-compile-let): Handle let* and lexical binding.
11391 (byte-compile-let*): Remove.
11392 (byte-compile-catch, byte-compile-unwind-protect)
11393 (byte-compile-track-mouse, byte-compile-condition-case):
11394 Handle a new :fun-body form, used for lexical scoping.
11395 (byte-compile-save-window-excursion)
11396 (byte-compile-with-output-to-temp-buffer): Remove.
11397 (byte-compile-defun): Simplify.
11398 (byte-compile-stack-adjustment): New fun.
11399 (byte-compile-out): Use it.
11400 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11401
11402 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11403 handler any more.
11404
11405 * emacs-lisp/byte-opt.el: Use lexical binding.
11406 (byte-inline-lapcode): Remove (to bytecomp).
11407 (byte-compile-inline-expand): Pay attention to inlining to/from
11408 lexically bound code.
11409 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11410 any more.
11411 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11412 any more and don't call compiler-macros.
11413 (byte-compile-splice-in-already-compiled-code): Remove.
11414 (byte-code): Don't inline any more.
11415 (disassemble-offset): Receive `bytes' as argument rather than via
11416 dynamic scoping.
11417 (byte-compile-tag-number): Declare before first use.
11418 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11419 `return' even if make-spliceable.
11420 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11421 obsolete interactive-p.
11422 (byte-optimize-lapcode): Optimize new lap-codes.
11423 Don't trip up on new form of `byte-constant' lap code.
11424
11425 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11426
11427 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11428
11429 * custom.el (custom-initialize-default, custom-declare-variable):
11430 Use `defvar'.
11431
11432 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11433 New variables.
11434 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11435 (COMPILE_FIRST): Add macroexp and cconv.
11436 * makefile.w32-in: Mirror changes in Makefile.in.
11437
11438 * vc/cvs-status.el:
11439 * vc/diff-mode.el:
11440 * vc/log-edit.el:
11441 * vc/log-view.el:
11442 * vc/smerge-mode.el:
11443 * textmodes/bibtex-style.el:
11444 * textmodes/css.el:
11445 * startup.el:
11446 * uniquify.el:
11447 * minibuffer.el:
11448 * newcomment.el:
11449 * reveal.el:
11450 * server.el:
11451 * mpc.el:
11452 * emacs-lisp/smie.el:
11453 * doc-view.el:
11454 * dired.el:
11455 * abbrev.el: Use lexical binding.
11456
114572011-04-01 Eli Zaretskii <eliz@gnu.org>
11458
11459 * info.el (info-display-manual): New function.
11460
114612011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11462
11463 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11464
114652011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11466
11467 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11468 an entry for that server in rcirc-authinfo. (Bug#8385)
11469
114702011-03-31 Glenn Morris <rgm@gnu.org>
11471
11472 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11473
11474 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11475
114762011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11477
11478 * progmodes/python.el (python-default-interpreter)
11479 (python-python-command-args, python-jython-command-args)
11480 (python-which-shell, python-which-args, python-which-bufname)
11481 (python-file-queue, python-comint-output-filter-function)
11482 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11483 variables and functions.
11484
114852011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11486
11487 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11488 (completion-in-region-mode): New minor mode.
11489 (completion-in-region): Use it.
11490 (completion-in-region--data, completion-in-region-mode-map): New vars.
11491 (completion-in-region--postch): New function.
11492 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11493 New vars.
11494 (completion--capf-wrapper): New function.
11495 (completion-at-point): Use it to track well-behavedness of
11496 hook functions.
11497 (completion-help-at-point): New command.
11498
114992011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11500
11501 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11502 syntax class to search for whitespace on a single line
11503 (Message-ID: <4D938140.4030905@redhat.com>).
11504
115052011-03-30 Leo Liu <sdl.web@gmail.com>
11506
11507 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11508 New commands.
11509 (edit-abbrevs-map): Bind them here.
11510 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11511
115122011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11513
11514 * allout.el (allout-hide-by-annotation, allout-flag-region):
11515 Reduce possibility of overlay leakage by making them volatile.
11516
11517 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11518 hash is not shared between buffers. Mode initialization is
11519 responsible for giving it a useful starting value.
11520 (allout-item-span): Reduce possibility of overlay leakage by
11521 making them volatile.
11522 (allout-widgets-count-buttons-in-region): Add diagnostic function
11523 for tracking down button overlay leaks.
11524
115252011-03-29 Leo Liu <sdl.web@gmail.com>
11526
11527 * ido.el (ido-read-internal): Use the default history var
11528 minibuffer-history if no HISTORY is specified.
11529
115302011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11531
11532 * net/imap.el (imap-shell-open, imap-process-connection-type):
11533 Use imap-process-connection-type for 'shell' streams as well as
11534 Kerberos, SSL, other subprocesses.
11535
115362011-03-28 Leo Liu <sdl.web@gmail.com>
11537
11538 * abbrev.el (abbrev-table-empty-p): New function.
11539 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11540 nonempty ones. (Bug#5937)
11541
115422011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11543
11544 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11545
115462011-03-27 Leo Liu <sdl.web@gmail.com>
11547
11548 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11549 for foreground and background colors.
11550 (ansi-color-make-color-map): Adapt.
11551
115522011-03-25 Leo Liu <sdl.web@gmail.com>
11553
11554 * midnight.el (midnight-time-float): Remove. Note it calculates
11555 the microsecond component incorrectly and seconds-to-time does the
11556 same job.
11557 Remove redundant (require 'timer).
11558
11559 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11560 (ido-completions): Remove unused arguments. (Bug#8329)
11561
115622011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11563
11564 * minibuffer.el (completion--flush-all-sorted-completions):
11565 Remove itself from hook.
11566 (completion-at-point): Let the functions perform the completion
11567 immediately and return nil or t.
11568 * comint.el (comint-dynamic-complete-functions): Now identical to
11569 completion-at-point-functions.
11570 (comint-dynamic-list-input-ring): Remove unused var `index'.
11571 (comint--match-partial-filename, comint--unquote&expand-filename):
11572 New funs, split from comint-match-partial-filename.
11573 (comint-dynamic-complete): Use completion-at-point.
11574 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11575
115762011-03-24 Drew Adams <drew.adams@oracle.com>
11577
11578 * thingatpt.el: Support `defun'.
11579
115802011-03-23 Leo Liu <sdl.web@gmail.com>
11581
11582 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11583
11584 * help-mode.el (help-mode-finish): Tweak regexp.
11585
115862011-03-23 Glenn Morris <rgm@gnu.org>
11587
11588 * eshell/esh-opt.el (eshell-eval-using-options):
11589 Do not bind unused local variable `eshell-option-stub'.
11590
11591 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11592
115932011-03-22 Juanma Barranquero <lekktu@gmail.com>
11594
11595 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11596 keymap variable in `with-no-warnings' to avoid a warning when the
11597 keymap has been already `defconst'ed.
11598
115992011-03-22 Leo Liu <sdl.web@gmail.com>
11600
11601 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11602 encode all chars in abbrevs; otherwise use emacs-mule or
11603 utf-8-emacs. (Bug#8308)
11604
116052011-03-22 Juanma Barranquero <lekktu@gmail.com>
11606
11607 * simple.el (backward-delete-char-untabify):
11608 Avoid warning about using `delete-backward-char'.
11609
11610 * image.el (image-type-file-name-regexps): Make it variable.
11611 `imagemagick-register-types' modifies it, and the user may want
11612 to add new extensions for known image types.
11613 (imagemagick-register-types): Throw error if not using ImageMagick.
11614
116152011-03-22 Leo Liu <sdl.web@gmail.com>
11616
11617 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11618 located before rcirc-prompt-end-marker.
11619 (rcirc-complete): Error if point is not after rcirc prompt.
11620 Handle the case when table is nil.
11621 (rcirc-user-authenticated): Define to fix compiler warning.
11622
116232011-03-22 Chong Yidong <cyd@stupidchicken.com>
11624
11625 * custom.el (custom--inhibit-theme-enable): Make it affect only
11626 custom-theme-set-variables and custom-theme-set-faces.
11627 (provide-theme): Ignore custom--inhibit-theme-enable.
11628 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11629 (custom-enabling-themes): Delete variable.
11630 (enable-theme): Accept only loaded themes as arguments.
11631 Ignore the special custom-enabled-themes variable.
11632 (custom-enabled-themes): Forbid themes from setting this.
11633 Eliminate use of custom-enabling-themes.
11634 (custom-push-theme): Quote "changed" custom var entry.
11635
116362011-03-21 Leo Liu <sdl.web@gmail.com>
11637
11638 * ido.el (ido-read-internal): Add ido-selected to history instead
11639 of user input.
11640
116412011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11642
11643 * subr.el (deferred-action-list, deferred-action-function):
11644 Mark obsolete.
11645
116462011-03-21 Leo Liu <sdl.web@gmail.com>
11647
11648 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11649 change on 2011-02-13 (bug#8309).
11650
11651 * minibuffer.el (read-file-name-function): Change default value.
11652 (read-file-name--defaults): Rename from read-file-name-defaults.
11653 (read-file-name-default): Rename from read-file-name.
11654 (read-file-name): Call read-file-name-function.
11655
116562011-03-21 Glenn Morris <rgm@gnu.org>
11657
11658 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11659 Doc fixes.
11660
116612011-03-21 Chong Yidong <cyd@stupidchicken.com>
11662
11663 * cus-theme.el: Add missing provide statement.
11664 (customize-create-theme): Extract theme value correctly.
11665 (custom-theme-visit-theme): Autoload.
11666 (customize-create-theme): Prompt before inserting default faces.
11667
116682011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11669
11670 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11671 units and musical notes.
11672
116732011-03-20 Leo Liu <sdl.web@gmail.com>
11674
11675 * ido.el (ido-read-internal): Use completing-read-default.
11676 (ido-completing-read): Fix compatibility with completing-read.
11677
116782011-03-20 Christian Ohler <ohler@gnu.org>
11679
11680 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11681 (ert-delete-all-tests): Use `called-interactively-p' rather than
11682 `interactive-p'.
11683 (ert--make-xrefs-region): Respect END.
11684
116852011-03-19 Chong Yidong <cyd@stupidchicken.com>
11686
11687 * dired-aux.el (dired-create-directory): Signal an error if the
11688 directory already exists (Bug#8246).
11689
11690 * facemenu.el (list-colors-display): Call list-faces-display
11691 inside with-help-window.
11692 (list-colors-print): Use display property to align the final
11693 column, instead of checking window-width.
11694
116952011-03-19 Eli Zaretskii <eliz@gnu.org>
11696
11697 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
11698 windows-nt systems.
11699 (emerge-protect-metachars): Quote correctly for ms-dos and
11700 windows-nt systems.
11701
117022011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
11703
11704 * info.el (info-initialize): Replace all uses of `:' with
11705 path-separator for compatibility with non-Unix systems.
11706 Cache quoting of path-separator. (Bug#8258)
11707
117082011-03-19 Juanma Barranquero <lekktu@gmail.com>
11709
11710 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11711 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11712 (mouse-avoidance-mode): Fix typos in docstrings.
11713
117142011-03-19 Chong Yidong <cyd@stupidchicken.com>
11715
11716 * startup.el (package-subdirectory-regexp): Move from package.el.
11717 Omit \\` and \\', and let callers add them.
11718
11719 * emacs-lisp/package.el (package-strip-version)
11720 (package-load-all-descriptors): Add \\` and \\' to
11721 package-subdirectory-regexp before using it.
11722 (package-untar-buffer): New arg DIR; ensure that file untars only
11723 into this expected directory. Remove superfluous delete-region.
11724 (package-unpack): Caller changed.
11725 (package-tar-file-info): Use package-subdirectory-regexp.
11726
117272011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11728
11729 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11730 diff-mode-shared-map (bug#8284).
11731 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
11732
117332011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11734
11735 * calendar/time-date.el (format-seconds): Use assoc instead of
11736 assoc-string, since assoc-string doesn't exist in XEmacs.
11737
117382011-03-17 Juanma Barranquero <lekktu@gmail.com>
11739
11740 * custom.el (custom-known-themes): Reflow docstring.
11741 (custom-theme-load-path): Fix typo in docstring.
11742 (load-theme): Fix typo in error message.
11743 (custom-available-themes, custom-variable-theme-value):
11744 Use `let', not `let*'.
11745
117462011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11747
11748 * calc/README: Mention inclusion of musical notes.
11749
11750 * calc/calc-units.el (calc-lu-quant): Rename from
11751 `calc-logunits-quantity'.
11752 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11753 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11754 (calc-db): Rename from `calc-dblevel'.
11755 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11756 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11757 (calc-np): Rename from `calc-nplevel'.
11758 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11759 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11760 (calc-lu-plus): Rename from `calc-logunits-add'.
11761 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11762 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11763 (calc-lu-minus): Rename from `calc-logunits-sub'.
11764 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11765 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11766 (calc-lu-times): Rename from `calc-logunits-mul'.
11767 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11768 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11769 (calc-lu-divide): Rename from `calc-logunits-div'.
11770 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11771 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11772
11773 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11774 functions being autoloaded.
11775
11776 * calc/calc.el (calc-lu-power-reference): Rename from
11777 `calc-logunits-power-reference'.
11778 (calc-lu-field-reference): Rename from
11779 `calc-logunits-field-reference'.
11780
11781 * calc/calc-help.el (calc-l-prefix-help):
11782 Mention musical note functions.
11783
117842011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11785
11786 * minibuffer.el (completion-all-sorted-completions):
11787 Use :completion-cycle-penalty text property if present.
11788
117892011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11790
11791 * allout.el (allout-yank-processing): Adjust for new rebulleting
11792 regime so bullet being yanked is used without prompting the user
11793 for a choice.
11794
117952011-03-16 Juanma Barranquero <lekktu@gmail.com>
11796
11797 * startup.el (command-line): Warn the user that _emacs is deprecated.
11798
117992011-03-16 Juanma Barranquero <lekktu@gmail.com>
11800
11801 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11802 (delphi-verbose, delphi-comment-face, delphi-string-face)
11803 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11804 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11805 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11806 (delphi-new-comment-line, delphi-font-lock-defaults)
11807 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11808 Fix typos in docstrings.
11809
118102011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11811
11812 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
11813 Invert the roles of character and string values for INSTEAD, so a
11814 string is used for the more common case of a defaulting prompt.
11815
118162011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11817
11818 * progmodes/ruby-mode.el (ruby-backward-sexp):
11819 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11820 * play/gamegrid.el (gamegrid-make-face):
11821 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11822 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11823 * notifications.el (notifications-notify):
11824 * net/xesam.el (xesam-search-engines):
11825 * net/quickurl.el (quickurl-list-insert):
11826 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11827
118282011-03-15 Chong Yidong <cyd@stupidchicken.com>
11829
11830 * startup.el (command-line): Update package subdirectory regexp.
11831
118322011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11833
11834 * allout.el (allout-abbreviate-flattened-numbering)
11835 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11836
11837 * subr.el (read-char-choice): Only show the cursor after the prompt,
11838 not after the answer.
11839
118402011-03-15 Kevin Ryde <user42@zip.com.au>
11841
11842 * help-fns.el (variable-at-point): Skip leading quotes, if any
11843 (bug#8253).
11844
118452011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11846
11847 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11848 warning message.
11849
118502011-03-14 Michael Albinus <michael.albinus@gmx.de>
11851
11852 * shell.el (shell): When called interactively, offer to change the
11853 shell file name on remote hosts.
11854
118552011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11856
11857 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11858 integration for LDAP parameters. The host, base, user or binddn,
11859 and secret tokens can be specified in a netrc file, for instance.
11860 This is optional because an `auth-source' parameter must be
11861 specified in the search attributes.
11862
118632011-03-13 Juanma Barranquero <lekktu@gmail.com>
11864
11865 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11866
118672011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11868
11869 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11870 into declaration. Remove redundant and harmful binding.
11871
118722011-03-12 Eli Zaretskii <eliz@gnu.org>
11873
11874 * files.el (file-ownership-preserved-p): Pass `integer' as an
11875 explicit 2nd argument to `file-attributes'. If the file's owner
11876 is the Administrators group on Windows, and the current user is
11877 Administrator, consider that a match.
11878
11879 * server.el (server-ensure-safe-dir): Consider server directory
11880 safe on MS-Windows if its owner is the Administrators group while
11881 the current Emacs user is Administrator. Use `=' to compare
11882 numerical UIDs, since they could be integers or floats.
11883
118842011-03-12 Juanma Barranquero <lekktu@gmail.com>
11885
11886 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11887
118882011-03-12 Michael Albinus <michael.albinus@gmx.de>
11889
11890 Sync with Tramp 2.2.1.
11891
11892 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11893
11894 * net/trampver.el: Update release number.
11895
118962011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11897
11898 * progmodes/compile.el (compilation--previous-directory): Fix up
11899 various nil/dead-marker mismatches (bug#8014).
11900 (compilation-directory-properties, compilation-error-properties):
11901 Don't call it at a position past the one we're about to change.
11902
11903 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11904 Disable obsolescence warnings in the file that declares it.
11905
119062011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11907
11908 * allout-widgets.el (allout-widgets-tally):
11909 Initialize allout-widgets-tally as a hash table rather than nil to
11910 prevent mode-line redisplay warnings. Also, clarify the module
11911 description and fix a comment typo.
11912
119132011-03-11 Juanma Barranquero <lekktu@gmail.com>
11914
11915 * help-fns.el (describe-variable): Don't complete keywords.
11916 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11917
119182011-03-10 Chong Yidong <cyd@stupidchicken.com>
11919
11920 * emacs-lisp/package.el (package-version-join): Impose a standard
11921 string representation for pre/alpha/beta version lists.
11922 (package-unpack-single): Standardize the directory name by passing
11923 it through package-version-join.
11924 (package-strip-rcs-id): Accept any version string that does not
11925 signal an error in version-to-list.
11926
119272011-03-10 Michael Albinus <michael.albinus@gmx.de>
11928
11929 * simple.el (delete-trailing-whitespace): Return nil for the
11930 benefit of `write-file-functions'.
11931
119322011-03-10 Glenn Morris <rgm@gnu.org>
11933
11934 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11935
11936 * vc/vc-git.el (vc-git-program): New option.
11937 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11938 (vc-git--call): Use it.
11939
11940 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11941
11942 * cus-edit.el (Custom-newline): If no button at point, look
11943 for a subgroup button at start-of-line. (Bug#2298)
11944
11945 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11946
119472011-03-10 Julien Danjou <julien@danjou.info>
11948
11949 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11950 `cursor-type' is nil.
11951
119522011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11953
11954 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11955
119562011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11957
11958 * allout.el: Change so yank of distinctive-bullet items
11959 preserves the existing header prefix, rebulleting it if necessary,
11960 rather than replacing it. This is necessary for proper operation
11961 of cooperative addons like allout-widgets.
11962 (allout-make-topic-prefix, allout-rebullet-heading):
11963 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11964 value as alternate bullet to be used, instead of prompting the user
11965 for a bullet character.
11966
119672011-03-09 Michael Albinus <michael.albinus@gmx.de>
11968
11969 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11970 Do not use `tramp-file-name-port', because this returns also
11971 `tramp-default-port'.
11972
119732011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11974
11975 * net/rcirc.el (rcirc-handler-001): Remove useless
11976 with-rcirc-process-buffer.
11977 (rcirc-check-auth-status): Swap arguments to string-match.
11978
119792011-03-09 Glenn Morris <rgm@gnu.org>
11980
11981 * shell.el (shell-mode):
11982 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11983
11984 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11985 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11986
119872011-03-08 Chong Yidong <cyd@stupidchicken.com>
11988
11989 * emacs-lisp/package.el (package-refresh-contents)
11990 (package-menu-execute): Use condition-case-no-debug.
11991
119922011-03-08 Michael Albinus <michael.albinus@gmx.de>
11993
11994 * simple.el (shell-command-to-string): Use `process-file'.
11995
11996 * emacs-lisp/package.el (package-tar-file-info): Handle also
11997 remote files.
11998
11999 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12000 Use `equal' for upload base check.
12001
120022011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12003
12004 * textmodes/texinfo.el (texinfo-environments):
12005 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12006
120072011-03-08 Glenn Morris <rgm@gnu.org>
12008
12009 * cus-start.el (cursor-in-non-selected-windows):
12010 Fix :set quoting oddness. (Bug#8192)
12011
12012 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12013 in some setf expressions. (Bug#2159)
12014
120152011-03-08 Chong Yidong <cyd@stupidchicken.com>
12016
12017 * custom.el (custom-available-themes): Return themes in
12018 alphabetical order.
12019
12020See ChangeLog.15 for earlier changes.
12021
12022;; Local Variables:
12023;; coding: utf-8
12024;; End:
12025
12026 Copyright (C) 2011-2012 Free Software Foundation, Inc.
12027
12028 This file is part of GNU Emacs.
12029
12030 GNU Emacs is free software: you can redistribute it and/or modify
12031 it under the terms of the GNU General Public License as published by
12032 the Free Software Foundation, either version 3 of the License, or
12033 (at your option) any later version.
12034
12035 GNU Emacs is distributed in the hope that it will be useful,
12036 but WITHOUT ANY WARRANTY; without even the implied warranty of
12037 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12038 GNU General Public License for more details.
12039
12040 You should have received a copy of the GNU General Public License
12041 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.