Make `put-image' return the overlay created
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
24d78a88
LMI
12012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
bc72b5d9
LMI
3 * image.el (put-image): Return the overlay created instead of the
4 optional input string (bug#7834). Note that this may break code
5 that is (for some reason or other) depending on `put-image'
6 returning the string.
7
bd2dba5a
LMI
8 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9
74beb59f
LMI
10 * simple.el (zap-to-char): Allow zapping using input methods
11 (bug#1580).
12
24d78a88
LMI
13 * textmodes/fill.el (fill-region): Leave point and mark where they
14 were before filling (bug#5399).
15
263f20cd
GM
162012-04-09 Glenn Morris <rgm@gnu.org>
17
18 * version.el (emacs-bzr-get-version):
19 Handle lightweight checkouts of local branches.
20
58d1f797
AS
212012-04-09 Andreas Schwab <schwab@linux-m68k.org>
22
263f20cd 23 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 24
b4d3bc10
CY
252012-04-09 Chong Yidong <cyd@gnu.org>
26
27 * custom.el (custom-variable-p): Return nil for non-symbol
28 arguments instead of signaling an error.
29 (user-variable-p): Obsolete alias for custom-variable-p.
30
31 * apropos.el (apropos-variable):
32 * files-x.el (read-file-local-variable):
33 * simple.el (set-variable):
34 * woman.el (woman-mini-help):
35 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
36
fd06db5d
GM
372012-04-09 Glenn Morris <rgm@gnu.org>
38
e5fcdb5e
GM
39 * startup.el (normal-top-level): Don't look for leim-list.el
40 in places where it will not be found. (Bug#910)
41
fd06db5d
GM
42 * international/mule-cmds.el (set-default-coding-systems):
43 * files.el (normal-mode):
44 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
45 This function was removed with ucs-tables.el in 2008.
46
b39bb7e1
EZ
472012-04-08 Eli Zaretskii <eliz@gnu.org>
48
49 * textmodes/ispell.el (ispell-check-version): For hunspell, set
50 ispell-encoding8-command to "-i", without a trailing space.
51 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
52 separate command-line arguments, to specify the encoding, since
53 that's how hunspell expects it.
54
5c5b8e23
GM
552012-04-08 Glenn Morris <rgm@gnu.org>
56
57 * loadup.el: Load bindings before cus-start.
58 This reduces somewhat the number of "rogue" settings in emacs -Q.
59
a1ed8b05
GM
602012-04-07 Glenn Morris <rgm@gnu.org>
61
62 * version.el (emacs-bzr-get-version): New function.
dfae128a 63 (emacs-bzr-version): New variable.
a1ed8b05
GM
64 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
65 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
66
b142f158
EZ
672012-04-07 Eli Zaretskii <eliz@gnu.org>
68
dfae128a
GM
69 * international/uni-bidi.el, international/uni-category.el:
70 * international/uni-combining.el, international/uni-decimal.el:
71 * international/uni-decomposition.el, international/uni-digit.el:
72 * international/uni-lowercase.el, international/uni-mirrored.el:
73 * international/uni-name.el, international/uni-numeric.el:
74 * international/uni-titlecase.el, international/uni-uppercase.el:
75 Update for Unicode 6.1.
b142f158 76
9078ead6
EZ
772012-04-07 Eli Zaretskii <eliz@gnu.org>
78
79 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
80
f23d2c7d
LMI
812012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
82
83 * window.el (shrink-window): Mention the `window-min-height'
84 variable in the doc string.
85
0a0a3573
BG
862012-04-05 Bastien Guerry <bzg@altern.org>
87
88 * color.el (color-lighten-name): Fix typo.
89
e5248ac9
SM
902012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
91
92 * server.el (server--on-display-p): New function.
93 (server--on-display-p): Use it.
94
b4243e22
GV
952012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
96
97 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
98 (bug#11145).
99
305d9f44
SM
1002012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * comint.el (comint--common-quoted-suffix): Check string boundary
103 before comparing (bug#11158).
104 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
105
3d439cd1
CY
1062012-04-04 Chong Yidong <cyd@gnu.org>
107
321cc491
CY
108 * minibuffer.el (completion-extra-properties): Doc fix.
109
3d439cd1
CY
110 * subr.el (delayed-warnings-hook): Doc fix.
111
2d562c0f
DU
1122012-04-04 Daiki Ueno <ueno@unixuser.org>
113
114 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
115 selection (Bug#11159).
116 (epa-insert-keys): Inform that the default public key will be
117 exported if no key is selected.
118
4443f204
RS
1192012-04-04 Richard Stallman <rms@gnu.org>
120
121 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
122
529c06b6
CY
1232012-04-03 Chong Yidong <cyd@gnu.org>
124
125 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
126 mail-insert-file, not its obsolete alias mail-attach-file.
127
66b907dc
MA
1282012-04-03 Michael Albinus <michael.albinus@gmx.de>
129
130 * notifications.el (notifications-notify): Fix docstring.
131
c0ea195d
GM
1322012-04-02 Glenn Morris <rgm@gnu.org>
133
134 * emacs-lisp/authors.el (authors-aliases): Another addition.
135
5ca64e00
MA
1362012-04-02 Michael Albinus <michael.albinus@gmx.de>
137
138 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
139 `tramp-compat-call-process' instead of `tramp-local-call-process'.
140 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
141
42ee526b
CY
1422012-04-01 Chong Yidong <cyd@gnu.org>
143
144 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
145 Handle root directory properly.
146 (copy-directory): Caller changed.
147
148 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
149 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
150
0b021094
GM
1512012-03-31 Glenn Morris <rgm@gnu.org>
152
40f86458
GM
153 * term/xterm.el (xterm-extra-capabilities): Doc fix.
154
7019c177
GM
155 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
156
a1daddd6
GM
157 * calendar/calendar.el (calendar-window-list)
158 (calendar-hide-window): Restore. (Bug#11140)
159 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
160
0b021094
GM
161 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
162
40311efc
TV
1632012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
164
165 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
166 Check if file is a symlink (Bug#10489).
167
168 * files.el (copy-directory): Likewise.
169
5319014e
CY
1702012-03-30 Chong Yidong <cyd@gnu.org>
171
172 * image.el (imagemagick-types-inhibit)
173 (imagemagick-register-types): Doc fix.
174
935d1290
AM
1752012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
176
177 * ispell.el (ispell-get-extended-character-mode): Disable
178 extended-char-mode for hunspell. hunspell does not support it and
179 treats ~word as ordinary words in pipe mode.
180
61c6e8fd
GM
1812012-03-30 Glenn Morris <rgm@gnu.org>
182
183 * tutorial.el (help-with-tutorial): Ensure local variables don't
184 happen to make the buffer read-only. (Bug#11127)
185
81fdff00
SM
1862012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
187
188 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
189 (perl-calculate-indent): Return `noindent' in strings.
190
6e7a6ec0
SS
1912012-03-28 Sam Steingold <sds@gnu.org>
192
193 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
194 instead of the broken adhockery which does not prevent calendar
195 buffers from being displayed at random after exit.
196 (calendar-window-list, calendar-hide-window): Remove the broken
197 adhockery.
198
fee88ca0
GM
1992012-03-28 Glenn Morris <rgm@gnu.org>
200
201 * replace.el (query-replace-map): Doc fix.
202
38de3354
AS
2032012-03-28 Andreas Schwab <schwab@linux-m68k.org>
204
205 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
206 contents. (Bug#11109)
207
b973155e
SM
2082012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
209
210 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
211 (bug#11077).
212 (avl-tree--check, avl-tree--check-node): New funs.
213
dcb6e7b3
MR
2142012-03-27 Martin Rudalics <rudalics@gmx.at>
215
216 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
217 (switch-to-prev-buffer, switch-to-next-buffer):
218 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
219 showing a buffer already is done on the same frame.
220
b4fa35fa
GM
2212012-03-27 Glenn Morris <rgm@gnu.org>
222
223 * startup.el (mail-host-address): Doc fix.
224
f9210e18
SM
2252012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
228 than 197 variables.
229
c0bf7753
AF
2302012-03-26 Ami Fischman <ami@fischman.org>
231
232 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
233
33da7b16
GM
2342012-03-26 Glenn Morris <rgm@gnu.org>
235
02243d9d
GM
236 * files.el (save-buffers-kill-emacs): Doc fix.
237
33da7b16
GM
238 * startup.el (normal-top-level, command-line, command-line-1):
239 Give them doc strings.
240
e5a69fd0
EZ
2412012-03-25 Eli Zaretskii <eliz@gnu.org>
242
243 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 244 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 245
9a69676a
CY
2462012-03-25 Chong Yidong <cyd@gnu.org>
247
4125cb8b
CY
248 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
249 theme if it was previously enabled before (Bug#11031).
250
dd470960
CY
251 * cus-theme.el (custom-theme-write-faces): Retrieve current face
252 spec with custom-face-get-current-spec if its :shown-value is not
253 determined yet (Bug#9337).
4125cb8b 254 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 255
9a69676a
CY
256 * button.el (button-at): Minor addition to docstring.
257
6e7e90fa
SL
2582012-03-24 Simon Leinen <simon.leinen@gmail.com>
259
260 * vc/vc.el (vc-merge): Fix a prompt.
261
f06e2758
CY
2622012-03-24 Chong Yidong <cyd@gnu.org>
263
264 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
265 point (Bug#9623).
266
6e7e90fa
SL
267 * button.el (button-at): Minor addition to docstring.
268
b9d0879b
SM
2692012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * newcomment.el (comment-choose-indent): No space after BOL.
272
e71cebb3
SS
2732012-03-22 Sam Steingold <sds@gnu.org>
274
275 * window.el (switch-to-prev-buffer): Revert last patch because the
276 bug turned out to be an advertised feature (Elisp manual 28.14).
277
335aff35
GM
2782012-03-22 Glenn Morris <rgm@gnu.org>
279
280 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
281 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
282
c676576a
LMI
2832012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
284
285 * net/network-stream.el (network-stream-open-starttls): Make error
286 message under Windows be less misleading.
287
126f3d39
LW
2882012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
289
290 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
291 understands (bug#9942).
292
64fee311
CY
2932012-03-22 Chong Yidong <cyd@gnu.org>
294
295 * simple.el (end-of-visible-line): Handle return value of
296 next-single-property-change properly (Bug#9371).
297
a640d29a
KH
2982012-03-22 Kenichi Handa <handa@m17n.org>
299
300 * international/quail.el (quail-insert-kbd-layout): Fix previous
301 change. To avoid unwanted bidi reordering, use
302 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
303
39675016
DG
3042012-03-21 Dmitry Gutov <dgutov@yandex.ru>
305
306 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
307 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
308 (ruby-beginning-of-indent): Be more careful with the difference
309 between word-boundary and symbol boundary.
310 (ruby-mode-syntax-table): Make : a symbol constituent.
311
0a6934fc 3122012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 313
3d008e4f
SM
314 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
315
0a6934fc
SM
3162012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
317
af67c9d7
SM
318 * progmodes/etags.el (tags-completion-at-point-function):
319 Improve last fix.
320
1acad97c
SM
321 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
322
e298b5da
SS
3232012-03-21 Sam Steingold <sds@gnu.org>
324
325 * progmodes/etags.el (tags-completion-at-point-function):
326 Avoid the error when point is inside the pattern.
327
91d82a70
JY
3282012-03-21 John Yates <john@yates-sheets.org> (tiny change)
329
330 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
331 line (Bug#10855).
332
69188b79
CY
3332012-03-21 Drew Adams <drew.adams@oracle.com>
334
335 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
336
99fc91fe
AK
3372012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
338
339 * ido.el (ido-set-current-directory, ido-read-internal)
340 (ido-choose-completion-string, ido-completion-help): Handle nil
341 value of ido-completion-buffer (Bug#11008).
342
087bbb4c
SS
3432012-03-21 Sam Steingold <sds@gnu.org>
344
345 * window.el (switch-to-prev-buffer): Do not switch to a visible
346 window previous buffer, just like with the frame previous buffers.
347
fb5b8aca
CY
3482012-03-21 Chong Yidong <cyd@gnu.org>
349
350 * faces.el (make-face, make-empty-face, copy-face):
351 * face-remap.el (face-remap-add-relative, face-remap-set-base):
352 Doc fixes.
353
dc9924b8
SM
3542012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * wid-edit.el (widget-complete-field): Remove (bug#11051).
357 (widget-complete): Remove broken use of it.
358
f0bcceb9
CY
3592012-03-20 Chong Yidong <cyd@gnu.org>
360
dc9924b8
SM
361 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
362 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
363 characters.
364
ee52ebf3
TH
3652012-03-20 Tassilo Horn <tassilo@member.fsf.org>
366
367 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
368 to draw rectangles, not squares. (Regression introduced by revno
369 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
370
4c5779ab
CY
3712012-03-18 Chong Yidong <cyd@gnu.org>
372
373 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
374 it is not yet defined (for temacs).
375
15360934
LL
3762012-03-18 Leo Liu <sdl.web@gmail.com>
377
dc9924b8 378 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 379
d9a8eb66
EZ
3802012-03-17 Eli Zaretskii <eliz@gnu.org>
381
382 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
383 (ispell-choices-win-default-height, ispell-silently-savep)
384 (ispell-dictionary-alist, ispell-encoding8-command)
385 (ispell-check-version, ispell-aspell-find-dictionary)
386 (ispell-valid-dictionary-list, ispell-words-keyword)
387 (ispell-get-word, ispell-internal-change-dictionary)
388 (ispell-region, ispell-skip-region-list)
389 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
390 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
391 (ispell-message-text-end, ispell-message)
392 (ispell-buffer-local-parsing): Doc fix.
393
f02ff80d
J
3942012-03-13 Jambunathan K <kjambunathan@gmail.com>
395
396 * htmlfontify.el: Add support for code block fontification for ODT
397 export (Bug #9914).
398 (hfy-optimisations): Define new option
399 `body-text-only'
400 (hfy-fontify-buffer): Honor above setting.
401 (hfy-begin-span, hfy-end-span): New routines factored out form
402 `hfy-fontify-buffer'.
403 (hfy-begin-span-handler, hfy-end-span-handler): New variables
404 that permit insertion of custom tags.
405 (hfy-fontify-buffer): Use above handlers.
406 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
407 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 408 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
409 over multiple runs. This is made possible by having the caller let
410 bind a special variable `hfy-user-sheet-assoc'.
411 (htmlfontify-string): New defun.
412 (hfy-compile-face-map): Make sure that the last char in the
413 buffer is correctly fontified.
414 (hfy-face-resolve-face): Whitespace only change.
415
9ac7a13f
EZ
4162012-03-17 Eli Zaretskii <eliz@gnu.org>
417
418 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
419 message more clear.
420
e2b5bdd7
LL
4212012-03-16 Leo Liu <sdl.web@gmail.com>
422
423 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
424
2e492df3
AM
4252012-03-16 Alan Mackenzie <acm@muc.de>
426
427 Further optimise the handling of large macros.
428
429 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
430 limit to a call of `c-literal-limits'.
431 (c-determine-+ve-limit): New function.
dc9924b8
SM
432 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
433 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
434 In CASE 5B, restrict a search limit to 500.
435 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
436
437 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
438 Restrict macro bounds to +-500 from after-change's BEG END.
439
50e94f0c
LL
4402012-03-16 Leo Liu <sdl.web@gmail.com>
441
442 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
443
6f09f6ed
AH
4442012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
445
446 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 447 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 448
c7e73d51
GM
4492012-03-16 Glenn Morris <rgm@gnu.org>
450
da986230
GM
451 * view.el (view-buffer, view-buffer-other-window)
452 (view-buffer-other-frame): Doc fixes re special mode-class.
453
0835f01e
GM
454 * subr.el (eval-after-load): If named feature is provided not from
455 a file, run after-load forms. (Bug#10946)
456
c7e73d51
GM
457 * calendar/calendar.el (calendar-insert-at-column):
458 Handle non-unit-width characters a bit better. (Bug#10978)
459
3f2eafd1
CY
4602012-03-15 Chong Yidong <cyd@gnu.org>
461
462 * emacs-lisp/ring.el (ring-extend): New function.
463 (ring-insert+extend): Extend the ring correctly (Bug#11019).
464
465 * comint.el (comint-read-input-ring)
466 (comint-add-to-input-history): Grow comint-input-ring lazily.
467
103af3fe
SM
4682012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
469
663b1677
SM
470 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
471 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
472
103af3fe
SM
473 * imenu.el: Fix multiple inheritance breakage (bug#9199).
474 (imenu-add-to-menubar): Don't add a redundant index.
475 (imenu-update-menubar): Handle a dynamically composed keymap.
476
899cb7cb
KY
4772012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
478
479 * mail/sendmail.el (mail-encode-header):
480 Bind rfc2047-encode-encoded-words to nil.
481
3809f91d
GM
4822012-03-13 Glenn Morris <rgm@gnu.org>
483
484 * calendar/calendar.el (calendar-string-spread):
485 Handle non-unit-width characters a bit better. (Bug#10978)
486
9e345a01
LL
4872012-03-13 Leo Liu <sdl.web@gmail.com>
488
489 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
490 directory and file as argument (Bug#10822).
491
4a07df36
KS
4922012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
493
494 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
495 For dynamically generated code, follow $PC.
496 (gdb-disassembly-handler-custom): Handle no function name case.
497
4aaa9356
TL
4982012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
499
500 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
501 * emulation/ws-mode.el (ws-query-replace):
502 * sort.el (sort-regexp-fields):
503 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
504
225979da
SM
5052012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
506
507 * dabbrev.el: Fix cycle completion order (bug#10963).
508 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
509 (dabbrev-completion): Don't use an obarray; provide
510 a cycle-sort-function.
511
e2f1fdab
LL
5122012-03-12 Leo Liu <sdl.web@gmail.com>
513
dc9924b8 514 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
515 (kill-do-not-save-duplicates): Doc fix.
516
b19490ed
SM
5172012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * dabbrev.el: Fix cycle completion (bug#10963).
520 Use lexical binding and wrap to 80 columns.
521 (dabbrev-completion): Delay computing the list of completions.
522
4b05d722
KH
5232012-03-12 Kenichi Handa <handa@m17n.org>
524
525 * international/quail.el (quail-insert-kbd-layout): Surround each
526 row by LRO and PDF instead of inserting many LRMs. Pad the left
527 and right of each non-spacing marks. Insert invisible space
528 between lower and upper characters to prevent composition.
529
dbbc2e69
SM
5302012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
531
532 * minibuffer.el (minibuffer-complete): Don't get confused when the
533 function is run twice via different commands (bug#10958).
534 (complete-with-action): Fix docstring.
535
292112ed
CY
5362012-03-12 Chong Yidong <cyd@gnu.org>
537
5d1ac394
CY
538 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
539 (nxml-completion-at-point-function): New function.
540 (nxml-mode): Use it.
541 (nxml-bind-meta-tab-to-complete-flag): Default to t.
542
292112ed
CY
543 * emacs-lisp/package.el (package-unpack, package-unpack-single):
544 Load generated autoloads file before byte compiling (Bug#10970).
545 (package--make-autoloads-and-compile): New helper fun.
546
4098f8f7
CS
5472012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
548
549 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
550
8f754691
MA
5512012-03-11 Michael Albinus <michael.albinus@gmx.de>
552
553 * autorevert.el (auto-revert-handler): Ensure, that
554 file-readable-p is applied only for local files or in
555 auto-revert-tail-mode.
556
e29ab36b
AS
5572012-03-11 Andreas Schwab <schwab@linux-m68k.org>
558
dbbc2e69
SM
559 * server.el (server-eval-at): Handle non-tcp connections.
560 Decode result string.
ad0bf5b6 561
e29ab36b
AS
562 * server.el (server-msg-size): New constant.
563 (server-reply-print): New function.
564 (server-eval-and-print): Use it.
565 (server-eval-at): Use server-quote-arg and server-unquote-arg.
566 Handle -print-nonl.
567
de5939ba
CS
5682012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
569
570 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
571 (Bug#10987).
572
0c93eabf
CY
5732012-03-11 Chong Yidong <cyd@gnu.org>
574
397a688f
CY
575 * simple.el (goto-line): Doc fix (Bug#9938).
576
2cc775f9
CY
577 * subr.el (save-window-excursion): Doc fix (Bug#9979).
578
0c93eabf
CY
579 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
580 when finished (Bug#10963).
581
c491fa41
MR
5822012-03-11 Martin Rudalics <rudalics@gmx.at>
583
584 * window.el (split-window-below): Fix bug in case where
585 split-window-keep-point is nil (Bug#10971).
586
300e8fa5
JL
5872012-03-11 Juri Linkov <juri@jurta.org>
588
589 * replace.el (replace-highlight): Set isearch-word to nil
590 unconditionally. (Bug#10887)
591
dbf6c5a1
EZ
5922012-03-10 Eli Zaretskii <eliz@gnu.org>
593
594 * net/mairix.el (mairix-replace-invalid-chars): Rename from
595 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 596 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
597 (mairix-widget-create-query): Add usage information about mairix
598 search forms: negating words, searching for substrings, etc.
599
b9e501de
JP
6002012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
601
602 * international/fontset.el (font-encoding-alist): Add an entry for
603 ksx1001 (Bug#5667).
604
92795c91
RS
6052012-03-10 Richard Stallman <rms@gnu.org>
606
1694e6c1
RS
607 * mail/sendmail.el (mail-encode-header):
608 Set rfc2047-encode-encoded-words.
609
607e8555
RS
610 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
611
de3bc99a
RS
612 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
613 view buffer means not swapped.
614 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
615 (rmail-write-region-annotate): Error if real text has disappeared.
616
92795c91
RS
617 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
618
699bd04e
CY
6192012-03-10 Chong Yidong <cyd@gnu.org>
620
621 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
622 * emulation/cua-base.el (cua--init-keymaps):
623 Add delete-forward-char to remappings (Bug#9666).
699bd04e 624
570a1714
MR
6252012-03-10 Martin Rudalics <rudalics@gmx.at>
626
dbbc2e69
SM
627 * speedbar.el (speedbar-unhighlight-one-tag-line):
628 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 629
82dcf4e4
CY
6302012-03-10 Chong Yidong <cyd@gnu.org>
631
7a2c7ca7
CY
632 * minibuffer.el (completion-in-region, completion-help-at-point):
633 Give the completion field overlay a high priority (Bug#6830).
634
82dcf4e4
CY
635 * dired.el (dired-goto-file): Recognize absolute file name
636 listings (Bug#7126).
637 (dired-goto-file-1): New helper function.
638 (dired-toggle-read-only): Inhibit warnings.
639
052e28ac
MA
6402012-03-09 Michael Albinus <michael.albinus@gmx.de>
641
642 * net/dbus.el: (dbus-property-handler): Return empty array if
643 there are no properties.
644
95d5e396
LL
6452012-03-09 Leo Liu <sdl.web@gmail.com>
646
647 * savehist.el (savehist-printable): Stricter check for string
648 value (Bug#10937).
649
3f018d6d
EZ
6502012-03-09 Eli Zaretskii <eliz@gnu.org>
651
dbbc2e69
SM
652 * mail/smtpmail.el (smtpmail-send-it):
653 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
654 valid mbox format.
655
f7fd3d79
GM
6562012-03-09 Glenn Morris <rgm@gnu.org>
657
658 * files.el (dir-locals-find-file):
659 Don't check result is regular, readable.
660 (dir-locals-read-from-file): Demote errors.
661
6ff6e72f
EZ
6622012-03-08 Eli Zaretskii <eliz@gnu.org>
663
dbbc2e69
SM
664 * international/quail.el (quail-insert-kbd-layout):
665 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
666 layout cell, to prevent their reordering by bidi display engine.
667 For details, see the discussion in
668 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
669
9cec7834
AM
6702012-03-08 Alan Mackenzie <acm@muc.de>
671
672 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
673 the starting position; make it extend the marked region when
674 invoked repeatedly - all under appropriate circumstances.
675 Fixes bugs #5525, #10906.
676
9a40b8d4
GM
6772012-03-08 Glenn Morris <rgm@gnu.org>
678
679 * files.el (locate-dominating-file, dir-locals-find-file):
680 Undo 2012-03-06 change.
681
7a08ed35
EZ
6822012-03-07 Eli Zaretskii <eliz@gnu.org>
683
dbbc2e69
SM
684 * international/quail.el (quail-help):
685 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
686 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
687 for the reason.
688
5aca4f71 6892012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
690
691 Avoid superfluous registering of signals. (Bug#10807)
692
693 * notifications.el (notifications-on-action-object)
694 (notifications-on-close-object): New defvars.
695 (notifications-on-action-signal, notifications-on-closed-signal):
696 Unregister the signal if not needed any longer.
697 (notifications-notify): Register `notifications-action-signal' or
698 `notifications-closed-signal', if :on-action or :on-close has been
699 passed as argument.
700
78e8b10a
CY
7012012-03-07 Chong Yidong <cyd@gnu.org>
702
703 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
704 non-X platforms.
705
69481eb8
GM
7062012-03-06 Glenn Morris <rgm@gnu.org>
707
708 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
709 (x-disown-selection-internal, x-get-selection-internal):
710 Doc fix (add arglist signatures). (Bug#10783)
711
133b8e11
KS
7122012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
713
714 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
715 Handle breakpoints with no "type".
716
99a83064
GM
7172012-03-06 Glenn Morris <rgm@gnu.org>
718
719 * files.el (locate-dominating-file): Add optional predicate argument.
720 (dir-locals-find-file): Make use of above change.
721
17798e78
TTN
7222012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
723
724 * info.el (Info-insert-dir): Also try "dir.gz".
725
eb182446
GM
7262012-03-06 Glenn Morris <rgm@gnu.org>
727
8f2114ee
GM
728 * files.el (dir-locals-find-file):
729 Ignore non-readable or non-regular files. (Bug#10928)
730
eb182446
GM
731 * files.el (locate-dominating-file): Doc fix.
732
24679323
AS
7332012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
734
735 * calendar/calendar.el (calendar-set-mode-line):
736 `getenv' returns a string. (Bug#10951)
737
01d972a9
LL
7382012-03-05 Leo Liu <sdl.web@gmail.com>
739
109aa8a9
LL
740 * simple.el (backward-delete-char-untabify): Constrain point to
741 field (Bug#10939).
742
01d972a9
LL
743 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
744
10607bea
CY
7452012-03-05 Chong Yidong <cyd@gnu.org>
746
747 * simple.el (count-words): If called from Lisp, return the word
748 count, for symmetry with `count-lines'. Arglist changed.
749 (count-words--message): Args changed. Consolidate counting code
750 from count-words and count-words-region.
751 (count-words-region): Caller changed.
752 (count-lines-region): Make it an obsolete alias.
753
5dd11cfe
TH
7542012-03-04 Tassilo Horn <tassilo@member.fsf.org>
755
756 * saveplace.el (save-place-to-alist)
757 (save-place-ignore-files-regexp): Allow value nil to disable this
758 feature.
759
c349f4e6
CY
7602012-03-04 Chong Yidong <cyd@gnu.org>
761
762 * faces.el (face-spec-reset-face): For the default face, reset the
763 attributes to default values (Bug#10748).
764
e627be4c
LMI
7652012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
766
767 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
768 previous patch: Check `message-send-mail-function', and not the
769 default function (bug#10897).
770
ebeabff4
MA
7712012-03-04 Michael Albinus <michael.albinus@gmx.de>
772
a41a6cf4
MA
773 * notifications.el (notifications-on-action-signal)
774 (notifications-on-closed-signal): Check for unique service name of
775 incoming event. Fix error in removing entry.
ebeabff4 776 (top): Register for signals with wildcard service name.
a41a6cf4 777 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 778
c1ca42b4
CY
7792012-03-04 Chong Yidong <cyd@gnu.org>
780
dc9924b8 781 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 782
ea16568d
GM
7832012-03-04 Glenn Morris <rgm@gnu.org>
784
785 * abbrev.el (copy-abbrev-table, abbrev-table-p)
786 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
787 (expand-abbrev, define-abbrev-table): Doc fixes.
788
fbae4637
LMI
7892012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
790
791 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
792 `message-default-send-mail-function' and not `send-mail-function'
793 when doing the prompting for `sendmail-query-once' before sending
794 in Message buffers (bug#10897).
795
a1e7225c
LMI
796 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
797 This is inconsistent with all the other stream functions, which leave
798 the setting up to the higher levels (if so wanted) (bug#10931).
799
56d093a9
AM
8002012-03-02 Alan Mackenzie <acm@muc.de>
801
802 Depessimize the handling of very large macros.
803
804 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
805 (c-macro-cache-syntactic): New variables to implement a one
806 element macro cache.
807 (c-invalidate-macro-cache): New function.
808 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
809 Adapt to use the new cache.
810 (c-state-safe-place): Use better the cache of safe positions.
811 (c-state-semi-nonlit-pos-cache)
812 (c-state-semi-nonlit-pos-cache-limit):
813 New variables for...
814 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
815 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
816 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
817 Use c-state-semi-safe-place.
56d093a9 818
dbbc2e69
SM
819 * progmodes/cc-langs.el (c-get-state-before-change-functions):
820 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 821
817e5c3d
MA
8222012-03-02 Michael Albinus <michael.albinus@gmx.de>
823
dbbc2e69
SM
824 * jka-compr.el (jka-compr-call-process):
825 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
826 not remote.
827
a032a702
MA
8282012-03-01 Michael Albinus <michael.albinus@gmx.de>
829
830 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
831 access of FILE2, if FILE1 does not exist.
832
99a54f21
MA
833 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
834 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
835
836 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
837 Add "PAGER=" to `process-environment'.
838
f6561e1f
MM
8392012-03-01 Michael R. Mauger <mmaug@yahoo.com>
840
841 * progmodes/sql.el: Bug fix
842 (sql-get-login-ext): Save login values in globals.
843 (sql-get-login): Use new version of `sql-get-login-ext'.
844 (sql-interactive-mode): Set global `sql-connection' to nil.
845 (sql-connect): Set global values for connection.
846 (sql-product-interactive): Save global values as buffer local.
847
2d44d9cc
LL
8482012-02-29 Leo Liu <sdl.web@gmail.com>
849
850 * abbrev.el (define-abbrevs): Reset sys to nil.
851
96b49301 8522012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
853
bf7f9bc5
JB
854 * files.el (file-equal-p): Rename from `files-equal-p'.
855 Return nil when one or both files don't exist.
96b49301 856 (file-subdir-of-p): Now only top directory must exists,
857 return nil if it doesn't.
bf7f9bc5
JB
858 (copy-directory): No need to test with `file-subdir-of-p' after
859 creating dir.
860 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
861 to `file-equal-p'.
96b49301 862
44e97401
GM
8632012-02-28 Glenn Morris <rgm@gnu.org>
864
865 * shell.el (shell-mode):
866 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
867 * play/landmark.el (landmark-font-lock-face-O):
868 * play/handwrite.el (handwrite):
869 * play/gomoku.el (gomoku-O):
870 * net/browse-url.el (browse-url-browser-display):
871 * international/mule.el (define-charset):
872 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
873 * filesets.el (filesets-find-file-delay):
874 * eshell/em-xtra.el (eshell-xtra):
875 * eshell/em-unix.el (eshell-grep):
876 * emulation/viper.el (viper-mode):
877 * emacs-lisp/regexp-opt.el (regexp-opt-group):
878 * emacs-lisp/easymenu.el (easy-menu-define):
879 * calendar/timeclock.el (timeclock-use-display-time):
880 * bs.el (bs-mode):
881 * bookmark.el (bookmark-save-flag):
882 Doc fix (standardize possessive apostrophe usage).
883
c98c6276
CY
8842012-02-27 Chong Yidong <cyd@gnu.org>
885
bf7f9bc5
JB
886 * emulation/viper-cmd.el (viper-intercept-ESC-key):
887 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 888
c98c6276
CY
889 * font-lock.el (font-lock-specified-p): Rename from
890 font-lock-spec-present. Callers changed.
891
9c62cd04 8922012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 893
bf7f9bc5
JB
894 * emacs-lisp/package.el (package-compute-transaction):
895 Handle holding a package version to t in package-load-list.
8ac9e529 896
530739c9
MA
8972012-02-26 Michael Albinus <michael.albinus@gmx.de>
898
899 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
900 (tramp-get-inode, tramp-get-device): Use cached values.
901
487915d7
AM
9022012-02-26 Alan Mackenzie <acm@muc.de>
903
904 Check there is a font-lock specification before doing initial
905 fontification.
906
907 * font-core.el (font-lock-mode): Move the conditional from
908 :after-hook to font-lock-initial-fontify.
909 (font-lock-default-function): Move the check for a specification
910 to font-lock-spec-present.
911
dc9924b8 912 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
913 (font-lock-spec-present): New function.
914
4fd96557
JB
9152012-02-26 Jim Blandy <jimb@red-bean.com>
916
917 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
918 (gdb-send): Apply it to the operand of the '-interpreter-exec
919 console' command, so that we can pass arguments with (say) quotes
920 in them. Store exact string sent in gdb-debug-log (Bug#10765).
921
9a4888c0
CY
9222012-02-26 Chong Yidong <cyd@gnu.org>
923
07498861
CY
924 * help-fns.el (describe-function-1): Clarify description of
925 remapping (Bug#10844).
926
9a4888c0
CY
927 * files.el (files-equal-p): Doc fix.
928 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
929 and quit the loop once a mismatch is found.
930
ea8fb88d
JB
9312012-02-25 Juanma Barranquero <lekktu@gmail.com>
932
933 * bs.el (bs--show-with-configuration): Don't throw an error
934 if the window cannot be split; otherwise, subsequent calls to
935 bs-show fail, restoring a stale window config. (Bug#10882)
936
525795c1
JD
9372012-02-25 Jan Djärv <jan.h.d@swipnet.se>
938
939 * term/ns-win.el (global-map): Bind ns-drag-file to
940 ns-find-file (Bug#5855, Bug#10050).
941
f008086f
AS
9422012-02-25 Andreas Schwab <schwab@linux-m68k.org>
943
944 * calendar/parse-time.el (parse-time-string): Allow extractor to
945 return nil.
946
a3fcfa99
MA
9472012-02-25 Michael Albinus <michael.albinus@gmx.de>
948
91027d08
JB
949 * net/tramp.el (tramp-file-name-for-operation):
950 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
951
952 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
953 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
954 Add COPY-CONTENTS argument.
a3fcfa99 955
67b0de11
CY
9562012-02-25 Chong Yidong <cyd@gnu.org>
957
958 Add custom groups for VC backends, for consistency with vc-bzr.
959
960 * vc/vc-arch.el (vc-arch):
961 * vc/vc-cvs.el (vc-cvs):
962 * vc/vc-git.el (vc-git):
963 * vc/vc-hg.el (vc-hg):
964 * vc/vc-mtn.el (vc-mtn):
965 * vc/vc-rcs.el (vc-rcs):
966 * vc/vc-sccs.el (vc-sccs):
967 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
968 All relevant defcustoms reassigned.
969
3c9dfce6
CY
9702012-02-25 Chong Yidong <cyd@gnu.org>
971
1339bf43
CY
972 * newcomment.el (comment-styles): Add autoload (Bug#10868).
973
3c9dfce6
CY
974 * term/x-win.el (x-initialize-window-system): Reduce default for
975 x-selection-timeout to 5 seconds (Bug#8869).
976
53a46cd0 9772012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 978
53a46cd0 979 * files.el (file-subdir-of-p): Fix typo.
14a8a663 980
25b2e303 9812012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
982
ec70a47d
GM
983 * files.el (files-equal-p, file-subdir-of-p): New functions.
984 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 985 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
986 * dired-aux.el (dired-copy-file-recursive): Same.
987 (dired-create-files): Modify destination when source is equal to
988 dest when copying files.
53a46cd0 989 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 990
914260cd
MA
9912012-02-24 Michael Albinus <michael.albinus@gmx.de>
992
993 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
994 (Bug#10874)
995
2cb228f7
AM
9962012-02-23 Alan Mackenzie <acm@muc.de>
997
998 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
999 parameter "after-hook:" to allow the expansion to run code after
1000 the execution of the mode hooks.
1001
1002 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1003 from font-lock-mode-internal.
2cb228f7 1004
91027d08 1005 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1006 :after-hook.
1007
8f0fde21
SM
10082012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1009
3e88618b
SM
1010 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1011 (completion--cache-all-sorted-completions): New function.
1012 (completion-all-sorted-completions): Use it.
1013 (completion--do-completion, minibuffer-force-complete):
1014 Use it to re-instate the flush hook.
1015
8f0fde21
SM
1016 * icomplete.el (icomplete-completions): Replace last fix with a better
1017 one (bug#10850).
1018
8e911f6f
DG
10192012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1020
1021 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1022 when it might call us back infinitely (bug#10797).
1023
49fe4321
GM
10242012-02-23 Glenn Morris <rgm@gnu.org>
1025
1026 * minibuffer.el (completion-category-overrides): Doc fix.
1027
b291b572
SM
10282012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1031 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1032
31a9ef2e
GM
10332012-02-23 Glenn Morris <rgm@gnu.org>
1034
5e6e6794 1035 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1036 (authors-obsolete-files-regexps, authors-ignored-files)
1037 (authors-ambiguous-files, authors-renamed-files-alist):
1038 Add more entries.
1039
0bd1e074
JL
10402012-02-23 Juri Linkov <juri@jurta.org>
1041
1042 * isearch.el (isearch-occur): Sync interactive spec with occur's
1043 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1044
b617673c
JL
1045 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1046
19e9789e
JL
10472012-02-22 Juri Linkov <juri@jurta.org>
1048
1049 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1050 (ucs-insert): Doc fix. Check for hex digits in the string.
1051 Don't display `nil' in the error message. (Bug#10857)
1052
f41ce09d
AM
10532012-02-22 Alan Mackenzie <acm@muc.de>
1054
7a71b18d 1055 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1056
ac2eceee
GM
10572012-02-22 Glenn Morris <rgm@gnu.org>
1058
1059 * ffap.el (ffap-c-path):
1060 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1061
abd1f678
CY
10622012-02-22 Chong Yidong <cyd@gnu.org>
1063
1064 * custom.el (load-theme): Doc fix.
1065
f25aef2e
GM
10662012-02-22 Glenn Morris <rgm@gnu.org>
1067
1068 * dired-x.el (dired-guess-shell-alist-default):
1069 Remove escape sequences from nroff output. (Bug#172)
1070
5f8dc2ca
GM
10712012-02-21 Glenn Morris <rgm@gnu.org>
1072
6ff86ec4
GM
1073 * vc/emerge.el (emerge-defvar-local):
1074 Set `permanent-local' property rather than unused `preserved'.
1075
be3223a3 1076 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1077 (picture-mode-map): Use it. (Bug#10860)
1078 (picture-mode): Doc fix.
1079
3fe58f4f
JB
10802012-02-21 Juanma Barranquero <lekktu@gmail.com>
1081
1082 * newcomment.el (uncomment-region-default): Remove unused binding.
1083
f9a998c3
GM
10842012-02-21 Glenn Morris <rgm@gnu.org>
1085
1086 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1087 (picture-self-insert, picture-tab-chars): Doc fix.
1088 (picture-mode-map): Fix C-a, C-e.
1089
c6029348
GM
10902012-02-20 Glenn Morris <rgm@gnu.org>
1091
1092 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1093
ab1ce9d7
LL
10942012-02-20 Leo Liu <sdl.web@gmail.com>
1095
1096 * icomplete.el (icomplete-completions): Check FROM arg before
1097 passing to substring (Bug#10850).
1098
0fd40f89
CY
10992012-02-19 Chong Yidong <cyd@gnu.org>
1100
1101 * comint.el: Require ansi-color.
1102 (comint-output-filter-functions): Add ansi-color-process-output.
1103
1104 * ansi-color.el: Don't set comint-output-filter-functions; it is
1105 now in the initial value defined in comint.el.
1106 (ansi-color-apply-face-function): New variable.
1107 (ansi-color-apply-on-region): Use it.
1108 (ansi-color-apply-overlay-face): New function.
1109
1110 * shell.el (shell): No need to require ansi-color.
1111 (shell-mode): Use ansi-color-apply-face-function to highlight
1112 color escapes using font-lock-face property (Bug#10835).
1113
20af2394
CY
11142012-02-19 Chong Yidong <cyd@gnu.org>
1115
1116 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1117 mode-line formats (Bug#10839).
1118
e23a3fbe
GM
11192012-02-18 Glenn Morris <rgm@gnu.org>
1120
b474519e
GM
1121 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1122
1123 * mail/undigest.el (unforward-rmail-message): Doc fix.
1124
e23a3fbe
GM
1125 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1126
57939ff4
EZ
11272012-02-18 Eli Zaretskii <eliz@gnu.org>
1128
1129 * international/characters.el (script-list): Sync with the latest
1130 Unicode Character Database.
1131
0c23686e
AS
11322012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1133
1134 * international/titdic-cnv.el: Remove duplicate coding tag.
1135 * language/cham.el: Likewise.
1136 * language/tai-viet.el: Likewise.
1137
6818b449
GM
11382012-02-18 Glenn Morris <rgm@gnu.org>
1139
1140 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1141 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1142 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1143 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1144 * calendar/holidays.el (holiday-bahai-holidays)
1145 (calendar-holidays, list-holidays):
1146 Use utf-8 Bahá'í in doc-strings, menus, etc.
1147
0311a3fc
TH
11482012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1149
1150 * saveplace.el (save-place-ignore-files-regexp): New variable
1151 allowing for excluding files from saving their location of point.
1152 The default value matches the temporary commit message editing
1153 files from Git, SVN, Bazaar, and Mercurial.
1154 (save-place-to-alist): Use it.
1155
eb864a71
LM
11562012-02-17 Lawrence Mitchell <wence@gmx.li>
1157 Stefan Monnier <monnier@iro.umontreal.ca>
1158
1159 * newcomment.el (uncomment-region-default): Don't leave extra space
1160 when an arg is provided (bug#8150).
1161
ee0ce425
TZ
11622012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1163
eb864a71 1164 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1165
95ddf442
GM
11662012-02-17 Glenn Morris <rgm@gnu.org>
1167
1168 * net/socks.el: Require network-stream. (Bug#10599)
1169
48dd1e39 11702012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1171
1172 * international/charprop.el:
1173 * international/uni-name.el:
1174 * international/uni-old-name.el:
1175 * international/uni-comment.el: Regenerate.
1176
d68cd087
GM
11772012-02-16 Glenn Morris <rgm@gnu.org>
1178
1179 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1180 Interactively in calendar buffer, give an error if not on a date.
1181
13932042
GM
11822012-02-15 Glenn Morris <rgm@gnu.org>
1183
1184 * shell.el (shell-delimiter-argument-list):
1185 Revert 2011-02-17 change. (Bug#8027)
1186
c3a70e2b
CY
11872012-02-15 Chong Yidong <cyd@gnu.org>
1188
60236b0d
CY
1189 * minibuffer.el (completion-at-point-functions): Doc fix.
1190
c3a70e2b
CY
1191 * custom.el (defcustom): Doc fix; note use of defvar.
1192
9f26dc24
GM
11932012-02-15 Glenn Morris <rgm@gnu.org>
1194
1195 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1196 Doc fixes.
1197
6546b134
GM
11982012-02-14 Glenn Morris <rgm@gnu.org>
1199
1200 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1201
d29b2b4c
LI
12022012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1203
1204 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1205 way the ports list is computed.
835bdcba
LI
1206 (smtpmail-query-smtp-server): Prompt the user for a port number if
1207 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1208
08dcdbc9
TZ
12092012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1210
1211 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1212
2605051a
GM
12132012-02-13 Glenn Morris <rgm@gnu.org>
1214
1215 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1216
7ee99f32
TZ
12172012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1218
1219 * net/gnutls.el (gnutls-trustfiles): New variable.
1220 (gnutls-negotiate): Use it.
1221
5f0af64f
LI
12222012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1223
1224 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1225 does its stuff if Gnus is running.
1226
c14fcc95
AM
12272012-02-13 Alan Mackenzie <acm@muc.de>
1228
1229 Fix a loop in c-set-fl-decl-start.
1230
7a71b18d 1231 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1232 c-backward-syntactic-ws actually moves backwards.
1233
142b4d90
LL
12342012-02-13 Leo Liu <sdl.web@gmail.com>
1235
1236 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1237 beginning so that all \C-o chars are removed.
1238
fa9958a6
TZ
12392012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1240
dc9924b8 1241 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1242
0bc5886a
AM
12432012-02-12 Alan Mackenzie <acm@muc.de>
1244
1245 Fix infinite loop with long macros.
1246 * cc-engine.el (c-state-safe-place): Handle macros properly.
1247
d4bd55e7
CY
12482012-02-12 Chong Yidong <cyd@gnu.org>
1249
1250 * window.el (display-buffer): Doc fix (Bug#10785).
1251
66f3fe22
GM
12522012-02-12 Glenn Morris <rgm@gnu.org>
1253
bd7da63e
GM
1254 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1255 (x-disown-selection-internal, x-get-selection-internal):
1256 Sync docs with the xselect.c versions.
1257
66f3fe22
GM
1258 * allout-widgets.el: Add missing license notice.
1259
3e0d2fa7
GM
12602012-02-11 Glenn Morris <rgm@gnu.org>
1261
cfecdf09
GM
1262 * select.el (x-get-selection-internal, x-own-selection-internal)
1263 (x-disown-selection-internal):
1264 * x-dnd.el (x-get-selection-internal): Update declarations.
1265
6d216d7f
GM
1266 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1267
2bed3f04
GM
1268 * window.el (window-sides-slots):
1269 * tool-bar.el (tool-bar-position):
1270 * term/xterm.el (xterm-extra-capabilities):
1271 * ses.el (ses-self-reference-early-detection):
1272 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1273 (verilog-auto-wire-type)
1274 (verilog-auto-delete-trailing-whitespace)
1275 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1276 (verilog-auto-tieoff-declaration):
1277 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1278 (sql-oracle-statement-starters, sql-oracle-scan-on):
1279 * progmodes/prolog.el (prolog-align-comments-flag)
1280 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1281 (prolog-left-indent-regexp, prolog-paren-indent-p)
1282 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1283 (prolog-types, prolog-mode-specificators)
1284 (prolog-determinism-specificators, prolog-directives)
1285 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1286 (prolog-electric-dot-flag)
1287 (prolog-electric-dot-full-predicate-template)
1288 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1289 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1290 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1291 (prolog-program-switches, prolog-prompt-regexp)
1292 (prolog-debug-on-string, prolog-debug-off-string)
1293 (prolog-trace-on-string, prolog-trace-off-string)
1294 (prolog-zip-on-string, prolog-zip-off-string)
1295 (prolog-use-standard-consult-compile-method-flag)
1296 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1297 (prolog-imenu-max-lines, prolog-info-predicate-index)
1298 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1299 (prolog-char-quote-workaround):
1300 * progmodes/cc-vars.el (c-defun-tactic):
1301 * net/tramp.el (tramp-encoding-command-interactive)
1302 (tramp-local-end-of-line):
1303 * net/soap-client.el (soap-client):
1304 * net/netrc.el (netrc-file):
1305 * net/gnutls.el (gnutls):
1306 * minibuffer.el (completion-category-overrides)
1307 (completion-cycle-threshold)
1308 (completion-pcm-complete-word-inserts-delimiters):
1309 * man.el (Man-name-local-regexp):
1310 * mail/feedmail.el (feedmail-display-full-frame):
1311 * international/characters.el (glyphless-char-display-control):
1312 * eshell/em-ls.el (eshell-ls-date-format):
1313 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1314 (lisp-lambda-list-keyword-parameter-indentation)
1315 (lisp-lambda-list-keyword-parameter-alignment):
1316 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1317 * dired-x.el (dired-omit-verbose):
1318 * cus-theme.el (custom-theme-allow-multiple-selections):
1319 * calc/calc.el (calc-highlight-selections-with-faces)
1320 (calc-lu-field-reference, calc-lu-power-reference)
1321 (calc-note-threshold):
1322 * battery.el (battery-mode-line-limit):
1323 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1324 (archive-7z-update):
1325 * allout.el (allout-prefixed-keybindings)
1326 (allout-unprefixed-keybindings)
1327 (allout-inhibit-auto-fill-on-headline)
1328 (allout-flattened-numbering-abbreviation):
1329 * allout-widgets.el (allout-widgets-auto-activation)
1330 (allout-widgets-icons-dark-subdir)
1331 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1332 (allout-widgets-theme-dark-background)
1333 (allout-widgets-theme-light-background)
1334 (allout-widgets-item-image-properties-emacs)
1335 (allout-widgets-item-image-properties-xemacs)
1336 (allout-widgets-run-unit-tests-on-load)
1337 (allout-widgets-time-decoration-activity)
1338 (allout-widgets-hook-error-post-time)
1339 (allout-widgets-track-decoration):
1340 Add missing :version tags to new defcustoms and defgroups.
1341
5fec1b8e
GM
1342 * progmodes/sql.el (sql-ansi-statement-starters)
1343 (sql-oracle-statement-starters): Add custom type.
1344
3e0d2fa7
GM
1345 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1346 (prolog-system-version): Give it a type.
1347
90b671e2
EZ
13482012-02-11 Eli Zaretskii <eliz@gnu.org>
1349
1350 * term/pc-win.el (x-select-text, x-selection-owner-p)
1351 (x-own-selection-internal, x-disown-selection-internal)
1352 (x-get-selection-internal): Sync doc strings and argument lists
1353 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1354
5eac0c02
LL
13552012-02-11 Leo Liu <sdl.web@gmail.com>
1356
1357 * progmodes/python.el (python-end-of-statement): Fix infinite
1358 loop. (Bug#10788)
1359
f82cb659
GM
13602012-02-10 Glenn Morris <rgm@gnu.org>
1361
1362 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1363 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1364
cc26d239
LI
13652012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1366
1367 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1368 about SMTP before checking the From header.
1369
91027d08 1370 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1371 into own function for reuse by emacsbug.el.
1372
1be3ca5a
LL
13732012-02-10 Leo Liu <sdl.web@gmail.com>
1374
1375 * subr.el (condition-case-unless-debug): Rename from
1376 condition-case-no-debug. All callers changed.
1377 (with-demoted-errors): Fix caller.
1378
1379 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1380 * nxml/rng-valid.el (rng-do-some-validation):
1381 * emacs-lisp/package.el (package-refresh-contents)
1382 (package-menu-execute):
1383 * desktop.el (desktop-create-buffer):
91027d08 1384 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1385
b011fbfe
GM
13862012-02-10 Glenn Morris <rgm@gnu.org>
1387
b2096d72
GM
1388 * textmodes/bibtex.el:
1389 Add missing :version tags for new/changed defcustoms.
1390
b011fbfe
GM
1391 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1392
4c7e65bf
LI
13932012-02-09 Lars Ingebrigtsen <larsi@rusty>
1394
1395 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1396 (smtpmail-via-smtp): Use it, or fall back on the From address.
1397 (smtpmail-send-it): Ditto.
1398
f3934f6f
SM
13992012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1400
1401 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1402 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1403 (byte-compile-tmp-var): New const.
1404 (byte-compile-defvar): Use it to minimize .elc size.
1405 Just use `defvar' rather than simulate it (bug#10761).
1406
a075a2c5
GM
14072012-02-09 Glenn Morris <rgm@gnu.org>
1408
cf3aa21b
GM
1409 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1410
354998cd
GM
1411 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1412 Add :version tags.
1413
dc9924b8
SM
1414 * progmodes/compile.el (compilation-error-screen-columns)
1415 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1416
dab3703d
GM
1417 * vc/log-view.el (log-view-toggle-entry-display):
1418 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1419
3f88cd72
GM
1420 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1421 (report-emacs-bug-can-use-xdg-email):
1422 (report-emacs-bug-insert-to-mailer): Doc fixes.
1423 (report-emacs-bug): Message fix.
1424
d95b247d
GM
1425 * net/browse-url.el (browse-url-can-use-xdg-open)
1426 (browse-url-xdg-open): Doc fixes.
1427
a075a2c5
GM
1428 * electric.el (electric-indent-mode, electric-pair-mode)
1429 (electric-layout-rules, electric-layout-mode): Doc fixes.
1430 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1431
ffb6157e
MR
14322012-02-08 Martin Rudalics <rudalics@gmx.at>
1433
1434 * server.el (server-unselect-display): Don't inadvertently kill
1435 the current buffer. (Bug#10729)
1436
e1ac4066
GM
14372012-02-08 Glenn Morris <rgm@gnu.org>
1438
34e8a2da
GM
1439 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1440 (sql-list-table): Doc fixes.
1441
b4ac6e8c
GM
1442 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1443 Comment out (does nothing).
1444
e1ac4066
GM
1445 * completion.el (dynamic-completion-mode):
1446 * dirtrack.el (dirtrack-debug-mode):
1447 * electric.el (electric-layout-mode):
1448 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1449 * face-remap.el (text-scale-mode, buffer-face-mode):
1450 * iimage.el (iimage-mode):
1451 * image-mode.el (image-transform-mode):
1452 * minibuffer.el (completion-in-region-mode):
1453 * scroll-lock.el (scroll-lock-mode):
1454 * simple.el (next-error-follow-minor-mode):
1455 * tar-mode.el (tar-subfile-mode):
1456 * tooltip.el (tooltip-mode):
1457 * vcursor.el (vcursor-use-vcursor-map):
1458 * wid-browse.el (widget-minor-mode):
1459 * emulation/tpu-edt.el (tpu-edt-mode):
1460 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1461 * international/iso-ascii.el (iso-ascii-mode):
1462 * language/thai-util.el (thai-word-mode):
1463 * mail/supercite.el (sc-minor-mode):
1464 * net/goto-addr.el (goto-address-mode):
1465 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1466 * progmodes/cwarn.el (cwarn-mode):
1467 * progmodes/flymake.el (flymake-mode):
1468 * progmodes/glasses.el (glasses-mode):
1469 * progmodes/hideshow.el (hs-minor-mode):
1470 * progmodes/pascal.el (pascal-outline-mode):
1471 * textmodes/enriched.el (enriched-mode):
1472 * vc/smerge-mode.el (smerge-mode):
1473 Doc fixes (minor mode argument).
1474
5e0d957f
EZ
14752012-02-07 Eli Zaretskii <eliz@gnu.org>
1476
1477 * ls-lisp.el (ls-lisp-sanitize): New function.
1478 (ls-lisp-insert-directory): Use it to fix or remove any elements
1479 in file-alist with missing attributes. (Bug#4673)
1480
98d7371e
AM
14812012-02-07 Alan Mackenzie <acm@muc.de>
1482
1483 Fix spurious recognition of c-in-knr-argdecl.
1484
1485 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1486 putative K&R region.
1487
667ced3a
AM
14882012-02-07 Alan Mackenzie <acm@muc.de>
1489
eb864a71
LM
1490 * progmodes/cc-engine.el (c-forward-objc-directive):
1491 Prevent looping in "#pragma mark @implementation".
667ced3a 1492
5b77774d
MA
14932012-02-07 Michael Albinus <michael.albinus@gmx.de>
1494
1495 * notifications.el (notifications-on-closed-signal): Make `reason'
1496 optional. (Bug#10744)
1497
af008560
GM
14982012-02-07 Glenn Morris <rgm@gnu.org>
1499
60d47423
GM
1500 * emacs-lisp/easy-mmode.el (define-minor-mode):
1501 Doc fixes for the macro and the mode it defines.
1502
dd605cc4
GM
1503 * image.el (imagemagick-types-inhibit): Doc fix.
1504
af008560
GM
1505 * cus-start.el (imagemagick-render-type): Add it.
1506
5cc59a37
LI
15072012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1508
1509 * progmodes/cc-mode.el
1510 (c-standard-font-lock-fontify-region-function): Set the default at
1511 load time, too, so that `font-lock-fontify-buffer' can be called
1512 without setting up the entire mode first. This fixes a bug in
1513 `mm-inline-text' with C MIME parts.
1514
9a6dd747
CY
15152012-02-06 Chong Yidong <cyd@gnu.org>
1516
2d16b285
CY
1517 * simple.el (list-processes--refresh): Delete exited processes
1518 (Bug#8094).
1519
171e9b6e
CY
1520 * comint.el (comint-next-prompt): next-single-char-property-change
1521 and prev-single-char-property-change never return nil (Bug#8657).
1522
9a6dd747
CY
1523 * custom.el (defcustom): Doc fix (Bug#9711).
1524
aa4589a7
CY
15252012-02-05 Chong Yidong <cyd@gnu.org>
1526
5c2a252f
CY
1527 * cus-edit.el (custom-variable-reset-backup): Quote the value
1528 before storing it in the customized-value property (Bug#6712).
4aab9006 1529 (custom-display): Add a customization type tag.
983b9602 1530 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1531
aa4589a7
CY
1532 * wid-edit.el (widget-field-value-get): New optional arg to
1533 suppress trailing whitespace truncation.
1534 (character): Use it (Bug#2689).
1535
1ff980ae
AS
15362012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1537
1538 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1539 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1540
03988c98
CY
15412012-02-05 Chong Yidong <cyd@gnu.org>
1542
eeb6cc88
CY
1543 * cus-edit.el (custom-variable-value-create): For mismatched
1544 types, show the current value (Bug#7600).
1545
03988c98
CY
1546 * custom.el (defcustom): Doc fix.
1547
f8cdeef0
GM
15482012-02-05 Glenn Morris <rgm@gnu.org>
1549
1550 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1551
0696d255
JB
15522012-02-05 Juanma Barranquero <lekktu@gmail.com>
1553
1554 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1555 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1556 (pp-last-sexp): Use `looking-at-p'.
1557
34c99998
GM
15582012-02-04 Glenn Morris <rgm@gnu.org>
1559
8f05da42
GM
1560 * files.el (revert-buffer):
1561 Doc fix (mention revert-buffer-in-progress-p).
1562
f160676e
GM
1563 * emacs-lisp/ert-x.el (ert-simulate-command):
1564 Check deferred-action-list (which is obsolete) is bound.
1565
c7291ad9
GM
1566 * subr.el (with-wrapper-hook): Doc fixes.
1567
34c99998
GM
1568 * simple.el (filter-buffer-substring-functions)
1569 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1570
6283a7d3
LL
15712012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1572
1573 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1574 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1575
e96e3013
LL
15762012-02-04 Leo Liu <sdl.web@gmail.com>
1577
1578 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1579
8ded50f2
GM
15802012-02-04 Glenn Morris <rgm@gnu.org>
1581
82ff1d13
GM
1582 * image.el (image-extension-data): Add obsolete alias.
1583
987a0a16
GM
1584 * isearch.el (isearch-update): Doc fix.
1585
ea32ef46
GM
1586 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1587
8ded50f2
GM
1588 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1589
eea14f31
GM
15902012-02-03 Glenn Morris <rgm@gnu.org>
1591
1592 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1593 (image-animate-timeout): Doc fix.
1594
1595 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1596
12f381b7
GM
15972012-02-02 Glenn Morris <rgm@gnu.org>
1598
953cebf5
GM
1599 * server.el (server-auth-dir): Doc fix.
1600 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1601
12f381b7
GM
1602 * subr.el (run-mode-hooks): Doc fix.
1603
953a8c3b
JL
16042012-02-02 Juri Linkov <juri@jurta.org>
1605
1606 * image-mode.el (image-toggle-display-image): Remove tautological
1607 `major-mode' from the `derived-mode-p' test.
1608
c5d3843c
KH
16092012-02-02 Kenichi Handa <handa@m17n.org>
1610
9f6e692e 1611 * composite.el (compose-region): Cancel previous change.
c5d3843c 1612
159462d4 16132012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1614
1615 * composite.el (compose-region, compose-string): Signal error for
1616 a null string component (Bug#6988).
1617
9f562668
CY
16182012-02-01 Chong Yidong <cyd@gnu.org>
1619
e2cef717
CY
1620 * view.el (view-buffer-other-window, view-buffer-other-frame):
1621 Handle special modes like view-buffer (Bug#10650).
1622 (view-buffer): Simplify.
1623
9f562668
CY
1624 * frame.el (set-frame-font): Tweak meaning of third argument.
1625
9f6e692e
JB
1626 * dynamic-setting.el (font-setting-change-default-font):
1627 Use set-frame-font (Bug#9982).
9f562668 1628
781acb9f
GM
16292012-02-01 Glenn Morris <rgm@gnu.org>
1630
6035be52
GM
1631 * progmodes/compile.el (compilation-internal-error-properties):
1632 Respect compilation-first-column in the "*compilation*" buffer.
1633
781acb9f
GM
1634 * emacs-lisp/easy-mmode.el (define-minor-mode):
1635 Relax :variable's test for a named function.
1636
abbceb00
AM
16372012-01-31 Alan Mackenzie <acm@muc.de>
1638
1639 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1640 off by one error.
1641
fce3fdeb
CY
16422012-01-31 Chong Yidong <cyd@gnu.org>
1643
1644 * frame.el (set-frame-font): New arg ALL-FRAMES.
1645
1646 * menu-bar.el (menu-set-font): Use set-frame-font.
1647
1648 * faces.el (face-spec-reset-face): Don't apply unspecified
1649 attribute values to the default face.
1650
47893581
JB
16512012-01-31 Juanma Barranquero <lekktu@gmail.com>
1652
1653 * progmodes/cwarn.el (cwarn): Remove dead link.
1654 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1655 Remove * from defcustom docstrings.
1656 (turn-on-cwarn-mode): Make obsolete.
1657 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1658 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1659
e58e988a
GM
16602012-01-31 Glenn Morris <rgm@gnu.org>
1661
60dc2671 1662 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1663 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1664 Allow named functions to be used as the cdr of :variable.
e58e988a 1665
7a3f511d
GM
16662012-01-30 Glenn Morris <rgm@gnu.org>
1667
1668 * emacs-lisp/authors.el (authors-fixed-entries):
1669 Remove reference to deleted file rnewspost.el.
1670
cb882333
JB
16712012-01-29 Juanma Barranquero <lekktu@gmail.com>
1672
1673 * window.el (window-with-parameter): Remove unused variable `windows'.
1674 (window--side-check): Remove unused variable `code'.
1675 (window--resize-siblings): Remove unused variable `first'.
1676 (adjust-window-trailing-edge): Remove unused variable `failed'.
1677 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1678 Use `let', not `let*'.
1679 (balance-windows-2): Remove unused variable `found'.
1680 (window--state-put-2): Remove unused variable `splits'.
1681 (window-state-put): Remove unused variable `selected'.
1682 (same-window-p): Use `string-match-p'.
1683 (display-buffer-assq-regexp): Remove unused variable `value'.
1684 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1685 Mark argument ALIST as ignored.
1686 (pop-to-buffer): Remove unused variable `old-window'.
1687
907201af
EZ
16882012-01-29 Eli Zaretskii <eliz@gnu.org>
1689
1690 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1691 and .lzma compressed files.
1692
ea162670
CY
16932012-01-29 Chong Yidong <cyd@gnu.org>
1694
5b95ee8a
CY
1695 * frame.el (window-system-default-frame-alist): Doc fix.
1696
ea162670
CY
1697 * dynamic-setting.el (font-setting-change-default-font): Don't
1698 change the default face if SET-FONT argument is non-nil (Bug#9982).
1699
d6e6f4b1
SB
17002012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1701
1702 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1703
0f29fa41 17042012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1705
1706 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1707 breakpoints in files outside current directory (Bug#6098).
1708
db174434
CY
17092012-01-29 Chong Yidong <cyd@gnu.org>
1710
6b25e4e2
SE
1711 * progmodes/python.el: Require ansi-color at top-level.
1712
6df6ae42
JB
1713 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1714 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1715 (lisp-mode-abbrev-table): Add doc.
1716 (lisp-mode-variables): Don't set local-abbrev-table.
1717 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1718
e70ee681
RW
17192012-01-28 Roland Winkler <winkler@gnu.org>
1720
1721 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1722
ace88aa2
RW
17232012-01-28 Roland Winkler <winkler@gnu.org>
1724
1725 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1726 (bibtex-set-dialect): Use it. Either set global values of
1727 dialect-dependent variables or bind these variables buffer-locally
1728 (Bug#10254).
1729 (bibtex-mode): Call bibtex-set-dialect via
1730 hack-local-variables-hook.
eb864a71
LM
1731 (bibtex-dialect): Update docstring.
1732 Add safe-local-variable predicate.
ace88aa2
RW
1733 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1734 bibtex-set-dialect.
1735 (bibtex-mode-map): Define menu for each dialect.
1736 (bibtex-entry): Fix docstring.
1737
93376c5b
CY
17382012-01-28 Chong Yidong <cyd@gnu.org>
1739
1740 * eshell/esh-arg.el (eshell-quote-argument): New function.
1741
1742 * eshell/esh-ext.el (eshell-invoke-batch-file):
1743 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1744 first arg to eshell-parse-command (Bug#10523).
1745
4372494f
DA
17462012-01-28 Drew Adams <drew.adams@oracle.com>
1747
1748 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1749 `default-directory' is non-nil.
1750
4d4ec1f8
EZ
17512012-01-28 Eli Zaretskii <eliz@gnu.org>
1752
1753 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1754 line that displays system-configuration-options. (Bug#9924)
1755
7c188927
DA
17562012-01-28 Drew Adams <drew.adams@oracle.com>
1757
1758 * descr-text.el (describe-char): Show information about POS, in
1759 addition to information about the character at POS. Improve and
1760 update the doc string. Change "code point" to "code point in
1761 charset", to avoid confusion with the character's Unicode code
1762 point shown above that. (Bug#10129)
1763
e0da685a
EZ
17642012-01-28 Eli Zaretskii <eliz@gnu.org>
1765
1766 * descr-text.el (describe-char): Show the raw character, not only
1767 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1768 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1769 for the reasons.
1770
70550acf
PH
17712012-01-28 Phil Hagelberg <phil@hagelb.org>
1772
eb864a71
LM
1773 * emacs-lisp/package.el (package-install):
1774 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1775
0ce8e868
CY
17762012-01-28 Chong Yidong <cyd@gnu.org>
1777
cb882333
JB
1778 * emacs-lisp/package.el (package-maybe-load-descriptor):
1779 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1780 (package-maybe-load-descriptor): Use it.
1781 (package-download-transaction): Fully load required packages
1782 inside the loop, so that `require' calls work (Bug#10593).
1783 (package-install): No need to call package-initialize now.
1784
2e7f3bea
CY
17852012-01-28 Chong Yidong <cyd@gnu.org>
1786
6e9bad14
CY
1787 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1788
f823b8ca
CY
1789 * tooltip.el (tooltip-mode): Doc fix.
1790 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1791
2680c309
CY
1792 * frame.el (set-cursor-color): Doc fix (Bug#352).
1793
d7a9e63b
CY
1794 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1795 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1796
2e7f3bea
CY
1797 * cus-edit.el (custom-buffer-create-internal): Fix search button
1798 action (Bug#10542).
2ae01800 1799 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1800
fc4f7a23
EW
18012012-01-27 Eduard Wiebe <usenet@pusto.de>
1802
1803 * dired.el (dired-mark-files-regexp):
1804 Include any subdirectory components. (Bug#10445)
1805
7dd37071
ML
18062012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1807
1808 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1809 Handle [host]:port syntax. (Bug#10533)
1810
a268160b
AH
18112012-01-27 Alex Harsanyi <harsanyi@mac.com>
1812
1813 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1814
e43273ef
GM
18152012-01-26 Glenn Morris <rgm@gnu.org>
1816
1817 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1818 * term.el (term-raw-escape-map): Use Control-X-prefix.
1819 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1820
1edf595d
MR
18212012-01-25 Martin Rudalics <rudalics@gmx.at>
1822
1823 * window.el (window-state-get, window--state-get-1): Don't deal
1824 with fixed-sizeness of windows. Simplify code.
1825
fa8eafef
JC
18262012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1827
6df6ae42
JB
1828 * window.el (window--state-get-1, window--state-put-2):
1829 Don't save and restore the mark.
fa8eafef 1830
0b21c100
CY
18312012-01-25 Chong Yidong <cyd@gnu.org>
1832
1833 * custom.el (custom-variable-p): Doc fix.
1834
5ae1a6c8
GM
18352012-01-25 Glenn Morris <rgm@gnu.org>
1836
40047858
GM
1837 * dired.el (dired-goto-file): Handle some of the more common
1838 characters that `ls -b' escapes. (Bug#10596)
1839
5ddce96c
GM
1840 * progmodes/compile.el (compilation-next-error-function):
1841 Respect compilation-first-column in the "*compilation*" buffer.
1842 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1843
5ae1a6c8
GM
1844 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1845
b559f1a9
GM
18462012-01-24 Glenn Morris <rgm@gnu.org>
1847
1848 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1849
6725d21a
JD
18502012-01-24 Julien Danjou <julien@danjou.info>
1851
1852 * color.el (color-rgb-to-hsl): Fix value computing.
1853 (color-hue-to-rgb): New function.
1854 (color-hsl-to-rgb): New function.
1855 (color-clamp, color-saturate-hsl, color-saturate-name)
1856 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1857 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1858
70df4bbe
GM
18592012-01-24 Glenn Morris <rgm@gnu.org>
1860
1861 * vc/vc-rcs.el (vc-rcs-create-tag):
1862 * vc/vc-sccs.el (vc-sccs-create-tag):
1863 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1864
802a2ae2
ML
18652012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1866
1867 * eshell/esh-util.el (eshell-read-hosts-file):
1868 Skip comment lines. (Bug#10549)
1869
d7128bb1
ML
1870 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1871
d1a5c3b4
JB
18722012-01-23 Juanma Barranquero <lekktu@gmail.com>
1873
2724d9c7
JB
1874 * subr.el (display-delayed-warnings): Doc fix.
1875 (collapse-delayed-warnings): New function to collapse identical
1876 adjacent warnings.
1877 (delayed-warnings-hook): Add it.
d1a5c3b4 1878
a5509865
MA
18792012-01-22 Michael Albinus <michael.albinus@gmx.de>
1880
1881 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1882
1883 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1884 properties, when "login-as" is set.
1885
1886 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1887 (tramp-default-user-alist): Don't add "pscp".
1888 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1889 property "login-as", if set. (Bug#10530)
1890
cc6d5805
MA
18912012-01-21 Michael Albinus <michael.albinus@gmx.de>
1892
1893 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1894 "plink1" and "psftp". (Bug#10530)
1895
18962012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1897
1898 * international/mule-cmds.el (prefer-coding-system): Show a
1899 warning message if the default value of file-name-coding-system
1900 was not changed.
1901
f0960428
JC
19022012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1903
cb882333
JB
1904 * windmove.el (windmove-reference-loc):
1905 Fix windmove-reference-loc miscalculation.
f0960428 1906
dd6f2a63
JB
19072012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1908
1909 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1910 default unit.
1911
7b447e9b
GM
19122012-01-21 Glenn Morris <rgm@gnu.org>
1913
117a9ea1
GM
1914 * international/mule.el (auto-coding-alist): Add .tbz.
1915
7b447e9b
GM
1916 * files.el (local-enable-local-variables): Doc fix.
1917 (inhibit-local-variables-regexps): Rename from
1918 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1919 Doc fix. Add some extensions from auto-coding-alist.
1920 (inhibit-local-variables-suffixes):
1921 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1922 (inhibit-local-variables-p):
1923 New function, extracted from set-auto-mode-1.
1924 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1925 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1926 (hack-local-variables): Doc fix. Make the mode-only case
1927 respect enable-local-variables and friends.
1928 Respect inhibit-local-variables-regexps for file-locals, but
1929 not for directory-locals.
1930 (set-visited-file-name):
1931 Take account of inhibit-local-variables-regexps.
1932 Whether it applies may change as the file name is changed.
1933 * jka-cmpr-hook.el (jka-compr-install):
1934 * jka-compr.el (jka-compr-uninstall):
1935 Update for inhibit-first-line-modes-suffixes name change.
1936
dd6e3cdd
MR
19372012-01-20 Martin Rudalics <rudalics@gmx.at>
1938
1939 * help-macro.el (make-help-screen): Temporarily restore original
1940 binding for minor-mode-map-alist (Bug#10454).
1941
0d0deb38
JD
19422012-01-19 Julien Danjou <julien@danjou.info>
1943
1944 * color.el (color-name-to-rgb): Use the white color to find the max
1945 color component value and return correctly computed values.
1946 (color-name-to-rgb): Add missing float conversion for max value.
1947
34a02f46
MR
19482012-01-19 Martin Rudalics <rudalics@gmx.at>
1949
1950 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1951 special state value for window-persistent-parameters.
1952 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1953 (window--state-put-2): Reset all window parameters to nil before
1954 assigning values of persistent parameters.
1955
606c44c4
AM
19562012-01-18 Alan Mackenzie <acm@muc.de>
1957
1958 Eliminate sluggishness and hangs in fontification of "semicolon
1959 deserts".
1960
cb882333
JB
1961 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1962 Change value 10000 -> 3000.
606c44c4
AM
1963 (c-state-safe-place): Reformulate so it doesn't stack up an
1964 infinite number of wrong entries in c-state-nonlit-pos-cache.
1965 (c-determine-limit-get-base, c-determine-limit): New functions to
1966 determine backward search limits disregarding literals.
1967 (c-find-decl-spots): Amend commenting.
1968 (c-cheap-inside-bracelist-p): New function which detects "={".
1969
1970 * progmodes/cc-fonts.el
1971 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1972 backward search.
1973 (c-font-lock-declarations): Fix an occurrence of point being
1974 undefined. Check additionally for point being in a bracelist or
1975 near a macro invocation without a semicolon so as to avoid a
1976 fruitless time consuming search for a declarator. Give a more
1977 precise search limit for declarators using the new
1978 c-determine-limit.
1979
f3860cea
GM
19802012-01-18 Glenn Morris <rgm@gnu.org>
1981
1982 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1983 (set-auto-mode): Doc fixes.
1984
1db03b16
GM
19852012-01-17 Glenn Morris <rgm@gnu.org>
1986
0e6038be
GM
1987 * isearch.el (search-nonincremental-instead): Fix doc typo.
1988
1db03b16
GM
1989 * dired.el (dired-insert-directory): Handle newlines in directory name.
1990 (dired-build-subdir-alist): Unescape newlines in directory name.
1991
4cb0aa75
MA
19922012-01-17 Michael Albinus <michael.albinus@gmx.de>
1993
1994 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1995 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1996 (tramp-action-terminal): Use it. (Bug#10530)
1997
1d00653d
SM
19982012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1999
2000 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2001
6a6ee00d
MR
20022012-01-16 Martin Rudalics <rudalics@gmx.at>
2003
2004 * window.el (window-state-ignored-parameters): Remove variable.
2005 (window--state-get-1): Rename argument MARKERS to IGNORE.
2006 Handle persistent window parameters. Make copy of clone-of
2007 parameter only if requested. (Bug#10348)
2008 (window--state-put-2): Install a window parameter only if it has
2009 a non-nil value or an existing parameter shall be overwritten.
2010
97912def
MA
20112012-01-15 Michael Albinus <michael.albinus@gmx.de>
2012
2013 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2014
688070a5
EZ
20152012-01-14 Eli Zaretskii <eliz@gnu.org>
2016
2017 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2018 don't pass the (nil) value of `upnode' to string-match.
2019
301afadc
CY
20202012-01-14 Chong Yidong <cyd@gnu.org>
2021
2022 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2023 Fix values recognized by the cursorBlink resource.
301afadc 2024
9e5788aa
PE
20252012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2026
2027 * epg.el (epg--make-temp-file): Avoid permission race condition
2028 when running on old Emacs versions (bug#10403).
2029
3cdb7f5a
GM
20302012-01-14 Glenn Morris <rgm@gnu.org>
2031
2032 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2033
8c82b1b4
AM
20342012-01-13 Alan Mackenzie <acm@muc.de>
2035
2036 Fix filling for when filladapt mode is enabled.
2037
2038 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2039 c-mask-paragraph, pass in `fill-paragraph' rather than
2040 `fill-region-as-paragraph'. (This is a reversion of a previous
2041 change.)
eb864a71
LM
2042 * progmodes/cc-mode.el (c-basic-common-init):
2043 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2044
e517eda4
GM
20452012-01-13 Glenn Morris <rgm@gnu.org>
2046
1498536e
GM
2047 * dired.el (dired-switches-escape-p): New function.
2048 (dired-insert-directory): Use dired-switches-escape-p.
2049 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2050
e517eda4
GM
2051 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2052
328f984d
GM
20532012-01-12 Glenn Morris <rgm@gnu.org>
2054
2055 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2056 changes in adaptive-fill-regexp. (Bug#10276)
2057
2cc769a8
AM
20582012-01-11 Alan Mackenzie <acm@muc.de>
2059
2060 Fix Emacs bug #10463 - put `widen's around the critical spots.
2061
1d00653d 2062 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2063 widen around each invocation of c-state-pp-to-literal. Remove an
2064 unused let variable.
2065
e52c37fa
GM
20662012-01-11 Glenn Morris <rgm@gnu.org>
2067
2068 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2069 Doc fix.
e52c37fa 2070
96f8741e
CY
20712012-01-10 Chong Yidong <cyd@gnu.org>
2072
1d00653d
SM
2073 * net/network-stream.el (network-stream-open-starttls):
2074 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2075 response to the capability command.
2076
b09a806e
GM
20772012-01-10 Glenn Morris <rgm@gnu.org>
2078
2079 * mail/unrmail.el (unrmail): Tweak previous change.
2080
7655cb66
CY
20812012-01-09 Chong Yidong <cyd@gnu.org>
2082
2083 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2084
9d5a8f0b
AM
20852012-01-08 Alan Mackenzie <acm@muc.de>
2086
2087 Optimise font locking in long enum definitions.
2088
2089 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2090 arm to a cond form to handle enums.
2091 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2092 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2093
9a0115ab 20942012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2095
2096 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2097 (Bug#10401)
6bb72cbd 2098
f186bb95
LMI
20992012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2100
29232a68
LMI
2101 * faces.el (set-face-attribute): Clarify the meaning of the nil
2102 frame (bug#10294).
2103
4e5d086d
LMI
2104 * subr.el (with-selected-frame): Mention that the selected frame
2105 is restored (bug#9980).
2106
8e66aebe
LMI
2107 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2108 (bug#9759).
2109
cd394be1 2110 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2111 (password-read): Don't autoload unused function.
2112
adf4e762
JB
21132012-01-07 Juanma Barranquero <lekktu@gmail.com>
2114
2115 * progmodes/which-func.el (which-func-mode): Turn into a
2116 non-interactive function and mark as obsolete (bug#10428).
2117
89bd9ccd
CY
21182012-01-06 Chong Yidong <cyd@gnu.org>
2119
2120 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2121 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2122 functions, along with 1 and -1.
2123
4afee9d5
EZ
21242012-01-06 Eli Zaretskii <eliz@gnu.org>
2125
2126 * time.el (display-time-load-average)
2127 (display-time-default-load-average): Doc fixes. See the thread
2128 starting at
2129 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2130 for the details.
2131
536aea70
GM
21322012-01-06 Glenn Morris <rgm@gnu.org>
2133
665ae865
GM
2134 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2135 has no messages. (Bug#10377)
2136
c869783d
GM
2137 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2138 than Info-edit. (Bug#10385)
2139
2bb4227e
GM
2140 * time.el (display-time-load-average, display-time-next-load-average):
2141 Doc fixes.
2142
7d5944b9
GM
2143 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2144 local setting of buffer-read-only to the input buffer. (Bug#10419)
2145
536aea70
GM
2146 * calendar/calendar.el (calendar-mode):
2147 Locally set scroll-margin to 0. (Bug#10379)
2148
7dccca16
UM
21492012-01-06 Ulrich Mueller <ulm@gentoo.org>
2150
2151 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2152
afbb7930
GM
21532012-01-05 Glenn Morris <rgm@gnu.org>
2154
2155 * eshell/em-unix.el (diff-no-select): Autoload it.
2156 (eshell/diff): Use diff-no-select. (Bug#10420)
2157
04482335
CY
21582012-01-05 Chong Yidong <cyd@gnu.org>
2159
7baca3bc
CY
2160 * shell.el (shell-dynamic-complete-functions): Revert last change.
2161 (shell-command-completion-function): New function.
2162 (shell-completion-vars): Use it to implement
2163 shell-completion-execonly (Bug#10417).
2164
04482335
CY
2165 * custom.el (enable-theme): Don't set custom-safe-themes.
2166
1d00653d
SM
2167 * cus-theme.el (custom-theme-merge-theme):
2168 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2169
bb5aa5d6
MM
21702012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2171
2172 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2173 first prompt in `sql-interacive-mode'.
2174 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2175 keywords.
6df6ae42 2176 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2177 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2178 context of original buffer. Invoke `sql-login-hook'.
2179
a7183d7c
EZ
21802012-01-04 Eli Zaretskii <eliz@gnu.org>
2181
2182 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2183 letters in cite-prefix.
2184
a1eacd1e
LMI
21852012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2186
2187 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2188
787cdb34
CY
21892012-01-03 Chong Yidong <cyd@gnu.org>
2190
1d00653d
SM
2191 * shell.el (shell-dynamic-complete-functions):
2192 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2193 comint-filename-completion first (Bug#10417).
2194
30710442
RS
21952012-01-02 Richard Stallman <rms@gnu.org>
2196
2197 * battery.el (battery-status-function):
2198 Detect when to use battery-yeeloong-sysfs.
2199 (battery-echo-area-format): Add string for Yeeloong.
2200 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2201 (battery-yeeloong-sysfs): New function.
2202
f75bfc33
CY
22032012-01-02 Chong Yidong <cyd@gnu.org>
2204
2205 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2206 (dirtrack): Merge code for handling relative filenames in prompt
2207 from shell-dir-cookie-watcher.
2208 (dirtrack-debug-message): New arg to avoid excess format calls.
2209
2210 * shell.el (shell-dir-cookie-re): Variable deleted.
2211 (shell-dir-cookie-watcher): Function deleted.
2212 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2213 with dirtrack-mode.
2214
651e947e
EZ
22152012-01-01 Eli Zaretskii <eliz@gnu.org>
2216
1d00653d
SM
2217 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2218 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2219 libgnutls-26.dll.
2220
94d4c7dc
AS
22212011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2222
2223 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2224
8d43f3cd
EZ
22252011-12-31 Eli Zaretskii <eliz@gnu.org>
2226
2227 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2228 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2229
98c8795a
MA
22302011-12-29 Michael Albinus <michael.albinus@gmx.de>
2231
2232 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2233 also for alternative shells.
2234 (tramp-open-connection-setup-interactive-shell): Check, whether
2235 the shell is a busybox.
2236 (tramp-send-command): Don't suppress multiple prompts for
2237 busyboxes, it hurts.
2238
51281b32
CY
22392011-12-28 Chong Yidong <cyd@gnu.org>
2240
2241 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2242 (gdb-get-source-file): Move mode line update to
2243 gdb-get-source-file (Bug#10087).
2244
2170cb53
CY
22452011-12-25 Chong Yidong <cyd@gnu.org>
2246
2247 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2248 gud-gdb-marker-filter without taking it as an argument.
2249 (gud-gdb-run-command-fetch-lines): Caller changed.
2250 (gud-gdb-completion-function): New variable.
2251 (gud-gdb-completion-at-point): Use it.
2252 (gud-gdb-completions-1): Split from gud-gdb-completions.
2253
2254 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2255 function as separate arguments.
2256 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2257 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2258 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2259 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2260 (gdb-stopped, def-gdb-auto-update-trigger)
2261 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2262 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2263 Callers changed.
2170cb53
CY
2264 (gud-gdbmi-completions): New function.
2265 (gdb): Use it for generating the completion table.
2266
be8b11bb
AM
22672011-12-24 Alan Mackenzie <acm@muc.de>
2268
2269 Introduce a mechanism to widen the region used in context font
1d00653d 2270 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2271
1d00653d
SM
2272 * progmodes/cc-langs.el (c-before-font-lock-functions):
2273 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2274 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2275 functions to be run just before context (etc.) font locking.
2276
2277 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2278 New, functionality extracted from
be8b11bb 2279 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2280 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2281 (c-after-change): Set c-in-after-change-fontification.
2282 (c-set-fl-decl-start): Rejig its interface, so it can be called
2283 from both after-change and context fontifying.
b81d40f0
JB
2284 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2285 New functions.
2286 (c-standard-font-lock-fontify-region-function): New variable.
2287 (c-font-lock-fontify-region): New function.
be8b11bb 2288
341cf6ac
JL
22892011-12-24 Juri Linkov <juri@jurta.org>
2290
2291 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2292 (Bug#10348)
2293
bffcee0a
MA
22942011-12-23 Michael Albinus <michael.albinus@gmx.de>
2295
2296 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2297 existence of source file. (Bug#10325)
2298
cb5e207c
AM
22992011-12-23 Alan Mackenzie <acm@muc.de>
2300
2301 Fix unstable fontification inside templates.
2302
b81d40f0
JB
2303 * progmodes/cc-langs.el (c-before-font-lock-functions):
2304 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2305 additionally has c-set-fl-decl-start. The other languages (apart
2306 from AWK) have that as a single entry.
2307
b81d40f0
JB
2308 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2309 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2310 c-set-fl-decl-start.
2311
b81d40f0
JB
2312 * progmodes/cc-mode.el (c-common-init, c-after-change):
2313 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2314 (c-set-fl-decl-start): New function, extracted from
2315 c-font-lock-enclosing-decls and enhanced.
2316
60ff536c
JB
23172011-12-23 Juanma Barranquero <lekktu@gmail.com>
2318
2319 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2320
1c4757d6
JL
23212011-12-22 Juri Linkov <juri@jurta.org>
2322
2323 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2324
d031f2c7
CY
23252011-12-22 Chong Yidong <cyd@gnu.org>
2326
2327 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2328
bace743a
DA
23292011-12-21 Drew Adams <drew.adams@oracle.com>
2330
2331 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2332
728a1f2b
JC
23332011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2334
2335 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2336
0d373f73
TZ
23372011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2338
fec0aaa4
TZ
2339 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2340 highlighting and support. Fix up comments for capitalization.
2341 (cfengine-mode-debug): New var.
2342 (cfengine3-mode): Change the modeline indicator to "CFE3".
2343 (cfengine3-font-lock-keywords): Improve defun highlighting.
2344 (cfengine2-actions): Rename from `cfengine-actions'.
2345 (cfengine2-font-lock-keywords): Rename from
2346 `cfengine-font-lock-keywords'.
2347 (cfengine2-imenu-expression): Rename from
2348 `cfengine-imenu-expression'.
2349 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2350 (cfengine2-beginning-of-defun): Rename from
2351 `cfengine-beginning-of-defun'.
2352 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2353 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2354 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2355 modeline indicator to "CFE2".
2356 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2357 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2358
bc86f573
CY
23592011-12-21 Chong Yidong <cyd@gnu.org>
2360
2361 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2362 filename argument.
2363
d45ba96b
MR
23642011-12-20 Martin Rudalics <rudalics@gmx.at>
2365
2366 * window.el (window-normalize-buffer-to-display): Remove.
2367 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2368
a6198c90
CY
23692011-12-19 Chong Yidong <cyd@gnu.org>
2370
2371 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2372 Don't signal an error in a predicate function; return non-nil.
2373 (vc-dir-mark-file): Move the error here.
2374 (vc-dir-mark-unmark): If acting on the region, keep going if one
2375 of the entries cannot be marked/unmarked.
2376 (vc-dir-mark-all-files): If current entry is a directory, mark
2377 only child files, as documented.
2378
34c5fb55
VB
23792011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2380
2381 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2382 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2383 addition.
2384
c803b2b7
JD
23852011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2386
2387 * term/ns-win.el (ns-get-selection-internal)
2388 (ns-store-selection-internal): Declare.
1154d12e
JB
2389 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2390 Declare as obsolete.
2391 (ns-get-pasteboard, ns-paste-secondary):
2392 Use ns-get-selection-internal.
2393 (ns-set-pasteboard, ns-copy-including-secondary):
2394 Use ns-store-selection-internal.
c803b2b7 2395
9cff91f8 23962011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2397
2398 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2399 (vc-deduce-fileset): Doc fix.
99a289d9 2400
f16c898a
AS
24012011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2402
2403 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2404
763237c4
SS
24052011-12-13 Sam Steingold <sds@gnu.org>
2406
2407 * man.el (Man-getpage-in-background): When running under a
2408 window-system, ignore $MANWIDTH and $COLUMNS.
2409
5fc1c122
KH
24102011-12-15 Kenichi Handa <handa@m17n.org>
2411
2412 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2413 (setup-ethiopic-environment-internal): Comment out key-binding for
2414 ethio-toggle-punctuation.
2415
13d49cbb
AM
24162011-12-13 Alan Mackenzie <acm@muc.de>
2417
898169a2
AM
2418 Add the switch statement to AWK Mode.
2419
7a71b18d 2420 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2421 "default" to the keywords regexp.
2422
7a71b18d 2423 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2424 expression as the rest.
1d00653d
SM
2425 (c-nonlabel-token-key): Allow string literals for AWK.
2426 Refactor for the other modes.
898169a2 2427
13d49cbb 2428 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2429 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2430 routines. Limit backward searching in c-font-lock-enclosing.decl.
2431
2432 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2433 pp-state and literal type in addition to the limits.
1d00653d 2434 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2435 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2436 (c-slow-in-literal, c-fast-in-literal): Remove.
2437 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2438
2439 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2440 being in a literal. Add a limit for backward searching.
2441
2442 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2443 c-slow-in-literal.
2444
15e0efc7
SM
24452011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2446
2447 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2448
454592a6
MR
24492011-12-13 Martin Rudalics <rudalics@gmx.at>
2450
2451 * window.el (delete-other-windows): Use correct frame in call to
2452 window-with-parameter.
2453
87393f26
DP
24542011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2455
2456 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2457 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2458 (makefile-gmake-statements, makefile-makepp-statements):
2459 Use it and add new makepp keywords.
2460 (makefile-makepp-font-lock-keywords): Add new patterns.
2461 (makefile-match-function-end): Match new [...] and [[...]].
2462
11636b22
JB
24632011-12-11 Juanma Barranquero <lekktu@gmail.com>
2464
2465 * ses.el (ses-call-printer-return, ses-cell-property-get)
2466 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2467 (ses-create-cell-variable, ses-reset-header-string)
2468 (ses-cell-set-formula, ses-repair-cell-reference-all)
2469 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2470 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2471 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2472 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2473 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2474 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2475 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2476 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2477 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2478 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2479 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2480 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2481
cf018193
VB
24822011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2483
2484 * ses.el: The overall change is to add cell renaming, that is
2485 setting fancy names for cell symbols other than name matching
2486 "\\`[A-Z]+[0-9]+\\'" regexp .
2487 (ses-create-cell-variable): New defun.
2488 (ses-relocate-formula): Relocate formulas only for cells the
2489 symbols of which are not renamed, i.e. symbols whose names do not
2490 match regexp "\\`[A-Z]+[0-9]+\\'".
2491 (ses-relocate-all): Relocate values only for cells the symbols of
2492 which are not renamed.
2493 (ses-load): Create cells variables as the (ses-cell ...) are read,
2494 in order to check row col consistency with cell symbol name only
2495 for cells that are not renamed.
2496 (ses-replace-name-in-formula): New defun.
2497 (ses-rename-cell): New defun.
2498
ee957461
CY
24992011-12-11 Chong Yidong <cyd@gnu.org>
2500
2501 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2502 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2503
9a9e9ef0
MR
25042011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2505
2506 * window.el (other-window): Fix docstring.
2507
92a8eba5
EZ
25082011-12-10 Eli Zaretskii <eliz@gnu.org>
2509
2510 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2511 `from' or `to' address before taking its substring.
2512 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2513 encoded name is chopped in the middle of the encoded string, and
2514 thus displayed encoded.
2515
e152e577
JB
25162011-12-10 Juanma Barranquero <lekktu@gmail.com>
2517
2518 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2519
e5d84bfe
EZ
25202011-12-10 Eli Zaretskii <eliz@gnu.org>
2521
2522 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2523 to use texinfo-update-node and commands that call it if the
2524 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2525 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2526 (texinfo-all-menus-update, texinfo-master-menu)
2527 (texinfo-update-node, texinfo-every-node-update)
2528 (texinfo-multiple-files-update): Doc fix. Warn against updating
2529 all the @node lines.
2530 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2531 argument is numeric. Explain better in the doc string what the
2532 function really does.
2533 (texinfo-insert-master-menu-list): Improve the error message
2534 displayed if there's no menu in the Top node.
2535 (Bug#2975) See also this thread:
e5d84bfe
EZ
2536 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2537
1d84e9bb
MG
25382011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2539
2540 * speedbar.el (speedbar-supported-extension-expressions):
2541 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2542
382c953b
JB
25432011-12-09 Juanma Barranquero <lekktu@gmail.com>
2544
2545 * printing.el (pr-mode-alist):
2546 * simple.el (filter-buffer-substring-functions)
2547 (completion-list-insert-choice-function):
2548 * window.el (window-with-parameter, window-atom-root)
2549 (window-sides-slots, window-size-fixed, window-min-delta)
2550 (window-max-delta, window--resize-mini-window)
2551 (window--resize-child-windows-normal, window-tree)
2552 (delete-other-windows, quit-window, split-window)
2553 (display-buffer-record-window, special-display-buffer-names)
2554 (special-display-regexps, special-display-popup-frame)
2555 (same-window-p, split-window-sensibly)
2556 (display-buffer-overriding-action, display-buffer-alist)
2557 (display-buffer-base-action, display-buffer, switch-to-buffer)
2558 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2559 (fit-window-to-buffer, recenter-positions)
2560 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2561 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2562 and remove unneeded backslashes in docstrings.
2563
39c9faef
SM
25642011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2565
98449af8
SM
2566 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2567
39c9faef
SM
2568 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2569 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2570 end in ".mk".
2571 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2572 when reading the makefile (bug#10116).
2573
86ed9fdc
SM
25742011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2575
2576 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2577 (bug#10116).
2578
5580f89d
GM
25792011-12-06 Glenn Morris <rgm@gnu.org>
2580
2581 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2582
28d3917c
CY
25832011-12-06 Chong Yidong <cyd@gnu.org>
2584
2585 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2586
a98edce9
JB
25872011-12-06 Juanma Barranquero <lekktu@gmail.com>
2588
2589 * textmodes/table.el (table-shorten-cell): Fix typo.
2590
e65adfac
CG
25912011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2592
2593 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2594
71cc0b74
EZ
25952011-12-05 Eli Zaretskii <eliz@gnu.org>
2596
2597 * descr-text.el (describe-char): Fix display of strong
2598 right-to-left characters and directional embeddings and overrides.
2599
2600 * simple.el (what-cursor-position): Fix display of codepoints of
2601 strong right-to-left characters.
2602
315bc30d
CY
26032011-12-05 Chong Yidong <cyd@gnu.org>
2604
2605 * faces.el (read-color): Doc fix.
2606
58a70b94
GM
26072011-12-05 Glenn Morris <rgm@gnu.org>
2608
2609 * align.el (align--set-marker): Add doc-string.
2610 Don't try to move something that is not a marker. (Bug#10216)
2611
5158face
GM
26122011-12-04 Glenn Morris <rgm@gnu.org>
2613
2614 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2615 overly zealous deletion of trailing whitespace.
2616
520fca41
JB
26172011-12-04 Juanma Barranquero <lekktu@gmail.com>
2618
2619 * server.el (server-delete-client): On Windows, do not try to delete
2620 the only terminal.
2621 (server-process-filter): On Windows, treat requests for a tty frame as
2622 if they were for a GUI frame if the running server is in GUI mode.
2623
5e605a2e
GM
26242011-12-03 Glenn Morris <rgm@gnu.org>
2625
2626 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2627
5c3fe83f
SM
26282011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2629
6f5e57e7
SM
2630 * electric.el: Streamline electric-indent's hook.
2631 (electric-indent-chars): Revert to simple list.
2632 (electric-indent-functions): New var.
2633 (electric-indent-post-self-insert-function): Use it.
2634
5c3fe83f
SM
2635 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2636 there's no inferior buffer (bug#10196).
2637 (prolog-consult-compile): Don't use toggle-read-only.
2638
6bdac736
MA
26392011-12-02 Michael Albinus <michael.albinus@gmx.de>
2640
2641 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2642 interrupt. (Bug#10187)
2643
6131ba7f
SM
26442011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2645
99c79fee
SM
2646 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2647 (bug#9160).
2648
6131ba7f
SM
2649 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2650 (bug#10191).
2651
cb0a02ea
JL
26522011-12-02 Juri Linkov <juri@jurta.org>
2653
2654 * info.el (Info-search): Display "end of manual" when Isearch
2655 reaches the end of single-file Info manual. (Bug#9918)
2656
66e0570c
EZ
26572011-12-02 Eli Zaretskii <eliz@gnu.org>
2658
2659 * isearch.el (isearch-message-prefix): Run the input method part
2660 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2661
02b16839
JL
26622011-12-02 Juri Linkov <juri@jurta.org>
2663
2664 * isearch.el (isearch-occur): Use `word-search-regexp' for
2665 `isearch-word'.
2666 (isearch-search-and-update): Add condition for `isearch-word' and
2667 call `word-search-regexp'. (Bug#10145)
2668
0b950688
GM
26692011-12-01 Glenn Morris <rgm@gnu.org>
2670
2671 * eshell/em-hist.el (eshell-hist-initialize):
2672 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2673 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2674
9505c3c7
SM
26752011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2678
1bbe96b2 26792011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2680
a1beca85
SM
2681 * progmodes/verilog-mode.el (verilog-pretty-expr):
2682 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2683 verilog, such as += *= and the like.
2684 (verilog-assignment-operator-re): Regular expression to find the
2685 assigment operator in a verilog assignment.
2686 (verilog-assignment-operation-re): Regular expression to find an
2687 assignment statement for pretty-expr.
2688 (verilog-in-attribute-p): Query returns true if point is in an
2689 attribute context; used to skip these for expression line up from
2690 pretty-expr.
2691 (verilog-in-parameter-p): Query returns true if point is in an
2692 parameter definition context; used to skip these for expression
2693 line up from pretty-expr.
2694 (verilog-in-parenthesis-p): Query returns true if point is in a
2695 parenthetical expression, specifically ( ) but not [ ] or { };
2696 used by pretty-expr.
2697 (verilog-just-one-space): If there is no space, don't add one.
2698 (verilog-get-lineup-indent-2): Specifically skip just attribute
2699 contexts for expression lineup, rather than skipping all
2700 parenthetical expressions.
2701 (verilog-calculate-indent): Fix comment, and fix indent.
2702 (verilog-do-indent): Indent declarations in lists (suggested by
2703 Joachim Lechner).
2704 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2705 skeleton items.
2706 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2707 by Alain Mellan).
2708
1bbe96b2 27092011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2710
2711 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2712 parameters with embedded comments. Reported by Ray Stevens.
2713 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2714 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2715 Reported by Tim Holt.
2716 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2717 instantiated by upper module causing wrong expansion until AUTOed a
2718 second time. Reported by K C Buckenmaier.
2719 (verilog-diff-auto): Fix showing .* as a difference when
2720 `verilog-auto-star-save' off. Reported by Dan Dever.
2721 (verilog-auto-reset, verilog-read-always-signals)
2722 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2723 temporary signals in reset list if
2724 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2725 style to each signal's assignment type, bug381.
2726 Reported by Thomas Esposito.
6288f0ca
WS
2727 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2728 (verilog-uvm-statement-re): Support UVM indentation and
2729 highlighting, with old OVM keywords only.
a1beca85 2730 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2731 Support AUTOTIEOFF creating non-wire data types.
2732 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2733 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2734 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2735 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2736 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2737 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2738 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2739 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2740 non-numeric vector width. Reported by Alex Reed.
2741 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2742 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2743 (verilog-auto-delete-trailing-whitespace):
2744 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2745 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2746 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2747 Fix verilog-scan-cache corruption when running user AUTO expansion
2748 hooks that call indentation routines.
2749 (verilog-simplify-range-expression): Fix typo ignoring lower case
2750 identifiers.
2751 (verilog-delete-auto): Fix delete-autos to also remove user created
2752 automatics, as long as they start with AUTO.
2753 (verilog-batch-diff-auto, verilog-diff-auto)
2754 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2755 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2756 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2757 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2758 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2759 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2760 is disabled and its cache will get corrupt, causing AUTOS not to
2761 expand. Instead use only -quick functions.
2762 (verilog-scan-region): Fix scanning over escaped quotes.
2763 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2764 (verilog-re-search-backward-quick)
2765 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2766 related functions now ignore strings, to fix misparsing of strings
2767 with magic comments embedded in them.
a1beca85
SM
2768 (verilog-read-auto-template):
2769 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2770 Reported by Brad Dobbie.
2771 (verilog-read-auto-template):
2772 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2773 Reported by Brad Dobbie.
6288f0ca
WS
2774 (verilog-auto-inst, verilog-auto-inst-param)
2775 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2776 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2777 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2778 debugging templates without merge conflicts, bug357.
2779 Reported by Brad Dobbie.
2780 (verilog-read-auto-template):
2781 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2782 Reported by Brad Dobbie.
2783 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2784 abbrevs so user won't be asked to save.
2785 (verilog-read-auto-lisp-present): Fix to start at beginning of
2786 buffer in case called outside of verilog-auto.
2787 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2788 to "X-2". Reported by Matthew Myers.
2789 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2790 all inputs from module templates. Reported by Leith Johnson.
2791 (verilog-module-inside-filename-p): Fix locating programs as with
2792 modules.
2793 (verilog-auto-inst-port): Fix vl-width expressions when using
2794 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2795 (verilog-decls-get-regs, verilog-decls-get-signals,
2796 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2797 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2798 verilog-read-decls): Combine reg and wire structures into one var
2799 structure to represent SystemVerilog concepts.
2800 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2801 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2802 (verilog-auto-wire-type, verilog-insert-definition):
2803 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2804 SystemVerilog "logic" keyword instead of "wire"/"reg".
2805 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2806 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2807 ifdef or generate if so there's not a driver conflict).
2808 Reported by Matthew Myers.
2809 (verilog-auto-declare-nettype, verilog-insert-definition):
2810 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2811 `default_nettype none. Reported by Julian Gorfajn.
2812 (verilog-read-always-signals-recurse, verilog-read-decls)
2813 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2814 malformed end statement, bug325. Reported by Joshua Wise and
2815 Andrew Drake.
2816 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2817 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2818 when expanding .* in interfaces, bug320.
2819 Reported by Pierre-David Pfister.
6288f0ca 2820 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2821 name and open parenthesis, bug317.
2822 Reported by Pierre-David Pfister.
6288f0ca
WS
2823 (verilog-simplify-range-expression): Fix simplification of
2824 multiplications inside AUTOWIRE connections, bug303.
2825 (verilog-auto-inst-port): Support parameter expansion in
2826 multidimensional arrays.
2827 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2828 after "assert property". Reported by Julian Gorfajn.
2829 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2830 with multiplication, bug303.
2831 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2832 Reported by Jan Frode Lonnum.
2833
1bbe96b2
GM
28342011-11-30 Juanma Barranquero <lekktu@gmail.com>
2835
2836 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2837 (hfy-shell-file-name, hfy-shell):
2838 * international/fontset.el (x-decompose-font-name): Fix typos.
2839
28402011-11-29 Ken Brown <kbrown@cornell.edu>
2841
2842 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2843 (gdb-version): Remove defvar.
2844 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2845 (gdb-gud-context-command, gdb-non-stop-handler)
2846 (gdb-current-context-command, gdb-stopped): Use it.
2847 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2848 (gdb-non-stop-handler): Don't enable pretty-printing here.
2849 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2850 non-stop mode. Use the following.
2851 (gdb-check-target-async): New defun.
2852 (gud-watch, gdb-stopped): Fix whitespace.
2853 (gdb-get-source-file): Don't try to display the source file if
2854 `gdb-main-file' is nil.
2855
28562011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2857
2858 * align.el: Try to generate fewer markers (bug#10047).
2859 (align--set-marker): New macro.
2860 (align-region): Use it.
2861
c935221f
SM
28622011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2864 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2865
e70b5064
CY
28662011-11-29 Chong Yidong <cyd@gnu.org>
2867
2868 * indent.el (indent-for-tab-command, indent-according-to-mode):
2869 Doc fix.
2870 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2871
f3af92b7
MA
28722011-11-29 Michael Albinus <michael.albinus@gmx.de>
2873
2874 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2875 aware of remote file names. (Bug#10124)
2876
ed472be9
CY
28772011-11-29 Chong Yidong <cyd@gnu.org>
2878
2879 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2880
24510c22
SM
28812011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2882
2883 * files.el (find-file): Don't use force-same-window (bug#10144).
2884 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2885 use pop-to-buffer if the selected window can't be used.
2886 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2887
c60c3703
EZ
28882011-11-28 Eli Zaretskii <eliz@gnu.org>
2889
2890 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2891 special-mode-map.
2892
e95def75
CY
28932011-11-28 Chong Yidong <cyd@gnu.org>
2894
2895 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2896
c3f1c606
NR
28972011-11-27 Nick Roberts <nickrob@snap.net.nz>
2898
2899 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2900 gdb-get-source-file-list on gdb-create-source-file-list.
2901
00db469c
EZ
29022011-11-26 Eli Zaretskii <eliz@gnu.org>
2903
2904 * whitespace.el (whitespace-newline): Use a different foreground
2905 color for 16-color light-background displays.
2906
4ad3bc2a
CY
29072011-11-24 Chong Yidong <cyd@gnu.org>
2908
2909 * window.el (display-buffer--special-action): Doc fix.
2910
e9fce1ac
JB
29112011-11-25 Juanma Barranquero <lekktu@gmail.com>
2912
2913 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2914 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2915 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2916 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2917 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2918 (avl-tree-stack-first):
2919 * emacs-lisp/cconv.el (cconv--analyse-use):
2920 * net/gnutls.el (gnutls-negotiate): Fix typos.
2921
cb825e5d
GM
29222011-11-24 Glenn Morris <rgm@gnu.org>
2923
3adbe224
GM
2924 * lpr.el (lpr-windows-system, lpr-lp-system):
2925 * mail/binhex.el (binhex-begin-line):
2926 * progmodes/grep.el (grep-history, grep-find-history):
2927 * textmodes/flyspell.el:
2928 * vc/pcvs-defs.el (cvs-global-menu):
2929 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2930 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2931 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2932
321decc8
GM
2933 * net/tls.el: Fix case of "GnuTLS".
2934
420b63ad
GM
2935 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2936
cb825e5d
GM
2937 * version.el (emacs-build-system): Give it a doc-string.
2938
a0649f08
JL
29392011-11-24 Juri Linkov <juri@jurta.org>
2940
2941 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2942
c0bc0fd4
GM
29432011-11-24 Glenn Morris <rgm@gnu.org>
2944
2945 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2946 if called on a non-mime message just toggle the headers. (Bug#8006)
2947
20db1522
JB
29482011-11-24 Juanma Barranquero <lekktu@gmail.com>
2949
2950 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2951 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2952 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2953 (allout-rebullet-heading, allout-open-sibtopic)
2954 (allout-toggle-current-subtree-encryption)
2955 (allout-toggle-subtree-encryption, allout-encrypt-string)
2956 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2957 (allout-distinctive-bullets-string, allout-auto-activation):
2958 * window.el (window-normalize-buffer-to-display):
2959 * progmodes/verilog-mode.el (verilog-batch-indent):
2960 * textmodes/bibtex.el (bibtex-field-braces-opt)
2961 (bibtex-field-strings-opt):
2962 * vc/cvs-status.el (cvs-tree-merge):
2963 Fix typos.
2964
7262a87c
MA
29652011-11-23 Michael Albinus <michael.albinus@gmx.de>
2966
2967 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2968 `non-essential' to t, in order to avoid remote connections.
2969
283430a1
EZ
29702011-11-23 Eli Zaretskii <eliz@gnu.org>
2971
a1beca85
SM
2972 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2973 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2974 case-insensitively.
2975
d2992a38
ML
29762011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2977
2978 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2979
50419064
GM
29802011-11-23 Glenn Morris <rgm@gnu.org>
2981
da94eca1
GM
2982 * paths.el (rmail-file-name): Reformat the doc-string so that it
2983 is picked up.
2984
9aac4de2
GM
2985 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2986 (rmail-auto-file): Ignore case in the "special" field names,
2987 as mail-fetch-field does for all others.
2988
8038d2d2
GM
2989 * mail/rmail.el (rmail-forward):
2990 * mail/rmailkwd.el (rmail-set-label):
2991 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2992 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2993
f3fe222a
GM
2994 * mail/rmail.el (rmail-current-message): Doc fix.
2995
50419064
GM
2996 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2997
28109f49
SM
29982011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2999
3000 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3001
394c65f1
GM
30022011-11-22 Glenn Morris <rgm@gnu.org>
3003
3004 * mail/rmailmm.el (test-rmail-mime-handler)
3005 (test-rmail-mime-bulk-handler)
3006 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3007
f2a0aa3a
JL
30082011-11-21 Juri Linkov <juri@jurta.org>
3009
1154d12e
JB
3010 * calc/calc.el (calc-read-key-sequence):
3011 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3012
9c34a344
LMI
30132011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3014
3015 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3016 Tell the caller that the next line needs recomputation, even
3017 though it doesn't start a sexp (bug#10094).
3018
f04a3be9
SM
30192011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3020
3021 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3022
7978747f
SM
30232011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3024
f04a3be9
SM
3025 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3026 Use force-same-window.
7978747f 3027
fe7a3057
JB
30282011-11-20 Juanma Barranquero <lekktu@gmail.com>
3029
3030 * descr-text.el (describe-char-unicode-data):
3031 * json.el (json-string-escape):
3032 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3033 (Footnote-unicode, Footnote-style-p):
3034 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3035
24901d61
CY
30362011-11-20 Chong Yidong <cyd@gnu.org>
3037
3038 * window.el (replace-buffer-in-windows): Restore interactive spec.
3039
bac7ff22
SM
30402011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3041
24f3d7b9
SM
3042 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3043
bac7ff22
SM
3044 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3045 (byte-compile-global-not-obsolete-vars): New var.
3046 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3047 Use it.
3048 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3049
cd1181db
JB
30502011-11-20 Juanma Barranquero <lekktu@gmail.com>
3051
3052 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3053 * progmodes/pascal.el (electric-pascal-equal):
3054 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3055 * xml.el (xml-substitute-special): Fix typos.
3056
7fb18e9e
GM
30572011-11-20 Glenn Morris <rgm@gnu.org>
3058
3059 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3060 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3061 Doc fixes.
3062 (rmail-decode-mime-charset): Mark as obsolete.
3063
3064 * mail/rmailsum.el (rmail-message-regexp-p-1):
3065 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3066 Before using mime functions, check they are set. (Bug#10077)
3067
d5a6b3ba
JL
30682011-11-19 Juri Linkov <juri@jurta.org>
3069
3070 * info.el (Info-finder-find-node): Use `package--builtins' instead
3071 of `package-alist'. Use node names formed by the pattern "Keyword "
3072 and the keyword name.
3073
e981b61f
AS
30742011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3075
1d00653d 3076 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3077
3ffbc301
JL
30782011-11-19 Juri Linkov <juri@jurta.org>
3079
3080 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3081 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3082 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3083 `old-history', `old-history-forward'. Add let-binding
3084 `window-selected'. Remove calls to `kill-buffer',
3085 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3086 before calling `Info-find-node', so `Info-find-node-2' will reread
3087 the Info file. Restore window positions only when `window-selected'
3088 is non-nil.
3089
30c62133
JL
30902011-11-19 Juri Linkov <juri@jurta.org>
3091
3092 * isearch.el (isearch-lazy-highlight-new-loop):
3093 Remove condition `(not isearch-error)'. (Bug#9918)
3094
3095 * misearch.el (multi-isearch-search-fun): Add condition
3096 `(not bound)' to ignore lazy-highlighting search.
3097 Add the search-failed message "end of multi" when the end of
3098 multi-sequence is reached. Uncapitalize the search-failed
3099 message "Repeat for next buffer".
3100
3101 * info.el (Info-search): Add the search-failed message
3102 "end of the manual" when the end of the manual is reached
3103 in Isearch mode.
3104
645ca9cf
JL
31052011-11-19 Juri Linkov <juri@jurta.org>
3106
3107 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3108 Use non-destructive `remove' instead of `delete' because
3109 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3110 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3111
df754f66
JL
31122011-11-19 Juri Linkov <juri@jurta.org>
3113
3114 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3115 to nil instead of binding `search-ring' and `regexp-search-ring'.
3116 (Bug#9185)
3117
0e23d96a
EZ
31182011-11-19 Eli Zaretskii <eliz@gnu.org>
3119
3120 * simple.el (line-move): Force movement by logical lines for any
3121 hscrolled window, not only when auto-hscroll-mode is on.
3122 (line-move-visual): Update doc string to that effect. (Bug#10076)
3123
8a6ccb66
AS
31242011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3125
3126 * language/european.el (macintosh): Define as alias for mac-roman.
3127
49ae5b39
EZ
31282011-11-19 Eli Zaretskii <eliz@gnu.org>
3129
3130 * mail/rmailmm.el (rmail-mime-display-header)
3131 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3132 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3133 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3134 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3135 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3136 of a raw aref.
3137 (rmail-mime-entity-segment): To get past the tagline, move forward
3138 2 more lines, to account for the 2 empty lines that precede and
3139 follow the line with the buttons.
3140 (rmail-mime-update-tagline): Move one more line, to get past the
3141 empty line that follows the buttons in the tagline. (Bug#9520)
3142
c56cad4a
MR
31432011-11-19 Martin Rudalics <rudalics@gmx.at>
3144
3145 * window.el (window-max-delta-1, window-min-delta-1)
3146 (window-min-size-1, window-state-get-1, window-state-put-1)
3147 (window-state-put-2): Use "window--" prefix.
3148
cbe71af3
SM
31492011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3150
2ad52c60
SM
3151 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3152 (smie-warning-count): New var.
3153 (smie-set-prec2tab): Use it.
3154 (smie-bnf->prec2): Improve warnings. Add docstring.
3155 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3156 (smie-bnf--set-class): New function.
3157 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3158 corner case.
3159
6944dbc1
SM
3160 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3161 (compilation-error-properties, compilation-move-to-column):
3162 Handle compilation-first-column while in the target buffer.
3163
c400c4d7
SM
3164 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3165 Don't hardcode point-min==1.
3166
6dbe3e96
SM
3167 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3168 (eshell-rewrite-for-command): Remove workaround.
3169 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3170 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3171 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3172
cbe71af3
SM
3173 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3174
a8e1496d
GM
31752011-11-17 Glenn Morris <rgm@gnu.org>
3176
3177 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3178 Ignore buffer-local generated-autoload-file if it is the same
3179 as the global value. (Bug#10049)
3180
df85d315
JB
31812011-11-17 Juanma Barranquero <lekktu@gmail.com>
3182
3183 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3184 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3185 (reftex-toc-previous-heading, reftex-toc-max-level)
3186 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3187 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3188 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3189 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3190 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3191 (reftex-toc-rename-label, reftex-toc-visit-location)
3192 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3193 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3194 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3195 leaving "*toc*" only for references to the buffer.
3196
a0c2d0ae
MR
31972011-11-17 Martin Rudalics <rudalics@gmx.at>
3198
3199 * window.el (window-resize, delete-window, split-window):
3200 Replace window-splits by window-combination-resize.
1d00653d 3201 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3202
35c0bac8
GM
32032011-11-17 Glenn Morris <rgm@gnu.org>
3204
3205 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3206 Make bash entry derive from sh entry, not shell entry.
3207
d0c8fc8a
MA
32082011-11-16 Michael Albinus <michael.albinus@gmx.de>
3209
d0c8fc8a
MA
3210 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3211 properties of linked files. (Bug#9879)
3212
7262a87c
MA
3213 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3214 local file name.
3215
7877f373
JB
32162011-11-16 Juanma Barranquero <lekktu@gmail.com>
3217
3218 * menu-bar.el (menu-bar-file-menu):
3219 * printing.el (pr-ps-utility):
3220 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3221 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3222 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3223 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3224 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3225 (icalendar--convert-cyclic-to-ical)
3226 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3227 (icalendar--convert-ical-to-diary)
3228 (icalendar--convert-recurring-to-diary)
3229 (icalendar--convert-non-recurring-all-day-to-diary)
3230 (icalendar-import-format-sample):
3231 * progmodes/idlw-shell.el (idlwave-shell-mode):
3232 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3233 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3234 (vhdl-ps-print-init): Fix typos.
3235
10649b82
KM
32362011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3237
9d0cfcd6
GM
3238 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3239 FSF and collapse date sequence, obscure author/maintainer email address
3240 better, remove extra version line, track relocation of author's webpage.
10649b82 3241
9d0cfcd6
GM
3242 * progmodes/python.el (python-pdbtrack-input-prompt)
3243 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3244 regular python pdb prompts. Adjustments shamelessly taken exactly as
3245 suggested in EmacsWiki page (tiny change):
3246 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3247
58179cce
JB
32482011-11-16 Juanma Barranquero <lekktu@gmail.com>
3249
3250 * expand.el (expand-pos, expand-index, expand-point):
3251 Remove redundant info from docstring.
3252 (expand-add-abbrevs): Doc fix.
3253 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3254 (expand-sample-perl-mode-expand-list): Fix typos.
3255
3256 * net/dbus.el (dbus-event-member-name):
3257 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3258 * term/pc-win.el (msdos-create-frame-with-faces):
3259 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3260
b6f67890
MR
32612011-11-16 Martin Rudalics <rudalics@gmx.at>
3262
3263 * window.el (split-window, window-state-get-1)
3264 (window-state-put-1, window-state-put-2): Rename occurrences of
3265 window-nest to window-combination-limit.
1d00653d 3266 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3267
ce7ddba0
CY
32682011-11-16 Chong Yidong <cyd@gnu.org>
3269
3270 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3271 regexp (Bug#10033).
3272
3ae704f4
SM
32732011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3274
3275 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3276 `completing-read' will remove *Completions* and will preserve
3277 current-buffer for us.
3278 (tmm-add-prompt): Users of *Completions* will always (re)set its
3279 major mode.
3280 (tmm-old-comp-map): Remove.
3281
6ad1cdde
GM
32822011-11-16 Glenn Morris <rgm@gnu.org>
3283
3284 * mail/rmailedit.el: Require rmailmm when compiling.
3285 (rmail-old-mime-state): New declaration.
3286 (rmail-edit-current-message): If editing a mime message,
3287 edit the "raw" message from the mbox buffer.
3288 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3289
d20faa20
GM
32902011-11-15 Glenn Morris <rgm@gnu.org>
3291
3292 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3293 which wasn't being used. Add optional arg to force given state.
3294 (rmail-mime): Add optional arg to force given state.
3295
c7015153
JB
32962011-11-15 Juanma Barranquero <lekktu@gmail.com>
3297
3298 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3299 * frame.el (display-mm-dimensions-alist):
3300 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3301 (outline-move-subtree-down):
3302 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3303 (newsticker--treeview-do-get-node):
3304 * net/quickurl.el (quickurl-list-buffer-name):
3305 * progmodes/dcl-mode.el (dcl-mode):
3306 * progmodes/gdb-mi.el (gdb-mapcar*):
3307 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3308
45261b50
GM
33092011-11-15 Glenn Morris <rgm@gnu.org>
3310
3311 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3312 in a boolean sense, so just make it a boolean, and fix the doc.
3313 (rmail-show-mime-function, rmail-mime-feature)
3314 (rmail-require-mime-maybe): Doc fixes.
3315 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3316
3317 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3318
0d26e0b6
JB
33192011-11-15 Juanma Barranquero <lekktu@gmail.com>
3320
3321 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3322 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3323 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3324 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3325
447f30f6
GM
33262011-11-15 Glenn Morris <rgm@gnu.org>
3327
672b871d
GM
3328 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3329 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3330 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3331 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3332 (rmail-mime, rmail-show-mime): Doc fixes.
3333
f6aa5bb1
GM
3334 * term/ns-win.el (mode-line-frame-identification):
3335 Leave it alone. (Bug#10051)
3336
947cd66b
GM
3337 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3338
447f30f6
GM
3339 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3340 Handle empty buffers. (Bug#9978)
3341
0b381c7e
JB
33422011-11-14 Juanma Barranquero <lekktu@gmail.com>
3343
3344 * international/mule.el (define-charset):
3345 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3346 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3347 * progmodes/verilog-mode.el (verilog-backward-token):
3348 * textmodes/ispell.el (lookup-words):
3349 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3350
71e027ac
GM
33512011-11-14 Glenn Morris <rgm@gnu.org>
3352
56632ce4
GM
3353 * progmodes/executable.el
3354 (executable-make-buffer-file-executable-if-script-p):
3355 Handle file-modes returning nil.
3356
40500957
GM
3357 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3358 message - not necessary, and causes problems. (Bug#9831)
3359
071c2340
GM
3360 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3361
d3cfca60
GM
3362 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3363
71e027ac
GM
3364 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3365 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3366 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3367
89d61221
MR
33682011-11-12 Martin Rudalics <rudalics@gmx.at>
3369
3370 * window.el (window-resize, delete-window): Use window-splits
3371 variable instead of function.
3372 (window-state-get-1, window-state-put-2, window-state-put):
3373 Don't deal with windows' splits status.
3374
98282f6f
GM
33752011-11-12 Glenn Morris <rgm@gnu.org>
3376
3377 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3378 (apropos-documentation): Doc fixes.
3379
40a8bdf6
JB
33802011-11-11 Juanma Barranquero <lekktu@gmail.com>
3381
3382 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3383 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3384
65bd19ff
SM
33852011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3386
3387 * electric.el (electric-indent-post-self-insert-function): Make it
3388 possible for a char to only indent in some circumstances.
3389 (electric-indent-mode): Simplify.
3390
54f9154c
MR
33912011-11-11 Martin Rudalics <rudalics@gmx.at>
3392
3393 * window.el (windows-with-parameter): Remove unused function.
3394 (windows-at-side): Rename to window-at-side-list.
3395 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3396 (window-side-check, window-size-ignore, window-size-fixed-1)
3397 (window-in-direction-2): Prefix with "window--".
3398 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3399
68cbc58b
GM
34002011-11-11 Glenn Morris <rgm@gnu.org>
3401
3402 * subr.el (eval-after-load): If FILE is already loaded,
3403 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3404
b2621720
GM
34052011-11-10 Glenn Morris <rgm@gnu.org>
3406
9a4de110
GM
3407 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3408 Call svn via vc-svn-command rather than vc-do-command.
3409 (vc-svn-command): Add --non-interactive. (Bug#9993)
3410 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3411
b2621720
GM
3412 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3413 Add toggle-read-only. (Bug#7292)
3414 * files.el (toggle-read-only): Mention that it should only
3415 be used interactively. (Bug#10006)
3416
1dce7193
SM
34172011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3418
d9ac1a1e
SM
3419 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3420 Adjust regexp for OCaml warnings.
3421
0c325082
SM
3422 * electric.el (electric-pair-post-self-insert-function): Let user
3423 turn it off buffer-locally (bug#9932).
3424
90132c14
SM
3425 * progmodes/python.el (python-beginning-of-statement):
3426 Rewrite (bug#2703).
3427
1dce7193
SM
3428 * progmodes/compile.el: Better handle TABs (bug#9749).
3429 (compilation-internal-error-properties)
3430 (compilation-next-error-function): Obey the target buffer's
3431 compilation-error-screen-columns.
3432
c4e7c63a
JB
34332011-11-09 Juanma Barranquero <lekktu@gmail.com>
3434
3435 * progmodes/meta-mode.el: Remove obsolete comments.
3436 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3437 Fix typos in docstrings.
3438
2cffd681
MR
34392011-11-09 Martin Rudalics <rudalics@gmx.at>
3440
3441 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3442 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3443 (window--resizable): New function. Make all callers of
3444 window-resizable call window--resizable instead.
3445 (window-resizable): Rewrite in terms of window--resizable.
3446
0edcba87
GM
34472011-11-08 Glenn Morris <rgm@gnu.org>
3448
3449 * progmodes/delphi.el (delphi-mode-syntax-table):
3450 Let define-derived-mode define a proper syntax table. (Bug#9994)
3451
4b0d61e3
SM
34522011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3453
3454 * window.el: Stay away from defsubst.
3455 (window-list-no-nils): Remove.
3456 (window-state-get-1, window-state-get): Use backquote instead.
3457
cd394be1 34582011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3459
4b0d61e3 3460 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3461 Fix incorrect use of default argument in `completing-read'.
3462
e1c2c6f2
MR
34632011-11-08 Martin Rudalics <rudalics@gmx.at>
3464
3465 * window.el (display-buffer-function, special-display-function):
3466 Mention display-buffer-record-window but do not mention
3467 help-setup parameter in doc-strings.
b3f4a882 3468 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3469
105216ed
CY
34702011-11-08 Chong Yidong <cyd@gnu.org>
3471
3472 * window.el (window-total-height, window-total-width): Doc fix.
3473 (window-body-size): Move from C.
3474 (window-body-height, window-body-width): Move to C.
3475
0a9f9ab5
SM
34762011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * window.el: Make special-display like display-buffer-alist (bug#9532).
3479 (display-buffer--special-action): New function, morphed
3480 from display-buffer--special.
3481 (display-buffer): Use it to handle special-display-buffers at higher
3482 priority (just after display-buffer-alist).
3483 (display-buffer-fallback-action, display-buffer--other-frame-action)
3484 (pop-to-buffer-same-window): Remove display-buffer--special.
3485
a769dd15
GM
34862011-11-07 Glenn Morris <rgm@gnu.org>
3487
3488 * calendar/cal-menu.el (cal-menu-set-date-title):
3489 Do nothing if not in a calendar. (Bug#9976)
3490
05a61ee3
SM
34912011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3492
3493 * files.el (find-file): Always use selected-window.
3494
be7f5545
MR
34952011-11-07 Martin Rudalics <rudalics@gmx.at>
3496
3497 * window.el (window-combinations): Make WINDOW argument
3498 mandatory. Rewrite doc-string.
3499 (walk-window-subtree, window-atom-check, window-min-delta)
3500 (window-max-delta, window--resize-this-window)
3501 (window--resize-root-window-vertically, window-tree)
3502 (balance-windows, window-state-put): Rewrite doc-strings as to
3503 not mention the term "subwindow".
3504 (window--resize-subwindows-skip-p): Rename to
3505 window--resize-child-windows-skip-p.
3506 (window--resize-subwindows-normal): Rename to
3507 window--resize-child-windows-normal.
3508 (window--resize-subwindows): Rename to
3509 window--resize-child-windows.
3510 (window-or-subwindow-p): Rename to window--in-subtree-p.
3511
3c6702ef
ML
35122011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3513
3514 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3515 Ensure that mbox format messages end in two newlines (Bug#9974).
3516
49745b39
CY
35172011-11-06 Chong Yidong <cyd@gnu.org>
3518
3519 * window.el (window-combination-p): Function deleted; its
3520 side-effect is not used in any existing code.
3521 (window-combinations, window-combined-p): Call window-*-child
3522 directly.
3523
24300f5f
CY
35242011-11-05 Chong Yidong <cyd@gnu.org>
3525
3526 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3527 (window-size-ignore, window-state-get): Callers changed.
3528 (window-normalize-window): Rename from window-normalize-any-window.
3529 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3530 (window-normalize-live-window): Delete.
447f16b8
CY
3531 (window-combination-p, window-combined-p, window-combinations)
3532 (walk-window-subtree, window-atom-root, window-min-size)
3533 (window-sizable, window-sizable-p, window-size-fixed-p)
3534 (window-min-delta, window-max-delta, window-resizable)
3535 (window-resizable-p, window-full-height-p, window-full-width-p)
3536 (window-current-scroll-bars, window-point-1, set-window-point-1)
3537 (window-at-side-p, window-in-direction, window-resize)
3538 (adjust-window-trailing-edge, maximize-window, minimize-window)
3539 (window-deletable-p, delete-window, delete-other-windows)
3540 (record-window-buffer, unrecord-window-buffer)
3541 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3542 (quit-window, split-window, window-state-put)
3543 (set-window-text-height, fit-window-to-buffer)
3544 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3545
89bd5ee1
EZ
35462011-11-04 Eli Zaretskii <eliz@gnu.org>
3547
53479029
EZ
3548 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3549 rfc2047-decode-string.
3550 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3551 warnings.
3552
89bd5ee1
EZ
3553 * window.el (window-body-height, window-body-width): Mention in
3554 the doc string that the return values are in frame's canonical
3555 units. (Bug#9949)
3556
bd17fdee
AM
35572011-11-03 Alan Mackenzie <acm@muc.de>
3558
3559 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3560 change in cc-engine.el.
3561
acc825c5
SM
35622011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3564 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3565
1885e5b8
MR
35662011-11-02 Martin Rudalics <rudalics@gmx.at>
3567
3568 * window.el (quit-window): Call unrecord-window-buffer after
3569 showing another buffer in the window. (Bug#9937)
acc825c5 3570 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3571
ebe06da9
JB
35722011-11-02 Juanma Barranquero <lekktu@gmail.com>
3573
3574 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3575 Accept status with more than 9 shelves. (Bug#9935)
3576 Reported by Colin D Bennett <colin@gibibit.com>.
3577
4ee88440
MR
35782011-11-01 Martin Rudalics <rudalics@gmx.at>
3579
3580 * help.el (with-help-window): Don't reference
3581 temp-buffer-show-specifiers in doc-string.
3582
08e1d82c
AS
35832011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3584
3585 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3586 menu-item.
3587
84bd6e9e
VJL
35882011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3589
3590 * whitespace.el: New version 13.2.2.
3591 (whitespace-newline-mode): Disable properly. Reported by Sarah
3592 <EmacsWiki>.
3593
dba0634a
UJ
35942011-10-30 Ulf Jasper <ulf.jasper@web.de>
3595
3596 * net/newst-treeview.el: Remove "Time-stamp".
3597 (newsticker--group-manage-orphan-feeds): Do not call
3598 newsticker--treeview-tree-update.
db22a3c2
JB
3599 (newsticker-treeview-update, newsticker-treeview):
3600 Call newsticker--treeview-tree-update if necessary.
dba0634a 3601
3d8daefe
MR
36022011-10-30 Martin Rudalics <rudalics@gmx.at>
3603
3604 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3605 (window-iso-combinations): Remove "iso-" infix.
3606 Suggested by Chong Yidong.
3d8daefe
MR
3607 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3608 (window-max-delta-1, window-resize, window--resize-siblings)
3609 (window--resize-this-window, adjust-window-trailing-edge)
3610 (split-window, balance-windows-1)
3611 (shrink-window-if-larger-than-buffer):
3612 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3613 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3614
1bc4c3ae
SM
36152011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3616
3617 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3618 in place (bug#9907).
3619 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3620 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3621 (eshell-structure-basic-command, eshell-rewrite-while-command)
3622 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3623 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3624 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3625 (eshell-do-pipelines-synchronously, eshell-eval-command):
3626 Use backquotes and prefer setq to set.
3627 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3628 (eshell-macrop): Use functionp.
c1e2f5fa 3629 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3630
30b65d9c
CY
36312011-10-30 Chong Yidong <cyd@gnu.org>
3632
3633 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3634 instead of set-mark (Bug#9810).
3635
2d197ffb
CY
36362011-10-30 Chong Yidong <cyd@gnu.org>
3637
3638 * window.el (split-window-below, split-window-right): Rename from
3639 split-window-above-each-other and split-window-side-by-side
3640 respectively. All callers changed.
3641 (split-window-sensibly, split-window-sensibly): Use them.
3642 (split-window-keep-point): Doc fix.
3643
3644 * isearch.el: Add isearch-scroll property to split-window-below
3645 and split-window-right.
3646
3647 * follow.el (follow-mode):
3648 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3649 * progmodes/ada-xref.el (ada-gdb-application):
3650 * emulation/vip.el (vip-buffer-in-two-windows):
3651 * image-dired.el (image-dired-dired-with-window-configuration):
3652 * dired-x.el (dired-do-find-marked-files):
3653 * dired.el (dired-pop-to-buffer):
3654 * bs.el (bs--show-with-configuration):
3655 * vc/emerge.el (emerge-setup-windows):
3656 * textmodes/two-column.el (2C-two-columns):
3657 * textmodes/reftex-toc.el (reftex-toc):
3658 * progmodes/gdb-mi.el (gdb-setup-windows):
3659 * progmodes/fortran.el (fortran-window-create):
3660 * net/newst-treeview.el (newsticker--treeview-window-init):
3661 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3662 * emulation/tpu-edt.el (tpu-gold-map):
3663 * emulation/crisp.el (crisp-mode-map):
3664 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3665
38bb2ca8
CY
36662011-10-29 Chong Yidong <cyd@gnu.org>
3667
aa4de341
CY
3668 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3669
e1eb5385
CY
3670 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3671
5d2ece3c
CY
3672 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3673 forged Ispell output (Bug#7904).
3674
38bb2ca8
CY
3675 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3676
d0af9f77
SM
36772011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3678
3679 * doc-view.el: Avoid ugly errors about not finding nil.
3680 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3681 (doc-view-dvipdf-program, doc-view-unoconv-program)
3682 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3683 Avoid nil or absolute file name as default value.
3684 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3685
52bedd34
AM
36862011-10-28 Alan Mackenzie <acm@muc.de>
3687
db22a3c2 3688 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3689
7e43cfa5
AM
36902011-10-28 Alan Mackenzie <acm@muc.de>
3691
3692 Amend the handling of c-beginning/end-of-defun in nested declaration
3693 scopes.
3694
52bedd34
AM
3695 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3696 cc-langs.el. Change it to a defcustom.
7e43cfa5 3697
52bedd34
AM
3698 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3699 cc-vars.el.
7e43cfa5 3700
d0af9f77
SM
3701 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3702 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3703
52bedd34 3704 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3705 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3706 (c-widen-to-enclosing-decl-scope): New function.
3707 (c-while-widening-to-decl-block): New macro.
3708 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3709 outward for defun boundaries, and correspondingly change symbol
3710 `respect-enclosure' to `go-outward'.
3711 (c-declaration-limits): Change algorithm to report only the "innermost"
3712 defun's boundaries.
3713
1a2ce9ee
DD
37142011-10-28 Deniz Dogan <deniz@dogan.se>
3715
3716 * net/rcirc.el (rcirc-mode): Use hard newlines.
3717
bc97a826
AM
37182011-10-28 Alan Mackenzie <acm@muc.de>
3719
3720 Amend to indent and fontify macros "which include their own semicolon"
3721 correctly, using the "virtual semicolon" mechanism.
3722
52bedd34 3723 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3724
d0af9f77 3725 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3726 Recode to scan one line at a time rather than having \n and \r
58179cce 3727 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3728 (c-forward-label): Amend for virtual semicolons.
58179cce 3729 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3730
52bedd34
AM
3731 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3732 of the new C macros.
bc97a826 3733
52bedd34 3734 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3735 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3736 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3737 (c-opt-cpp-macro-define): Make into a full language variable.
3738 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3739 AWK Mode (including \n, \r) removed, no longer needed.
3740
d0af9f77
SM
3741 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3742 Invoke c-make-macro-with-semi-re.
bc97a826 3743
52bedd34
AM
3744 * progmodes/cc-vars.el (c-macro-with-semi-re):
3745 (c-macro-names-with-semicolon): New variables.
58179cce 3746 (c-make-macro-with-semi-re): New function.
bc97a826 3747
7a6c0941
SM
37482011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * vc/log-edit.el: Fill empty field rather than adding new one.
3751 (log-edit-add-field): New function.
3752 (log-edit-insert-changelog): Use it.
3753
b0c4cdcf
ML
37542011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3755
3756 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3757
ee1f1da9
SM
37582011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3761 (gdb--check-interpreter): New function.
3762 (gdb): Use it.
3763
51bc5f8b
GM
37642011-10-27 Glenn Morris <rgm@gnu.org>
3765
416a2c45
GM
3766 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3767 (least-positive-float, least-negative-float)
3768 (least-positive-normalized-float, least-negative-normalized-float)
3769 (float-epsilon, float-negative-epsilon):
3770 Remove unnecessary declarations.
3771
3772 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3773 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3774 (least-positive-float, least-negative-float)
3775 (least-positive-normalized-float, least-negative-normalized-float)
3776 (float-epsilon, float-negative-epsilon): Add doc-strings,
3777 based on those in cl.texi.
3778
51bc5f8b
GM
3779 * files.el (set-visited-file-name): If the major-mode changed,
3780 reload the local variables. (Bug#9796)
3781
15de15c6
CY
37822011-10-27 Chong Yidong <cyd@gnu.org>
3783
3784 * subr.el (change-major-mode-after-body-hook): New hook.
3785 (run-mode-hooks): Run it.
3786
ee1f1da9
SM
3787 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3788 Use change-major-mode-before-body-hook.
15de15c6
CY
3789
3790 * simple.el (fundamental-mode):
3791 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3792 change introducing fundamental-mode-hook.
3793
5430d399
JB
37942011-10-26 Juanma Barranquero <lekktu@gmail.com>
3795
acc825c5 3796 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3797
ad74a69e
MA
37982011-10-26 Michael Albinus <michael.albinus@gmx.de>
3799
3800 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3801 tramp.el explicitly. (Bug#7583)
ad74a69e 3802
71d4c2a5
SM
38032011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3804
3805 * progmodes/octave-mod.el:
3806 * progmodes/octave-inf.el: Update maintainer.
3807
b1f6fa26
CY
38082011-10-26 Chong Yidong <cyd@gnu.org>
3809
3810 * subr.el (with-wrapper-hook): Rewrite doc.
3811
3f04efd6
MA
38122011-10-25 Michael Albinus <michael.albinus@gmx.de>
3813
3814 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3815 filenames "/method:foo:". (Bug#9793)
3f04efd6 3816
410488d3
SM
38172011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3818
3819 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3820 (bug#9865).
3821
c1ebb47e
GM
38222011-10-24 Glenn Morris <rgm@gnu.org>
3823
3824 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3825
7f5c46c7
MA
38262011-10-24 Michael Albinus <michael.albinus@gmx.de>
3827
3828 * notifications.el: Add the requirement of a running D-Bus session
3829 bus to the Commentary.
3830
db2440b6
JL
38312011-10-24 Juri Linkov <juri@jurta.org>
3832
3833 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3834 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3835 (Bug#9364)
3836
feecf435
JL
38372011-10-24 Juri Linkov <juri@jurta.org>
3838
3839 * info.el (Info-following-node-name-re): Add newline to the list
3840 of allowed characters for leading space. (Bug#9824)
3841
a3839de2
SM
38422011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3843
acc825c5
SM
3844 * progmodes/octave-inf.el (inferior-octave-mode-map):
3845 Fix C-c C-h binding.
a3839de2
SM
3846 * progmodes/octave-mod.el (octave-help): Remove.
3847
09388e76
MA
38482011-10-23 Michael Albinus <michael.albinus@gmx.de>
3849
3850 Sync with Tramp 2.2.3.
3851
3852 * net/tramp-cache.el (top): Pacify byte-compiler using
3853 `init-file-user' and `site-run-file'.
3854
3855 * net/trampver.el: Update release number.
3856
86c60681
CY
38572011-10-23 Chong Yidong <cyd@gnu.org>
3858
3859 * files.el (toggle-read-only): Remove obsolete comment about
3860 version control.
3861
3862 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3863 for toggle-read-only. Note that this hasn't called vc-next-action
3864 since 2008-05-02, though it wasn't documented at the time.
3865
a3839de2
SM
3866 * vc/ediff-init.el (ediff-toggle-read-only-function):
3867 Use toggle-read-only.
86c60681 3868
cd5495ff
AM
38692011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3870
3871 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3872 of c-parse-state.
3873
00b77525 3874 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3875 correct faulty logical expression.
cd5495ff
AM
3876 (c-parse-state-state, c-record-parse-state-state):
3877 (c-replay-parse-state-state): New defvar/defuns.
3878 (c-debug-parse-state): Use new functions.
3879
42ee24ed
MR
38802011-10-22 Martin Rudalics <rudalics@gmx.at>
3881
3882 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3883 last fix. Use window-in-direction correctly.
42ee24ed 3884
a7dee7e7
CY
38852011-10-21 Chong Yidong <cyd@gnu.org>
3886
3887 * progmodes/idlwave.el (idlwave-mode):
3888 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3889 require-final-newline; that's done in prog-mode.
3890 Suggested by Stefan Monnier.
a7dee7e7 3891
e07b9a6d
MR
38922011-10-21 Martin Rudalics <rudalics@gmx.at>
3893
3894 * mouse.el (mouse-drag-window-above)
3895 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3896 (mouse-drag-mode-line-1, mouse-drag-header-line)
3897 (mouse-drag-vertical-line-rightward-window): Remove.
3898 (mouse-drag-line): New function.
3899 (mouse-drag-mode-line, mouse-drag-header-line)
3900 (mouse-drag-vertical-line): Call mouse-drag-line.
3901 * window.el (window-at-side-p, windows-at-side): New functions.
3902
7e1361d9
UM
39032011-10-21 Ulrich Mueller <ulm@gentoo.org>
3904
3905 * tar-mode.el (tar-grind-file-mode):
3906 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3907
30fcaf3a
CY
39082011-10-21 Chong Yidong <cyd@gnu.org>
3909
3910 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3911 * progmodes/vera-mode.el (vera-mode):
3912 Use mode-require-final-newline.
30fcaf3a 3913
516eddb0
GM
39142011-10-20 Glenn Morris <rgm@gnu.org>
3915
db22a3c2 3916 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3917
10d5f513
CS
39182011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3919
3920 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3921
ac6c8639
CY
39222011-10-20 Chong Yidong <cyd@gnu.org>
3923
3924 * emulation/cua-base.el (cua-mode):
3925 * mail/footnote.el (footnote-mode):
3926 * mail/mailabbrev.el (mail-abbrevs-mode):
3927 * net/xesam.el (xesam-minor-mode):
3928 * progmodes/bug-reference.el (bug-reference-mode):
3929 * progmodes/cap-words.el (capitalized-words-mode):
3930 * progmodes/compile.el (compilation-minor-mode)
3931 (compilation-shell-minor-mode):
3932 * progmodes/gud.el (gud-tooltip-mode):
3933 * progmodes/hideif.el (hide-ifdef-mode):
3934 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3935 * progmodes/subword.el (subword-mode):
3936 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3937 * progmodes/which-func.el (which-function-mode):
3938 * term/tvi970.el (tvi970-set-keypad-mode):
3939 * term/vt100.el (vt100-wide-mode):
3940 * textmodes/flyspell.el (flyspell-mode):
3941 * textmodes/ispell.el (ispell-minor-mode):
3942 * textmodes/nroff-mode.el (nroff-electric-mode):
3943 * textmodes/paragraphs.el (use-hard-newlines):
3944 * textmodes/refill.el (refill-mode):
3945 * textmodes/reftex.el (reftex-mode):
3946 * textmodes/rst.el (rst-minor-mode):
3947 * textmodes/sgml-mode.el (html-autoview-mode)
3948 (sgml-electric-tag-pair-mode):
3949 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3950 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3951 * emulation/crisp.el (crisp-mode):
3952 * emacs-lisp/eldoc.el (eldoc-mode):
3953 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3954 minor mode behavior.
3955
aa42ab43
JL
39562011-10-19 Juri Linkov <juri@jurta.org>
3957
3958 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3959 the list of hard-coded chars with escape-glyph face.
3960
89400f1d
SM
39612011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3964
305c07f6
MA
39652011-10-19 Michael Albinus <michael.albinus@gmx.de>
3966
3967 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3968 running process.
3969
13754b54
GM
39702011-10-19 Glenn Morris <rgm@gnu.org>
3971
3972 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3973 Ignore ignored files. (Bug#9726)
3974
06e21633
CY
39752011-10-19 Chong Yidong <cyd@gnu.org>
3976
3977 Doc fix for minor modes, stating that an omitted argument enables
3978 the mode unconditionally when called from Lisp.
3979
3980 * abbrev.el (abbrev-mode):
3981 * allout.el (allout-mode):
3982 * autoinsert.el (auto-insert-mode):
3983 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3984 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3985 (global-auto-revert-mode):
3986 * battery.el (display-battery-mode):
3987 * composite.el (global-auto-composition-mode)
3988 (auto-composition-mode):
3989 * delsel.el (delete-selection-mode):
3990 * desktop.el (desktop-save-mode):
3991 * dired-x.el (dired-omit-mode):
3992 * dirtrack.el (dirtrack-mode):
3993 * doc-view.el (doc-view-minor-mode):
3994 * double.el (double-mode):
3995 * electric.el (electric-indent-mode, electric-pair-mode):
3996 * emacs-lock.el (emacs-lock-mode):
3997 * epa-hook.el (auto-encryption-mode):
3998 * follow.el (follow-mode):
3999 * font-core.el (font-lock-mode):
4000 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4001 * help.el (temp-buffer-resize-mode):
4002 * hilit-chg.el (highlight-changes-mode)
4003 (highlight-changes-visible-mode):
4004 * hi-lock.el (hi-lock-mode):
4005 * hl-line.el (hl-line-mode, global-hl-line-mode):
4006 * icomplete.el (icomplete-mode):
4007 * ido.el (ido-everywhere):
4008 * image-file.el (auto-image-file-mode):
4009 * image-mode.el (image-minor-mode):
4010 * iswitchb.el (iswitchb-mode):
4011 * jka-cmpr-hook.el (auto-compression-mode):
4012 * linum.el (linum-mode):
4013 * longlines.el (longlines-mode):
4014 * master.el (master-mode):
4015 * mb-depth.el (minibuffer-depth-indicate-mode):
4016 * menu-bar.el (menu-bar-mode):
4017 * minibuf-eldef.el (minibuffer-electric-default-mode):
4018 * mouse-sel.el (mouse-sel-mode):
4019 * msb.el (msb-mode):
4020 * mwheel.el (mouse-wheel-mode):
4021 * outline.el (outline-minor-mode):
4022 * paren.el (show-paren-mode):
4023 * recentf.el (recentf-mode):
4024 * reveal.el (reveal-mode, global-reveal-mode):
4025 * rfn-eshadow.el (file-name-shadow-mode):
4026 * ruler-mode.el (ruler-mode):
4027 * savehist.el (savehist-mode):
4028 * scroll-all.el (scroll-all-mode):
4029 * scroll-bar.el (scroll-bar-mode):
4030 * server.el (server-mode):
4031 * shell.el (shell-dirtrack-mode):
4032 * simple.el (auto-fill-mode, transient-mark-mode)
4033 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4034 (line-number-mode, column-number-mode, size-indication-mode)
4035 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4036 * strokes.el (strokes-mode):
4037 * time.el (display-time-mode):
4038 * t-mouse.el (gpm-mouse-mode):
4039 * tool-bar.el (tool-bar-mode):
4040 * tooltip.el (tooltip-mode):
4041 * type-break.el (type-break-mode-line-message-mode)
4042 (type-break-query-mode):
4043 * view.el (view-mode):
4044 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4045 (global-whitespace-mode, global-whitespace-newline-mode):
4046 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4047
a3839de2
SM
4048 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4049 Fix autogenerated docstring.
06e21633 4050
5214e501
JL
40512011-10-19 Juri Linkov <juri@jurta.org>
4052
4053 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4054 by checking environment variables "DESKTOP_SESSION" and
4055 "XDG_CURRENT_DESKTOP". (Bug#9779)
4056
195f8db9
JL
40572011-10-19 Juri Linkov <juri@jurta.org>
4058
4059 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4060 (browse-url-chromium-program, browse-url-chromium-arguments):
4061 New defcustoms.
4062 (browse-url-default-browser): Check for `browse-url-chromium' and
4063 call `browse-url-chromium-program'.
4064 (browse-url-chromium): New command. (Bug#9779)
4065
343a34ff
JB
40662011-10-18 Juanma Barranquero <lekktu@gmail.com>
4067
4068 * facemenu.el (list-colors-duplicates): On Windows, detect more
4069 duplicates by assuming that only colors matching "^System" are
4070 special "system colors". (Bug#9722)
4071
6978a151
SM
40722011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4073
4074 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4075 to distinguish the author from the committer.
4076
6a80b297
MA
40772011-10-18 Michael Albinus <michael.albinus@gmx.de>
4078
4079 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4080
b31a5677
JK
40812011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4082
4083 * international/mule.el (sgml-html-meta-auto-coding-function):
4084 Add support for detecting encoding in HTML5 specified only as
4085 <meta charset="UTF-8">. Implementation just makes http-equiv and
4086 content-type parts from HTML4 encoding string optional. (Bug#9716)
4087
80c6d77f
GM
40882011-10-18 Glenn Morris <rgm@gnu.org>
4089
4090 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4091
08b0fee8
CY
40922011-10-18 Chong Yidong <cyd@gnu.org>
4093
4094 * faces.el (cursor): Doc fix.
4095
67e729a5
CY
40962011-10-17 Chong Yidong <cyd@gnu.org>
4097
4098 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4099
343a34ff 41002011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4101
4102 * dirtrack.el (dirtrack): Support shell buffers with path
4103 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4104
0bc06380
TZ
41052011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4106
4107 * json.el: Bump version to 1.3 and note change in History.
4108 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4109
8b79f3e0
SM
41102011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4111
5a7c536b
SM
4112 * comint.el (comint-insert-input, comint-send-input)
4113 (comint-get-old-input-default, comint-backward-matching-input)
4114 (comint-next-prompt): Use nil instead of `input' for field property of
4115 past user input (bug#114).
4116
96a8a0df
SM
4117 * minibuffer.el (completion--replace): Inherit surrounding properties
4118 (bug#114).
4119 (minibuffer-complete-and-exit): Use it.
4120
8b79f3e0
SM
4121 * comint.el (comint--table-subvert): Quote the all-completions output
4122 (bug#9160).
4123
b8f7ff0d
MR
41242011-10-17 Martin Rudalics <rudalics@gmx.at>
4125
8b79f3e0 4126 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4127
b8f7ff0d 4128 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4129 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4130 entries and separate them from frame entries.
4131
c235b555
GM
41322011-10-15 Glenn Morris <rgm@gnu.org>
4133
4134 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4135 Doc fixes.
4136
6bbfa6e1
CY
41372011-10-15 Chong Yidong <cyd@stupidchicken.com>
4138
8b79f3e0
SM
4139 * net/network-stream.el (network-stream-open-starttls):
4140 Improve detection of failure due to lack of TLS support.
ec5c990d 4141
6bbfa6e1
CY
4142 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4143 putting the input text in front and in bold.
4144
98488977
SM
41452011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4146
3d1337be
SM
4147 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4148
ee0b45e4
SM
4149 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4150 empty buffer.
4151
98488977
SM
4152 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4153 unread-command-events rather than pushing yet-another event.
4154
186f4720
EZ
41552011-10-14 Eli Zaretskii <eliz@gnu.org>
4156
4157 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4158 the explanation of the possible choices. Make the options passed
4159 to completing-read shorter.
4160
8b7a997c
AM
41612011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4162
4163 * textmodes/flyspell.el (flyspell-large-region): Make sure
4164 extended character mode is used if defined (Bug#1339).
4165
12587bbb
EZ
41662011-10-13 Eli Zaretskii <eliz@gnu.org>
4167
4168 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4169 character info for LRE, LRO, RLE, and RLO characters by appending
4170 an invisible PDF.
12587bbb 4171
bad41229
SM
41722011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4173
4174 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4175 even in case of error; add debug spec; simplify data flow.
4176 (with-timeout-handler): Remove.
4177
28dbc92f
MA
41782011-10-12 Michael Albinus <michael.albinus@gmx.de>
4179
4180 Fix Bug#6019, Bug#9315.
4181
4182 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4183 complete `buffer-file-name', the local file name part could look
4184 remotely (for example on VMS).
4185
4186 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4187 `tramp-run-real-handler'.
4188 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4189 already quoted by '"'.
4190
4191 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4192 Let `file-name-handler-alist' be nil, the local file name part
4193 could look remotely (for example on VMS).
4194
e1b0b23a
SM
41952011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4198 from here...
4199 (flyspell-post-command-hook): ...to here.
4200
a120bde9
SM
42012011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4202
4203 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4204 if not needed.
4205 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4206 using completion. Protect against "slow" callers.
4207 Remove the "message hack".
4208
7ce7717b
JL
42092011-10-11 Juri Linkov <juri@jurta.org>
4210
4211 * isearch.el (isearch-lazy-highlight-word): New variable.
4212 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4213 Use it. (Bug#9727)
4214
c02ee9d6
GM
42152011-10-11 Glenn Morris <rgm@gnu.org>
4216
4217 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4218 like f90-previous-statement does.
4219
93e616fd 42202011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4221
1f190e73 4222 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4223 only in interactive use, to avoid error.
4224
af7b6078
SM
42252011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4226
4227 * minibuffer.el (completion-file-name-table): Fix last change,
4228 i.e. ignore normal errors but not the other ones.
4229
0563dae9
MR
42302011-10-10 Martin Rudalics <rudalics@gmx.at>
4231
4232 * window.el (special-display-buffer-names)
4233 (special-display-regexps): Remove some remnants of earlier
4234 changes from doc-strings.
366ca7f3
MR
4235 (quit-windows-on): New function.
4236
4237 * vc/vc.el (vc-revert, vc-rollback):
4238 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4239 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4240 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4241
49677495
MR
42422011-10-09 Martin Rudalics <rudalics@gmx.at>
4243
4244 * window.el (frame-auto-hide-function): Add version tag.
4245 (Bug#9699)
4246
56f2d1e1
MA
42472011-10-09 Michael Albinus <michael.albinus@gmx.de>
4248
4249 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4250 condition.
4251
112a6592
LL
42522011-10-09 Leo Liu <sdl.web@gmail.com>
4253
4254 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4255 (Bug#9701)
4256
0812589b
GM
42572011-10-08 Glenn Morris <rgm@gnu.org>
4258
4259 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4260 before the first code statement zero indent. (Bug#9690)
4261
b2b0776e
CY
42622011-10-08 Chong Yidong <cyd@stupidchicken.com>
4263
4264 * simple.el (count-words-region): Always count in the region.
4265 Report the number of lines and characters too.
4266 (count-words): New command, which counts in the buffer if the
4267 region is inactive, as count-words-region used to.
4268 (count-words--message): New function. Handle plurals.
4269 (count-lines-region): Make it an alias for count-words-region.
4270
4271 * bindings.el (esc-map): Replace count-lines-region with
4272 count-words-region.
4273
c557cd6b
MR
42742011-10-08 Martin Rudalics <rudalics@gmx.at>
4275
4276 * window.el (window--delete): Delete dedicated frame
4277 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4278 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4279
61a57ef4 42802011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4281
3a7d293b 4282 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4283
c3833279
CY
42842011-10-07 Chong Yidong <cyd@stupidchicken.com>
4285
4286 * bindings.el ([M-left],[M-right]): Bind to left-word and
4287 right-word respectively.
4288
21ce8245
GM
42892011-10-07 Glenn Morris <rgm@gnu.org>
4290
4291 * cus-start.el (debug-on-quit): Fix custom type.
4292
6d823bb2
LMI
42932011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4294
0181e193
LMI
4295 * subr.el (define-key-after): Clarify that the function is not
4296 useful for non-menu keymaps.
4297
6d823bb2
LMI
4298 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4299
8e3459ce 43002011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4301
21ce8245 4302 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4303 in current minibuffer (Fix bug with recursive minibuffers).
4304
a1c2d21e
CY
43052011-10-06 Chong Yidong <cyd@stupidchicken.com>
4306
4307 * progmodes/gdb-mi.el (gdb): Doc fix.
4308
5a4cf282
MR
43092011-10-05 Martin Rudalics <rudalics@gmx.at>
4310
4311 * window.el (frame-auto-hide-function): New option replacing
4312 frame-auto-delete. Suggested by Stefan Monnier.
4313 (window--delete): Call frame-auto-hide-function instead of
4314 investigating frame-auto-delete.
c96111ea
MR
4315 (window-point-1, set-window-point-1): New functions.
4316 (window-in-direction, record-window-buffer, window-state-get-1)
4317 (display-buffer-record-window): Use window-point-1 instead of
4318 window-point.
4319 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4320
9854542e
SM
43212011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4322
4323 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4324
8943cfb0
GM
43252011-10-05 Glenn Morris <rgm@gnu.org>
4326
4327 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4328 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4329
647ab967
LL
43302011-10-05 Leo Liu <sdl.web@gmail.com>
4331
4332 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4333 works with buffer object.
4334
3ddfbced
SM
43352011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4336
4337 * mpc.el (mpc-tool-bar-map): Add labels.
4338
bdfa5dd2
GM
43392011-10-04 Glenn Morris <rgm@gnu.org>
4340
4341 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4342
0e2070b5
MR
43432011-10-04 Martin Rudalics <rudalics@gmx.at>
4344
4345 * window.el (window--delete): New function.
4346 (frame-auto-delete): Resuscitate option.
4347 (bury-buffer, replace-buffer-in-windows)
4348 (quit-window): Rewrite using window--delete.
4349 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4350 Pass display-buffer-mark-dedicated to window--display-buffer-2
4351 (Bug#9639).
4352
3dc61a09
SM
43532011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4354
915a9b64
SM
4355 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4356 returns a list (bug#9554). Add remote file name completion.
4357 * comint.el (comint--table-subvert): Curry and get quote&unquote
4358 functions as arguments.
4359 (comint--complete-file-name-data): Adjust call accordingly.
4360 * pcomplete.el (pcomplete--table-subvert): Remove.
4361 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4362
3dc61a09
SM
4363 * minibuffer.el (completion-table-case-fold): Use currying.
4364 (completion--styles-type, completion--cycling-threshold-type):
4365 New constants.
4366 (completion-styles, completion-category-overrides)
4367 (completion-cycle-threshold): Use them.
4368 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4369 completion-table-case-fold.
4370
8ea0a993
SB
43712011-10-03 Stephen Berman <stephen.berman@gmx.net>
4372
4373 * minibuffer.el (completion-category-overrides): Fix type of styles
4374 and add more user friendly tags (bug#9660).
4375
8c24b7f6
SM
43762011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4377
4378 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4379 (mule-input-method-string): New widget.
4380 (default-input-method, language-info-custom-alist): Use it.
4381
428fe61a
SM
43822011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4383
32c1fffd
SM
4384 * pcomplete.el: Require comint.
4385 (pcomplete--common-suffix): Remove.
4386 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4387 (pcomplete--table-subvert): Sync with comint--table-subvert.
4388 (pcomplete--entries): Use comint-completion-file-name-table.
4389 * comint.el (comint-unquote-filename): Simplify.
4390 (comint-completion-file-name-table): New function (bug#9616).
4391 (comint--complete-file-name-data): Use it.
4392
428fe61a
SM
4393 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4394 (pcmpl-gnu-tar-buffer): Remove.
4395 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4396 around. Make sure pcomplete-suffix-list is only changed temporarily.
4397 Don't look inside the tar's file if it's too large.
428fe61a 4398
04c52e2f
CY
43992011-10-01 Chong Yidong <cyd@stupidchicken.com>
4400
ce3cefcc
CY
4401 * cus-edit.el (custom-mode-map):
4402 * epa.el (epa-key-list-mode-map):
4403 * man.el (Man-mode-map):
4404 * startup.el (splash-screen-keymap):
4405 * simple.el (special-mode-map): Use scroll-up-command and
4406 scroll-down-command.
4407
4408 * progmodes/idlw-help.el (idlwave-help-mode-map):
4409 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4410 * net/newst-plainview.el (newsticker-mode-map):
4411 * emulation/ws-mode.el (wordstar-mode-map):
4412 * emulation/vi.el (vi-com-map):
4413 * calc/calc-graph.el (calc-graph-show-dumb):
4414 * term/sun.el (terminal-init-sun):
4415 * term/ns-win.el (global-map):
4416 * progmodes/grep.el (grep-mode-map):
4417 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4418 * mail/rmail.el (rmail-mode-map):
4419 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4420
04c52e2f
CY
4421 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4422 custom-safe-themes as special.
4423
79adf8c8
JD
44242011-10-01 Julien Danjou <julien@danjou.info>
4425
4426 * notifications.el (notifications-notify): Fix docstring.
4427
63bd50d3
PS
44282011-10-01 Per Starbäck <per@starback.se>
4429
4430 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4431
199e4c7e
MR
44322011-09-30 Martin Rudalics <rudalics@gmx.at>
4433
4434 * startup.el (command-line-1): Fix last fix by inserting
4435 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4436 (Bug#9605) and (Bug#9636)
199e4c7e 4437
fe5f08dd
EZ
44382011-09-29 Eli Zaretskii <eliz@gnu.org>
4439
4440 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4441 window is hscrolled, move by logical lines. (Bug#9607)
4442 (line-move-visual): Update the doc string to the above effect.
4443
b5516bbd
MR
44442011-09-29 Martin Rudalics <rudalics@gmx.at>
4445
ccee00c0
MR
4446 * window.el (display-buffer-record-window): When WINDOW is the
4447 selected window use `point' instead of `window-point'. (Bug#9626)
4448
b5516bbd
MR
4449 * startup.el (command-line-1): Use insert-before-markers when
4450 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4451
b5516bbd
MR
4452 * help.el (help-window): Remove variable.
4453
52aa0014
GM
44542011-09-29 Glenn Morris <rgm@gnu.org>
4455
4456 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4457
df9a7357
JB
44582011-09-29 Juanma Barranquero <lekktu@gmail.com>
4459
4460 * descr-text.el (describe-char-categories): Accept category
4461 descriptions more than one line long.
4462
a8406c20
SM
44632011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4464
88d9610c
SM
4465 * simple.el (delete-trailing-whitespace): Fix last change.
4466
a5daf810
SM
4467 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4468 Don't confuse "y => 3" as the beginning of a `y' operation.
4469
a8406c20
SM
4470 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4471 object has more than 4 slots (bug#9613).
4472
a239d4e9
JB
44732011-09-28 Juanma Barranquero <lekktu@gmail.com>
4474
4475 * subr.el (with-output-to-temp-buffer):
4476 * net/quickurl.el (quickurl, quickurl-browse-url):
4477 Fix typos in docstrings.
4478
693fbdb6
EZ
44792011-09-27 Eli Zaretskii <eliz@gnu.org>
4480
4481 * minibuffer.el (completion-styles)
4482 (completion-category-overrides): Cross reference each other in doc
4483 strings.
4484
8b457e28
GM
44852011-09-27 Glenn Morris <rgm@gnu.org>
4486
4487 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4488 to split-string. (Bug#9606)
4489
85a16208
LMI
44902011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4491
4492 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4493 (bug#9615).
4494
502f9ebd
CY
44952011-09-27 Chong Yidong <cyd@stupidchicken.com>
4496
4497 * emacs-lisp/package.el (list-packages): Fix echo area message.
4498
7690bdea
LL
44992011-09-27 Leo Liu <sdl.web@gmail.com>
4500
4501 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4502
e2ee6f30
MA
45032011-09-25 Michael Albinus <michael.albinus@gmx.de>
4504
4505 * net/dbus.el (dbus-unregister-object): Don't release services for
4506 registered signals. (Bug#9581)
4507
f3f98342
TZ
45082011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4509
4510 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4511 function that picks between cfengine 2 and 3 support
4512 automatically. Update docs accordingly.
4513
dd7aa8dd
KH
45142011-09-22 Kenichi Handa <handa@m17n.org>
4515
4516 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4517 ZERO.
4518 (indian-itrans-v5-table-for-tamil): New variable.
4519 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4520
3f2b07f8
KM
45212011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4522
4523 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4524 that's true if the current command involved collapsing of text.
4525 It's reset to false at the beginning of the next command.
4526 (allout-post-command-business): Move the cursor to the beginning
4527 of entry if the cursor is hidden and collapsing activity just
4528 happened.
4529
371d6a61
CY
45302011-09-24 Chong Yidong <cyd@stupidchicken.com>
4531
4532 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4533 tracking (Bug#9541).
4534
2ac2721a
UJ
45352011-09-24 Ulf Jasper <ulf.jasper@web.de>
4536
4537 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4538 (newsticker-show-news): Automatically load html rendering package
4539 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4540 because w3m-fill-column is let-bound" and the error "Symbol's value
4541 as variable is void: w3m-fill-column".
2ac2721a 4542
fac7ae53
MA
45432011-09-24 Michael Albinus <michael.albinus@gmx.de>
4544
4545 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4546 Release services only if they are defined. (Bug#9581)
4547
e08b633b
RS
45482011-09-23 Richard Stallman <rms@gnu.org>
4549
e488d29c
RS
4550 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4551 distinguish start of paragraph from start of its text.
4552
19c38752
RS
4553 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4554
e08b633b
RS
4555 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4556 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4557 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4558
0a39f27e
AS
45592011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4560
4561 * international/mule-diag.el (mule-diag): Insert a newline after
4562 each fontset description.
4563
db4e950d
SM
45642011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4565
4566 * simple.el (delete-trailing-whitespace):
4567 Document last change; simplify.
4568
eca3f3ea
PW
45692011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4570
d68e189a
PW
4571 * simple.el (delete-trailing-whitespace): Also delete
4572 extra newlines at the end of the buffer.
4573
eca3f3ea
PW
4574 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4575 (picture-newline): Use forward-line so as to ignore fields.
4576
01c157cc
SM
45772011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4578
4579 * subr.el (with-wrapper-hook): Fix edebug spec.
4580
022de23e
LMI
45812011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4582
4583 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4584 (bug#4538).
4585
91683089
MA
45862011-09-23 Michael Albinus <michael.albinus@gmx.de>
4587
eca3f3ea
PW
4588 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4589 Fix nasty bug using wrong cached values.
91683089 4590
5bdd6fa4
AM
45912011-09-23 Alan Mackenzie <acm@muc.de>
4592
4593 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4594
97adfb97
CY
45952011-09-23 Chong Yidong <cyd@stupidchicken.com>
4596
4597 * window.el (pop-to-buffer): Ensure right window is selected if we
4598 chose another frame.
4599
d4ef2b50
EZ
46002011-09-22 Eli Zaretskii <eliz@gnu.org>
4601
4602 * simple.el (what-cursor-position): Use get-char-property-change
4603 and next-single-char-property-change, to be able to show display
4604 properties that come from overlays as well as text properties.
4605
72258fe5
CY
46062011-09-22 Chong Yidong <cyd@stupidchicken.com>
4607
4608 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4609
4610 * cmuscheme.el (run-scheme, switch-to-scheme):
4611 * cus-edit.el (customize-group, custom-buffer-create)
4612 (customize-browse):
4613 * info.el (info):
4614 * shell.el (shell):
4615 * mail/sendmail.el (mail):
4616 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4617
8f098516
RS
46182011-09-22 Richard Stallman <rms@gnu.org>
4619
4620 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4621 move back only to line beg, don't move back over blank lines.
4622
e74f1bb6
MA
46232011-09-22 Michael Albinus <michael.albinus@gmx.de>
4624
4625 * files.el (copy-directory): Set directory attributes only in case
4626 they could be retrieved from the source directory. (Bug#9565)
4627
bfeef8b6
DK
46282011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4629
4630 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4631 (hs-find-block-beginning, hs-hide-level-recursive):
4632 Ignore strings as well as comments. (Bug#9502)
4633
7e423bb8
AS
46342011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4635
4636 * progmodes/sql.el (sql-comint-postgres):
4637 Convert port number to a string. (Bug#9566)
4638
b4d72fcf
MR
46392011-09-22 Martin Rudalics <rudalics@gmx.at>
4640
4641 * window.el (quit-window): Undedicate window when switching to
4642 previous buffer. Reported by Thierry Volpiatto
4643 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4644 (special-display-popup-frame): When popping up a new frame reset
4645 its previous buffers to nil. Simplify code.
b4d72fcf 4646
a7b88dc6
MA
46472011-09-21 Michael Albinus <michael.albinus@gmx.de>
4648
4649 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4650 and process filter, as done also in `shell-command'.
4651
cf4eacfd
MR
46522011-09-21 Martin Rudalics <rudalics@gmx.at>
4653
eca3f3ea 4654 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4655 Call set-window-start with NOFORCE argument t.
4656 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4657 (quit-window): Reword doc-string. Handle new format of
4658 quit-restore parameter. Don't delete window if it has a
4659 previous buffer we can show instead of the present one.
4660 (display-buffer-record-window): Rewrite using a new format for
4661 the quit-restore window parameter
4662 (special-display-popup-frame, display-buffer-same-window)
4663 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4664 (display-buffer-pop-up-window, display-buffer-use-some-window):
4665 Adapt symbol passed to display-buffer-record-window.
4666 * help.el (help-window-setup): Handle new format of quit-restore
4667 parameter.
4668
8d28cb95
SM
46692011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4670
94ab793f
SM
4671 * faces.el (face-list): Fix docstring (bug#9564).
4672
8d28cb95
SM
4673 * window.el (display-buffer--action-function-custom-type):
4674 Don't include internal functions in the Custom interface.
4675
3820edeb
JL
46762011-09-20 Juri Linkov <juri@jurta.org>
4677
4678 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4679 (Info-forward-node, Info-backward-node, Info-next-preorder)
4680 (Info-last-preorder): Use it. (Bug#9528)
4681
5147931d
JL
46822011-09-20 Juri Linkov <juri@jurta.org>
4683
4684 * info.el (Info-last-preorder): Visit last menu item only when
4685 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4686
cf499a1a
JD
46872011-09-20 Julien Danjou <julien@danjou.info>
4688
4689 * password-cache.el (password-cache-remove): Remove entries even if the
4690 value is nil, so that password with a nil value (negative caching) is
4691 possible to invalidate.
4692
f84e2fe2
LM
46932011-09-20 Lawrence Mitchell <wence@gmx.li>
4694
4695 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4696 all whitespace around breakpoint. (Bug#9553)
4697 (f90-find-breakpoint): Only break at whitespace inside a comment.
4698
78054a46
SM
46992011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4700
4701 * minibuffer.el (completion-file-name-table): Keep track of errors.
4702 (completion-table-with-predicate): Handle the case where pred1 is nil.
4703 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4704
345083b2
SM
47052011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4706
e24e27be
SM
4707 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4708 (debugger-return-value): Signal an error if the debugging context does
4709 not await any return value.
4710
345083b2
SM
4711 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4712 * image-mode.el (image-toggle-display-text)
4713 (image-toggle-display-image): Stay away from evil `intangible'.
4714
08d355e3
LL
47152011-09-19 Leo Liu <sdl.web@gmail.com>
4716
4717 * replace.el (occur-revert-arguments): Make it permanent-local.
4718 (occur-mode): Don't call font-lock-defontify.
4719
f01da43f
CY
47202011-09-19 Chong Yidong <cyd@stupidchicken.com>
4721
4722 * net/ldap.el (ldap-search-internal): Don't push empty search
4723 result (Bug#9508).
4724
b6072fa6
SM
47252011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4726
4727 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4728
443d6696
MA
47292011-09-19 Michael Albinus <michael.albinus@gmx.de>
4730
4731 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4732 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4733
7cc6e154
JL
47342011-09-18 Juri Linkov <juri@jurta.org>
4735
4736 * buff-menu.el (Buffer-menu-mode-map):
4737 * dired.el (dired-mode-map):
4738 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4739 (lisp-interaction-mode-map):
4740 * emacs-lisp/package.el (package-menu-mode-map):
4741 * epa.el (epa-key-list-mode-map):
4742 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4743 (menu-bar-options-menu):
4744 * outline.el (outline-mode-menu-bar-map):
4745 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4746 * vc/vc-dir.el (vc-dir-menu-map):
4747 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4748 Capitalize non-function content words in menu item strings.
4749
4750 * dired.el (dired-mode-map): Add menu item for
4751 `image-dired-dired-toggle-marked-thumbs'.
4752
80302a81
JL
47532011-09-18 Juri Linkov <juri@jurta.org>
4754
4755 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4756 to `isearch-case-fold-search' and restore its original value
4757 after the `isearch-mode' call.
4758
46c5cf66
JL
47592011-09-18 Juri Linkov <juri@jurta.org>
4760
4761 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4762 because `zgrep' returns 1 for successful matches (bug#9226).
4763
d18b513b
JL
47642011-09-18 Juri Linkov <juri@jurta.org>
4765
4766 * info.el (Info-extract-menu-node-name): Check the second match
4767 for empty string (second test-case of bug#9528).
4768 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4769 intermediate nodes to the history (first test-case of bug#9528).
4770
72753f87
JL
47712011-09-18 Juri Linkov <juri@jurta.org>
4772
4773 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4774 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4775
c9384295
JL
47762011-09-18 Juri Linkov <juri@jurta.org>
4777
1154d12e
JB
4778 * info.el (Info-file-supports-index-cookies):
4779 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4780 outputs one more line for long file names (bug#4142).
c9384295 4781
d473dce8
CY
47822011-09-18 Chong Yidong <cyd@stupidchicken.com>
4783
4784 * newcomment.el (comment-normalize-vars): If prompting for
4785 comment-start, set comment-start-skip too (Bug#8424).
4786
2176854d
JB
47872011-09-18 Johan Bockgård <bojohan@gnu.org>
4788
4789 * icomplete.el: Fix previous fix of Bug#5849.
4790 (icomplete-mode): Don't set completion-show-inline-help.
4791 (icomplete-minibuffer-setup): Set completion-show-inline-help
4792 locally during icompletion.
4793
3aace4e4
CY
47942011-09-18 Chong Yidong <cyd@stupidchicken.com>
4795
c940224f
CY
4796 * woman.el (woman2-process-escapes): Don't delete unrecognized
4797 escapes (Bug#7843).
4798
3aace4e4
CY
4799 * files.el (inhibit-first-line-modes-regexps): Add image files.
4800 (hack-local-variables-prop-line): Return nil for malformed
4801 prop-lines (Bug#9044).
4802
710dec63
MA
48032011-09-18 Michael Albinus <michael.albinus@gmx.de>
4804
4805 * net/tramp.el (top): Don't require 'shell.
4806 (tramp-methods): Fix docstring.
4807 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4808 Return complete remote file name. Handle "smb" case.
4809 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4810 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4811
4812 * net/tramp-compat.el (top): Require 'shell.
4813
4814 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4815 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4816 `tramp-current-host'.
4817 (tramp-get-remote-tmpdir): Remove.
4818
4819 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4820 `tramp-tmpdir' entries.
4821 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4822 (tramp-smb-handle-file-attributes): Ignore errors.
4823 (tramp-smb-wait-for-output): Check also for process end.
4824
5d5ac8ec
LMI
48252011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4826
4827 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4828 when sending QUIT (bug#9312).
4829
8c0f49f0
CY
48302011-09-17 Chong Yidong <cyd@stupidchicken.com>
4831
4832 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4833 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4834 occur-mode-display-occurrence.
4835 (occur-edit-mode): Add usage message.
4836 (occur-cease-edit): New command.
4837 (occur-after-change-function): Use text properties to find the
4838 position of the prefix text.
4839 (occur-engine): Set stickiness of prefix text properties.
4840
8f1383f7
GM
48412011-09-17 Glenn Morris <rgm@gnu.org>
4842
4843 * progmodes/etags.el (complete-tag):
4844 Fix call to completion-in-region. (Bug#9526)
4845
744ba0e3
JL
48462011-09-17 Juri Linkov <juri@jurta.org>
4847
4848 * textmodes/ispell.el (ispell-word): Add to the error message
4849 the word, ispell program name and current dictionary (bug#9121).
4850 (ispell-tex-arg-end): Capitalize "error" in the error message.
4851
d9bbf400
AS
48522011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4853
4854 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4855 check. (Bug#4251)
4856
8da11505
JL
48572011-09-17 Juri Linkov <juri@jurta.org>
4858
4859 * window.el (window-safe-min-height, window-safe-min-width):
4860 Fix typos (followup to bug#9522).
4861
a91adc7e
SJ
48622011-09-17 Sven Joachim <svenjoac@gmx.de>
4863
4864 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4865
064f328a
EZ
48662011-09-16 Eli Zaretskii <eliz@gnu.org>
4867
4868 * simple.el (line-move): If goal-column is set, move by logical
4869 lines, not by display lines. (Bug#971)
4870 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4871 to reflect the above change.
4872
e69df516
SM
48732011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4874
4875 * image.el (imagemagick-register-types): Use regexp-opt.
4876
cbb0f9ab
CY
48772011-09-15 Chong Yidong <cyd@stupidchicken.com>
4878
4879 * window.el (display-buffer-base-action): Rename from
4880 display-buffer-default-action. Make default value empty.
4881 (display-buffer-overriding-action): Convert to defvar.
4882 (display-buffer-fallback-action): New var.
4883
25322144
CY
48842011-09-15 Chong Yidong <cyd@stupidchicken.com>
4885
4886 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4887 declaration.
4888 (package--add-to-archive-contents): If there is a duplicate entry
4889 with an older version, remove it.
4890 (package-menu-mark-delete, package-menu-mark-install)
4891 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4892 (package-menu-mark-obsolete-for-deletion):
4893 Use package-menu-get-status instead of a regexp search.
25322144
CY
4894 (package-menu-get-status): Use tabulated-list-entry.
4895 (package-menu-mark-upgrades): New command.
d770725a 4896 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4897 (package-menu-execute): Do installation before deletion.
4898 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4899 instead of checking major-mode.
4900 (package-menu--find-upgrades): New function.
4901
7520339c
LMI
49022011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4903
4904 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4905 passwords in the log buffer.
65a046c4
LMI
4906 (smtpmail-process-filter): Update the process marker so that the
4907 "broken by peer" status message is inserted in the right place.
7520339c 4908
d3c30954
SM
49092011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4910
3fe48822
SM
4911 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4912 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4913 bibtex-completion-at-point-function.
4914 (bibtex-completion-at-point-function): Use them.
4915
1b8b3954
SM
4916 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4917
d3c30954
SM
4918 * mpc.el (mpc-constraints-tag-lookup): New function.
4919 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4920 also to browser "album|playlist".
4921
72779976
JL
49222011-09-14 Juri Linkov <juri@jurta.org>
4923
4924 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4925 (isearch-edit-string): Use length of `isearch-string' when
4926 `isearch-fail-pos' returns nil.
4927 (isearch-message): Remove duplicate code and call
4928 `isearch-fail-pos' with arg `t'.
4929
a0bf2bcd
CY
49302011-09-14 Chong Yidong <cyd@stupidchicken.com>
4931
17bb0a2d
CY
4932 * replace.el (occur-mode-goto-occurrence): Don't force using other
4933 window (Bug#9499).
4934
a0bf2bcd
CY
4935 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4936
f678e0b6
MR
49372011-09-14 Martin Rudalics <rudalics@gmx.at>
4938
4939 * window.el (display-buffer-window): Remove.
4940 (display-buffer-record-window): Use help-setup window parameter
4941 instead of variable display-buffer-window.
4942 (display-buffer-function, special-display-buffer-names)
4943 (special-display-function): Mention help-setup parameter instead
4944 of display-buffer-window in doc-string.
d3c30954
SM
4945 * help.el (help-window-setup): New argument help-window.
4946 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4947 Reword some messages.
4948 (with-help-window): Pass window used for displaying the buffer
4949 to help-window-setup. Don't set display-buffer-window.
4950
8e39b2e8
GM
49512011-09-13 Glenn Morris <rgm@gnu.org>
4952
4953 * emacs-lisp/debug.el (debugger-make-xrefs):
4954 Preserve point. (Bug#9462)
4955
85e9c04b
CY
49562011-09-13 Chong Yidong <cyd@stupidchicken.com>
4957
4958 * window.el (window-deletable-p): Use next-frame.
4959
1b36ed6a
MR
49602011-09-13 Martin Rudalics <rudalics@gmx.at>
4961
4962 * window.el (window-auto-delete): Remove.
4963 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4964 dedication and previous buffers.
1b36ed6a
MR
4965 (switch-to-prev-buffer): Don't delete window.
4966 (delete-windows-on): Delete a window's frame if and only if the
4967 window is dedicated.
4968 (replace-buffer-in-windows): Delete buffer's window or frame if
4969 and only if window is dedicated.
4970 (quit-window): Handle quit-restore as before last change.
4d61f28d 4971 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4972
ef8ef9fb
CY
49732011-09-13 Chong Yidong <cyd@stupidchicken.com>
4974
4975 * window.el (window-deletable-p): Never delete the last frame on a
4976 given terminal.
4977
b2cba41e
GM
49782011-09-13 Glenn Morris <rgm@gnu.org>
4979
4980 * help.el (describe-key-briefly): Copy previous standard-output change.
4981
51553db6 49822011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4983
4984 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4985
b7556719
GM
49862011-09-13 Glenn Morris <rgm@gnu.org>
4987
4988 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4989 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4990
64b51947
CY
49912011-09-12 Chong Yidong <cyd@stupidchicken.com>
4992
4993 * dired-aux.el (dired-mark-read-string): Don't return default
4994 value on empty input (Bug#9361).
4995 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4996 Omit initial minibuffer contents.
4997 (dired-do-chmod): Signal an error on empty input.
4998 (dired-mark-read-string): Don't return default on empty input.
4999
5000 * files.el (file-modes-symbolic-to-number): Doc fix.
5001
393a301e
SM
50022011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5003
5004 * international/mule-cmds.el (ucs-completions): Remove.
5005 (read-char-by-name): Use complete-with-action instead; add metadata.
5006
fa5660f9
CY
50072011-09-11 Chong Yidong <cyd@stupidchicken.com>
5008
5009 * window.el (display-buffer--action-function-custom-type)
5010 (display-buffer--action-custom-type): New vars.
5011 (display-buffer-alist, display-buffer-default-action)
5012 (display-buffer-overriding-action): Add defcustom types.
5013
4a592f66
CY
5014 * frame.el (delete-other-frames): Doc fix (Bug#276).
5015
73d56dbd
LMI
50162011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5017
5018 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5019
37ac18a3
CY
50202011-09-11 Chong Yidong <cyd@stupidchicken.com>
5021
5022 Change modes that used same-window-* vars to use switch-to-buffer.
5023
5024 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5025 Use switch-to-buffer.
5026
5027 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5028 (customize-browse, custom-buffer-create-other-window):
5029 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5030
5031 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5032 (Info-prev, Info-up, Info-speedbar-goto-node)
5033 (info-display-manual): Use switch-to-buffer.
5034 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5035
5036 * mail/sendmail.el (mail): Use switch-to-buffer.
5037 (mail-recover): Use switch-to-buffer-other-window.
5038
5039 * cmuscheme.el (run-scheme, switch-to-scheme):
5040 * ielm.el (ielm):
5041 * shell.el (shell):
5042 * net/rlogin.el (rlogin):
5043 * net/telnet.el (telnet, rsh):
5044 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5045
10195bd6
AS
50462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5047
5048 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5049
b322f63a
LMI
50502011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5051
39d7fed6
LMI
5052 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5053 so don't mention it (bug#9301).
ba5a81f1 5054 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5055
ee0e9f11
LMI
5056 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5057 match `x', `w32' and `ns', like the manual says (bug#9029).
5058
0b1c89c1 5059 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5060 (process-kill-buffer-query-function): Mention the buffer name in
5061 the query.
0b1c89c1 5062
77549ea8
LMI
5063 * image-mode.el (image-next-line): The line parameter is mandatory
5064 (bug#9258).
5065
803ef892
LMI
5066 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5067 which can be useful (bug#9301).
5068
12980837
LMI
5069 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5070
91054f8f
LMI
5071 * subr.el (match-string): Mention that the current buffer should
5072 be the same as the search was done in (bug#9282).
5073
b322f63a
LMI
5074 * facemenu.el: Disable the remove-* commands if the mark isn't
5075 active (bug#9162).
5076
3199b96f
CY
50772011-09-10 Chong Yidong <cyd@stupidchicken.com>
5078
5079 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5080 of display-buffer.
5081 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5082
5083 * replace.el (occur-mode-goto-occurrence)
5084 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5085 and display-buffer.
5086
5087 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5088 display-buffer.
5089
5090 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5091 special-display and same-window variables.
5092 (mail-other-window): Use switch-to-buffer-other-window.
5093 (mail-other-frame): USe switch-to-buffer-other-frame.
5094
393a301e
SM
5095 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5096 Use display-buffer-other-frame.
3199b96f
CY
5097 (gdb-display-gdb-buffer): Use pop-to-buffer.
5098
5099 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5100
5101 * progmodes/python.el: Don't set same-window-buffer-names.
5102
5103 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5104
5105 * window.el (display-buffer-alist): Add *Python*.
5106
8319e0bf
CY
51072011-09-10 Chong Yidong <cyd@stupidchicken.com>
5108
5109 * window.el (display-buffer-alist): Add entry for buffers
5110 previously handled same-window-*.
5111 (display-buffer-alist, display-buffer-default-action)
5112 (display-buffer-overriding-action): Mark as risky.
5113 (display-buffer-alist): Document action function changes.
5114 (display-buffer--same-window-action)
5115 (display-buffer--other-frame-action): New variables.
5116 (switch-to-buffer, display-buffer-other-frame): Use them.
5117 (display-buffer): Rename reuse-frame entry to reusable-frames.
5118 (display-buffer-reuse-selected-window): Function deleted.
5119 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5120 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5121 (display-buffer-special): New function.
5122 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5123 display-buffer-reuse-or-pop-window. Split off special-display
5124 part into display-buffer-special.
5125 (display-buffer-use-some-window): Don't perform any special
5126 pop-up-frames handling.
5127 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5128 (display-buffer--maybe-same-window): Rename from
0d3ff375 5129 display-buffer-maybe-same-window.
8319e0bf 5130
919a69aa
CY
5131 * info.el: Don't set same-window-regexps.
5132 (info-setup): New function.
5133 (info-other-window, info): Call it.
5134
5135 * cus-edit.el: Don't set same-window-regexps.
5136 (customize-group): New argument.
5137 (customize-group-other-window): Use it.
5138 (customize-face, customize-face-other-window): Likewise.
5139 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5140
8319e0bf
CY
5141 * net/rlogin.el:
5142 * net/telnet.el:
5143 * progmodes/gud.el: Don't set same-window-regexps.
5144
5145 * cmuscheme.el:
5146 * ielm.el:
5147 * shell.el:
5148 * mail/sendmail.el:
5149 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5150
25173000
JL
51512011-09-10 Juri Linkov <juri@jurta.org>
5152
5153 * isearch.el (isearch-edit-string): Remove obsolete mention of
5154 `C-w' (`isearch-yank-word-or-char') from docstring.
5155 (isearch-query-replace): Fix typo in docstring (bug#9466).
5156
056e44ef
JL
51572011-09-10 Juri Linkov <juri@jurta.org>
5158
5159 * paren.el (show-paren-function): Don't show escaped parens.
5160 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5161
c3760c17
EZ
51622011-09-10 Eli Zaretskii <eliz@gnu.org>
5163
5164 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5165 (mm-default-file-encoding): Remove autoload forms, they are
5166 replaced with autoload cookies in mml.el and mm-encode.el.
5167 (mail-add-attachment): New command.
5168 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5169 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5170 the doc string.
5171 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5172
fece895e
RT
51732011-09-10 Reuben Thomas <rrt@sc3d.org>
5174
e69df516
SM
5175 * simple.el (count-words-region): Use buffer if there's no region
5176 (bug#9429).
fece895e 5177
5e68ce4a
JL
51782011-09-09 Juri Linkov <juri@jurta.org>
5179
5180 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5181 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5182 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5183
0a6b9622
AM
51842011-09-09 Alan Mackenzie <acm@muc.de>
5185
5186 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5187 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5188
14a29deb
EZ
51892011-09-09 Eli Zaretskii <eliz@gnu.org>
5190
5191 Fix for Savannah bug#9392.
5192 * simple.el (mail-encode-mml): New defvar.
5193
5194 * mail/rmail.el (mail-encode-mml): Add a defvar.
5195 (rmail-enable-mime-composing): Default to t.
5196 (rmail-forward): Use MIME method of forwarding only if both
5197 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5198 Set mail-encode-mml non-nil if the MIME method was used.
5199
5200 * mail/sendmail.el (mml-to-mime): Add autoload form.
5201 (mail-encode-mml): Add a defvar.
5202 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5203 to nil.
5204 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5205 message through mml-to-mime, and reset mail-encode-mml to nil.
5206
28c45130
GM
52072011-09-09 Glenn Morris <rgm@gnu.org>
5208
5209 * woman.el (woman-if-body): When processing an .el block,
5210 do not delete the next .el block as well. (Bug#9447)
69f4b618 5211 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5212
9b1c252e
MR
52132011-09-08 Martin Rudalics <rudalics@gmx.at>
5214
5215 * window.el (window-deletable-p): Make sure window is live before
5216 invoking window-prev-buffers.
5217
567457e3
LL
52182011-09-08 Leo Liu <sdl.web@gmail.com>
5219
5220 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5221
97f05794
JL
52222011-09-08 Juri Linkov <juri@jurta.org>
5223
5224 * progmodes/compile.el (compilation-environment): Make it
5225 a defcustom (bug#8340).
5226
8b0874b5
MR
52272011-09-08 Martin Rudalics <rudalics@gmx.at>
5228
5229 * window.el (frame-auto-delete): Rename to window-auto-delete.
5230 Make it control auto-deletion of windows and/or frames.
5231 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5232 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5233 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5234 Rewrite handling of case when window/frame can be deleted.
5235 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5236 argument t. (Bug#9456)
8b0874b5 5237
4feb6e73
CY
52382011-09-07 Chong Yidong <cyd@stupidchicken.com>
5239
5240 * help-mode.el (help-mode): Restore autoload.
5241
91ab9c13
JL
52422011-09-07 Juri Linkov <juri@jurta.org>
5243
5244 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5245 `compilation-environment'. Set buffer-local
5246 `compilation-environment' to `thisenv' later after (funcall mode).
5247 (Bug#8340)
5248
5249 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5250 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5251 instead of replacing its value. (Bug#8340)
5252
0527e251
JL
52532011-09-07 Juri Linkov <juri@jurta.org>
5254
5255 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5256 based on text properties put by `grep-filter' instead of matching
5257 escape sequences.
5258 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5259 to the value of `grep-error-screen-columns' (bug#9438).
5260
249f792c
JL
52612011-09-07 Juri Linkov <juri@jurta.org>
5262
5263 * simple.el (next-error-highlight, next-error-highlight-no-select):
5264 Doc fix (bug#9432).
5265
ff7271b9
OT
52662011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5267
5268 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5269 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5270
183fc730
LL
52712011-09-07 Leo Liu <sdl.web@gmail.com>
5272
5273 * net/rcirc.el (rcirc-mode): Conditionally initialize
5274 rcirc-input-ring.
5275
77694924
SM
52762011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * emacs-lisp/find-func.el (find-function-C-source): Only set
5279 find-function-C-source-directory after checking that we found a source
5280 file there (bug#9440).
5281
d809b8eb
AM
52822011-09-06 Alan Mackenzie <acm@muc.de>
5283
5284 * isearch.el (isearch-other-meta-char): Wherever a key list is
5285 unread, "unread" the prefix arg, too. This fixes bug #8901.
5286
453de99f
OG
52872011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5288
5289 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5290
90439906
JL
52912011-09-05 Juri Linkov <juri@jurta.org>
5292
5293 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5294
f62bd846
JL
52952011-09-05 Juri Linkov <juri@jurta.org>
5296
5297 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5298 keeping point where processing of grep matches begins, and
5299 continue to delete remaining escape sequences from the same point.
5300 (grep-filter): Make leading zero optional in "0?1;31m" because
5301 git-grep emits "\033[1;31m" escape sequences unlike expected
5302 "\033[01;31m" as GNU Grep does (bug#9408).
5303 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5304
045820ec
JL
53052011-09-05 Juri Linkov <juri@jurta.org>
5306
5307 * subr.el (y-or-n-p): Capitalize "yes".
5308
f5e29b9b
MA
53092011-09-04 Michael Albinus <michael.albinus@gmx.de>
5310
5311 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5312 `tramp-cache-unload-hook' where appropriate.
5313 (tramp-methods): Rename `tramp-remote-sh' to
5314 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5315 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5316
5317 * net/tramp-sh.el (top): Don't require 'shell.
5318 (tramp-methods): Add `tramp-remote-shell' and
5319 `tramp-remote-shell-args' entries.
5320 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5321 (tramp-sh-handle-shell-command): Remove.
5322 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5323 Use `tramp-remote-shell'.
5324
2784c434
CY
53252011-09-03 Chong Yidong <cyd@stupidchicken.com>
5326
393a301e 5327 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5328 (sendmail-query-once): Save directly to send-mail-function.
5329 Update message-send-mail-function too.
5330
5331 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5332
464cdf56
CS
53332011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5334
5335 * progmodes/python.el (python-mode-map): Use correct function to
5336 start python interpreter from menu-bar (as reported by Geert
5337 Kloosterman).
5338 (inferior-python-mode-map): Fix typo.
393a301e 5339 (python-shell-map): Remove.
464cdf56 5340
d37e5c87
DD
53412011-09-03 Deniz Dogan <deniz@dogan.se>
5342
5343 * net/rcirc.el (rcirc-print): Simplify code for
5344 rcirc-scroll-show-maximum-output. There is no need to walk
5345 through all windows to find the right one.
5346
f3ada0ee
CS
53472011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5348
5349 * help.el (help-return-method): Doc fix.
5350
1f3c99ca
MR
53512011-09-03 Martin Rudalics <rudalics@gmx.at>
5352
5353 * window.el (window-deletable-p): Don't return a non-nil value
5354 when there's a buffer that was shown in the window before.
5355 (Bug#9419)
393a301e
SM
5356 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5357 Set window's previous buffers to nil.
1f3c99ca 5358
a3cf097f
EZ
53592011-09-03 Eli Zaretskii <eliz@gnu.org>
5360
5361 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5362 newline before and after the tag line, so it doesn't interfere
5363 with determining the paragraph direction of bidirectional text.
5364
3d03de90
LL
53652011-09-03 Leo Liu <sdl.web@gmail.com>
5366
5367 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5368
c3313451
CY
53692011-09-02 Chong Yidong <cyd@stupidchicken.com>
5370
393a301e 5371 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5372 (pop-to-buffer): Change interactive spec. Pass second argument
5373 directly to display-buffer.
5374 (display-buffer): Fix interactive spec. Use functionp to
5375 distinguish between a function and a list of functions.
5376
5377 * abbrev.el (edit-abbrevs):
5378 * arc-mode.el (archive-extract):
5379 * autoinsert.el (auto-insert):
5380 * bookmark.el (bookmark-bmenu-list):
5381 * files.el (find-file):
5382 * view.el (view-buffer):
5383 * progmodes/compile.el (compilation-goto-locus):
5384 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5385
89894cd8
CY
53862011-09-02 Chong Yidong <cyd@stupidchicken.com>
5387
5388 * window.el (display-buffer-alist): Doc fix.
5389 (display-buffer): Add docstring. Don't treat
5390 display-buffer-default specially.
5391 (display-buffer-reuse-selected-window)
5392 (display-buffer-same-window, display-buffer-maybe-same-window)
5393 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5394 (display-buffer-pop-up-window)
5395 (display-buffer-reuse-or-pop-window)
5396 (display-buffer-use-some-window): New functions.
5397 (display-buffer-default-action): Use them.
393a301e 5398 (display-buffer-default): Delete.
89894cd8
CY
5399 (pop-to-buffer-1): Fix choice of actions.
5400
ae0bc9fb
SM
54012011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5402
5403 * minibuffer.el (completion--insert-strings): Don't get confused by
5404 completion entries that end with an LF char.
5405
e9d90883
EZ
54062011-09-01 Eli Zaretskii <eliz@gnu.org>
5407
5408 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5409
437014c8
CY
54102011-09-01 Chong Yidong <cyd@stupidchicken.com>
5411
5412 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5413 (display-buffer-same-window, display-buffer-other-window):
5414 New functions.
437014c8
CY
5415 (pop-to-buffer-1): New function. Use the above.
5416 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5417 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5418
5419 * view.el (view-buffer-other-window, view-buffer-other-frame):
5420 Just use pop-to-buffer.
5421
a5e063d5
TV
54222011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5423
5424 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5425
793d32bb
WH
54262011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5427
5428 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5429
d65e4c15
RS
54302011-08-31 Richard Stallman <rms@gnu.org>
5431
5432 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5433 of the separation of rmail-view-buffer from rmail-buffer.
5434 If you say no to "replace original", the decrypt is in the
5435 view buffer. If you say yes, the decrypt goes into the
5436 rmail buffer also.
5437
f818cd2a
MR
54382011-08-31 Martin Rudalics <rudalics@gmx.at>
5439
5440 * window.el (display-buffer-window): Rewrite doc-string.
5441 (display-buffer-record-window): New function.
5442 (display-buffer-macro-specifiers)
5443 (display-buffer-even-window-sizes, display-buffer-set-height)
5444 (display-buffer-set-width, display-buffer-in-window)
5445 (display-buffer-reuse-window, display-buffer-split-specifiers)
5446 (display-buffer-side-specifiers, display-buffer-split-window-1)
5447 (display-buffer-split-window, display-buffer-split-atom-window)
5448 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5449 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5450 (display-buffer-other-window-means-other-frame)
5451 (display-buffer-normalize-special)
5452 (display-buffer-normalize-default)
5453 (display-buffer-normalize-argument)
5454 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5455 (display-buffer-normalize-specifiers, display-buffer-frame)
5456 (display-buffer-same-window, display-buffer-same-frame)
5457 (display-buffer-other-window)
5458 (display-buffer-same-frame-other-window)
5459 (display-buffer-other-frame, pop-to-buffer-same-window)
5460 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5461 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5462 (switch-to-buffer-same-frame)
5463 (switch-to-buffer-other-window-same-frame)
5464 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5465 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5466 (display-buffer-alist-set): Remove.
5467 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5468 (special-display-regexps, special-display-function):
5469 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5470 parameter.
5471 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5472 (special-display-frame-alist, special-display-popup-frame)
5473 (same-window-buffer-names, same-window-regexps, same-window-p)
5474 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5475 (split-window-preferred-function, split-height-threshold)
5476 (split-width-threshold, window-splittable-p)
5477 (split-window-sensibly, window--try-to-split-window)
5478 (window--frame-usable-p, even-window-heights)
5479 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5480 (window--display-buffer-2, display-buffer-other-frame):
5481 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5482 (display-buffer-default, display-buffer-assq-regexp): New functions.
5483 (display-buffer-alist): Rewrite doc-string.
5484 (display-buffer-default-action)
5485 (display-buffer-overriding-action): New variables.
5486 (display-buffer, switch-to-buffer): Rewrite.
5487 (pop-to-buffer): Restore Emacs 23 behavior but use
5488 window-normalize-buffer-to-display.
5489 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5490 Restore Emacs 23 behavior but use
5491 window-normalize-buffer-to-switch-to.
5492 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5493 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5494 Rewrite using Emacs 23 options.
f818cd2a 5495
5bc3b51d
MA
54962011-08-31 Michael Albinus <michael.albinus@gmx.de>
5497
5498 * net/tramp.el (tramp-root-regexp): Remove.
5499 (tramp-completion-file-name-regexp-unified)
5500 (tramp-completion-file-name-regexp-separate)
5501 (tramp-completion-file-name-regexp-url): Don't use leading volume
5502 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5503 (tramp-drop-volume-letter): Simplify definition.
5504 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5505
b1a4f8e1
SM
55062011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5507
5508 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5509 (bug#9356).
5510
5664fa7b
RT
55112011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5512
b1a4f8e1 5513 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5514
9a45d6c3
JL
55152011-08-29 Juri Linkov <juri@jurta.org>
5516
5517 * isearch.el (isearch-done): Don't display message "Mark saved"
5518 when arg `edit' is non-nil to prevent its flicker in the echo area.
5519
fb87e0fb
CY
55202011-08-28 Chong Yidong <cyd@stupidchicken.com>
5521
5522 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5523 obsolete packages for deletion.
5524
09ac1c2a
CS
55252011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5526
5527 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5528 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5529 view-mode from help-mode.
5530 (help-xref-override-view-map): Remove.
5531 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5532 view-mode is not used anymore.
5533
7a1ff57f
CY
55342011-08-28 Chong Yidong <cyd@stupidchicken.com>
5535
5536 * server.el (server-port): Doc fix.
5537
b9696605
CY
5538 * cus-theme.el (custom-theme-choose-mode): Inherit from
5539 special-mode (Bug#9124).
5540 (custom-theme-choose-mode-map): Add special-mode to parent.
5541
ef8cdf8c
AM
55422011-08-28 Alan Mackenzie <acm@muc.de>
5543
5544 * progmodes/cc-fonts.el
5545 (c-make-font-lock-BO-decl-search-function): New function.
5546 (c-basic-matchers-after - "Fontify the clauses after various
5547 keywords"): Extract the three keyword lists for the 3 erroneous
5548 constructs from the list of four, and use the new function above
5549 in place of an old one.
5550
27de4e20
DD
55512011-08-28 Deniz Dogan <deniz@dogan.se>
5552
5553 * net/rcirc.el (rcirc-insert-prev-input)
5554 (rcirc-insert-next-input): Remove unused argument.
5555
356a3681
SM
55562011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5557
5558 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5559
3fc9b218
AM
55602011-08-27 Alan Mackenzie <acm@muc.de>
5561
5562 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5563 handle function pointer parameters properly.
5564
538a061c
MR
55652011-08-27 Martin Rudalics <rudalics@gmx.at>
5566
5567 * window.el (display-buffer-reuse-window): Fix case where
5568 selected window was reused with non-nil OTHER-WINDOW argument.
5569 (Bug#9381)
5570
35b1c40c
DD
55712011-08-27 Deniz Dogan <deniz@dogan.se>
5572
5573 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5574 oftc's NickServ messages.
5575
2f6a3e79
GM
55762011-08-27 Glenn Morris <rgm@gnu.org>
5577
5578 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5579
7254299e
CY
55802011-08-26 Chong Yidong <cyd@stupidchicken.com>
5581
5582 * emacs-lisp/package.el (package-install): Call package-initialize
5583 if called interactively.
5584
f8ccf167
LL
55852011-08-26 Leo Liu <sdl.web@gmail.com>
5586
5587 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5588
3e8cd5ce
JL
55892011-08-25 Juri Linkov <juri@jurta.org>
5590
5591 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5592 `search-whitespace-regexp' (bug#9364).
5593
93eb7113
JL
55942011-08-25 Juri Linkov <juri@jurta.org>
5595
5596 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5597 `regexp-search-ring' to their global values to protect from
5598 updating by `read-from-minibuffer' (bug#9185).
5599
f65d1611
JL
56002011-08-25 Juri Linkov <juri@jurta.org>
5601
5602 * textmodes/ispell.el (ispell-command-loop): Add newline
5603 at the end of the "Use option `i'..." line.
5604
f1cf7a31
JL
56052011-08-25 Juri Linkov <juri@jurta.org>
5606
5607 * battery.el (display-battery-mode): If `battery-status-function'
5608 or `battery-mode-line-format' is nil, display the message and set
5609 `display-battery-mode' to nil (bug#9363).
5610
0c95fcf7
EZ
56112011-08-25 Eli Zaretskii <eliz@gnu.org>
5612
5613 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5614 bidi-string-mark-left-to-right; they are unnecessary now.
5615
a2ebe600
DD
56162011-08-25 Deniz Dogan <deniz@dogan.se>
5617
5618 * net/quickurl.el: Documentation typo fixes.
5619
e4ed06f1
CY
56202011-08-25 Chong Yidong <cyd@stupidchicken.com>
5621
5622 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5623
e5f1c99e
GM
56242011-08-25 Glenn Morris <rgm@gnu.org>
5625
b2948976
GM
5626 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5627
e5f1c99e
GM
5628 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5629 (smtpmail-via-smtp): Handle nil response from smtp.
5630
f22f4808
JL
56312011-08-24 Juri Linkov <juri@jurta.org>
5632
5633 * proced.el (proced-marked): Inherit from `error' instead of
5634 `font-lock-warning-face'.
5635
5636 * ibuffer.el (ibuffer-marked-face): Change default face from
5637 `font-lock-warning-face' to `warning'.
5638 (ibuffer-deletion-face): Change default face from
5639 `font-lock-type-face' to `error'.
5640
5641 * battery.el (battery-update): Use the face `error' instead of
5642 `font-lock-warning-face' (bug#6117).
5643
6a93965e
JL
56442011-08-24 Juri Linkov <juri@jurta.org>
5645
5646 * faces.el (success): Change face color from "Green3" to
5647 "ForestGreen" on light background (bug#9353).
5648
1ed43b09
CY
56492011-08-24 Chong Yidong <cyd@stupidchicken.com>
5650
5664fa7b
RT
5651 * window.el (quit-window): Rename from quit-restore-window.
5652 Use same arglist as old quit-window.
1ed43b09
CY
5653 (frame-auto-delete): Doc fix.
5654
5655 * view.el (view-mode-exit): Use quit-window.
5656
11dcdbb2
JL
56572011-08-24 Juri Linkov <juri@jurta.org>
5658
5659 * isearch.el (isearch-ring-adjust1): Start visiting previous
5660 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5661 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5662 for empty search string (when the last search string is reused
5663 automatically) to adjust the isearch ring to the last element and
5664 prepare the correct index for further M-p commands (bug#9185).
5665
de62b4df
KH
56662011-08-24 Kenichi Handa <handa@m17n.org>
5667
5668 * international/ucs-normalize.el: If decomposition property of
5669 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5670 nil.
5671 (nfd, nfkd): Likewise.
5672
963b492b
SM
56732011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5674
5675 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5676 from process filters aren't reliably transmitted to the surrounding
5677 accept-process-output.
5678 (mpc-proc-check): New function.
5679 (mpc-proc-sync): Use it (bug#8293)
5680
93b6b5e1
SM
56812011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5682
5683 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5684 Add compatibility functions (bug#9313).
5685
bca633fb
EZ
56862011-08-23 Eli Zaretskii <eliz@gnu.org>
5687
b177498a
EZ
5688 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5689
6df6ae42 5690 * international/uni-bidi.el: Regenerate.
bca633fb 5691
0902a04e
KH
56922011-08-23 Kenichi Handa <handa@m17n.org>
5693
5694 * international/charprop.el:
5695 * international/uni-bidi.el:
5696 * international/uni-category.el:
5697 * international/uni-combining.el:
5698 * international/uni-comment.el:
5699 * international/uni-decimal.el:
5700 * international/uni-decomposition.el:
5701 * international/uni-digit.el:
5702 * international/uni-lowercase.el:
5703 * international/uni-mirrored.el:
5704 * international/uni-name.el:
5705 * international/uni-numeric.el:
5706 * international/uni-old-name.el:
5707 * international/uni-titlecase.el:
5708 * international/uni-uppercase.el: Regenerate.
5709
3bbf23bc
MR
57102011-08-23 Martin Rudalics <rudalics@gmx.at>
5711
5712 * help.el (help-window-setup): Fix message displayed when other
5713 window is reused. (Bug#9341)
5714
b3fd59bd
SM
57152011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5716
1802e444
SM
5717 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5718 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5719
b3fd59bd
SM
5720 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5721 Mark obsolete.
5722 * shell.el (shell-parse-pcomplete-arguments): New function.
5723 (shell-completion-vars): Use it instead (bug#9160).
5724
4eb61348
SM
57252011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5726
867cab74
SM
5727 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5728 strings and comments (bug#9333).
5729
4eb61348
SM
5730 * emacs-lisp/debug.el (debug-arglist): New function.
5731 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5732 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5733
262a1439
JL
57342011-08-22 Juri Linkov <juri@jurta.org>
5735
56ee679c
JL
5736 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5737 Revert regexp that highlights output switches to its old
5738 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5739
262a1439
JL
5740 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5741 to check for empty output (bug#9226).
5742
f13f86fb
CY
57432011-08-22 Chong Yidong <cyd@stupidchicken.com>
5744
5745 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5746 symbol-constituent as the default, as that stops font-lock from
5747 working properly (Bug#8843).
5748
c65c9622
LMI
57492011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5750
5751 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5752 `coding-system-for-*' around the process open call to avoid
5753 auth-source side effects.
e7f2c178 5754 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5755 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5756 probe hangs.
c65c9622 5757
23a8a5ab
CY
57582011-08-21 Chong Yidong <cyd@stupidchicken.com>
5759
ff98b2dd
CY
5760 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5761
23a8a5ab
CY
5762 * emacs-lisp/find-func.el (find-function-noselect): New arg
5763 lisp-only.
5764
5765 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5766 signal an error for built-in functions (Bug#6664).
5767
f5e3c598
LMI
57682011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5769
5770 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5771 (smtpmail-try-auth-methods): Use it.
5772
a3f2468a
CY
57732011-08-21 Chong Yidong <cyd@stupidchicken.com>
5774
2c34e8da
CY
5775 * font-lock.el (font-lock-fontify-region)
5776 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5777 (font-lock-default-unfontify-buffer)
5778 (font-lock-default-fontify-region)
5779 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5780
b3fd59bd
SM
5781 * progmodes/compile.el (compilation-error-properties):
5782 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5783 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5784 `ant' regexp.
ee31aabc 5785
a3f2468a
CY
5786 * net/browse-url.el (browse-url-firefox): Don't call
5787 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5788
8e999f70
GM
57892011-08-20 Glenn Morris <rgm@gnu.org>
5790
c21a496a
GM
5791 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5792
59ee0542
GM
5793 * tutorial.el (tutorial--default-keys): Update some default bindings.
5794
8e999f70
GM
5795 * files.el (hack-local-variables): Fully ignore case for "mode:".
5796
e3715033
AM
57972011-08-20 Alan Mackenzie <acm@muc.de>
5798
5799 Resolve invalid use of a regexp in regexp-opt.
5800
4d61f28d
JB
5801 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5802 detection for a java annotation.
e3715033 5803
4d61f28d 5804 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5805 detection for a java annotation.
5806
4d61f28d
JB
5807 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5808 handling for java.
e3715033
AM
5809 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5810
04ed2e9c
CY
58112011-08-20 Chong Yidong <cyd@stupidchicken.com>
5812
5813 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5814 (Bug#9274).
5815
826cee64
AM
58162011-08-20 Alan Mackenzie <acm@muc.de>
5817
58179cce 5818 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5819 such a construct. Mainly for when jit-lock etc. starts a chunk
5820 here.
5821
58179cce 5822 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5823 variable.
58179cce 5824 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5825 c-make-font-lock-search-function.
5826 (c-make-font-lock-search-function): Use the above function.
5827 (c-make-font-lock-context-search-function): New function.
5828 (c-cpp-matchers): Enhance the preprocessor expression case with
5829 the above function
5830 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5831 which takes an expression.
5832
5833 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5834
13009bd8
MR
58352011-08-20 Martin Rudalics <rudalics@gmx.at>
5836
5837 * window.el (display-buffer-reuse-window)
5838 (display-buffer-pop-up-window): Don't reuse or split a side
5839 window.
5840
9234ff7f
GM
58412011-08-19 Glenn Morris <rgm@gnu.org>
5842
5843 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5844 Downcase "Mode:". (Bug#9331)
9234ff7f 5845
f635daa1
CY
58462011-08-18 Chong Yidong <cyd@stupidchicken.com>
5847
5848 * international/characters.el: Add L and R categories.
5849
5850 * subr.el (bidi-string-mark-left-to-right): Rename from
5851 string-mark-left-to-right. Use category search.
5852
5853 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5854
bc987f8b
JL
58552011-08-18 Juri Linkov <juri@jurta.org>
5856
5857 * faces.el (error, warning, success): New faces with definitions
5858 copied from old default values of `font-lock-warning-face',
5859 `compilation-warning', `compilation-info' (bug#6117).
5860
5861 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5862
5863 * progmodes/compile.el (compilation-error): Inherit from `error'.
5864 (compilation-warning): Inherit from `warning'.
5865 (compilation-info): Inherit from `success'.
5866
5867 * dired.el (dired-marked): Inherit from `warning'.
5868 (dired-flagged): Inherit from `error'.
5869
57173b96
LMI
58702011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5871
3e79eb87
LMI
5872 * mail/smtpmail.el (auth-source): Require to avoid problems with
5873 binding variables (bug#9298). Also clean up some unused
5874 autoloads.
5875
b3fd59bd
SM
5876 * net/network-stream.el (network-stream-open-starttls):
5877 Support using starttls.el without using gnutls-cli.
57173b96 5878
02b404de
JL
58792011-08-17 Juri Linkov <juri@jurta.org>
5880
5881 * progmodes/grep.el (rgrep): Handle the case when
5882 `grep-find-command' is a cons cell (bug#9278).
5883
8c9177f2
MR
58842011-08-17 Martin Rudalics <rudalics@gmx.at>
5885
5886 * window.el (display-buffer-pop-up-frame): Run frame creation
5887 function with BUFFER current (as special-display-popup-frame
5888 does). Reported by Drew Adams.
5889
3644a0ab
DU
58902011-08-17 Daiki Ueno <ueno@unixuser.org>
5891
5892 * epa-mail.el: Simplify GnuPG group expansion using
5893 epg-expand-group.
5894 (epa-mail-group-alist, epa-mail-group-modtime)
5895 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5896 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5897 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5898 Remove.
5899
5e617bc2 59002011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5901
5902 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5903
9c4aeabf
AM
59042011-08-16 Alan Mackenzie <acm@muc.de>
5905
5906 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5907 Correct, to avoid the inside of macros.
5908
3a99bf64
RS
59092011-08-16 Richard Stallman <rms@gnu.org>
5910
04963aa8
RS
5911 * epa-mail.el: Handle GnuPG group definitions.
5912 (epa-mail-group-alist, epa-mail-group-modtime)
5913 (epa-mail-gnupg-conf-file): New variables.
5914 (epa-mail-parse-groups, epa-mail-sync-groups)
5915 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5916 (epa-mail-expand-recipients): New functions.
5917 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5918
177549d0
RS
5919 * mail/rmail.el (rmail-epa-decrypt): New command.
5920
fe38beef
RS
5921 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5922 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5923 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5924 (epa-decrypt-armor-in-region): Make error message clearer.
5925
934eacb9
SM
59262011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5927
5928 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5929 and "a2b" to "ab" for `prefix'.
5930
d024fb4e
CY
59312011-08-14 Chong Yidong <cyd@stupidchicken.com>
5932
5933 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5934 filter groups.
de148fee
CY
5935 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5936 Fourquet (Bug#8804).
d024fb4e 5937
62f1ca49
JB
59382011-08-12 Juanma Barranquero <lekktu@gmail.com>
5939
5940 * startup.el (argi): Declare as global variable (bug#9275).
5941
9ccaaa4b
CY
59422011-08-12 Chong Yidong <cyd@stupidchicken.com>
5943
5944 * subr.el (string-mark-left-to-right): Search the entire string
5945 for RTL script, not just the terminating character. Doc fix.
5946
a3dae87a
SM
59472011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5948
6cd18349
SM
5949 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5950 New function.
5951 (js--regexp-literal, js-syntax-propertize-function): Remove.
5952 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5953 (js-mode-map): Don't rebind electric keys.
5954 (js-insert-and-indent): Remove.
5955 (js-mode): Setup electric-layout and electric-indent instead.
5956
a3dae87a
SM
5957 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5958
9d5cb631
DU
59592011-08-12 Daiki Ueno <ueno@unixuser.org>
5960
5961 * epa.el (epa-progress-callback-function): Fix the logic of
5962 displaying progress.
5963 * epa-file.el (epa-file-insert-file-contents): Make progress
5964 display more user-friendly.
5965 (epa-file-write-region): Ditto.
5966
3e26a4a2
CY
59672011-08-10 Chong Yidong <cyd@stupidchicken.com>
5968
5969 * subr.el (string-mark-left-to-right): New function.
5970
5971 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5972 Use string-mark-left-to-right.
5973 (list-buffers-noselect): Caller changed.
5974
a3dae87a
SM
5975 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5976 Use string-mark-left-to-right.
3e26a4a2
CY
5977 (tabulated-list-print): Recenter after moving point.
5978
ac8cf6e6
JL
59792011-08-10 Juri Linkov <juri@jurta.org>
5980
5981 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5982 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5983 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5984
8d96c9a4
CY
59852011-08-09 Chong Yidong <cyd@stupidchicken.com>
5986
5987 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5988 (Bug#7554).
5989
7be1c708 59902011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5991
5992 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5993 character. (Bug#6594)
5994
37e11a63
CY
59952011-08-08 Chong Yidong <cyd@stupidchicken.com>
5996
839dde57
CY
5997 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5998 (image-dired--with-db-file): New macro.
5999 (image-dired-write-tags, image-dired-remove-tag)
6000 (image-dired-create-gallery-lists, image-dired-write-comments)
6001 (image-dired-get-comment, image-dired-mark-tagged-files)
6002 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6003 (image-dired-gallery-generate): Use insert-file-contents.
6004
37e11a63
CY
6005 * time.el (display-time-world-list, display-time-world-display):
6006 * time-stamp.el (time-stamp-string):
6007 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6008 set-time-zone-rule (Bug#7337).
6009
0b4946c4
DU
60102011-08-08 Daiki Ueno <ueno@unixuser.org>
6011
6012 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6013 (epg-error-to-string, epg-errors-to-string): New function.
6014 (epg-wait-for-completion): Reverse errors list.
6015 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6016 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6017 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6018 (epg-sign-keys, epg-generate-key-from-file)
6019 (epg-generate-key-from-string): Format errors by using
6020 epg-errors-to-string (bug#9255).
6021 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6022
75bfc667
JL
60232011-08-07 Juri Linkov <juri@jurta.org>
6024
6025 * faces.el (list-faces-display): Remove extra angle bracket
6026 from `help-mode-map'.
6027
6028 * info.el (Info-history-toc-nodes): Doc fix.
6029
6030 * longlines.el (longlines-mode): Doc fix.
6031
673e08bb
SM
60322011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6033
4640dd88
SM
6034 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6035 of statements and in a few more cases (bug#9183).
6036
673e08bb
SM
6037 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6038 New functions.
6039 (cl-transform-lambda): Use them (bug#9239).
6040
89b3f019
MR
60412011-08-05 Martin Rudalics <rudalics@gmx.at>
6042
6043 * window.el (display-buffer-same-window)
6044 (display-buffer-same-frame, display-buffer-other-window)
6045 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6046 (pop-to-buffer-other-window)
6047 (pop-to-buffer-same-frame-other-window)
6048 (pop-to-buffer-other-frame): Make them defuns.
6049 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6050
640c8776
SM
60512011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6052
6053 * subr.el (make-composed-keymap): Move from C. Change calling
6054 convention, and improve docstring to bring attention to a subtle point.
6055 * minibuffer.el (completing-read-default): Adjust accordingly.
6056
63648a95
MA
60572011-08-03 Michael Albinus <michael.albinus@gmx.de>
6058
6059 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6060 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6061
6062 * net/trampver.el: Update release number.
6063
b796c9b7
SM
60642011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6066 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6067 "in" (bug#9190).
6068
2239d7d5
LMI
60692011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6070
e07dd7c3
LMI
6071 * mail/sendmail.el (sendmail-query-once): Restore the current
6072 buffer after querying (bug#9074).
6073
0e6a2bd7
LMI
6074 * dired.el (dired-flagged): Use different faces for marked and
6075 flagged files (bug#6117).
6076
ce887515
LMI
6077 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6078 (bug#4433).
6079
92f2affc
LMI
6080 * ido.el (ido-mode): Switch off the message if called
6081 non-interactively.
6082
57d5aff0
LMI
6083 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6084 before 587, since it appears that that's more likely to work for
6085 more people.
6086
98cd6c18 6087 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6088 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6089 exist.
6090
b96dec83
LMI
6091 * info.el: Remove the `Info-beginning-of-buffer' function
6092 (bug#8325).
6093
b796c9b7
SM
6094 * net/network-stream.el (network-stream-open-starttls):
6095 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6096
d90e2ea0
MR
60972011-08-01 Martin Rudalics <rudalics@gmx.at>
6098
6099 * window.el (display-buffer-in-window): Don't set dedicated status
6100 of window here (Bug#9215).
6101 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6102 (display-buffer-pop-up-side-window)
b796c9b7 6103 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6104
cca09170
SM
61052011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6106
6107 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6108 before binding generated-autoload-file.
6109
027b979c
DD
61102011-08-01 Deniz Dogan <deniz@dogan.se>
6111
6112 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6113
3c7ee4f3
MA
61142011-07-30 Michael Albinus <michael.albinus@gmx.de>
6115
6116 Sync with Tramp 2.2.2.
6117
6118 * net/trampver.el: Update release number.
6119
2cc8e51a
JL
61202011-07-30 Juri Linkov <juri@jurta.org>
6121
6122 * dired-aux.el (dired-touch-initial): Remove function.
6123 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6124 current time, and `default' to the last modification time of the
6125 current marked file (bug#6887).
6126
a514d856
JM
61272011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6128
6129 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6130 numeric argument to read-number (bug#9163).
a514d856 6131
8a7eddd7
MA
61322011-07-27 Michael Albinus <michael.albinus@gmx.de>
6133
6134 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6135 connection process, it could be nil.
6136
1ddd96f5
LL
61372011-07-27 Leo Liu <sdl.web@gmail.com>
6138
6139 Simplify url handling in rcirc-mode.
6140
6141 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6142 (rcirc-browse-url-at-mouse): Remove.
6143 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6144
b248a85d
AM
61452011-07-26 Alan Mackenzie <acm@muc.de>
6146
6147 Fontify bitfield declarations properly.
6148
6149 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6150 (c-symbol-chars): Now exported as a lang variable.
6151 (c-not-primitive-type-keywords): New lang variable.
6152
6153 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6154 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6155 parsed as a bitfield declaration.
b248a85d 6156
b796c9b7
SM
6157 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6158 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6159 (c-punctuation-in): New function.
6160 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6161 declarations properly.
6162
68575ab0
UJ
61632011-07-26 Ulf Jasper <ulf.jasper@web.de>
6164
6165 * calendar/icalendar.el (icalendar--all-events): Take care of
6166 multiple vcalendars in a single file.
b796c9b7 6167 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6168
0f0a88b9
DD
61692011-07-25 Deniz Dogan <deniz@dogan.se>
6170
6171 * image.el (insert-image): Clarifying docstring.
6172
0b3f36df
MA
61732011-07-24 Michael Albinus <michael.albinus@gmx.de>
6174
6175 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6176 `tramp-send-command-and-check' if there is no error.
6177 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6178
a9901f61
AM
61792011-07-22 Alan Mackenzie <acm@muc.de>
6180
6181 Prevent cc-langs.elc being loaded at run time.
6182
6183 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6184 cc-langs.
6185
4d61f28d 6186 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6187 "(require 'cc-langs)". Quote a form so it will evaluate at
6188 (cc-mode's) compilation time.
6189
11d074b2
MA
61902011-07-22 Michael Albinus <michael.albinus@gmx.de>
6191
6192 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6193 loading. (Bug#9114)
6194
938b94c8
MR
61952011-07-21 Martin Rudalics <rudalics@gmx.at>
6196
6197 * window.el (display-buffer-pop-up-window)
6198 (display-buffer-pop-up-side-window)
6199 (display-buffer-in-side-window): Call display-buffer-set-height
6200 and display-buffer-set-width after setting the new window's
b796c9b7 6201 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6202
bfa4f190
SS
62032011-07-20 Sam Steingold <sds@gnu.org>
6204
6205 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6206 (etags-tags-included-tables): Call `convert-standard-filename' on
6207 the file names contained in TAGS so that windows Emacs can handle
6208 TAGS files created by cygwin ctags.
6209
8ca42262
LMI
62102011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6211
6212 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6213 which apparently didn't work.
6214
5db2afd2 62152011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6216
5db2afd2
RW
6217 * proced.el (proced-send-signal): For *Marked Processes* buffer
6218 put point at beginning of buffer.
6219
92e15d10
SB
62202011-07-19 Stephen Berman <stephen.berman@gmx.net>
6221
6222 * proced.el (proced-format): Make header lines align with the text
6223 (bug#1779).
6224
1bfd59e5
LMI
62252011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6226
6227 * view.el (view-buffer): Allow running in `special' modes if we're
6228 visiting a file (bug#8615).
6229
f5aae37c
MR
62302011-07-19 Martin Rudalics <rudalics@gmx.at>
6231
6232 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6233 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6234 New functions.
f5aae37c
MR
6235 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6236 more accurately.
6237
bf2c1571
AM
62382011-07-18 Alan Mackenzie <acm@muc.de>
6239
6240 Fontify declarators properly when, e.g., a jit-lock chunk begins
6241 inside a declaration.
6242
6243 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6244
b796c9b7
SM
6245 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6246 New function.
bf2c1571
AM
6247 (c-complex-decl-matchers): Insert reference to
6248 c-font-lock-enclosing-decls.
6249
6250 * progmodes/cc-engine.el (c-backward-single-comment):
6251 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6252 to nil around calls to (forward-comment -1).
6253
4e190b80
LMI
62542011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6255
12dc863d
LMI
6256 * image.el (put-image): Doc typo fix.
6257
a762e966
LMI
6258 * progmodes/etags.el (tags-search): Doc typo fix.
6259
4e190b80
LMI
6260 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6261 password if we get errors 550 to 554.
6262
f019fb21
LMI
62632011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6264
b796c9b7 6265 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6266
81746738
LMI
6267 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6268 indentation character (bug#6380).
6269
3ee3a1b5
LMI
6270 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6271
c82f64de
LMI
6272 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6273 to clarify what the problem is (bug#4291).
6274
f019fb21
LMI
6275 * simple.el (current-kill): Clarify what
6276 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6277 (auto-fill-mode): Document `auto-fill-function' in relation to
6278 `auto-fill-mode' (bug#2470).
f019fb21 6279
0794775d
LM
62802011-07-16 Lawrence Mitchell <wence@gmx.li>
6281
6282 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6283 method if slot is read-only (bug#9035).
6284
be39b8cc
MR
62852011-07-16 Martin Rudalics <rudalics@gmx.at>
6286
b796c9b7 6287 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6288 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6289 selected before, see discussion of (Bug#8615), (Bug#6954).
6290 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6291
6ccf7859
GM
62922011-07-15 Glenn Morris <rgm@gnu.org>
6293
6294 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6295 Respect help-form.
6ccf7859 6296
87e86684
LM
62972011-07-09 Lawrence Mitchell <wence@gmx.li>
6298
6299 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6300 (gnutls-negotiate): Use it.
6301
d6066239
LMI
63022011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6303
b796c9b7
SM
6304 * net/gnutls.el (gnutls-negotiate):
6305 Upcase `gnutls-algorithm-priority'.
d6066239 6306
bd23ebc0
GM
63072011-07-15 Glenn Morris <rgm@gnu.org>
6308
c65bca65
GM
6309 * jka-compr.el (jka-compr-verbose): Move from here...
6310 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6311 Add missing :version tag.
6312 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6313
478615cc
LMI
63142011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6315
7b41decb
LMI
6316 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6317 (gnutls-negotiate): Use it.
6318
dbc44fcd
LMI
6319 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6320
06789f97
LMI
6321 * info.el (Info-beginning-of-buffer): New command.
6322 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6323 announcing `b' as the key (bug#8325).
ab896c37 6324 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6325
c39da690
LMI
6326 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6327
3aa5f34b
LMI
6328 * international/mule-cmds.el
6329 (describe-specified-language-support): Make the error message
6330 clearer (bug#8905).
6331
4bf0979f
LMI
6332 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6333
478615cc
LMI
6334 * isearch.el (isearch-barrier): Add a doc string, since it's
6335 mentioned in a function doc string (bug#8678).
6336
75c68aa1
MR
63372011-07-15 Martin Rudalics <rudalics@gmx.at>
6338
6339 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6340 buffer argument (Bug#9083) and self-identifying label argument.
6341
a7c33da2
GM
63422011-07-15 Glenn Morris <rgm@gnu.org>
6343
6344 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6345
2f5c6024
LMI
63462011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6347
6348 * man.el (Man-fontify-manpage): Fix message when formatting the
6349 man page (bug#7929).
6350
0bb23927 63512011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6352
6353 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6354 argument LRM; if non-nil, append an invisible LRM character to the
6355 buffer name.
6356 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6357 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6358 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6359 paragraph direction.
cce4b0a7 6360
621ef9ab
LMI
63612011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6362
d1583c48
LMI
6363 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6364 the man page name (bug#7929).
6365
6a57fb5f
LMI
6366 * image.el (put-image): Mention the `put-image' overlay property
6367 (bug#7834).
6368
d7956b14
LMI
6369 * scroll-bar.el (set-scroll-bar-mode): Mention that
6370 `scroll-bar-mode' lists the values (bug#7772).
6371
5b2d4a66
LMI
6372 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6373 command (bug#7729).
6374
7509a874
LMI
6375 * rect.el (apply-on-rectangle): Return the point after the last
6376 operation.
6377 (string-rectangle): Go to the point after the last operation
6378 (bug#7522).
6379
4fe74b19
LMI
6380 * printing.el (pr-toggle-region): Clarify the documentation
6381 slightly (bug#7493).
6382
b796c9b7
SM
6383 * time.el (display-time-update):
6384 Allow `display-time-mail-function' to return nil (bug#7158).
6385 Fix suggested by Detlev Zundel.
ab283561 6386
fc233c9d
LMI
6387 * vc/diff.el (diff): Clarify the order the file names are read
6388 (bug#7111).
6389
43f5740b
LMI
6390 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6391 the doc string (bug#7015).
6392
f2182a76
LMI
6393 * font-lock.el (font-lock-maximum-decoration): Mention what
6394 numeric levels mean (bug#6935).
6395
621ef9ab
LMI
6396 * startup.el (initial-buffer-choice): Don't mention the `none'
6397 selection, which is against policy.
6398
adc47434
MR
63992011-07-14 Martin Rudalics <rudalics@gmx.at>
6400
b796c9b7
SM
6401 * window.el (display-buffer-normalize-special):
6402 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6403
7e5bfb8f
EZ
64042011-07-14 Eli Zaretskii <eliz@gnu.org>
6405
6406 * subr.el (version<, version<=, version=): Mention "-CVS" and
6407 "-12345" alpha version numbers.
6408
27fa387a
CY
64092011-07-14 Chong Yidong <cyd@stupidchicken.com>
6410
6411 * bindings.el: Add advertised binding for set-mark-command
6412 (Bug#5772).
6413
8bdfa064
CY
64142011-07-14 Chong Yidong <cyd@stupidchicken.com>
6415
6416 * bindings.el (mode-line-other-buffer):
6417 * bookmark.el (bookmark-bmenu-2-window):
6418 * bs.el (bs-cycle-next, bs-cycle-previous):
6419 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6420 switch-to-buffer.
6421
6422 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6423 Delete.
8bdfa064 6424
5eba16a3
JB
64252011-07-14 Juanma Barranquero <lekktu@gmail.com>
6426
6427 * follow.el (follow-debug-message, follow-redisplay):
6428 * jka-cmpr-hook.el (with-auto-compression-mode):
6429 Fix typos in docstrings.
6430
15853710
LMI
64312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6432
a28e4607
LMI
6433 * subr.el (with-silent-modifications): Clarify somewhat what the
6434 macro inhibits (bug#6525).
6435
15853710
LMI
6436 * simple.el (eval-expression): Note what it does if called
6437 interactively (bug#6495).
6438
bee0fcef
CY
64392011-07-13 Chong Yidong <cyd@stupidchicken.com>
6440
b796c9b7
SM
6441 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6442 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6443
6444 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6445 Remove switch-to-buffer.
6446
58274504
LMI
64472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6448
bd2fcc8d
LMI
6449 * files.el (make-directory): Clarify that an error will be raised
6450 if there's an error (bug#6397).
6451
0f04b32c
LMI
6452 * startup.el (initial-buffer-choice): Add `none' as a choice
6453 (bug#6234).
6454
465c5fc8
LMI
6455 * subr.el (add-hook): Clarify section about buffer-local hooks
6456 (bug#6218).
6457
58274504
LMI
6458 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6459
bead9a43
JB
64602011-07-13 Juanma Barranquero <lekktu@gmail.com>
6461
6462 * tabify.el (untabify): Preserve the current column so that point
6463 doesn't move (bug#6032).
6464
3af98a7b
LMI
64652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6466
b796c9b7
SM
6467 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6468 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6469
6240145a
GM
64702011-07-13 Glenn Morris <rgm@gnu.org>
6471
6472 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6473 (dired-insert-directory): Give a message the first time
6474 if ls is found not to support --dired.
6475
1d8c2ccc
LMI
64762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6477
6478 * simple.el (toggle-truncate-lines): Clarify what is toggled
6479 (bug#5580). Text by Drew Adams.
6480
5fc4038e
CY
64812011-07-13 Chong Yidong <cyd@stupidchicken.com>
6482
6483 * simple.el (blink-matching-open): Make the error message from the
6484 last change less verbose.
6485
bf6012e5
DN
64862011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6487
6488 * font-lock.el (font-lock-comment-face): Use the high contrast
6489 "yellow" color for font-lock-comment-face on low color terminals
6490 using a dark background color (bug#4221).
6491
343c3b5a
LMI
64922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6493
7e9505c5
LMI
6494 * dired.el (dired-insert-set-properties): Make the doc string
6495 reflect what it does now (bug#5325).
6496
c26fdcf5
LMI
6497 * simple.el (blink-matching-open): Say that we were unable to find
6498 the match within the limit, if we're limited (bug#5122).
6499
bb388cc5
LMI
6500 * international/mule-cmds.el (prefer-coding-system): Add an
6501 example (bug#4869).
6502
343c3b5a
LMI
6503 * progmodes/etags.el (tags-search): Document `file-list-form'
6504 (bug#4731).
6505
2a517d45
LM
65062011-07-13 Lawrence Mitchell <wence@gmx.li>
6507
6508 * net/browse-url.el (browse-url-default-browser)
6509 (browse-url-browser-function): Make the default browser choice a
6510 bit more logical (bug#4300). Also clean up the doc string.
6511
b6c78ef2
JB
65122011-07-13 Juanma Barranquero <lekktu@gmail.com>
6513
6514 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6515 binary endings (bug#4440).
6516
1c4dd947
LMI
65172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6518
a2014063
LMI
6519 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6520 which can be pretty annoying (bug#8971).
6521
9c9c2d88
LMI
6522 * jka-compr.el (jka-compr-verbose): New variable, and use
6523 throughout (bug#8971).
6524
1c4dd947
LMI
6525 * info.el (Info-find-file): Fall back on the installation
6526 directory if we can't find the info node anywhere else.
6527
a1c9f41b
SO
65282011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6529
6530 * vc/vc.el (vc-revert-file):
6531 Don't set file time-stamp in the past. (Bug#5181)
6532
536f3d36
LMI
65332011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6534
7152b011
LMI
6535 * files.el (after-find-file): Give a better error message when
6536 trying to find a symlink that points to a file that doesn't exist
6537 (bug#4398).
6538
536f3d36
LMI
6539 * progmodes/cc-vars.el: Remove (probably) misleading comment
6540 (bug#4396).
6541
460c0fba
JB
65422011-07-12 Johan Bockgård <bojohan@gnu.org>
6543
6544 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6545
7a6bda45
CY
65462011-07-12 Chong Yidong <cyd@stupidchicken.com>
6547
6548 * mouse-sel.el: Hack restoring functionality, while keeping
6549 compatibility with 2010-07-03 changes to mouse selection.
6550 (mouse-sel-primary-overlay): New var.
6551 (mouse-sel-selection-alist): Use it.
6552 (mouse-sel-mode): Doc fix; remove points that are default features
6553 of mouse.el.
6554
c79598ef
JB
65552011-07-12 Johan Bockgård <bojohan@gnu.org>
6556
6557 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6558 Fix previous fix (bug#2490).
6559
ff8be6ef
RW
65602011-07-12 Roland Winkler <winkler@gnu.org>
6561
b796c9b7
SM
6562 * textmodes/bibtex.el (bibtex-initialize):
6563 Use pop-to-buffer-same-window.
ff8be6ef
RW
6564 (bibtex-search-entries): Fix interactive call.
6565
296ba3ee
LMI
65662011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6567
f5242a02 6568 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6569 Fontise bytecomp Error lines more correctly (bug#2490).
6570 Fix suggested by Johan Bockgård.
f5242a02 6571
296ba3ee
LMI
6572 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6573
6574 * dired-x.el (dired-guess-default): Use `delete-dups'.
6575
f69fd0d2
CY
65762011-07-12 Chong Yidong <cyd@stupidchicken.com>
6577
6578 * dired.el (dired-mark-prompt):
6579 * dired-aux.el (dired-read-shell-command): Doc fix.
6580
eab5dc07
LMI
65812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6582
b796c9b7
SM
6583 * mail/sendmail.el (sendmail-query-once):
6584 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6585 emacs -Q.
6586
6587 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6588
eab5dc07
LMI
6589 * cus-edit.el (custom-file): Take an optional no-error variable.
6590 (customize-save-variable): Set the variable, and give a warning if
6591 running under "emacs -q".
6592
a1e65d42
JB
65932011-07-11 Juanma Barranquero <lekktu@gmail.com>
6594
6595 * loadhist.el (unload-feature-special-hooks):
6596 Add `auto-coding-functions', `fill-nobreak-predicate' and
6597 `find-directory-functions' (bug#5327).
6598
1d52da10
LMI
65992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6600
be958f1d
LMI
6601 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6602
5bedb26c
LMI
6603 * cus-edit.el (custom-guess-name-alist): -alist variables should
6604 use the `alist' type (bug#3120). Suggested by Drew Adams.
6605
1d52da10
LMI
6606 * printing.el: Add documentation to all the `pr-toggle-' commands.
6607
cd394be1 66082011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6609
6610 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6611 backends where it makes sense (bug#2623).
6612
dcc88d8a
LMI
66132011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6614
c3de9feb
LMI
6615 * dired-x.el (dired-guess-default): Remove duplicate shell command
6616 entries (bug#2028).
8a93078b 6617 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6618 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6619
dcc88d8a
LMI
6620 * subr.el (remove-duplicates): New conveniency function.
6621
505e3645
LMI
66222011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6623
6624 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6625 (bug#1526).
6626
66272011-07-10 Martin Rudalics <rudalics@gmx.at>
6628
6629 * window.el (display-buffer-normalize-default): Don't invert
6630 meaning of even-window-heights. Reported by Eli Zaretskii
6631 <eliz@gnu.org>.
6632
455e4fa1
BR
66332011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6634
6635 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6636
8e0bc3e9
CY
66372011-07-10 Chong Yidong <cyd@stupidchicken.com>
6638
6639 * window.el (display-buffer): Fix arguments to
6640 display-buffer-reuse-window in last change.
6641
fa7c3228
CY
6642 * faces.el (link): Use a less saturated blue on light backgrounds.
6643
6644 * startup.el (fancy-startup-text, fancy-about-text)
6645 (fancy-startup-tail): Use font-lock faces, for background safety.
6646
c0a7f300
BN
66472011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6648
b796c9b7
SM
6649 * emulation/viper-cmd.el (viper-change-state-to-vi):
6650 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6651
4dc2a129
MR
66522011-07-09 Martin Rudalics <rudalics@gmx.at>
6653
6654 * window.el (display-buffer-default-specifiers): Remove.
6655 (display-buffer-macro-specifiers): Remove default specifiers.
6656 (display-buffer-alist): Default to nil.
b796c9b7 6657 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6658 (display-buffer-pop-up-window): Allow splitting internal
6659 windows. Check whether a live window was created.
6660 (display-buffer-other-window-means-other-frame)
6661 (display-buffer-normalize-arguments): Rename to
6662 display-buffer-normalize-argument and rewrite. Set the
6663 other-window specifier.
6664 (display-buffer-normalize-special): New function.
6665 (display-buffer-normalize-options): Rename to
6666 display-buffer-normalize-default and rewrite.
6667 (display-buffer-normalize-options-inhibit): Remove.
6668 (display-buffer-normalize-specifiers): Rewrite.
6669 (display-buffer): Process other-window specifier and call
6670 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6671 more faithfully.
b796c9b7 6672 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6673 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6674 (display-buffer-in-window, display-buffer-alist-set):
6675 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6676 <tassilo@member.fsf.org>.
6677
2d43b8c9
LL
66782011-07-09 Leo Liu <sdl.web@gmail.com>
6679
6680 * register.el (insert-register): Restore accidental change on
6681 2011-06-26. (Bug#9028)
6682
7f9b7c53
GM
66832011-07-09 Glenn Morris <rgm@gnu.org>
6684
6685 * subr.el (remq): Handle the empty list. (Bug#9024)
6686
f042cfd8
AS
66872011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6688
6689 * mail/sendmail.el (send-mail-function): No longer delay custom
6690 initialization.
6691 * custom.el (custom-initialize-delay): Doc fix.
6692
856b2f11
SM
66932011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6694
6695 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6696
afae1d68
MA
66972011-07-08 Michael Albinus <michael.albinus@gmx.de>
6698
6699 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6700 human-friendly prompt.
6701
0757af94
SM
67022011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6703
6704 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6705 provided by a particular plugin.
6706
d760b731
LMI
67072011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6708
6709 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6710 save customizations (with "emacs -Q"), just set the variable
6711 instead of erroring out.
6712
6713 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6714
cd79ce90
JL
67152011-07-08 Juri Linkov <juri@jurta.org>
6716
6717 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6718 (archive-zip-update-case): Use 7z if found by `executable-find'.
6719 The order of searching the available programs is the same as in
6720 `archive-zip-extract' (bug#8968).
6721
14cc04aa
CY
67222011-07-07 Chong Yidong <cyd@stupidchicken.com>
6723
6724 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6725 (menu-bar-options-menu): Tweak descriptions.
6726
0a1848ec
LMI
67272011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6728
6729 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6730 menu items into verb phrases (bug#1421). Also refill to fit under
6731 80 columns.
6732
f5bd0689
CY
67332011-07-07 Chong Yidong <cyd@stupidchicken.com>
6734
538e85c6
CY
6735 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6736 (Info-read-node-name): Doc fix (Bug#1084).
6737
f5bd0689
CY
6738 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6739 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6740 (end-of-sexp, beginning-of-sexp)
6741 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6742 (forward-symbol, forward-same-syntax, word-at-point)
6743 (sentence-at-point): Doc fix (Bug#1144).
6744
56ec5115
LMI
67452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6746
f3f8e37f
LMI
6747 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6748 should cover it (bug#1281).
6749
0757af94 6750 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6751
e9fce1ac 6752 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6753 negotiation fails, then possibly try again with a non-encrypted
6754 connection (bug#9017).
6755
56ec5115
LMI
6756 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6757 be used.
6758
c2f9aec8
RS
67592011-07-07 Richard Stallman <rms@gnu.org>
6760
6761 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6762 property, and handle its changed format.
6763 Look for the correct line number.
6764 Use file's line contents (but not past first =) to find
6765 correct line in message.
6766
ef7b981d 67672011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6768
6769 * international/characters.el (build-unicode-category-table):
6770 Delete it.
0757af94 6771 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6772
0757af94 6773 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6774 to src/chartab.c.
6775 (get-char-code-property): Call unicode-property-table-internal to
6776 load a file. Call get-unicode-property-internal where necessary.
6777 (put-char-code-property): Call unicode-property-table-internal to
6778 load a file. Call put-unicode-property-internal where necessary.
6779 put-unicode-property-internal where necessary.
0757af94
SM
6780 (char-code-property-description):
6781 Call unicode-property-table-internal to load a file.
c805dec0
KH
6782
6783 * international/charprop.el:
6784 * international/uni-bidi.el:
6785 * international/uni-category.el:
6786 * international/uni-combining.el:
6787 * international/uni-comment.el:
6788 * international/uni-decimal.el:
6789 * international/uni-decomposition.el:
6790 * international/uni-digit.el:
6791 * international/uni-lowercase.el:
6792 * international/uni-mirrored.el:
6793 * international/uni-name.el:
6794 * international/uni-numeric.el:
6795 * international/uni-old-name.el:
6796 * international/uni-titlecase.el:
6797 * international/uni-uppercase.el: Regenerate.
6798
6799 * loadup.el: Load international/charprop.el before
6800 international/characters.
6801
e14b388a
CY
68022011-07-07 Chong Yidong <cyd@stupidchicken.com>
6803
6804 * window.el (next-buffer, previous-buffer): Signal an error if
6805 called from a minibuffer window.
6806
6807 * bindings.el: Revert 2011-07-04 change.
6808
354cf0ba
RS
68092011-07-06 Richard Stallman <rms@gnu.org>
6810
6811 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6812 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6813 Treat markers like ints.
6814 (rmail-mime-entity): Doc fix.
6815
a48868a7
LMI
68162011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6817
4906cd3d
LMI
6818 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6819 defcustom again for backwards compatibility.
6820
e0457abe
LMI
6821 * simple.el (shell-command-on-region): Fill.
6822
d67f7e1f
LMI
6823 * dired-aux.el (dired-kill-line): Add a doc string.
6824
fe204702
LMI
6825 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6826 to "\\sw\\|\\s_" (bug#358).
6827
a48868a7
LMI
6828 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6829 (dired-unmark-backward): Ditto.
6830 (dired-flag-backup-files): Ditto.
6831
6832 * dired-x.el (dired-mark-sexp): Ditto.
6833
aa8a705c
RS
68342011-07-06 Richard Stallman <rms@gnu.org>
6835
6836 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6837 (rmail-mime-entity): New arg TRUNCATED.
6838 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6839 New functions.
6840 (rmail-mime-save): Warn if entity is truncated.
6841 (rmail-mime-toggle-hidden): Likewise, for showing.
6842 (rmail-mime-process-multipart): Record when an entity is truncated.
6843
a9a936b9
RS
6844 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6845 if ENTITY is a string.
6846
1f2b92cb
LMI
68472011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6848
f4f73198 6849 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6850 of faces when `M-C-x'-ing their definitions (bug#8378).
6851 Also clean up the code slightly.
f4f73198 6852
12b16734 6853 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6854 because that makes the colors go away.
12b16734 6855
f0691d22
LMI
6856 * mail/sendmail.el (send-mail-function): Change the default to
6857 `sendmail-query-once'.
9e87df06 6858 (sendmail-query-once): Add an autoload cookie.
f0691d22 6859
1f2b92cb
LMI
6860 * net/network-stream.el (network-stream-open-starttls): Try using
6861 a plain connection even if the server offered STARTTLS, and we
6862 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6863 capability. This should make smtpmail.el work in slightly more
6864 configurations.
6865
1cdd2a1b
MA
68662011-07-06 Michael Albinus <michael.albinus@gmx.de>
6867
6868 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6869 New defun.
6870 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6871
fbcc67e2
MM
68722011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6873
6874 * progmodes/sql.el: Version 3.0
0757af94 6875 (sql-product-alist): Add product :completion-object,
fbcc67e2 6876 :completion-column, and :statement attributes.
0757af94 6877 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6878 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6879 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6880 ansi keywords.
6881 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6882 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6883 (sql-oracle-show-reserved-words): New function for development.
6884 (sql-product-font-lock): Simplify for source code buffers.
6885 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6886 New functions.
6887 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6888 (sql-mode-map): Add statement movement functions.
6889 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6890 New variable.
fbcc67e2
MM
6891 (sql-statement-regexp, sql-beginning-of-statement)
6892 (sql-end-of-statement, sql-signum): New functions.
0757af94 6893 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6894 (sql-show-sqli-buffer): Bug fix.
6895 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6896 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6897 with sql-interactive-mode.
6898 (sql-save-connection): Save buffer local settings.
0757af94 6899 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6900 (sql-product-interactive): Bug fix.
6901 (sql-preoutput-hold): New variable.
6902 (sql-interactive-remove-continuation-prompt): Bug fixes.
6903 (sql-debug-redirect): New variable.
6904 (sql-str-literal): New function.
6905 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6906 Redesign.
fbcc67e2
MM
6907 (sql-oracle-save-settings, sql-oracle-restore-settings)
6908 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6909 (sql-completion-object, sql-completion-column)
6910 (sql-completion-sqlbuf): New variables.
6911 (sql-build-completions-1, sql-build-completions)
6912 (sql-try-completion): New functions.
6913 (sql-read-table-name): Use them.
6914 (sql-contains-names): New buffer local variable.
6915 (sql-list-all, sql-list-table): Use it.
6916 (sql-oracle-completion-types): New variable.
6917 (sql-oracle-completion-object, sql-sqlite-completion-object)
6918 (sql-postgres-completion-object): New functions.
6919
d4eaeab1
GM
69202011-07-06 Glenn Morris <rgm@gnu.org>
6921
6922 * window.el (pop-to-buffer): Doc fix.
6923
322b7dab 69242011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6925
6926 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6927
322b7dab 69282011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6929
322b7dab 6930 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6931
322b7dab 6932 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6933
605dd5bf
CY
69342011-07-05 Chong Yidong <cyd@stupidchicken.com>
6935
6936 * button.el (button): Inherit from link face. Suggested by Dan
6937 Nicolaescu.
6938
7dbfa719
SM
69392011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6940
3db614b0
SM
6941 * progmodes/gdb-mi.el: Fit in 80 columns.
6942 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6943 switch-to-buffer.
6944
7dbfa719
SM
6945 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6946 if imenu is simply not configured (bug#8941).
6947
919d884a
KM
69482011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6949
6950 * allout.el (allout-post-undo-hook): New allout outline-change
6951 event hook to signal undo activity.
6952 (allout-post-command-business): Run allout-post-undo-hook if an
6953 undo just occurred.
7dbfa719
SM
6954 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6955 * allout-widgets.el (allout-widgets-after-undo-function):
6956 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6957 in the vicinity of an undo.
6958 (allout-widgets-mode): Include allout-widgets-after-undo-function
6959 on the new allout-post-undo-hook.
6960
450a0f09
SM
69612011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6962
6963 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6964 Let define-derived-mode define it.
6965 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6966 cycles of abbrev-table inheritance (bug#8998).
6967
2de69e00
RW
69682011-07-05 Roland Winkler <winkler@gnu.org>
6969
6970 * textmodes/bibtex.el: Add support for biblatex.
6971 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6972 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6973 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6974 (bibtex-entry-alist, bibtex-field-alist): New variables.
6975 (bibtex-entry-field-alist): Obsolete alias for
6976 bibtex-BibTeX-entry-alist.
6977 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6978 (bibtex-set-dialect): New command.
6979 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6980 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6981 Bind via bibtex-set-dialect.
2de69e00
RW
6982 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6983 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6984 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6985 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6986 Define via bibtex-set-dialect.
450a0f09
SM
6987 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6988 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6989 (bibtex-vec-push, bibtex-vec-incr): New functions.
6990 (bibtex-format-entry, bibtex-field-list)
6991 (bibtex-print-help-message, bibtex-validate)
6992 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6993
2dcdbdd9
SM
69942011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * progmodes/compile.el (compilation-goto-locus):
6997 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6998 * bs.el (bs-cycle-next, bs-cycle-previous):
6999 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7000 * bindings.el (mode-line-other-buffer):
7001 * autoinsert.el (auto-insert):
7002 * arc-mode.el (archive-extract):
7003 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7004
b27640fe
JB
70052011-07-05 Juanma Barranquero <lekktu@gmail.com>
7006
7007 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7008 Fix check of `emacs-lock-unlockable-modes'.
7009 Coerce true values of `emacs-lock--try-unlocking' to t.
7010
53bbe3ad
JB
70112011-07-05 Juanma Barranquero <lekktu@gmail.com>
7012
7013 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7014 * emacs-lock.el: New file.
7015
1d3cdbc7
JD
70162011-07-05 Julien Danjou <julien@danjou.info>
7017
7018 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7019 than `boundp' to check if face is set.
7020
9173deec
JB
70212011-07-05 Juanma Barranquero <lekktu@gmail.com>
7022
7023 * register.el (registerv-make):
7024 * window.el (window-min-height): Fix typos in docstrings.
7025
869795d6
JD
70262011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7027
9173deec 7028 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7029 Update doc string.
7030
b768cdcd
JB
70312011-07-04 Juanma Barranquero <lekktu@gmail.com>
7032
7033 * server.el (server-execute): Catch quit and call
7034 `server-return-error' to pass the error back to emacsclient and
7035 close the connection (bug#8942).
7036
13aa217b
KM
70372011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7038
7039 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7040 insecure exception for current topic. Also note that auto-saves
7041 are handled differently.
7042
7043 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7044 State variables for tracking auto-save inhibition situation.
7045
7046 (allout-write-contents-hook-handler): Rename from
7047 'allout-write-file-hook-handler', and describe how it depends on
7048 write-contents-functions sensitivity to non-nil value to prevent
7049 file write.
7050
7051 (allout-auto-save-hook-handler): Remove. auto-save does not check
7052 this in individual buffers, only in the starting buffer, so this
7053 is not the right way for us to inhibit auto-save in a buffer
7054 according to its condition.
7055
7056 (allout-mode): Use new allout-write-contents-hook-handler, and
7057 only with write-contents-functions. Remove auto-save provisions -
7058 they're implemented elsewhere.
7059
7060 (allout-before-change-handler): If undo is in progress, note that
7061 for attention of allout-post-command-business.
7062
7063 (allout-post-command-business): If the command we're following was
7064 an undo, check for change in the status of encrypted items and
7065 adjust auto-save inhibitions accordingly.
7066
7067 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7068 according to whether there are or aren't any plain-text topics
7069 pending encryption.
7070
2dcdbdd9 7071 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7072 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7073 if there are plain-text topics pending encryption.
13aa217b
KM
7074
7075 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7076 buffer-saved-size and some allout state to not inhibit auto-saves
7077 if there are no longer any plain-text topics pending encryption.
7078
0757af94
SM
7079 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7080 No longer provide for exemption of the current topic.
13aa217b 7081
ac89b32c
JL
70822011-07-04 Juri Linkov <juri@jurta.org>
7083
7084 Add 7z operations to delete and save changed members (bug#8968).
7085 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7086 New defcustoms.
7087 (archive-7z-write-file-member): New function.
7088 (archive-7z-summarize): Fix the number of dashes in the
7089 listing output.
7090
8fa39615
SM
70912011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7094 (bug#8958).
7095
2f11b3f1
CY
70962011-07-04 Chong Yidong <cyd@stupidchicken.com>
7097
d66fef2b
CY
7098 * bindings.el: Ignore next-buffer and previous-buffer in
7099 minibuffer-local-map.
7100
2f11b3f1
CY
7101 * font-lock.el (font-lock-builtin-face): Change light background
7102 color to dark slate blue (Bug#6693).
7103
f932a347
WD
71042011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7105
7106 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7107
c8af70e1
SM
71082011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7111 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7112 Add switch-to-buffer.
7113
f158badc
LMI
71142011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7115
7116 * isearch.el (isearch-search-fun-function): Clarify further the
7117 meaning of the function returned.
7118
6d95bd46
MA
71192011-07-04 Michael Albinus <michael.albinus@gmx.de>
7120
7121 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7122
7123 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7124 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7125 Use it.
7126 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7127 `tramp-default-remote-path' does not exist.
7128 (tramp-send-command-and-read): New optional argument NOERROR.
7129 (tramp-open-connection-setup-interactive-shell)
7130 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7131 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7132 (tramp-process-sentinel): Flush also process' connection property.
7133 (tramp-sh-handle-start-file-process): Do not set process
7134 sentinel. It is done now ...
7135 (tramp-maybe-open-connection): ... here. (Bug#8929)
7136
909e6b67
MK
71372011-07-04 MON KEY <monkey@sandpframing.com>
7138
7139 * play/animate.el (animate-string): Doc fixes and allow changing
7140 the buffer name (bug#5417).
7141
71422011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7143
c8af70e1 7144 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7145
f34755dc
PE
71462011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7147
396cec72
PE
7148 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7149 This is simpler and helps future-proof the code.
7150 (timer-until): Use time-subtract and float-time.
08235028 7151 (timer--time-less-p): Use time-less-p.
f34755dc 7152
56e6cc31
JB
71532011-07-04 Juanma Barranquero <lekktu@gmail.com>
7154
3abb79e5
JB
7155 * type-break.el (timep): Use the value of `float-time' to avoid a
7156 byte-compiler warning.
7157
56e6cc31
JB
7158 * server.el (server-eval-and-print): Return any result, even nil.
7159
7b9430b4
PE
71602011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7161
7162 * type-break.el: Accept time formats that the builtins accept.
7163 (timep, type-break-time-difference): Accept any format that
7164 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7165 This is simpler and helps future-proof the code.
7166 (type-break-time-difference): Round rather than ignoring
7167 subseconds components.
7168
3034e9e7
LMI
71692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7170
7171 * info.el (Info-apropos-matches): Make non-interactive, since it
7172 doesn't seem to do anything useful as a command (bug#8829).
7173
1485f4c0
CY
71742011-07-03 Chong Yidong <cyd@stupidchicken.com>
7175
7176 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7177 Move from faces.el.
1485f4c0
CY
7178 (frame-default-terminal-background): New function.
7179
7180 * custom.el (custom-push-theme): Don't record faces in `changed'
7181 theme; this doesn't work correctly for per-frame face settings.
7182 (disable-theme): Use face-set-after-frame-default to reset faces.
7183 (custom--frame-color-default): New function.
7184
9fa3dd45
LMI
71852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7186
c8af70e1 7187 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7188 (bug#8769).
7189
6cbbc20c
KR
71902011-03-29 Kevin Ryde <user42@zip.com.au>
7191
7192 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7193 `perl-Test2' extend to match possible "fail #N" rep count
7194 (bug#8377).
7195
c7f98048
LMI
71962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7197
65676592
LMI
7198 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7199 `smtpmail-via-smtp' now returns the error instead of nil.
7200
c7f98048
LMI
7201 * isearch.el (isearch-search-fun-function): Clarify the doc string
7202 (bug#8101).
7203
56e6cc31 72042011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7205
7206 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7207 unnecessary spaces (bug#8987).
7208
2b216704
LMI
72092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7210
7211 * net/network-stream.el (open-network-stream): Use the
7212 :end-of-capability command thoughout.
7213
72142011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7215
7216 * net/network-stream.el (open-network-stream): Add the
7217 :end-of-capability command parameter, used by pop3.el.
7218
36adf6ce
LMI
72192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7220
1ca0da0e
LMI
7221 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7222
fc00f69c
LMI
7223 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7224 for list)" (bug#6475).
7225
28fd8759 7226 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7227 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7228 an error (bug#6297).
7229
0dd8b6da
LMI
7230 * man.el (Man-reference-regexp): Allow matching possible
7231 word-wrapped references (bug#6289).
7232
ce1438d6
LMI
7233 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7234 for consistency with the other vc buffers (bug#6197).
7235 (vc-checkin): Ditto.
7236
7237 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7238
36adf6ce
LMI
7239 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7240
e83cc1f7
LMI
72412011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7242
8a20ca4c
LMI
7243 * custom.el (defcustom): Clarify that :set is only used in the
7244 Customize user interface (bug#6089).
7245
83319045
LMI
7246 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7247 associated with a file, refuse to run instead of erroring out
7248 (bug#6084).
7249
a8392169
LMI
7250 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7251 the doc string, since it appears that using `fill-column' always
7252 controls the width (bug#7845).
7253
e83cc1f7
LMI
7254 * simple.el (shell-command-on-region): Say where the error output
7255 went if `shell-command-default-error-buffer' is set (bug#6857).
7256
e47ca23b
KM
72572011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7258
7259 * allout.el (allout-yank-processing): Adjust cursor position for
7260 backwards-deleted space.
7261
7262 (allout-rebullet-heading): Register changes with
7263 allout-exposure-changed-hook, so the modified topic is properly
7264 decorated.
7265
5cf56143
LMI
72662011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7267
08549772
LMI
7268 * minibuffer.el (completion-in-region): Document PREDICATE
7269 (bug#7136).
7270
48e96771
LMI
7271 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7272 of keyword/argument pairs (bug#6904).
7273
c8af70e1
SM
7274 * replace.el (multi-occur):
7275 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7276
e17d05e2
LMI
72772011-07-02 Drew Adams <drew.adams@oracle.com>
7278
7279 * dired.el (dired-mark-if): Make the message about whether it's
7280 marking or unmarking clearer (bug#8523).
7281
063b0e45
LMI
72822011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7283
7284 * disp-table.el (display-table-print-array): New function.
7285 (describe-display-table): Use it to print the vectors more pretty
7286 (Bug#8859).
7287
28545e04
MR
72882011-07-02 Martin Rudalics <rudalics@gmx.at>
7289
7290 * window.el (window-state-get-1): Don't assign clone numbers.
7291 Add clone-of item to list of window parameters.
7292 (window-state-put-2): Don't process clone numbers.
7293 (display-buffer-alist): Fix doc-string.
7294
3349e122
SM
72952011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7296
7297 * subr.el (remq): Don't allocate if it's not needed.
7298 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7299 (keymap--merge-bindings): New functions.
7300 (keymap-canonicalize): Use them to refine the canonicalization.
7301 * minibuffer.el (minibuffer-local-completion-map)
7302 (minibuffer-local-must-match-map): Move initialization from C.
7303 (minibuffer-local-filename-completion-map): Move initialization from C;
7304 don't inherit from anything here.
7305 (minibuffer-local-filename-must-match-map): Make obsolete.
7306 (completing-read-default): Use make-composed-keymap to combine
7307 minibuffer-local-filename-completion-map with either
7308 minibuffer-local-must-match-map or
7309 minibuffer-local-filename-completion-map.
7310
d224ac83
GM
73112011-07-01 Glenn Morris <rgm@gnu.org>
7312
3de63bf8
GM
7313 * type-break.el (type-break-time-sum): Use dolist.
7314
d224ac83
GM
7315 * textmodes/flyspell.el (flyspell-word-search-backward):
7316 Replace CL function.
7317
1a1e3f32
SM
73182011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7319
fe3f64d5
SM
7320 * mouse.el (mouse--strip-first-event): New function.
7321 (function-key-map): Use it to map fringe clicks to normal clicks
7322 by default.
7323
eb604e34
SM
7324 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7325 (vc-bzr-revision-completion-table): Add support for annotate and date.
7326
1a1e3f32
SM
7327 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7328 inherit from parent.
7329
5bd35902
LMI
73302011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7331
ace6c69c 7332 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7333 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7334
191e2bed
LMI
7335 * dired.el (dired-mode): Fix up the doc string as suggested by
7336 Drew Adams (bug#8817).
7337
5bd35902
LMI
7338 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7339 cookie, since the manual says that it should be possible to add
7340 this function to `find-file-hook' (bug#8709).
7341
eee8207a
TZ
73422011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7343
7344 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7345 here. Noted Ted Zlatanov as the maintainer.
7346 (cfengine-common-settings, cfengine-common-syntax): New functions
7347 to set up common things between `cfengine-mode' and
7348 `cfengine3-mode'.
7349 (cfengine3-mode): New mode.
7350 (cfengine3-defuns cfengine3-defuns-regex
7351 (cfengine3-class-selector-regex cfengine3-category-regex)
7352 (cfengine3-vartypes cfengine3-font-lock-keywords)
7353 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7354 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7355
36b148cf
MA
73562011-07-01 Michael Albinus <michael.albinus@gmx.de>
7357
7358 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7359
7360 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7361
0bf4ba9a
MR
73622011-07-01 Martin Rudalics <rudalics@gmx.at>
7363
7364 * window.el (same-window-buffer-names, same-window-regexps)
7365 (same-window-p, special-display-frame-alist)
7366 (special-display-popup-frame, special-display-function)
7367 (special-display-buffer-names, special-display-regexps)
7368 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7369 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7370 (split-window-preferred-function, split-height-threshold)
7371 (split-width-threshold, even-window-heights)
7372 (display-buffer-mark-dedicated, window-splittable-p)
7373 (split-window-sensibly, window-safely-shrinkable-p):
7374 Un-obsolete.
7375 (display-buffer): Don't spread args with function specifier
7376 because special-display-popup-frame won't like it.
7377
35837f51
PE
73782011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7379
d0672f86
PE
7380 Time-stamp simplifications and fixes.
7381 These improve accuracy slightly, and future-proof the code
7382 against some potential changes to current-time format.
7383
b9444d97
PE
7384 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7385 by using time-since and float-time.
7386
0ef923dc
PE
7387 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7388 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7389 + NNN microseconds".
7390
2f81380d
PE
7391 * type-break.el (type-break-time-sum): Rewrite using time-add.
7392
845b5c3e
PE
7393 * play/hanoi.el (hanoi-current-time-float): Remove.
7394 All uses replaced by float-time.
7395
ee6f1be0
PE
7396 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7397 This yields a more-accurate answer.
7398 (rng-time-to-float): Remove; no longer needed.
7399
fe955043
PE
7400 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7401
5777162a
PE
7402 * calendar/timeclock.el (timeclock-seconds-to-time):
7403 Defalias to seconds-to-time, since they're the same thing.
7404
3103f8b6 7405 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7406 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7407 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7408
0e61a35f
SM
74092011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7410
7411 * window.el (bury-buffer): Don't iconify the only frame.
7412 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7413 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7414
ddd63a1e
CY
74152011-07-01 Chong Yidong <cyd@stupidchicken.com>
7416
0e61a35f
SM
7417 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7418 Add mouse-yank-primary.
ddd63a1e 7419
055f4923
TZ
74202011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7421
7422 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7423
6a2fb145
SM
74242011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7425
7426 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7427 (find-library-name): Use it to find relative load names when provided
7428 absolute file name (bug#8803).
7429
fd4983f2
LMI
74302011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7431
887d14ad
LMI
7432 * textmodes/flyspell.el (flyspell-word): Consider words that
7433 differ only in case as potential doublons (bug#5687).
7434
c53dc7fc
LMI
7435 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7436 Remove two rather uninteresting debugging-like messages to make
7437 debbugs.el more silent.
7438
fd4983f2
LMI
7439 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7440 a password-like phrase.
7441
7a71b18d 74422011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7443
7444 * progmodes/cc-guess.el: New file.
7445
6a2fb145 7446 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7447
7448 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7449 derived from `c-basic-common-init'.
7450
7451 * progmodes/cc-mode.el (top-level): Require cc-guess.
7452 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7453
1fa280a3
LM
74542011-06-30 Lawrence Mitchell <wence@gmx.li>
7455
7456 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7457
e6597158
AM
74582011-06-30 Alan Mackenzie <acm@muc.de>
7459
1fa280a3
LM
7460 * progmodes/cc-engine.el (c-guess-continued-construct):
7461 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7462 lock is disabled. Name this case as "CASE G".
7463
68ba37fb
KM
74642011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7465
7466 * allout.el (allout-yank-processing): Fix injection of extra space
7467 between bullet and non-whitespace character in first topic when
7468 pasting, ensuring that the actual spacing in the pasted topic
7469 following the bullet char is preserved. This extra space was
7470 causing pasted encrypted topics to get a decrypted status even
7471 when the content was actually still encrypted. Now the decryption
7472 status from before the paste is preserved.
7473
7474 (allout-flag-region): Set all allout overlays so they evaporate
7475 when reduced to zero length (evanescent), to prevent overlay
7476 leakage.
7477
887a0b34
GM
74782011-06-30 Glenn Morris <rgm@gnu.org>
7479
94b9acce
GM
7480 * w32-fns.el (w32-charset-info-alist): Declare.
7481
1d9b46d4
GM
7482 * find-dired.el (find-grep-options): Simplify.
7483
cc232200
GM
7484 * term/ns-win.el (ns-set-resource): Declare.
7485
28e77c46
GM
7486 * ses.el (row, col): Declare dynamic variables honestly.
7487
887a0b34
GM
7488 * textmodes/reftex-parse.el (index-tags): Declare.
7489
658d8eb8
CY
74902011-06-30 Chong Yidong <cyd@stupidchicken.com>
7491
7492 * cus-edit.el (customize-push-and-save): New function.
7493
7494 * files.el (hack-local-variables-confirm): Use it.
7495
1fa280a3
LM
7496 * custom.el (load-theme): New arg NO-CONFIRM.
7497 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7498 (custom-enabled-themes): Doc fix.
7499
7500 * cus-theme.el (customize-create-theme)
7501 (custom-theme-merge-theme): Callers to load-theme changed.
7502
bb617717
LMI
75032011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7504
d61bdd5d
LMI
7505 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7506 short URLs have at least one dot in them (bug #7614).
7507
bb617717
LMI
7508 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7509 nil, because using a pty is apparently too slow (bug #895).
7510
2f31f37a
LMI
75112011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7512
7513 * mail/sendmail.el (sendmail-query-once): New function.
7514 (sendmail-query-once-function): New variable.
7515
3076b24e
GM
75162011-06-29 Glenn Morris <rgm@gnu.org>
7517
faf2a174
GM
7518 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7519
3076b24e
GM
7520 * ses.el (top-level): Require cl when compiling.
7521 (ses-set-localvars): Fix error statement.
7522 Call it at compile time to silence a storm of warnings.
7523
5386012d
MR
75242011-06-29 Martin Rudalics <rudalics@gmx.at>
7525
7526 * window.el (normalize-live-buffer): Rename to
7527 window-normalize-buffer.
7528 (normalize-live-frame): Rename to window-normalize-frame.
7529 (normalize-any-window): Rename to window-normalize-any-window.
7530 (normalize-live-window): Rename to window-normalize-live-window.
7531 (make-window-atom): Rename to window-make-atom.
7532 (window-resize-reset): Rename to window--resize-reset.
7533 (window-resize-reset-1): Rename to window--resize-reset-1.
7534 (resize-mini-window): Rename to window--resize-mini-window.
7535 (resize-subwindows-skip-p): Rename to
7536 window--resize-subwindows-skip-p.
7537 (resize-subwindows-normal): Rename to
7538 window--resize-subwindows-normal.
7539 (resize-subwindows): Rename to window--resize-subwindows.
7540 (resize-other-windows): Rename to window--resize-siblings.
7541 (resize-this-window): Rename to window--resize-this-window.
7542 (resize-root-window): Rename to window--resize-root-window.
7543 (resize-root-window-vertically): Rename to
7544 window--resize-root-window-vertically.
7545 (normalize-buffer-to-display): Rename to
7546 window-normalize-buffer-to-display.
7547 (normalize-buffer-to-switch-to): Rename to
7548 window-normalize-buffer-to-switch-to.
7549 Correspondingly update all callers of the functions listed
7550 above.
7551 (display-buffer-alist, display-buffer-normalize-arguments)
7552 (display-buffer-normalize-options, display-buffer)
7553 (display-buffer-alist-set): Use "function" instead of
7554 "fun-with-args".
7555
1176868d
CY
75562011-06-28 Chong Yidong <cyd@stupidchicken.com>
7557
7558 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7559 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7560 debbugs.gnu.org. Mention acknowledgment email.
7561
20a7a65f
LMI
75622011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7563
7564 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7565 buffer multibyteness, since it shouldn't matter.
7566
5f45cca5
MR
75672011-06-28 Martin Rudalics <rudalics@gmx.at>
7568
7569 * window.el (display-buffer-in-side-window): Handle dedicated
7570 windows as in display-buffer-reuse-window.
7571 (display-buffer-normalize-alist): Use value of override
7572 specifier.
7573 (display-buffer-normalize-specifiers): Use value of
7574 other-window-means-other-frame specifier.
7575 (display-buffer-alist): Rewrite some texts in widgets.
7576 (display-buffer): Spread arguments when calling function
7577 specified by fun-with-args.
7578
ad85fe1f
DD
75792011-06-28 Deniz Dogan <deniz@dogan.se>
7580
1fa280a3
LM
7581 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7582 Unnest `let'.
da68c4c8 7583
ad85fe1f
DD
7584 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7585 selectors (Bug#5732).
ec49bd31 7586 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7587
a08cc025
JA
75882011-06-27 Jari Aalto <jari.aalto@cante.net>
7589
7590 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7591 (eshell-ls-date-format): New defcustom.
7592 (eshell-ls-file): Use it.
7593
e2b551c5
SM
75942011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7597
8982b231
KY
75982011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7599
7600 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7601 (ange-ftp-make-tmp-name): New arg.
7602 (ange-ftp-file-local-copy): Use it.
7603
36c9fa27
J
76042011-06-27 Jambunathan K <kjambunathan@gmail.com>
7605
7606 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7607 no-conversion (Bug#8870).
7608
d68443dc
MR
76092011-06-27 Martin Rudalics <rudalics@gmx.at>
7610
7611 * window.el (window-right, window-left, window-child)
7612 (window-child-count, window-last-child)
7613 (window-iso-combination-p, walk-window-tree-1)
7614 (window-atom-check-1, window-tree-1, delete-window)
7615 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7616 new naming conventions - window-vchild, window-hchild,
7617 window-next and window-prev are now called window-top-child,
7618 window-left-child, window-next-sibling and window-prev-sibling
7619 respectively.
d615d6d2
MR
7620 (resize-window-reset): Rename to window-resize-reset.
7621 (resize-window-reset-1): Rename to window-resize-reset-1.
7622 (resize-window): Rename to window-resize.
7623 (window-min-height, window-min-width)
7624 (resize-mini-window, resize-this-window, resize-root-window)
7625 (resize-root-window-vertically, adjust-window-trailing-edge)
7626 (enlarge-window, shrink-window, maximize-window)
7627 (minimize-window, delete-window, quit-restore-window)
7628 (split-window, balance-windows, balance-windows-area-adjust)
7629 (balance-windows-area, window-state-put-2)
7630 (display-buffer-even-window-sizes, display-buffer-set-height)
7631 (display-buffer-set-width, set-window-text-height)
7632 (fit-window-to-buffer): Rename all "resize-window" prefixed
7633 calls to use the "window-resize" prefix convention.
7634 (display-buffer-alist): Fix symbol for label specifier.
7635 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7636 corresponding specifier.
7637 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7638
b6458526
VB
76392011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7640
7641 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7642 convention.
7643 (ses-call-printer): Does not pass an empty string to formatter when the
7644 cell is empty to keep from barking printer Calc math-format-value.
7645
d31fd9ac
RS
76462011-06-27 Richard Stallman <rms@gnu.org>
7647
43d5bf84
RS
7648 * battery.el (battery-mode-line-limit): New variable.
7649 (battery-update): Handle it.
7650
d31fd9ac
RS
7651 * mail/rmailmm.el (rmail-mime-process-multipart):
7652 Handle truncated messages.
7653
819a6054
GM
76542011-06-27 Glenn Morris <rgm@gnu.org>
7655
7656 * progmodes/flymake.el (flymake-err-line-patterns):
7657 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7658
cedc73f2
VB
76592011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7660
819a6054 7661 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7662 (ses--clean-!, ses--clean-_): New functions.
7663 (ses-range): Add configurability of readout order, and conversion
7664 to Calc vector.
7665
5e5d49b6
VB
7666 * ses.el (ses-repair-cell-reference-all): New function.
7667 (ses-cell-symbol): Set macro as safe, so that it can be used in
7668 formulas.
7669
56e6cc31 7670 * ses.el: Update cycle detection algorithm.
90ca8b49 7671 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7672 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7673 (ses-set-localvars): New function.
7674 (ses-make-cell): Add property-list as a cell element.
7675 (ses-cell-property-get-fun, ses-cell-property-get)
7676 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7677 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7678 New functions.
90ca8b49
VB
7679 (ses-cell-property-set, ses-cell-property-pop)
7680 (ses-cell-property-get-handle): New macro.
7681 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7682 New aliases, used for code readability.
7683 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7684 cycle detection.
7685 (ses-self-reference-early-detection): New defcustom.
fac916bf 7686 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7687 (ses-mode): Use ses-set-localvars.
7688 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7689 before lauching the update processing.
7690 (ses-initialize-Dijkstra-attempt): New function.
7691 (ses-recalculate-cell): Update for cycle detection based on
7692 Dijkstra algorithm.
7693
2bb63e81
VB
7694 * ses.el: Fix commenting and indenting convention.
7695
c9d29fb8
SM
76962011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7697
7698 * bs.el (bs-cycle-next): Complete last change.
7699
d8e4b68b
JB
77002011-06-27 Drew Adams <drew.adams@oracle.com>
7701
7702 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7703
40098786
LMI
77042011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7705
c9d29fb8
SM
7706 * net/network-stream.el (network-stream-open-starttls):
7707 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7708 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7709
40098786
LMI
7710 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7711 to binary to possibly avoid line encoding issues on Windows (among
7712 other things).
7713
468d09d4
LMI
77142011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7715
7716 * net/network-stream.el (open-network-stream): Return an :error
7717 saying what the problem was, if possible.
7718
7719 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7720 server.
7721
7722 * net/network-stream.el (network-stream-open-starttls): If we
7723 wanted to use STARTTLS, and the server offered it, but we weren't
7724 able to because we had no STARTTLS support, then close the connection.
7725 (open-network-stream): Return an :error element, if present.
7726
16f07dd7
CY
77272011-06-26 Chong Yidong <cyd@stupidchicken.com>
7728
88821ca0
CY
7729 * hl-line.el (hl-line-sticky-flag): Doc fix.
7730 (global-hl-line-sticky-flag): New option (Bug#8323).
7731 (global-hl-line-highlight): Obey it.
7732
16f07dd7
CY
7733 * vc/vc.el (vc-revert-show-diff): Default to t.
7734
6b5ccddf
KM
77352011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7736
c9d29fb8
SM
7737 * allout-widgets.el (allout-widgets-post-command-business):
7738 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7739 undecorated when an isearch is continued past, and isearch
7740 automatically collapses them. This leads to "widget leaks", where
7741 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7742 hidden widgets can slow down cursor travel, substantially.
7743 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7744 so we're doing without this nicety.
7745
7746 (allout-widgets-tally-string): Don't try to do a hash-table-count
7747 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7748 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7749 *Messages* when allout-widgets-maintain-tally is t.
7750
355f2e07
MR
77512011-06-26 Martin Rudalics <rudalics@gmx.at>
7752
7753 * window.el (display-buffer-normalize-argument): Rename to
7754 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7755 LABEL argument. Respect special-display-function when popping up
7756 a new frame. Fix code searching for a window showing the buffer
7757 on another frame.
c9d29fb8
SM
7758 (display-buffer-normalize-specifiers):
7759 Call display-buffer-normalize-arguments.
355f2e07
MR
7760 (display-buffer-in-window): Don't undedicate the window if its
7761 buffer remains the same.
7762 Reported by Drew Adams <drew.adams@oracle.com>.
7763 (display-buffer-alist): Add choice for same-window macro
7764 specfier.
7765 (display-buffer): Mention special meaning of LABEL argument in
7766 doc-string. Fix quoting. Don't pop up a new frame even as
7767 fallback.
7768
7ca8fc42
JB
77692011-06-26 Juanma Barranquero <lekktu@gmail.com>
7770
7771 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7772 avoid deleting the current window in some cases (bug#8911).
7773
bc312254
AS
77742011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7775
7776 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7777 (Bug#8934)
7778
2db18f3f
LMI
77792011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7780
c9d29fb8
SM
7781 * net/network-stream.el (network-stream-open-starttls):
7782 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7783 (network-stream-open-tls): Ditto.
7784
6302e0d3
LL
77852011-06-26 Leo Liu <sdl.web@gmail.com>
7786
7787 * register.el (registerv): New struct.
7788 (registerv-make): New function.
c9d29fb8
SM
7789 (jump-to-register, describe-register-1, insert-register):
7790 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7791 struct. (Bug#8415)
7792
5fdd4046
CY
77932011-06-26 Chong Yidong <cyd@stupidchicken.com>
7794
2afef60a
CY
7795 * vc/vc.el (vc-revert-show-diff): New defcustom.
7796 (vc-diff-internal): New arg specifying diff buffer.
7797 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7798 reuse an existing *vc-diff* buffer (Bug#8927).
7799
5fdd4046
CY
7800 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7801
e93db24a
GM
78022011-06-26 Glenn Morris <rgm@gnu.org>
7803
7804 * progmodes/f90.el (f90-critical-indent): New option.
7805 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7806 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7807 (f90-mode): Doc fix.
7808 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7809 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7810 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7811 (f90-match-end): Handle block, critical.
7812
eefff499
GM
78132011-06-25 Glenn Morris <rgm@gnu.org>
7814
f6ba4cc9
GM
7815 * calendar/diary-lib.el (diary-included-files): Doc fix.
7816 (diary-include-files): New function, extracted from
7817 diary-include-other-diary-files and diary-mark-included-diary-files.
7818 (diary-include-other-diary-files, diary-mark-included-diary-files):
7819 Just call diary-include-files.
7820 (diary-mark-entries): Reset diary-included-files on first call.
7821
16712304
GM
7822 * calendar/diary-lib.el (diary-mark-entries)
7823 (diary-mark-included-diary-files):
7824 Visit included diary-files in temp buffers.
7825
5d8e0d43
GM
7826 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7827 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7828 (f90-start-block-re, f90-imenu-generic-expression)
7829 (f90-looking-at-program-block-start, f90-no-block-limit):
7830 Add support for submodules.
7831
ccf7a5d5
GM
7832 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7833 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7834
11fdef7d 78352011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7836
7837 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7838 buffer-file-type before setting its value, to avoid disastrous
eefff499 7839 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7840
74f53697
JB
78412011-06-25 Juanma Barranquero <lekktu@gmail.com>
7842
7843 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7844
7845 * ses.el (ses-unload-function):
7846 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7847
7848 * proced.el (proced-unload-function):
7849 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7850
18a4ce5e
AR
78512011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7852
7853 * server.el (server-create-window-system-frame): Add parameters arg.
7854 (server-process-filter): Doc fix. Handle frame-parameters.
7855
519d22cc
JB
78562011-06-25 Juanma Barranquero <lekktu@gmail.com>
7857
7858 Fix bug#8730, bug#8781.
7859
7860 * loadhist.el (unload--set-major-mode): New function.
7861 (unload-feature): Use it.
7862
7863 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7864 (python-unload-function): New function.
7865
c206f5b0
SM
78662011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7867
7868 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7869
f9ad64f3
GS
78702011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7871
7872 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7873 the candidates list.
7874
7d0da90e
JB
78752011-06-24 Juanma Barranquero <lekktu@gmail.com>
7876
7877 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7878
14b4e83d
RS
78792011-06-23 Richard Stallman <rms@gnu.org>
7880
7881 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7882 (rmail-variables): Set next-error-move-function.
7883 (rmail-what-message): Take argument POS.
7884 (rmail-next-error-move): New function.
7885
273d2baf
SM
78862011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7887
7888 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7889 messages for adjacent non-terminals.
7890
56c2cc9a
RS
78912011-06-23 Richard Stallman <rms@gnu.org>
7892
7893 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7894 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7895 (rmail-start-mail): Don't specify use of rmail-mail-return;
7896 that's done by mail-bury now.
7897 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7898
d59eb518
MA
78992011-06-23 Michael Albinus <michael.albinus@gmx.de>
7900
7901 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7902 SIZE is a number.
7903
02cfc6d6
MR
79042011-06-23 Martin Rudalics <rudalics@gmx.at>
7905
7906 * window.el (get-lru-window, get-mru-window)
7907 (get-largest-window): Never return a minibuffer window.
7908 (display-buffer-pop-up-window): Fix a bug that could lead to
7909 reusing the minibuffer window.
7910 (display-buffer): Pass original specifier argument to
7911 display-buffer-function instead of the normalized one.
7912 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7913
4e323265
LL
79142011-06-22 Leo Liu <sdl.web@gmail.com>
7915
7916 * minibuffer.el (completing-read-function)
7917 (completing-read-default): Move from minibuf.c
7918
7a70468f
RS
79192011-06-22 Richard Stallman <rms@gnu.org>
7920
50718fc2
RS
7921 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7922 to Rmail even if not started by a special Rmail command.
7923
7a70468f
RS
7924 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7925 Copy the buffer currently showing just one message.
7926
297dde5a
RW
79272011-06-22 Roland Winkler <winkler@gnu.org>
7928
7929 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7930 (bibtex-clean-entry): First delete the old key so that a
7931 customized algorithm for generating the new key does not get
7932 confused by the old key.
7933 (bibtex-url): Obey regexp of first step.
7934 (bibtex-search-entries): Do not use add-to-list with local
7935 list-var.
7936
97bb1093
LMI
79372011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7938
7939 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7940 stored a user name, then query for the password first, instead of
7941 waiting for SMTP to give an error message and the trying again.
7942
1c0f1a19
JD
79432011-06-22 Lawrence Mitchell <wence@gmx.li>
7944
7945 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7946 BUFFER in call-process.
7947
396f7c9d
LMI
79482011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7949
7950 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7951 QUIT twice.
ddb7ffee
LMI
7952 (smtpmail-try-auth-methods): Require user name and password from
7953 auth-source.
396f7c9d 7954
8998d1b3
MR
79552011-06-22 Martin Rudalics <rudalics@gmx.at>
7956
7957 * window.el (display-buffer-default-specifiers)
7958 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7959 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7960 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7961
7962 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7963 (special-display-frame-alist, special-display-popup-frame):
7964 Remove duplicate declarations. These are now in window.el.
7965
4ea31e07
LMI
79662011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7967
c9d29fb8
SM
7968 * mail/smtpmail.el (smtpmail-via-smtp):
7969 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7970 server supports it. SMTP servers that support STARTTLS commonly
7971 require it.
7972
7973 * net/network-stream.el (network-stream-open-starttls): Support
7974 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7975 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7976
95f41d9a
LMI
7977 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7978 upgrades with `open-network-stream', and rely solely on
7979 auth-source for all credentials. Big changes throughout the file,
7980 but in particular:
c9d29fb8
SM
7981 (smtpmail-auth-credentials): Remove.
7982 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7983 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7984 MAIL FROM, too.
95f41d9a 7985
c9d29fb8
SM
7986 * net/network-stream.el (network-stream-open-starttls):
7987 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7988 STARTTLS.
7989 (auth-source): Require.
7990 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7991 (network-stream-certificate): Change cert-cert to cert and
7992 cert-key to key.
4ea31e07 7993
065ec2c7
MA
79942011-06-21 Michael Albinus <michael.albinus@gmx.de>
7995
7996 * net/tramp-cache.el (top): Don't load the persistency file when
7997 "emacs -Q" has been called.
7998
cd93b359
DR
79992011-06-21 Tim Harper <timcharper@gmail.com>
8000
d8e4b68b
JB
8001 * term/ns-win.el (ns-initialize-window-system):
8002 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8003 resource to NO as it is not yet supported by the NS port.
8004
ae9c0411
JB
80052011-06-21 Juanma Barranquero <lekktu@gmail.com>
8006
8007 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8008 (list-dynamic-libraries): ...not here.
8009
7f3f739f
LL
80102011-06-21 Leo Liu <sdl.web@gmail.com>
8011
8012 * subr.el (sha1): Implement sha1 using secure-hash.
8013
327c8fb1
MR
80142011-06-21 Martin Rudalics <rudalics@gmx.at>
8015
8016 * window.el (display-buffer-alist): In default value do not
8017 enforce searching a window on any but the selected frame.
8018 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8019 (display-buffer-select-window): Remove function.
8020 (display-buffer-in-window): When a window on another frame gets
8021 reused, do not select it any more but just raise its frame if
8022 necessary (Bug#8851) and (Bug#8856).
8023 (display-buffer-normalize-options): Handle pop-up-frames related
8024 options more faithfully.
8025 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8026 window if it is on another frame.
c9d29fb8
SM
8027 (display-buffer-alist, display-buffer-default-specifiers):
8028 Don't make new frame unsplittable by default.
9e9de014
MR
8029 (display-buffer-normalize-argument): Fix doc-string typo and use
8030 'same-frame-other-window instead of 'other-window when associating
8031 with display-buffer-macro-specifiers.
327c8fb1 8032
7cf3f556
VB
80332011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8034
8035 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8036 New functions.
8037 (5x5-mode-map, 5x5-mode-menu): Bind them.
8038 (5x5-draw-grid): Tweak the solver's rendering.
8039
60a406cf
SM
80402011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8041
8042 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8043 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8044
d8e4b68b 80452011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8046
8047 * menu-bar.el: Use function variable instead of switch-to-buffer.
8048 (menu-bar-select-buffer-function): New variable.
60a406cf 8049 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8050
478d6f95
SM
80512011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8054 variable's status.
8055
ca530739
JD
80562011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8057
8058 * x-dnd.el (x-dnd-version-from-flags)
8059 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8060 and long as number (Bug#8899).
8061 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8062
bcd70d97
SM
80632011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8064
60a406cf 8065 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8066 (completion-try-completion, completion-all-completions): Compute the
8067 metadata argument if it's missing; make it optional (bug#8795).
8068
60a406cf 8069 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8070 (widget-complete): Use new :completion-function property.
8071 (widget-completions-at-point): New function.
8072 (default): Use :completion-function instead of :complete.
60a406cf
SM
8073 (widget-default-completions): Rename from widget-default-complete;
8074 Rewrite.
bcd70d97
SM
8075 (widget-string-complete, widget-file-complete, widget-color-complete):
8076 Remove functions.
8077 (file, symbol, function, variable, coding-system, color):
8078 * international/mule-cmds.el (default-input-method, charset)
8079 (language-info-custom-alist):
8080 * cus-edit.el (face): Use new property :completions.
8081
8082 * progmodes/pascal.el (pascal-completions-at-point): New function.
8083 (pascal-mode): Use it.
8084 (pascal-mode-map): Use completion-at-point.
8085 (pascal-toggle-completions): Make obsolete.
8086 (pascal-complete-word, pascal-show-completions):
8087 * progmodes/octave-mod.el (octave-complete-symbol):
8088 Redefine as obsolete alias.
8089 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8090 Signal absence of completion info for old Octave,
8091 (inferior-octave-complete): Redefine as obsolete alias.
8092 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8093 (meta-completions-at-point): Rename from meta-complete-symbol and
8094 adapt it for use on completion-at-point-functions.
8095 (meta-common-mode): Use it.
8096 (meta-looking-at-backward, meta-match-buffer): Remove.
8097 (meta-complete-symbol): Redefine as obsolete alias.
8098 (meta-common-mode-map): Use completion-at-point.
8099 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8100 (makefile-mode-map): Use completion-at-point.
8101 (makefile-completions-at-point): Rename from makefile-complete and
8102 adapt it for use on completion-at-point-functions.
8103 (makefile-mode): Use it.
8104 (makefile-complete): Redefine as obsolete alias.
8105
aebf69c8
DD
81062011-06-20 Deniz Dogan <deniz@dogan.se>
8107
8108 * net/rcirc.el: Delete trailing whitespaces once and for all.
8109
bfbbb27d
DC
81102011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8111
8112 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8113
d264a46b
CY
81142011-06-19 Chong Yidong <cyd@stupidchicken.com>
8115
4ca009e5
CY
8116 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8117
d264a46b
CY
8118 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8119
fbf5b3ce
MR
81202011-06-19 Martin Rudalics <rudalics@gmx.at>
8121
8122 * window.el (display-buffer-other-window-means-other-frame):
8123 Call display-buffer-normalize-alist.
8124 (display-buffer-normalize-specifiers-1): Rename to
8125 display-buffer-normalize-argument. New argument other-frame.
8126 Rewrite.
8127 (display-buffer-normalize-specifiers-2): Rename to
8128 display-buffer-normalize-options.
8129 (display-buffer-normalize-alist-1): New function.
8130 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8131 display-buffer-normalize-alist.
8132 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8133 (display-buffer-normalize-options-inhibit): New variable.
8134 (display-buffer-normalize-specifiers): Rewrite calling
8135 display-buffer-normalize-alist,
8136 display-buffer-normalize-argument, and
8137 display-buffer-normalize-options. Don't call the latter if
8138 display-buffer-normalize-options-inhibit is non-nil.
8139 (frame-auto-delete): New option.
8140 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8141 (window-list-no-nils, window-state-ignored-parameters)
8142 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8143 (window-state-put-1, window-state-put-2, window-state-put):
8144 New functions.
9a028c23
MR
8145 (display-buffer-normalize-options): Move special-display-p group
8146 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8147
6d10d800
CY
81482011-06-18 Chong Yidong <cyd@stupidchicken.com>
8149
6420d28b
CY
8150 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8151 groups (Bug#8776).
8152 (rx-submatch-n): New function.
8153 (rx): Document it.
8154
ddb8b596
CY
8155 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8156 (Bug#8768).
8157
8158 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8159
77080289
CY
8160 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8161
61dfb316
CY
8162 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8163 anytime existing face settings are present (Bug#8889).
8164
6d10d800
CY
8165 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8166 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8167 Remove unused argument.
8168
be3fb2b8
MR
81692011-06-18 Martin Rudalics <rudalics@gmx.at>
8170
bcd70d97
SM
8171 * window.el (display-buffer-default-specifiers):
8172 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8173 pop-up-window-min-width, and another reuse-window specifier
8174 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8175 (display-buffer-normalize-specifiers-2):
8176 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8177 pop-up-windows is unset. Add a reuse-window specifier for the
8178 case popping up a new window fails.
8179 (special-display-popup-frame): Remove double quoting.
28dec25a 8180 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8181
1c6d8c76
SM
81822011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8185 according to comint-completion-addsuffix.
8186
8187 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8188 (pcomplete-suffix-list): Mark as obsolete.
8189 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8190 pcomplete-seen in the closure.
8191 (pcomplete-comint-setup): Setup completion-at-point as well.
8192 (pcomplete--entries): New function.
8193 (pcomplete--env-regexp): New var.
8194 (pcomplete-entries): Rewrite to work with partial-completion and
8195 without relying on pcomplete-suffix-list.
8196 (pcomplete-pare-list): Remove, unused.
8197
25aef8b8
MR
81982011-06-17 Martin Rudalics <rudalics@gmx.at>
8199
8200 * window.el (display-buffer-alist): Set pop-up-window-min-height
8201 and pop-up-window-min-width in default value. Reported by
8202 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8203 other-window-means-other-frame.
8204 (display-buffer-macro-specifiers): Comment out entry for
8205 other-window specifier.
8206 (display-buffer-other-window-means-other-frame): New function.
8207 (display-buffer-normalize-specifiers-1): New arguments
8208 buffer-name and label. Treat other-window case specially.
8209 (display-buffer-normalize-specifiers-2): Treat other-window case
8210 specially.
8211 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8212 (display-buffer-normalize-specifiers):
8213 Call display-buffer-normalize-specifiers-3.
25aef8b8 8214
dbad4f69
MR
82152011-06-17 Martin Rudalics <rudalics@gmx.at>
8216
8217 * window.el (same-window-p): Fix two typos introduced when
8218 adding with-no-warnings.
d1067961
MR
8219 (display-buffer-normalize-specifiers-1): Don't check
8220 pop-up-frames for 'unset initialization.
8221 (display-buffer-normalize-specifiers-2): Major rewrite using
8222 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8223 (pop-up-frames, display-buffer-reuse-frames)
8224 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8225 Suggested by David Engster <deng@randomsample.de>.
8226 (even-window-heights): Initialize to 'unset.
8227 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8228 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8229 other window case.
dbad4f69 8230
9b9c9e3a
MR
82312011-06-16 Martin Rudalics <rudalics@gmx.at>
8232
bcd70d97
SM
8233 * window.el (display-buffer-normalize-specifiers-1):
8234 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8235 second argument of display-buffer (Bug#8865).
981d5c09
MR
8236 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8237 (switch-to-buffer-other-window-same-frame)
8238 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8239 Adams (Bug#8875).
9c2755e9
MR
8240 (display-buffer): Don't check noninteractive when calling
8241 display-buffer-pop-up-frame.
8242 (display-buffer-pop-up-frame): Never pop up a frame in
8243 noninteractive mode (Bug#8857).
67222e1d
MR
8244 (enlarge-window, shrink-window): Don't report an error when the
8245 window can't be resized as requested (Bug#8862).
9b9c9e3a 8246
2b75be67
SM
82472011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8248
9ffdd3ba
SM
8249 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8250
cb581a67
SM
8251 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8252
2b75be67
SM
8253 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8254
8c0e3589
AM
82552011-06-15 Alan Mackenzie <acm@muc.de>
8256
cb581a67
SM
8257 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8258 for declarators, disable knr checking to speed up for normal files.
8259 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8260
b96e6cde
LMI
82612011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8262
4bba86e6
LMI
8263 * net/network-stream.el (open-network-stream): Add the keyword
8264 :always-query-capabilities for the case where you want to force a
8265 `plain' network connection, but the protocol still requires the
8266 capabilitiy command (i.e., SMTP and EHLO).
8267
2b75be67 8268 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8269 consistency with other `-live-p' functions.
8270
efdcdbf8
SM
82712011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8272
8273 * window.el (same-window-buffer-names, same-window-regexps)
8274 (special-display-frame-alist, special-display-popup-frame)
8275 (special-display-function, special-display-buffer-names)
8276 (special-display-regexps, pop-up-frame-alist)
8277 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8278 (pop-up-windows, split-window-preferred-function)
8279 (split-height-threshold, split-width-threshold, even-window-heights)
8280 (display-buffer-mark-dedicated): Don't encourage the use of
8281 display-buffer-alist from Elisp code.
8282
c5cde042
DN
82832011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8284
8285 * progmodes/python.el (python-mode): Derive from prog-mode.
8286 * progmodes/ps-mode.el (ps-mode):
8287 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8288 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8289 * progmodes/ld-script.el (ld-script-mode): Likewise.
8290
baa1c9ab
MR
82912011-06-15 Martin Rudalics <rudalics@gmx.at>
8292
8293 * window.el (display-buffer-alist): Trim default value to avoid
8294 popping up a new frame (Bug#8857) or reusing an arbitrary window
8295 on another frame.
8296 (display-buffer): Do not fall back on popping up a new frame in
8297 batch mode (Bug#8857).
8298
c5dd5a51
CY
82992011-06-14 Chong Yidong <cyd@stupidchicken.com>
8300
8301 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8302 (custom-theme-summary): New function.
8303 (customize-themes): Use it.
8304
d647b7c4
GM
83052011-06-13 Glenn Morris <rgm@gnu.org>
8306
8307 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8308
9481c002
MR
83092011-06-13 Martin Rudalics <rudalics@gmx.at>
8310
357f93d2
MR
8311 * help.el (help-window): Remove variable.
8312 (help-window-point-marker, temp-buffer-max-height)
8313 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8314 (help-print-return-message): Don't set help-window.
8315 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8316 (help-window-setup-finish): Remove.
8317 (help-window-display-message, help-window-setup)
8318 (with-help-window): Major rewrite based on new
8319 display-buffer-window variable.
8320
8321 * help-mode.el (help-mode-finish): Remove help-window related
8322 code.
8323
8324 * view.el (view-exits-all-viewing-windows): Remove reference to
8325 view-return-to-alist in doc-string.
8326 (view-return-to-alist): Make obsolete.
8327 (view-buffer): Call pop-to-buffer-same-window and remove
8328 undo-window code.
8329 (view-buffer-other-window): Call pop-to-buffer-other-window and
8330 simplify code. Ignore second argument.
8331 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8332 simplify code. Ignore second argument.
8333 (view-return-to-alist-update): Make obsolete.
8334 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8335 Rewrite using quit-restore window parameters.
2b75be67
SM
8336 (view-mode-exit): Rename second argument to EXIT-ONLY.
8337 Rewrite using quit-restore-window.
357f93d2
MR
8338 (View-exit, View-exit-and-edit, View-leave, View-quit)
8339 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8340 appropriate arguments.
8341 (view-end-message): Use quit-restore window parameter.
8342
9481c002
MR
8343 * window.el (display-buffer-function): Rewrite doc-string.
8344 (display-buffer-window, display-buffer-alist): New variables.
8345 (display-buffer-split-specifiers)
8346 (display-buffer-side-specifiers)
8347 (display-buffer-macro-specifiers): New constants.
8348 (display-buffer-even-window-sizes, display-buffer-set-height)
8349 (display-buffer-set-width, display-buffer-select-window)
8350 (display-buffer-in-window, display-buffer-reuse-window)
8351 (display-buffer-split-window-1, display-buffer-split-window)
8352 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8353 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8354 (display-buffer-in-side-window, normalize-buffer-to-display)
8355 (display-buffer-normalize-specifiers-1)
8356 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8357 (display-buffer-normalize-specifiers, display-buffer-frame):
8358 New functions.
9481c002
MR
8359 (display-buffer): Major rewrite.
8360 (display-buffer-other-window, display-buffer-other-frame)
8361 (pop-to-buffer, switch-to-buffer-other-window)
8362 (switch-to-buffer-other-frame): Rewrite.
8363 (display-buffer-same-window, display-buffer-same-frame)
8364 (display-buffer-same-frame-other-window)
8365 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8366 (pop-to-buffer-other-window)
8367 (pop-to-buffer-same-frame-other-window)
8368 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8369 (switch-to-buffer-other-window-same-frame): New functions.
8370 (same-window-p, special-display-p): Rewrite disabling warnings.
8371 Make obsolete.
8372 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8373 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8374 Make obsolete
8375 (same-window-buffer-names, same-window-regexps)
8376 (special-display-frame-alist, special-display-popup-frame)
8377 (special-display-function, special-display-buffer-names)
8378 (special-display-regexps, pop-up-frame-alist)
8379 (pop-up-frame-function, split-window-preferred-function)
8380 (split-height-threshold, split-width-threshold)
8381 (even-window-heights): Make obsolete.
8382
9db51aca
GM
83832011-06-12 Glenn Morris <rgm@gnu.org>
8384
8385 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8386 Misc simplifications.
9db51aca 8387
39cffb44
MR
83882011-06-12 Martin Rudalics <rudalics@gmx.at>
8389
8390 * window.el (window-safely-shrinkable-p): Restore function which
8391 was inadvertently removed in change from 2011-06-11. Declare as
8392 obsolete.
8393
2b75be67
SM
8394 * calendar/calendar.el (calendar-generate-window):
8395 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8396 window-safely-shrinkable-p.
8397
a8955be7
GM
83982011-06-12 Glenn Morris <rgm@gnu.org>
8399
8400 * progmodes/fortran.el (fortran-mode-syntax-table):
8401 * progmodes/f90.el (f90-mode-syntax-table):
8402 Set % to punctuation. (Bug#8820)
8403 (f90-find-tag-default): Remove, no longer needed.
8404
f0d4059d
DC
84052011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8406
8407 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8408
1100a63c
CY
84092011-06-11 Chong Yidong <cyd@stupidchicken.com>
8410
8411 * image.el (image-animated-p): Return animation delay in seconds.
8412 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8413 (image-animate-timeout): Remove DELAY argument. Don't assume
8414 every subimage has the same delay; get it from image-animated-p.
8415 (image-animate): Caller changed.
8416
def722bf
MA
84172011-06-11 Michael Albinus <michael.albinus@gmx.de>
8418
8419 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8420 to ignored backtrace functions.
8421
0a2bb1a9
GM
84222011-06-11 Glenn Morris <rgm@gnu.org>
8423
8424 * calendar/appt.el (appt-disp-window-function): Doc fix.
8425 (appt-check): Handle overlapping appointments. (Bug#8337)
8426
6198ccd0
MR
84272011-06-11 Martin Rudalics <rudalics@gmx.at>
8428
8429 * window.el (window-tree-1, window-tree): New functions, moving
8430 the latter to window.el.
8431 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8432 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8433 (bw-refresh-edges): Remove.
8434 (balance-windows-1, balance-windows-2): New functions.
8435 (balance-windows): Rewrite in terms of window tree functions,
8436 balance-windows-1 and balance-windows-2.
8437 (bw-adjust-window): Remove.
8438 (balance-windows-area-adjust): New function with functionality of
8439 bw-adjust-window but using resize-window.
2b75be67
SM
8440 (set-window-text-height): Rewrite doc-string.
8441 Use normalize-live-window and resize-window.
8442 (enlarge-window-horizontally, shrink-window-horizontally):
8443 Rename argument to DELTA.
6198ccd0
MR
8444 (window-buffer-height): New function.
8445 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8446 Rewrite using new window resize routines.
2b75be67
SM
8447 (kill-buffer-and-window, mouse-autoselect-window-select):
8448 Use ignore-errors instead of condition-case.
6198ccd0
MR
8449 (quit-window): Call delete-frame instead of delete-windows-on
8450 for the only buffer on frame.
8451
9397e56f
MR
84522011-06-10 Martin Rudalics <rudalics@gmx.at>
8453
8454 * loadup.el (top-level): Load window before files for the sake
8455 of replace-buffer-in-windows.
8456
8457 * files.el (read-buffer-to-switch)
8458 (switch-to-buffer-other-window)
2b75be67
SM
8459 (switch-to-buffer-other-frame, display-buffer-other-frame):
8460 Move to window.el.
9397e56f
MR
8461
8462 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8463 (previous-buffer): Move to window.el.
8464
8465 * bindings.el (unbury-buffer): Move to window.el.
8466
8467 * window.el (delete-other-windows-vertically): Move after
8468 definition of delete-other-windows.
8469 (other-window, delete-windows-on, replace-buffer-in-windows):
8470 Move here from window.c.
8471 (record-window-buffer, unrecord-window-buffer)
8472 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8473 (switch-to-next-buffer): New functions.
8474 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8475 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8476 (previous-buffer): Move here from simple.el.
8477 Call switch-to-prev-buffer.
9397e56f
MR
8478 (bury-buffer): Move here from buffer.c. Switch to previous
8479 buffer when window cannot be deleted.
8480 (unbury-buffer): Move here from bindings.el.
8481 (ctl-x-map): Move binding for other-window from window.c to
8482 here.
8483 (read-buffer-to-switch, switch-to-buffer-other-window)
8484 (switch-to-buffer-other-frame): Move here from files.el.
8485 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8486 (switch-to-buffer): Move here from buffer.c.
8487 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8488
562dd5e9
MR
84892011-06-10 Martin Rudalics <rudalics@gmx.at>
8490
8491 * window.el (window-min-height, window-min-width): Move here
8492 from window.c. Add defcustoms and rewrite doc-strings.
8493 (resize-mini-window, resize-window): New functions.
8494 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8495 Move here from window.c.
8496 (maximize-window, minimize-window): New functions.
8497 (delete-window, delete-other-windows, split-window): Move here
8498 from window.c.
8499 (window-split-min-size): New function.
8500 (split-window-keep-point): Mention split-window-above-each-other
8501 instead of split-window-vertically.
2b75be67 8502 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8503 Rename split-window-vertically to split-window-above-each-other
8504 and provide defalias for old definition.
8505 (split-window-side-by-side, split-window-horizontally):
8506 Rename split-window-horizontally to split-window-side-by-side
8507 and provide defalias for the old definition.
562dd5e9
MR
8508 (ctl-x-map): Move bindings for delete-window,
8509 delete-other-windows and enlarge-window here from window.c.
8510 Replace bindings for split-window-vertically and
8511 split-window-horizontally by bindings for
8512 split-window-above-each-other and split-window-side-by-side.
8513
8514 * cus-start.el (all): Remove entries for window-min-height and
8515 window-min-width. Add entries for window-splits and
8516 window-nest.
8517
f0da764a
GM
85182011-06-09 Glenn Morris <rgm@gnu.org>
8519
80675c21
GM
8520 * calendar/appt.el (appt-mode-line): New function.
8521 (appt-check, appt-disp-window): Use it.
8522
f0da764a
GM
8523 * files.el (hack-one-local-variable-eval-safep):
8524 Allow minor-modes with explicit +/-1 arguments.
8525
59f623b7
TZ
85262011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8527
8528 * term/xterm.el (xterm): Add defgroup.
8529 (xterm-extra-capabilities): Add defcustom to supply known xterm
8530 capabilities, skip querying them, or query them (default).
8531 (terminal-init-xterm): Use it.
8532 (terminal-init-xterm-modify-other-keys): New function to set up
8533 modifyOtherKeys support to simplify `terminal-init-xterm'.
8534
9aab8e0d
MR
85352011-06-09 Martin Rudalics <rudalics@gmx.at>
8536
8537 * window.el (resize-window-reset, resize-window-reset-1)
8538 (resize-subwindows-skip-p, resize-subwindows-normal)
8539 (resize-subwindows, resize-other-windows, resize-this-window)
8540 (resize-root-window, resize-root-window-vertically)
8541 (window-deletable-p, window-or-subwindow-p)
8542 (frame-root-window-p): New functions.
8543
e8b08aee
GM
85442011-06-09 Glenn Morris <rgm@gnu.org>
8545
8546 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8547 (ange-ftp-get-files): Use it.
8548
254c37a5
AK
85492011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8550
8551 * mail/sendmail.el (mail-recover-1, mail-recover):
8552 * files.el (recover-file, recover-session):
8553 Handle dired-listing-switches not being just a single short option.
8554
35d7dbd3
GM
85552011-06-09 Glenn Morris <rgm@gnu.org>
8556
8557 * calendar/appt.el (appt-display-message, appt-disp-window):
8558 Handle lists of appointments.
8559
387522b2
MR
85602011-06-08 Martin Rudalics <rudalics@gmx.at>
8561
2b75be67
SM
8562 * window.el (one-window-p): Move down in code.
8563 Rewrite doc-string.
8564 (window-current-scroll-bars): Rewrite doc-string.
8565 Normalize live window argument.
387522b2
MR
8566 (walk-windows, get-window-with-predicate, count-windows):
8567 Rewrite doc-string. Use window-list-1.
8568 (window-in-direction-2, window-in-direction, get-mru-window):
8569 New functions.
8570
d8e4b68b 85712011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8572
8573 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8574 Doc fix (Bug#8713).
8575
85762011-06-08 Chong Yidong <cyd@stupidchicken.com>
8577
8578 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8579
85802011-06-08 Juanma Barranquero <lekktu@gmail.com>
8581
8582 * loadhist.el (unload-feature-special-hooks):
8583 Add `comint-output-filter-functions'.
8584
0de12c52
IK
85852011-06-08 Ivan Kanis <gnu@kanis.fr>
8586
8587 * calendar/appt.el (appt-check): Move some initializations into the let.
8588
f3d1777e
MR
85892011-06-08 Martin Rudalics <rudalics@gmx.at>
8590
8591 * window.el (window-height): Defalias to window-total-height.
8592 (window-width): Defalias to window-body-width.
8593
18af70d0
CY
85942011-06-07 Chong Yidong <cyd@stupidchicken.com>
8595
8596 * image-mode.el (image-toggle-animation): New command.
8597 (image-mode-map): Bind it to RET.
8598 (image-mode): Update message.
8599 (image-toggle-display-image): Avoid a spurious cache flush.
8600 (image-transform-rotation): Doc fix.
8601 (image-transform-properties): Return quickly in the normal case.
8602 (image-animate-loop): Rename from image-animate-max-time.
8603
2b75be67 8604 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8605 (create-animated-image): Remove unnecessary function.
8606 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8607 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8608 (image-animate-timer): Use car-safe.
8609 (image-animate-timeout): Rename argument.
8610
190b47e6
MR
86112011-06-07 Martin Rudalics <rudalics@gmx.at>
8612
8613 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8614 window.c. Rename first argument to ALL-FRAMES.
8615 Rephrase doc-strings.
8616 (get-buffer-window-list): Rewrite using window-list-1.
8617 Rephrase doc-string.
a1511caf
MR
8618 (window-safe-min-height, window-safe-min-width): New constants.
8619 (window-size-ignore, window-min-size, window-min-size-1)
8620 (window-sizable, window-sizable-p, window-size-fixed-1)
8621 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8622 (window-max-delta-1, window-max-delta, window-resizable)
8623 (window-resizable-p, window-total-height, window-total-width)
8624 (window-body-width): New functions.
8625 (window-full-height-p, window-full-width-p): Rewrite using
8626 window-total-size.
8627 (window-body-height): Rewrite using window-body-size.
190b47e6 8628
85cc1f11
MR
86292011-06-06 Martin Rudalics <rudalics@gmx.at>
8630
8631 * window.el (window-right, window-left, window-child)
8632 (window-child-count, window-last-child, window-any-p)
8633 (normalize-live-buffer, normalize-live-frame)
8634 (normalize-any-window, normalize-live-window)
8635 (window-iso-combination-p, window-iso-combined-p)
8636 (window-iso-combinations)
8637 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8638 (windows-with-parameter, window-with-parameter)
8639 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8640 (window-atom-check, window-side-check, window-check):
8641 New functions.
85cc1f11
MR
8642 (ignore-window-parameters, window-sides, window-sides-vertical)
8643 (window-sides-slots): New variables.
8644 (window-size-fixed): Move down in code. Minor doc-string fix.
8645
e7156492
AS
86462011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8647
8648 * comint.el (comint-dynamic-complete-as-filename)
8649 (comint-dynamic-complete-filename): Correctly call
8650 completion-in-region.
8651
7e821d0d
DD
86522011-06-05 Deniz Dogan <deniz@dogan.se>
8653
8654 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8655 in last change.
8656
ac09b8a1
DD
86572011-06-05 Deniz Dogan <deniz@dogan.se>
8658
8659 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8660 (rcirc): Use it to prompt for encryption.
8661
34699b85
RW
86622011-06-05 Roland Winkler <winkler@gnu.org>
8663
8664 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8665 (bibtex-search-entries): New command bound to C-c C-a.
8666 (bibtex-display-entries): New function.
8667
004dedd3
RW
86682011-06-05 Roland Winkler <winkler@gnu.org>
8669
8670 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8671 (bibtex-insert-kill): After yanking insert newline if necessary.
8672 (bibtex-initialize): Call bibtex-string-files-init only once.
8673 (bibtex-mode): Do not call easy-menu-add.
8674 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8675 (bibtex-yank): Set arg properly if nil.
8676
022fe7ce
RW
86772011-06-05 Roland Winkler <winkler@gnu.org>
8678
2b75be67
SM
8679 * textmodes/bibtex.el (bibtex-search-entry-globally):
8680 New variable.
022fe7ce
RW
8681 (bibtex-search-entry): Use it.
8682
b7c3692a
RW
86832011-06-05 Roland Winkler <winkler@gnu.org>
8684
8685 * textmodes/bibtex.el (bibtex-entry-format): New option
8686 sort-fields.
8687 (bibtex-format-entry, bibtex-reformat): Honor this option.
8688 (bibtex-parse-entry): Return fields in proper order.
8689
8eda563d
JB
86902011-06-05 Juanma Barranquero <lekktu@gmail.com>
8691
8692 * doc-view.el (doc-view-remove-if): Move computation of result out
8693 of `dolist' to silence misleading lexical-binding warning.
8694
7dbe3dbc
CY
86952011-06-04 Chong Yidong <cyd@stupidchicken.com>
8696
8697 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8698 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8699
0c33dd17
MA
87002011-06-04 Michael Albinus <michael.albinus@gmx.de>
8701
8702 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8703 "SunOS 5.10".
8704
f8f91c2b
MA
87052011-06-04 Michael Albinus <michael.albinus@gmx.de>
8706
8707 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8708 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8709 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8710 (tramp-parse-putty):
8711 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8712 (tramp-completion-function-alist-ssh)
8713 (tramp-completion-function-alist-telnet)
8714 (tramp-completion-function-alist-su)
8715 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8716 cookie.
8717
8718 * net/tramp-ftp.el:
8719 * net/tramp-sh.el:
8720 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8721 load "tramp.el" `tramp-set-completion-function'.
8722
e17d9003
SM
87232011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8724
8725 * shell.el: Require and use pcomplete.
8726 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8727 (shell-completion-vars): Set pcomplete-default-completion-function.
8728
6c4cab03
DD
87292011-06-04 Deniz Dogan <deniz@dogan.se>
8730
8731 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8732 `memq' (Bug#8799).
8733
ea9fafe0
SM
87342011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8735
8736 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8737
b3e945d3
JB
87382011-06-02 Juanma Barranquero <lekktu@gmail.com>
8739
8740 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8741 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8742 * vc/log-view.el (log-view-beginning-of-defun):
8743 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8744 (smerge-refine-forward, smerge-refine-chopup-region):
8745 Silence warning for unused `dotimes' counter variables.
8746
7d520089
SM
87472011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8748
8749 * net/tramp.el (tramp-with-progress-reporter): Rename from
8750 with-progress-reporter. Use `declare'.
8751 * net/tramp-smb.el:
8752 * net/tramp-sh.el:
8753 * net/tramp-gvfs.el: Update all uses.
8754
a1c2400f
JB
87552011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8756
8757 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8758 buffer isn't killed before making it current.
8759
2403c841
SM
87602011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8761
8762 Silence various byte-compiler warnings.
8763 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8764 `access-type' and new obsolescence format.
8765 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8766 new format.
8767 (byte-compile-check-variable): New `access-type' argument.
8768 Only warn if the access-type is obsolete.
8769 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8770 (byte-compile-variable-set): Adjust callers.
8771 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8772 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8773 setting it as obsolete.
8774 * simple.el (minibuffer-completing-symbol):
8775 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8776 access as obsolete.
8777 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8778 obsolete yet.
8779 * international/quail.el (quail-mouse-choose-completion): Remove unused
8780 code referring to obsolete var.
8781 (quail-choose-completion-string): Remove.
8782 * server.el (server-clients-with, server-kill-buffer-query-function)
8783 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8784 * proced.el (proced-send-signal):
8785 * emacs-lisp/lisp.el (lisp-complete-symbol):
8786 Replace completion-annotate-function with completion-extra-properties.
8787
2462470b
SM
87882011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8789
fb5b2591
SM
8790 * simple.el (goto-line): Use read-number.
8791 (overriding-map-is-bound): Remove.
8792 (saved-overriding-map): Change default.
8793 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8794 Take the map as argument.
8795 (universal-argument, negative-argument, digit-argument): Use it.
8796 (restore-overriding-map): Adjust.
8797 (do-auto-fill): Use fill-forward-paragraph.
8798 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8799
fd6fa53f
SM
8800 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8801 (minibuffer-inactive-mode): New major mode.
8802 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8803 the *Messages* buffer" hack.
8804 (mouse-popup-menubar): Don't burp if the event is a normal key.
8805
2462470b
SM
8806 Miscellaneous tweaks.
8807 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8808 lexical scoping as in subr.el's dolist and dotimes.
8809 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8810 Silence compiler warning.
8811 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8812 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8813 * international/ccl.el (ccl-compile): Trivial simplification.
8814 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8815 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8816 `printflag' argument.
8817 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8818 Purecopy the whole obsolescence data.
8819
108bf785
LL
88202011-06-01 Leo Liu <sdl.web@gmail.com>
8821
8822 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8823 improve doc-string as suggested by Marco Pessotto
8824 <melmothx@gmail.com>.
8825 (rcirc-print): Fix last change.
8826
30a23501
SM
88272011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8828
8829 * minibuffer.el (complete-with-action): Return nil for the metadata and
8830 boundaries of non-functional tables.
8831 (completion-table-dynamic): Return nil for the metadata.
8832 (completion-table-with-terminator): Add default case, using
8833 complete-with-action.
8834 (completion--metadata): New function.
8835 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8836 to try and avoid pathological performance problems.
8837 (completion--embedded-envvar-table): Return `category' metadata.
8838
bcd54f83
LMI
88392011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8840
8841 * subr.el (process-alive-p): New tiny convenience function.
8842
e227544d
SM
88432011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8844
8845 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8846 content but also its previous major mode.
8847
e8296fdc
HE
88482011-05-31 Helmut Eller <eller.helmut@gmail.com>
8849
4d61f28d 8850 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8851 *Backtrace* buffer when we exit with C-M-c.
8852
620c53a6
SM
88532011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * minibuffer.el: Add metadata method to completion tables.
8856 (completion-category-overrides): New defcustom.
8857 (completion-metadata, completion--field-metadata)
8858 (completion-metadata-get, completion--styles)
8859 (completion--cycle-threshold): New functions.
8860 (completion-try-completion, completion-all-completions):
8861 Add `metadata' argument to choose completion-styles.
8862 (completion--do-completion): Use metadata to choose cycling.
8863 (completion-all-sorted-completions): Use metadata for sorting.
8864 Remove :completion-cycle-penalty which is not needed any more.
8865 (completion--try-word-completion): Add `metadata' argument.
8866 (minibuffer-completion-help): Check metadata for annotation function
8867 and sorting.
8868 (completion-file-name-table): Return `category' metadata.
8869 (minibuffer-completing-file-name): Make obsolete.
8870 * simple.el (minibuffer-completing-symbol): Make obsolete.
8871 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8872 completion-try-completion.
8873
1257e755
SM
88742011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8875
8876 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8877
3767e706
LL
88782011-05-30 Leo Liu <sdl.web@gmail.com>
8879
8880 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8881 (rcirc-print): Decode all incoming messages (bug#8744).
8882 (rcirc-decode-coding-system): Allow value nil for automatic coding
8883 system detection.
3767e706 8884
d1a5d56a
GM
88852011-06-01 Glenn Morris <rgm@gnu.org>
8886
8887 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8888
e8cbec34
CY
88892011-05-29 Chong Yidong <cyd@stupidchicken.com>
8890
8891 * image.el (image-animate-max-time): Allow nil and t values.
8892 Default to nil.
8893 (create-animated-image): Doc fix.
8894 (image-animate-start): Remove second arg; just use
8895 image-animate-max-time.
8896 (image-animate-timeout): Doc fix. Args changed.
8897
8898 * image-mode.el (image-toggle-display-image): Ensure that the
8899 image spec passed to the animate timer is the same object as in
58179cce 8900 the buffer's display property (Bug#6981).
e8cbec34
CY
8901 (image-transform-properties): Doc fix.
8902
8903 * image.el (image-animate-max-time): Default to nil.
8904
159daf87
MR
89052011-05-29 Martin Rudalics <rudalics@gmx.at>
8906
8907 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8908 entire buffer list (Bug#8184).
8909
d66c4c7c
CY
89102011-05-29 Chong Yidong <cyd@stupidchicken.com>
8911
8912 * image.el (imagemagick-types-inhibit)
8913 (imagemagick-register-types): Doc fix.
8914
80aec780
DD
89152011-05-29 Deniz Dogan <deniz@dogan.se>
8916
8917 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8918 default.
8919
1dd3c2d9
CY
89202011-05-29 Chong Yidong <cyd@stupidchicken.com>
8921
8922 * select.el: Don't perform clipboard-manager saving in hooks;
8923 leave the hooks empty.
8924
60e56523
LL
89252011-05-28 Leo Liu <sdl.web@gmail.com>
8926
8927 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8928 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8929 (occur-edit-mode): New major mode (Bug#8463).
8930 (occur-after-change-function): New function.
8931 (occur-engine): Give Occur tags a read-only property.
8932
2b1e1a22
KR
89332011-05-28 Kevin Ryde <user42@zip.com.au>
8934
8935 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8936
5d344e88
CY
89372011-05-28 Chong Yidong <cyd@stupidchicken.com>
8938
8e6ca83d
CY
8939 * bindings.el (help-echo): Make the initial non-indicator dash
8940 empty on graphical terminals (Bug#7295).
8941
5d344e88
CY
8942 * files.el (auto-mode-alist): Move config rule after the
8943 in-stripping one (Bug#8547).
8944
bfbbace7
CY
8945 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8946
fbeba6e2
CY
8947 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8948 setting (Bug#8740).
8949
60ed8c72
AA
89502011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8951
4ac619f0
AA
8952 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8953 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8954 (Bug#8539).
60ed8c72 8955
23db196e
CY
89562011-05-28 Chong Yidong <cyd@stupidchicken.com>
8957
8958 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8959
5012f24c
DK
89602011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8961
8962 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8963 (hs-hide-block-at-point, hs-find-block-beginning)
8964 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8965 (Bug#8279).
8966
6a639b16
GM
89672011-05-28 Glenn Morris <rgm@gnu.org>
8968
8969 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8970
d43eaf2c
CY
89712011-05-28 Chong Yidong <cyd@stupidchicken.com>
8972
5199bde1
CY
8973 * help-fns.el (describe-function-1): If the function is a derived
8974 major mode, print the parent mode.
8975
d43eaf2c
CY
8976 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8977 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8978
423428a8
SM
89792011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8980
0ff8e1ba 8981 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8982 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8983 * progmodes/etags.el (tags-completion-at-point-function):
8984 * info-look.el (info-lookup-completions-at-point): Mark as
8985 non-exclusive.
8986 (info-complete): Adjust accordingly.
8987
423428a8
SM
8988 * info-look.el: Convert to lexical-binding and completion-at-point.
8989 (info-lookup-completions-at-point): New function.
8990 (info-complete): Use it and completion-in-region.
8991
b74aa22b
DA
89922011-05-28 Drew Adams <drew.adams@oracle.com>
8993
8994 * isearch.el: Let M-e start with point at the first mismatched char.
8995 (isearch-fail-pos): New function.
8996 (isearch-edit-string): Use it.
8997
66e2e71d
DK
89982011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8999
9000 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9001
b1890b0f 90022011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9003
9004 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9005 traversal functions for avl-trees.
9006 (avl-tree--stack): New struct.
9007 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9008 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9009 (avl-tree--do-enter): Add optional `updatefun' arg.
9010 Change return value.
eb95d01d 9011 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9012 (avl-tree--do-delete): Add `test' and `nilflag' args.
9013 Change return value.
eb95d01d
TC
9014 (avl-tree-member): Add optional `nilflag'
9015 (avl-tree-member-p): New function.
9016 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9017 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9018 (avl-tree-stack-empty-p): New functions.
9019
3769ddcf
TC
9020 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9021 avl-tree--del-balance1 and make it work both ways.
9022 (avl-tree--del-balance2): Remove.
9023 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9024 make it work both ways.
9025 (avl-tree--enter-balance2): Remove.
9026 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9027 New macros.
9028 (avl-tree--mapc, avl-tree-map): Add direction argument.
9029
eb95d01d 90302011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9031
9032 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9033
a9f737ee
CY
90342011-05-27 Chong Yidong <cyd@stupidchicken.com>
9035
9036 * select.el: Support clipboard managers with built-in function
9037 x-clipboard-manager-save, via delete-frame-functions and
9038 kill-emacs-hook.
9039 (xselect-convert-to-targets): Add MULTIPLE target to list.
9040 (xselect-convert-to-save-targets): New function.
9041
c92a1e54
KH
90422011-05-27 Kenichi Handa <handa@m17n.org>
9043
9044 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9045 let-binding rfc2047-encode-encoded-words to nil.
9046
e145f188
GM
90472011-05-27 Glenn Morris <rgm@gnu.org>
9048
5ec8a862
GM
9049 * mail/emacsbug.el: Don't require url-util.
9050
4b29d9fb
GM
9051 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9052
e145f188
GM
9053 * files.el (set-auto-mode):
9054 Also respect mode: entries at the end of the file. (Bug#8586)
9055
7d15102b
GM
90562011-05-26 Glenn Morris <rgm@gnu.org>
9057
98f593b8
GM
9058 * files.el (hack-local-variables-prop-line, hack-local-variables):
9059 Downcase mode names, as seems to be traditional.
27b48e63 9060 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9061
7d15102b
GM
9062 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9063 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9064
51d5b4ec
JD
90652011-05-25 Julien Danjou <julien@danjou.info>
9066
9067 * textmodes/rst.el (rst-define-level-faces): Do not define face
9068 symbol if it is already defined.
9069
91513f63
VB
90702011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9071
9072 * play/5x5.el (5x5-new-game, 5x5-randomize):
9073 Reset 5x5-solver-output to nil when a new grid is cast.
9074 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9075 these debugging traces, as defmacro breaks the compiled code.
9076
4d90d6d0
DK
90772011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9078
9079 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9080
e1b90ef6
LL
90812011-05-24 Leo Liu <sdl.web@gmail.com>
9082
9083 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9084 (vc-bzr-sha1): Adapt.
9085
d8e4b68b 9086 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9087
9088 * bindings.el: Provide sha1 feature.
9089
db0406bb 90902011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9091
9092 * mail/sendmail.el: Require `rfc2047'.
9093 (mail-insert-from-field): Do not perform RFC2047 encoding.
9094 (mail-encode-header): New function.
9095 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9096 buffer to the return value of select-message-coding-system.
9097 Call mail-encode-header.
b8d747b9
KH
9098
9099 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9100
db0406bb 91012011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9102
4d90d6d0
DK
9103 * mail/supercite.el (sc-default-cite-frame):
9104 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9105
eb8a5e9b
GM
91062011-05-24 Glenn Morris <rgm@gnu.org>
9107
f8630703
GM
9108 * progmodes/python.el (brm-menu): Declare.
9109
8831bbed
GM
9110 * emulation/viper.el (viper-set-hooks): Declare.
9111
eb8a5e9b
GM
9112 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9113 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9114 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9115 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9116 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9117 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9118
a2a25d24
SM
91192011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9120
9121 Add an :exit-function for completion-at-point.
9122
9123 * minibuffer.el (completion--done): New fun.
9124 (completion--do-completion): Use it. New arg `expect-exact'.
9125 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9126 since completion--do-completion does it for us now.
9127 (minibuffer-force-complete): Use completion--done and
9128 completion--replace. Handle sole-completion case with more care.
9129 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9130 (completion-extra-properties): New var.
9131 (completion-annotate-function): Make obsolete.
9132 (minibuffer-completion-help): Adjust accordingly.
9133 Use completion-list-insert-choice-function.
9134 (completion-at-point, completion-help-at-point):
9135 Bind completion-extra-properties.
9136 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9137 * simple.el (completion-list-insert-choice-function): New var.
9138 (completion-setup-function): Preserve it.
9139 (choose-completion): Pay attention to it, shuffle the code a bit.
9140 (choose-completion-string): New arg `insert-function'.
9141
9142 * textmodes/bibtex.el: Convert to lexical binding.
9143 (bibtex-mode-map): Use completion-at-point.
9144 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9145 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9146 (bibtex-complete): Define as obsolete alias.
9147 (bibtex-complete-internal): Remove.
9148 (bibtex-format-entry): Remove unused sub-group in regexp.
9149 * shell.el (shell--command-completion-data)
9150 (shell-environment-variable-completion):
9151 * pcomplete.el (pcomplete-completions-at-point):
9152 * comint.el (comint--complete-file-name-data): Use :exit-function
9153 instead of completion-table-with-terminator so it also works for
9154 choose-completion.
9155
e44e373d
SM
91562011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9157
4f91a816
SM
9158 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9159
782fc819
SM
9160 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9161 (bug#8710).
9162
e44e373d
SM
9163 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9164
381987c3
KM
91652011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9166
9167 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9168 customization variable and implement: If non-nil, auto-fill will
9169 be inhibited while on topic's header line.
9170
b776bc70
VB
91712011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9172
9173 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9174 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9175 always have a solution in grid size = 5 cases.
9176 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9177 (5x5-solver-output, 5x5-log-buffer): New vars.
9178 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9179 Make these variables buffer local to achieve 5x5 multi-session-ness.
9180 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9181 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9182 (5x5-solve-suggest): New funs.
9183 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9184 randomize a grid so that we ensure that there is always a solution.
9185 (5x5-make-random-grid): Allow other movement than flipping.
9186
7de88b6e
KR
91872011-05-23 Kevin Ryde <user42@zip.com.au>
9188
9189 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9190 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9191 advice and passes PREDICATE.
9192
b1ef1257
SM
91932011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9194
bbca48fe
SM
9195 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9196 byte-compile-lambda if it's actually a lambda.
9197
b1ef1257
SM
9198 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9199 Fix function quoting. Use backquote better.
9200
92a9cc65
YS
92012011-05-22 Yuanle Song <sylecn@gmail.com>
9202
9203 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9204 matching (Bug#8516).
9205
f0fb8059
JA
92062011-01-22 Jari Aalto <jari.aalto@cante.net>
9207
9208 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9209 different face (Bug#8178).
9210
d5b44c93
CY
92112011-05-22 Chong Yidong <cyd@stupidchicken.com>
9212
9213 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9214 defface (Bug#8144).
9215
79106a44
SM
92162011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9217
9c848d8a
SM
9218 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9219 funcall as well (bug#8712). Warn when performing those conversions.
9220 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9221
79106a44
SM
9222 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9223
88dfa756
GM
92242011-05-22 Glenn Morris <rgm@gnu.org>
9225
9226 * files.el (hack-local-variables-prop-line): Small simplifications.
9227 (hack-local-variables, hack-local-variables-prop-line):
9228 If MODE-ONLY, return the mode, rather than just `t'.
9229
b7cf2c79
SM
92302011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9231
9232 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9233
3f1a8558
GM
92342011-05-21 Glenn Morris <rgm@gnu.org>
9235
7e4ccca3
GM
9236 * files.el (hack-local-variables-prop-line, hack-local-variables):
9237 If only interested in the mode, don't bother doing the other stuff.
9238
637d46ca
GM
9239 * image-mode.el (image-after-revert-hook):
9240 Redraw all frames on which the image is visible. (Bug#8567)
9241
973d955b
GM
9242 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9243
3f1a8558
GM
9244 * wid-edit.el (widget-checklist-match-inline):
9245 Fix 2011-04-19 change. (Bug#8649)
9246
96479927
SM
92472011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9248
1dcf791f
SM
9249 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9250 Also allow singlespace after single-letter capitals followed by a dot.
9251
96479927
SM
9252 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9253 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9254
35fd0881
N
92552011-05-20 Nix <nix@esperi.org.uk>
9256
9257 * files.el (basic-save-buffer-2):
9258 Fix handling of break-hardlink-on-save with non-existent files.
9259
82745640
DD
92602011-05-19 Deniz Dogan <deniz@dogan.se>
9261
9262 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9263 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9264
4a720484
GM
92652011-05-19 Glenn Morris <rgm@gnu.org>
9266
d1f21341
GM
9267 * progmodes/f90.el (f90-type-def-re):
9268 Handle "type, bind(c)". (Bug#8691)
9269
4a720484
GM
9270 * emacs-lisp/autoload.el (batch-update-autoloads):
9271 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9272
2fb0a219
MA
92732011-05-18 Michael Albinus <michael.albinus@gmx.de>
9274
9275 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9276 property for the correct connection in case of multihops.
9277
e565dd37
GM
92782011-05-18 Glenn Morris <rgm@gnu.org>
9279
c2571358 9280 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9281 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9282
e565dd37
GM
9283 Rationalize calendar handling of day and month abbrev-arrays.
9284 * calendar/calendar.el (calendar-customized-p): New function.
9285 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9286 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9287 Add :set function.
9288 (calendar-abbrev-length, calendar-day-abbrev-array)
9289 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9290 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9291 Elements may no longer be nil.
9292 (calendar-day-name, calendar-month-name):
9293 Update for changed nature of abbrev arrays.
9294 * calendar/diary-lib.el (diary-name-pattern):
9295 Update for changed nature of abbrev arrays.
9296 (diary-mark-entries-1): Update calendar-make-alist calls.
9297 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9298 * calendar/cal-html.el (cal-html-day-abbrev-array):
9299 Simply inherit from calendar-day-abbrev-array.
9300
1d99a745
SM
93012011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9302
9303 * progmodes/grep.el (grep-mode): Disable default
9304 compilation-directory-matcher setting (bug#8684).
9305
7c1d9aa0
MA
93062011-05-17 Michael Albinus <michael.albinus@gmx.de>
9307
9308 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9309 instead of "head" and "tail". There were problems with SunOS 5.9,
9310 and it performs better.
9311
3952e9d8
GM
93122011-05-17 Glenn Morris <rgm@gnu.org>
9313
2dd12e7f
GM
9314 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9315
e4157b9c
GM
9316 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9317 Replace obsolete function.
9318
8e249bbd
GM
9319 * shell.el (pcomplete-parse-arguments-function): Declare.
9320
3952e9d8
GM
9321 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9322 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9323 (appt-check): Doc fixes.
9324 (appt-disp-window-function, appt-delete-window-function):
9325 Remove needless special case in custom :type.
9326 (appt-display-count): Default to 0, not nil.
9327 (appt-check): Reset appt-display-count to 0, not nil.
9328
c71a0d48 93292011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9330
c71a0d48
GM
9331 * progmodes/python.el (python-font-lock-keywords):
9332 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9333
31d55be9
SM
93342011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9335
9336 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9337
3bfacb2f
KR
93382011-05-16 Kevin Ryde <user42@zip.com.au>
9339
9340 * info-look.el (makefile-automake-mode): New setups, looking in
9341 automake manual, then makefile-mode.
9342 (makefile-mode): Remove automake manual, have it just in
9343 makefile-automake-mode since there's various things different or
9344 not relevant to plain make.
9345 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9346 believe a hypothetical automake-mode would go to makefile-mode,
9347 not the other way around.
9348
c8e83751
CY
93492011-05-15 Chong Yidong <cyd@stupidchicken.com>
9350
5e9e35cd
CY
9351 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9352 hunk-end tags (Bug#8672).
9353
c8e83751
CY
9354 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9355 vc-annotate-show-diff-revision-at-line (Bug#8671).
9356
50b23e5a
GM
93572011-05-14 Glenn Morris <rgm@gnu.org>
9358
7210a739
GM
9359 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9360 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9361 (change-log-font-lock-keywords): Also handle multiple author lines
9362 with leading tabs. (Bug#8644)
7210a739 9363
4691905a
GM
9364 * calendar/appt.el (appt-check): Rename some local variables.
9365 Some simplification/reordering.
9366
50b23e5a
GM
9367 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9368 (feedmail-sendmail-f-doesnt-sell-me-out)
9369 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9370 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9371 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9372 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9373 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9374 (feedmail-binmail-gnulinuxish-template):
9375 Rename from feedmail-binmail-linuxish-template.
9376 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9377 Use insert-buffer-substring.
9378
215cda7c
BC
93792011-05-14 Bill Carpenter <bill@carpenter.org>
9380
9381 * mail/feedmail.el (feedmail-patch-level): Increase.
9382 (feedmail-debug): New custom group.
9383 (feedmail-confirm-outgoing-timeout)
9384 (feedmail-sendmail-f-doesnt-sell-me-out)
9385 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9386 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9387 (feedmail-sender-line, feedmail-from-line)
9388 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9389 (feedmail-spray-this-address)
215cda7c
BC
9390 (feedmail-spray-address-fiddle-plex-list)
9391 (feedmail-queue-use-send-time-for-date)
9392 (feedmail-queue-use-send-time-for-message-id)
9393 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9394 (feedmail-buffer-eating-function):
9395 Doc fixes.
9396 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9397 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9398 (feedmail-message-action-scroll-down): New functions.
9399 (feedmail-queue-directory, feedmail-queue-draft-directory):
9400 Use expand-file-name.
9401 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9402 Remove C-v help entry.
9403 (feedmail-queue-buffer-file-name): New variable.
9404 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9405 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9406 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9407 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9408 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9409 (feedmail-message-action-toggle-spray)
9410 (feedmail-run-the-queue-no-prompts)
9411 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9412 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9413 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9414 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9415 (feedmail-envelope-deducer, feedmail-fiddle-from)
9416 (feedmail-fiddle-sender, feedmail-default-date-generator)
9417 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9418 (feedmail-fiddle-spray-address)
9419 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9420 (feedmail-fiddle-list-of-fiddle-plexes)
9421 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9422 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9423 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9424 Change default. Doc fix.
9425 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9426 (feedmail-binmail-linuxish-template): New constant.
9427 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9428 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9429 (feedmail-send-it): Add debug call.
9430 Use feedmail-queue-buffer-file-name, and
9431 feedmail-send-it-immediately-wrapper.
9432 (feedmail-message-action-send): Add debug call.
9433 Use feedmail-send-it-immediately-wrapper.
9434 (feedmail-queue-express-to-queue): Add debug call.
9435 Run feedmail-queue-express-hook.
9436 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9437 (feedmail-message-action-help-blat):
9438 Rename from feedmail-queue-send-edit-prompt-help-first.
9439 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9440 Check line-endings. Handle errors better.
9441 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9442 Doc fix. Add debug call.
9443 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9444 Use feedmail-queue-send-edit-prompt-inner.
9445 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9446 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9447 from feedmail-queue-send-edit-prompt.
9448 (feedmail-queue-send-edit-prompt-help)
9449 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9450 (feedmail-tidy-up-slug): Add debug call.
9451 Respect feedmail-queue-slug-suspect-regexp.
9452 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9453 (feedmail-dump-message-to-queue): Add debug call.
9454 Expand queue-directory.
9455 (feedmail-dump-message-to-queue): Change message slightly.
9456 Use feedmail-say-chatter.
9457 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9458 (feedmail-send-it-immediately-wrapper): New function.
9459 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9460 Insert empty string rather than newline. Handle full-frame case.
9461 Use catch/throw. Use feedmail-say-chatter.
9462 (feedmail-fiddle-from): Try mail-host-address.
9463 (feedmail-default-message-id-generator): Doc fix.
9464 Bind system-time-locale. Handle missing end.
9465 (feedmail-fiddle-x-mailer): Add debug call.
9466 Handle feedmail-x-mailer-line being nil.
9467 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9468 Add debug call. Use buffer-substring-no-properties.
9469 (feedmail-say-debug, feedmail-say-chatter): New functions.
9470 (feedmail-find-eoh): Give an explicit error.
9471
42c7e61e
UJ
94722011-05-13 Ulf Jasper <ulf.jasper@web.de>
9473
c2571358 9474 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9475 family from helvetica to sans.
c2571358 9476 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9477 etc/images/newsticker.
9478
c2571358 9479 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9480 family from helvetica to sans.
9481
9482 * net/newst-plainview.el (newsticker-new-item-face)
9483 (newsticker-old-item-face, newsticker-immortal-item-face)
9484 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9485 (newsticker-statistics-face): Change default family from
42c7e61e 9486 helvetica to sans.
c2571358 9487 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9488 etc/images/newsticker.
9489
9490 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9491 (newsticker--process-auto-mark-filter-match): : Tell user about
9492 auto-marking.
9493
8497a297
DV
94942011-05-13 Didier Verna <didier@xemacs.org>
9495
9496 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9497 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9498 TODO entries.
8497a297
DV
9499 (lisp-lambda-list-keyword-parameter-indentation)
9500 (lisp-lambda-list-keyword-parameter-alignment)
9501 (lisp-lambda-list-keyword-alignment): New customizable user options.
9502 (lisp-indent-defun-method): Improve docstring.
9503 (extended-loop-p): Fix comment.
9504 (lisp-indent-lambda-list-keywords-regexp): New variable.
9505 (lisp-indent-lambda-list): New function.
9506 (lisp-indent-259): Use it.
9507 (lisp-indent-defmethod): Support for more than one
9508 method qualifier and properly indent methods lambda-lists.
9509 (defgeneric): Provide a missing common-lisp-indent-function property.
9510
f278f87f
SM
95112011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9512
9513 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9514 bounds for the empty string (bug#8667).
9515
5233edd7
GM
95162011-05-13 Glenn Morris <rgm@gnu.org>
9517
5237a44f
GM
9518 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9519
8340026c 9520 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9521 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9522
5233edd7 9523 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9524 (appt-time-msg-list): Doc fix.
a5464014 9525 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9526
92d10796
AS
95272011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9528
9529 * progmodes/ld-script.el (ld-script-keywords)
9530 (ld-script-builtins): Update keywords list.
9531
914a0ae1
SM
95322011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9533
c89be45f
SM
9534 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9535
914a0ae1
SM
9536 * shell.el (shell-completion-vars): New function.
9537 (shell-mode):
9538 * simple.el (read-shell-command): Use it.
9539 (blink-matching-open): No need for " [...]" in minibuffer-message.
9540
98dc3df3
GM
95412011-05-12 Glenn Morris <rgm@gnu.org>
9542
9543 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9544 (appt-check): Simplify.
9545
d2fc7e3d 95462011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9547
4d61f28d 9548 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9549 literal "/dev/null".
9550
d2fc7e3d 95512011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9552
9553 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9554 Fix typo.
9555
d2fc7e3d 95562011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9557
3f254caa
SM
9558 * progmodes/which-func.el (which-function):
9559 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9560 which might not be defined (Bug#8260).
9561
d45885f7
GM
95622011-05-12 Glenn Morris <rgm@gnu.org>
9563
9564 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9565 Let byte-compile-initial-macro-environment always take precedence.
9566
488086f4
SM
95672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9568
9569 * net/rcirc.el: Add support for SSL/TLS connections.
9570 (rcirc-server-alist): New field `encryption'.
9571 (rcirc): Check `encryption' settings.
9572 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9573 Merge make-local-variable into `set'.
9574 (rcirc--connection-open-p): New function.
9575 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9576 the process is not a network process (e.g. running gnutls-cli).
9577 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9578 Make rcirc-(en|de)code-coding-system local here.
9579 (rcirc-mode): Merge make-local-variable into `set'.
9580 (rcirc-parent-buffer): Make permanent buffer-local.
9581 (rcirc-multiline-minor-mode): Don't do it here.
9582 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9583 there's no server buffer.
9584
7d3b9d44
GM
95852011-05-11 Glenn Morris <rgm@gnu.org>
9586
f64049c6
GM
9587 * newcomment.el (comment-kill): Prefix "unused" local.
9588
93c9df73
GM
9589 * term/w32console.el (get-screen-color): Declare.
9590
7d3b9d44
GM
9591 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9592 Handle symbol elements of byte-compile-initial-macro-environment.
9593
9e2dd53f
LL
95942011-05-10 Leo Liu <sdl.web@gmail.com>
9595
488086f4
SM
9596 * bookmark.el (bookmark-bmenu-mode-map):
9597 Bind bookmark-bmenu-search to `/'.
8b340240 9598
9e2dd53f 9599 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9600 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9601 (Footnote-unicode): New function.
9602 (footnote-style-alist): Add unicode style to the list.
9603 (footnote-style): Doc fix.
9e2dd53f 9604
79b70037
GM
96052011-05-10 Jim Meyering <meyering@redhat.com>
9606
9607 Fix doubled-word typos.
9608 * international/quail.el (quail-insert-kbd-layout): and and -> and
9609 * kermit.el: and and -> and
9610 * net/ldap.el (ldap-search-internal): to to -> to
9611 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9612 * progmodes/js.el (js-mode): and and -> and
9613 * textmodes/artist.el (artist-move-to-xy): at at -> at
9614 (artist-draw-region-trim-line-endings): if if -> if
9615 And Safetyc -> Safety.
9616 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9617
b8f82dc1 96182011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9619 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9620
9621 * files.el (hack-one-local-variable-eval-safep):
9622 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9623
4f99f44b
GM
96242011-05-10 Glenn Morris <rgm@gnu.org>
9625
9626 * calendar/diary-lib.el (diary-list-entries-hook)
9627 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9628 (diary-nongregorian-marking-hook, diary-list-entries)
9629 (diary-include-other-diary-files, diary-mark-entries)
9630 (diary-mark-included-diary-files): Doc fixes.
9631
84f29e6b
JB
96322011-05-09 Juanma Barranquero <lekktu@gmail.com>
9633
9634 * misc.el: Require tabulated-list.el during compilation.
9635
9bedd73a
CY
96362011-05-09 Chong Yidong <cyd@stupidchicken.com>
9637
488086f4
SM
9638 * progmodes/compile.el (compilation-start):
9639 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9640 (compilation-filter-hook): Doc fix.
9641
797c735c
DD
96422011-05-09 Deniz Dogan <deniz@dogan.se>
9643
9644 * wdired.el: Remove outdated installation comment. Fix usage
9645 comment.
9646
5f4b1dfe
JB
96472011-05-09 Juanma Barranquero <lekktu@gmail.com>
9648
9649 * misc.el: Implement new command `list-dynamic-libraries'.
9650 (list-dynamic-libraries--loaded-only-p): New variable.
9651 (list-dynamic-libraries--refresh): New function.
9652 (list-dynamic-libraries): New command.
9653
4c44026c
CY
96542011-05-09 Chong Yidong <cyd@stupidchicken.com>
9655
488086f4
SM
9656 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9657 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9658 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9659 higher priority to avoid clobbering by gnu.
9660
027f966d
CY
96612011-05-08 Chong Yidong <cyd@stupidchicken.com>
9662
9663 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9664 if the face has existing theme settings (Bug#8454).
9665
085f5d7d
CY
96662011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9667
488086f4
SM
9668 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9669 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9670
2a86a00c
RS
9671 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9672 special file names `.' and `..' (Bug#8259).
9673
d9c54a06
CY
96742011-05-08 Chong Yidong <cyd@stupidchicken.com>
9675
488086f4
SM
9676 * progmodes/grep.el (grep-mode-font-lock-keywords):
9677 Remove buffer-changing entries.
d9c54a06
CY
9678 (grep-filter): New function.
9679 (grep-mode): Add it to compilation-filter-hook.
9680
9681 * progmodes/compile.el (compilation-filter-hook)
9682 (compilation-filter-start): New defvars.
9683 (compilation-filter): Call compilation-filter-hook prior to
9684 updating the process mark.
9685
c4662635
SM
96862011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9687
9688 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9689
b0512a1d
EZ
96902011-05-07 Eli Zaretskii <eliz@gnu.org>
9691
605c9376
EZ
9692 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9693 mailclient-send-it even if window-system is nil. (Bug#8595)
9694
c4662635
SM
9695 * term/w32console.el (terminal-init-w32console):
9696 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9697 background-mode. (Bug#8597)
9698
d1dc2cc2
SM
96992011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9700
9701 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9702 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9703 New functions.
9704 (defgeneric, eieio--defmethod): Use them.
9705 (eieio-defgeneric): Remove.
9706 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9707
915d1300
GM
97082011-05-07 Glenn Morris <rgm@gnu.org>
9709
a3961c3e
GM
9710 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9711 Use let rather than let*.
9712 (timeclock-find-discrep): Remove unused local.
9713
314347b9
GM
9714 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9715
915d1300
GM
9716 * calendar/appt.el (appt-time-msg-list): Doc fix.
9717
275b59b0
NF
97182011-05-06 Noah Friedman <friedman@splode.com>
9719
9720 * apropos.el (apropos-print-doc): Only use
9721 emacs-lisp-docstring-fill-column when it is bound to an integer,
9722 per that variable's documentation.
9723
6c19f744
SM
97242011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9725
9726 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9727 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9728
60f884b2
GM
97292011-05-06 Glenn Morris <rgm@gnu.org>
9730
5006e634
GM
9731 * calendar/appt.el (appt-message-warning-time): Doc fix.
9732 (appt-warning-time-regexp): New option.
9733 (appt-make-list): Respect appt-message-warning-time.
9734
548d0a63
GM
9735 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9736 New options.
9737 (diary-add-to-list): Strip comments from the displayed string.
9738 (diary-mode): Set comment-start and comment-end.
9739
60f884b2
GM
9740 * vc/diff-mode.el (smerge-refine-subst): Declare.
9741 (diff-refine-hunk): Don't require smerge-mode when compiling.
9742
989681bb
JB
97432011-05-06 Juanma Barranquero <lekktu@gmail.com>
9744
9745 * simple.el (list-processes): Return nil as the docstring says.
9746
a6bc05e1
MA
97472011-05-05 Michael Albinus <michael.albinus@gmx.de>
9748
9749 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9750 to "".
9751 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9752 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9753 determining of binary transfer. (Bug#7383)
9754
23c22e9a
MA
97552011-05-05 Michael Albinus <michael.albinus@gmx.de>
9756
c4662635
SM
9757 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9758 Fix port computation bug. (Bug#8618)
23c22e9a 9759
0bff894f
GM
97602011-05-05 Glenn Morris <rgm@gnu.org>
9761
b8296902
GM
9762 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9763
1f522ce8
GM
9764 * simple.el (shell-dynamic-complete-functions)
9765 (comint-dynamic-complete-functions): Declare.
9766
cf5bee67
GM
9767 * net/network-stream.el (gnutls-negotiate):
9768 * simple.el (tabulated-list-print): Fix declarations.
9769
9770 * progmodes/gud.el (syntax-symbol, syntax-point):
9771 Remove unnecessary and incorrect declarations.
9772
0bff894f
GM
9773 * emacs-lisp/check-declare.el (check-declare-scan):
9774 Handle byte-compile-initial-macro-environment in bytecomp.el
9775
9869b3ae
SM
97762011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9777
9778 Fix earlier half-done eieio-defmethod change (bug#8338).
9779 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9780 Streamline and change calling convention.
9781 (defmethod): Adjust accordingly and simplify.
9782 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9783 new eieio--defmethod.
9784 (slot-boundp): Minor CSE simplification.
9785
9c1d5ac5
MZ
97862011-05-05 Milan Zamazal <pdm@zamazal.org>
9787
9788 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9789 (glasses-make-readable): Use glasses-separate-capital-groups.
9790
455c834e
JB
97912011-05-05 Juanma Barranquero <lekktu@gmail.com>
9792
9793 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9794 (warning-series): Doc fix.
9795 (display-warning): Don't try to create the buffer if we just found it.
9796
9ed7c8cb
CY
97972011-05-04 Chong Yidong <cyd@stupidchicken.com>
9798
9799 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9800 (autoload-find-generated-file): New function.
9801 (generate-file-autoloads): Bind generated-autoload-file to
9802 buffer-file-name.
9869b3ae
SM
9803 (update-file-autoloads, update-directory-autoloads):
9804 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9805 output file (Bug#7989).
9806 (batch-update-autoloads): Doc fix.
9807
0898ca10
JB
98082011-05-04 Juanma Barranquero <lekktu@gmail.com>
9809
9810 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9811
31dfb76c
GM
98122011-05-04 Glenn Morris <rgm@gnu.org>
9813
f330b642
GM
9814 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9815 function, so it follows changes in calendar-date-style.
9816 (diary-fancy-date-matcher): New function.
9817 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9818 (diary-fancy-font-lock-fontify-region-function):
9819 Use diary-fancy-date-pattern as a function.
9820
31dfb76c
GM
9821 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9822 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9823
48e79d6a
TZ
98242011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9825
9826 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9827 instead of positional arguments. Allow :keylist and :crlfiles
9828 arguments.
9829 (open-gnutls-stream): Call it.
9830
9831 * net/network-stream.el (network-stream-open-starttls): Adjust to
9832 call `gnutls-negotiate' with :process and :hostname arguments.
9833
dd5a5ee0
SM
98342011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9835
ef80fc09
SM
9836 * minibuffer.el (completion--message): New function.
9837 (completion--do-completion, minibuffer-complete)
9838 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9839 (completion--do-completion): Don't ignore completion-auto-help when in
9840 icomplete-mode.
9841
dd5a5ee0
SM
9842 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9843 internal encoding (e.g. tibetan zero is not whitespace).
9844 (global-whitespace-mode): Prefer save-current-buffer.
9845 (whitespace-trailing-regexp): Remove useless save-match-data.
9846 (whitespace-empty-at-bob-regexp): Minor simplification.
9847
b7d22a83
CY
98482011-05-03 Chong Yidong <cyd@stupidchicken.com>
9849
9850 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9851
5192af46
AM
98522011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9853
9854 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9855 Use `concat' to create string for insertion.
5192af46 9856
5767d190
SM
98572011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9858
9859 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9860 Avoid open-line which runs post-self-insert-hook.
9861 (bibtex-fill-entry): Remove unused `end' var.
9862
bf242939
AM
98632011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9864
5767d190
SM
9865 * textmodes/ispell.el (ispell-add-per-file-word-list):
9866 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9867
25666126
LL
98682011-05-03 Leo Liu <sdl.web@gmail.com>
9869
9870 * isearch.el (isearch-yank-pop): New command.
5767d190 9871 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9872 (isearch-forward): Mention it.
9873
52d3c2d0
SM
98742011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9875
1bcace58
SM
9876 * simple.el (minibuffer-complete-shell-command): Remove.
9877 (minibuffer-local-shell-command-map): Use completion-at-point.
9878 (read-shell-command): Setup completion vars here instead.
9879 (read-expression-map): Bind TAB to symbol completion.
9880
52d3c2d0
SM
9881 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9882 error directly rather via storing it into `results'.
9883
35813471
LL
98842011-05-02 Leo Liu <sdl.web@gmail.com>
9885
9886 * vc/diff.el: Fix description.
9887
e793a940
LMI
98882011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9889
9890 * server.el (server-eval-at): New function.
9891
8de66e05
LMI
98922011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9893
9894 * net/network-stream.el (open-network-stream): Take a :nowait
9895 parameter and pass it on to `make-network-process'.
9896 (network-stream-open-plain): Ditto.
9897
dcb79f20
AS
98982011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9899
9900 * faces.el (face-spec-set-match-display): Don't match toolkit
9901 options on terminal frames.
9902
14a7fbd8
SM
99032011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9904
7eabc1be
SM
9905 * progmodes/pascal.el: Use lexical binding.
9906 (pascal-mode-map): Remove author preferences.
9907
14a7fbd8
SM
9908 * pcomplete.el (pcomplete-std-complete): Don't abuse
9909 completion-at-point.
9910
50f84510
JB
99112011-04-28 Juanma Barranquero <lekktu@gmail.com>
9912
6e087a44
JB
9913 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9914 removing code that has been dead since 1991 or so.
9915
50f84510
JB
9916 * startup.el (command-line): When warning about "_emacs", use a
9917 delayed warning to allow the user to filter it out.
9918
0ba690bd
DD
99192011-04-28 Deniz Dogan <deniz@dogan.se>
9920
9921 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9922 user has not joined.
9923
08abfaad
SM
99242011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9925
9926 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9927 aren't any completions at point.
9928
638f053a
JB
99292011-04-28 Juanma Barranquero <lekktu@gmail.com>
9930
9931 * subr.el (display-delayed-warnings): New function.
9932 (delayed-warnings-hook): New variable.
9933
8fff8daa
SM
99342011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9935
08abfaad
SM
9936 * minibuffer.el (completion-at-point, completion-help-at-point):
9937 Don't presume that a given completion-at-point-function will always
9938 use the same calling convention.
9939
8fff8daa
SM
9940 * pcomplete.el (pcomplete-completions-at-point):
9941 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9942 pcomplete-seen is non-nil.
9943 (pcomplete-comint-setup): Also recognize the new comint/shell
9944 completion functions.
9945 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9946 pcomplete-seen is non-nil.
9947
841a1577 99482011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9949
841a1577 9950 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9951 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9952 the first character in the entry. This allows for code to add its
211ec907
UJ
9953 own uid to the entry.
9954 (icalendar--convert-float-to-ical): Add export of
9955 `diary-float'-entries save for those with the optional DAY
9956 argument.
9957
2a782793
DC
99582011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9959
9960 * subr.el (shell-quote-argument): Use alternate escaping strategy
9961 when we spot a variable reference in a string.
9962
0438ce91
DC
99632011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9964
9965 * cus-start.el (all): Define customization for debug-on-event.
9966
841a1577 99672011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9968
9969 * subr.el (shell-quote-argument): Escape correctly under Windows.
9970
d090ed6c
SM
99712011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9972
9973 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9974
bfd31217
MA
99752011-04-25 Michael Albinus <michael.albinus@gmx.de>
9976
d090ed6c
SM
9977 * net/tramp.el (tramp-process-actions): Add POS argument.
9978 Delete region between POS and (pos).
bfd31217 9979
d090ed6c
SM
9980 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9981 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9982 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9983
9984 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9985 position in `tramp-process-actions' call.
9986
9987 * net/trampver.el: Update release number.
9988
e92f3bd3
SM
99892011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9990
850256b5
SM
9991 * custom.el (defcustom): Obey lexical-binding.
9992
e92f3bd3
SM
9993 Fix octave-inf completion problems reported by Alexander Klimov.
9994 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9995 Inherit from octave-mode-syntax-table.
9996 (inferior-octave-mode): Set info-lookup-mode.
9997 (inferior-octave-completion-at-point): New function.
9998 (inferior-octave-complete): Use it and completion-in-region.
9999 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10000 comint-filename-completion.
10001 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10002 symbol elements which shouldn't be word elements.
10003 (octave-font-lock-keywords, octave-beginning-of-defun)
10004 (octave-function-header-regexp): Adjust regexps accordingly.
10005 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10006
cd22b309
JB
100072011-04-25 Juanma Barranquero <lekktu@gmail.com>
10008
10009 * net/gnutls.el (gnutls-errorp): Declare before first use.
10010
8b492194
TZ
100112011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10012
10013 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10014 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10015 default trustfile exists before going to use it. Add missing
5a5fa834 10016 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10017 Reported by Claudio Bley <claudio.bley@gmail.com>.
10018 (open-gnutls-stream): Add usage example.
10019
10020 * net/network-stream.el (network-stream-open-starttls): Give host
10021 parameter to `gnutls-negotiate'.
10022 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10023 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10024
841a1577 100252011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10026
cd22b309
JB
10027 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10028 Use correct match group (bug#8438).
05842630 10029
3ba7869c
CY
100302011-04-24 Chong Yidong <cyd@stupidchicken.com>
10031
512e3ae1
CY
10032 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10033 (package-menu--generate): New arg specifying packages to show.
10034 (package-menu-refresh, package-menu-execute, list-packages):
10035 Callers changed.
10036 (package-show-package-list): New function, replacing deleted
10037 package--list-packages (renamed because it is non-internal).
10038
10039 * finder.el (finder-list-matches): Use package-show-package-list
10040 instead of deleted package--list-packages.
10041
e92f3bd3
SM
10042 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10043 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10044 (vc-annotate-mode-map): Bind it to RET.
10045
7031be6d
UR
100462011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10047
10048 * progmodes/etags.el (next-file): Don't use set-buffer to change
10049 buffers (Bug#8478).
10050
4ef177aa
CY
100512011-04-24 Chong Yidong <cyd@stupidchicken.com>
10052
c8d173eb
CY
10053 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10054
4ef177aa
CY
10055 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10056 (apropos-accumulator): Doc fix.
10057 (apropos-function, apropos-macro, apropos-command)
10058 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10059 (apropos-plist): Add face property.
10060 (apropos-symbols-internal): Fix indentation.
10061 (apropos-print): Simplify help, and recognize apropos-multi-type.
10062 (apropos-print-doc): Use button-type-get to extract the button's
10063 face property. Fill docstring (Bug#8352).
10064
4ffd0d6b 100652011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10066
10067 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10068
c6c32125 10069 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10070 (mpuz-mode-map): Use mapc.
c6c32125
JB
10071 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10072 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10073 Fix typos in docstrings.
10074
58d468b4
JB
10075 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10076 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10077
6470c3c6
JB
10078 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10079
4ffd0d6b 100802011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10081
10082 * minibuffer.el (completion--do-completion): Avoid the "Next char
10083 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10084
3ad8bad0
CY
10085 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10086 mouse-2 into unread-command-events, it is interpreted correctly.
10087
71d73c9c 10088 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10089 (image-toggle-display): Doc fix.
71d73c9c 10090
841a1577 100912011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10092
4ffd0d6b
GM
10093 * textmodes/page.el (what-page): Use line-number-at-pos to
10094 calculate line number (Bug#6825).
6e1dbaa9 10095
c2fb1b60
JB
100962011-04-22 Juanma Barranquero <lekktu@gmail.com>
10097
10098 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10099 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10100 Pass argument NO-DEFAULT to `find-tag-interactive'.
10101
e02f48d7
JB
101022011-04-22 Juanma Barranquero <lekktu@gmail.com>
10103
10104 Lexical-binding cleanup.
10105
10106 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10107 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10108 * progmodes/ada-prj.el (ada-prj-initialize-values)
10109 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10110 (ada-prj-show-value):
10111 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10112 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10113 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10114 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10115 * progmodes/bug-reference.el (bug-reference-push-button):
10116 * progmodes/fortran.el (fortran-line-length):
10117 * progmodes/glasses.el (glasses-change):
10118 * progmodes/octave-mod.el (octave-fill-paragraph):
10119 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10120 (python-pdbtrack-grub-for-buffer, python-sentinel):
10121 * progmodes/sql.el (sql-save-connection):
10122 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10123 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10124 Mark unused parameters.
10125
10126 * progmodes/compile.el (compilation--flush-directory-cache)
10127 (compilation--flush-parse, compile-internal): Mark unused parameters.
10128 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10129 (compilation-next-error-function): Remove unused variable `timestamp'.
10130
10131 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10132 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10133
10134 * progmodes/dcl-mode.el (dcl-end-of-command):
10135 Remove unused variable `start'.
10136 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10137 (dcl-option-value-basic, dcl-option-value-offset)
10138 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10139 Mark unused parameters.
10140 (dcl-save-local-variable): Remove unused variable `val'.
10141 (mode): Declare.
10142
10143 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10144 Mark unused parameters.
10145 (delphi-ignore-changes): Move before first use.
10146 (delphi-charset-token-at): Remove unused variable `start'.
10147 (delphi-else-start): Remove unused variable `if-count'.
10148 (delphi-comment-block-start, delphi-comment-block-end):
10149 Remove unused variable `kind'.
10150 (delphi-indent-line): Remove unused variable `new-point'.
10151
10152 * progmodes/ebrowse.el (ebrowse-files-list)
10153 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10154 Mark unused parameters. Don't quote `lambda'.
10155 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10156 Don't quote `lambda'.
10157 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10158 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10159 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10160 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10161 Use `ignore-errors'.
10162 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10163 (ebrowse-view/find-file-and-search-pattern)
10164 (ebrowse-view/find-member-declaration/definition):
10165 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10166 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10167 Rename parameter PREFIX-ARG to PREFIX.
10168 (ebrowse-tags-read-name): Remove unused variables `start' and
10169 `member-info'.
10170 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10171 to `tags-file'.
10172
10173 * progmodes/etags.el (local-find-tag-hook): Declare.
10174 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10175 Mark unused parameters.
10176
10177 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10178 (executable-interpret): Mark unused parameter.
10179
10180 * progmodes/flymake.el (flymake-process-sentinel)
10181 (flymake-after-change-function)
10182 (flymake-create-temp-with-folder-structure)
10183 (flymake-get-include-dirs-dot): Mark unused parameters.
10184 (flymake-safe-delete-directory): Remove unused variable `err'.
10185
10186 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10187 (speedbar-timer-fn, speedbar-line-text)
10188 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10189 (speedbar-center-buffer-smartly): Declare functions.
10190 (gdb-find-watch-expression): Remove unused variable `array'.
10191 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10192 (gdb-starting): Mark unused parameters.
10193 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10194 (gdb-table-string): Remove unused variable `res'.
10195 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10196 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10197 (gdb-display-buffer): Remove unused variable `cur-size'.
10198
10199 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10200 allow lexical-binding compilation.
10201 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10202 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10203 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10204 Mark unused parameters.
10205 (gud-gdb-marker-filter): Remove unused variable `match'.
10206 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10207 lambda expressions and funcall them, instead of using `fset'.
10208
10209 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10210 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10211
10212 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10213 variable `header-beg'; use `let'.
10214
10215 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10216 `restart', `last-sexp' and `at-do'.
10217
10218 * progmodes/js.el (js--debug): Mark unused parameter.
10219 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10220 (js--splice-into-items): Remove unused variable `item'.
10221 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10222
10223 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10224 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10225 (makefile-complete): Remove unused variable `try'.
10226 (makefile-fill-paragraph, makefile-match-function-end):
10227 Mark unused parameters.
10228
10229 * progmodes/octave-inf.el (inferior-octave-complete):
10230 Remove unused variable `proc'.
10231 (inferior-octave-output-digest): Mark unused parameter.
10232
10233 * progmodes/perl-mode.el (perl-calculate-indent):
10234 Remove unused variable `err'.
10235
10236 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10237 (prolog-indent-line): Mark unused parameters.
10238 (prolog-indent-line): Remove unused variable `beg'.
10239
10240 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10241 (reporter-dont-compact-list): Declare.
10242
10243 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10244 Remove unused variable `char'.
10245 (sh-debug): Mark unused parameter.
10246 (sh-get-indent-info): Remove unused variable `start'.
10247 (sh-calculate-indent): Remove unused variable `var'.
10248
10249 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10250 (simula-electric-keyword): Remove unused variable `null'.
10251 (simula-search-backward, simula-search-forward): Remove unused
10252 variables `begin' and `end'.
10253
10254 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10255 Remove unused variable `pos'.
10256 (vera-electric-tab, vera-comment-uncomment-region):
10257 Mark unused parameters.
10258 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10259
7ede3b65
CY
102602011-04-22 Chong Yidong <cyd@stupidchicken.com>
10261
10262 * emacs-lisp/package.el (package--builtins, package-alist)
10263 (package-load-descriptor, package-built-in-p, package-activate)
10264 (define-package, package-installed-p)
10265 (package-compute-transaction, package-buffer-info)
10266 (package--push): Doc fix. Distinguish more clearly between
10267 version strings and version lists.
10268
121656e9
JB
102692011-04-21 Juanma Barranquero <lekktu@gmail.com>
10270
10271 Lexical-binding cleanup.
10272
10273 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10274 (5x5-make-mutate-best):
10275 * play/fortune.el (fortune-in-buffer):
10276 * play/gomoku.el (gomoku-init-display):
10277 * play/solitaire.el (solitaire, solitaire-do-check):
10278 * play/tetris.el (tetris-default-update-speed-function):
10279 Mark unused parameters.
10280
10281 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10282 (bubbles--shift): Remove unused variable `char-org'.
10283 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10284 (bubbles--show-images): Remove unused variable `char'.
10285
10286 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10287 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10288 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10289 (decipher-analyze-buffer): Use ?\s.
10290 (decipher-make-checkpoint): Remove unused variable `mapping'.
10291
10292 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10293
10294 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10295 Remove unused variable `result'; use `let'.
10296
10297 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10298 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10299 (gametree-children-shown-p, gametree-compute-reduced-score):
10300 Use `ignore-errors'.
10301
10302 * play/handwrite.el (ps-lpr-switches): Declare.
10303 (handwrite): Remove unused variables `pmin' and `lastp'.
10304
10305 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10306
10307 * play/landmark.el (landmark-init-display)
10308 (landmark-update-naught-weights): Mark unused parameters.
10309 (landmark-y): Remove unused variable `noise'. Simplify.
10310 (landmark-human-plays): Remove unused variable `score'.
10311
10312 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10313 (mpuz-try-proposal): Remove unused variable `game'.
10314
10315 * play/zone.el (life-patterns): Declare.
10316
80f499c7
JB
103172011-04-20 Juanma Barranquero <lekktu@gmail.com>
10318
10319 * vc/vc.el (ediff-vc-internal): Declare function.
10320
024ff170
SM
103212011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10322
c0a193ea
SM
10323 * shell.el: Use lexical-binding and std completion UI.
10324 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10325 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10326 comint-preoutput-filter-functions rather than on
10327 comint-output-filter-functions.
10328 (shell-command-completion, shell--command-completion-data)
10329 (shell-filename-completion, shell-environment-variable-completion)
10330 (shell-c-a-p-replace-by-expanded-directory): New functions.
10331 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10332 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10333 (shell-dynamic-complete-environment-variable): Use them.
10334 (shell-dynamic-complete-as-environment-variable)
10335 (shell-dynamic-complete-as-command): Remove.
10336 (shell-match-partial-variable): Match past point.
10337 * comint.el: Clean up use of completion-at-point-functions.
10338 (comint-completion-at-point): New function.
10339 (comint-mode): Use it completion-at-point-functions.
10340 (comint-dynamic-complete): Make it obsolete.
10341 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10342 (comint-c-a-p-replace-by-expanded-history): New function.
10343 (comint-dynamic-complete-functions)
10344 (comint-replace-by-expanded-history): Use it.
10345 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10346 termination strings. Try harder to avoid second try-completion.
10347 (completion-in-region-mode-map): Disable bindings that don't work yet.
10348
2dbaa080
SM
10349 * comint.el: Use lexical-binding. Require CL.
10350 (comint-dynamic-complete-functions): Use comint-filename-completion.
10351 (comint-completion-addsuffix): Tweak custom type.
10352 (comint-filename-completion, comint--common-suffix)
10353 (comint--common-quoted-suffix, comint--table-subvert)
10354 (comint--complete-file-name-data): New functions.
10355 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10356 (comint-dynamic-list-filename-completions): Use them.
10357 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10358
2dbaa080
SM
10359 * minibuffer.el (completion-in-region-mode):
10360 Keep completion-in-region-mode--predicate global.
10361 (completion-in-region--postch):
10362 Assume completion-in-region-mode--predicate is not null.
10363
c79a6f38
SM
10364 * progmodes/flymake.el (flymake-start-syntax-check-process):
10365 Obey `dir'. Simplify.
10366
024ff170
SM
10367 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10368 we're in VC after all.
10369
1c6c854e
CS
103702011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10371
10372 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10373 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10374 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10375
bed7f140
SM
103762011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10377
332e62ab
SM
10378 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10379 add sanity check.
10380
bed7f140
SM
10381 * obsolete/erc-hecomplete.el: Make obsolete.
10382 * obsolete/: Standardize obsolescence info in the header.
10383
f195c582
GM
103842011-04-20 Glenn Morris <rgm@gnu.org>
10385
10386 * calendar/solar.el (solar-horizontal-coordinates):
10387 Use the longitude argument rather than `calendar-longitude'.
10388 (solar-date-next-longitude): Remove unused locals.
10389
cb79b8c0
VJL
103902011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10391
10392 * whitespace.el: New version 13.2.1.
10393
103942011-04-20 felix <EmacsWiki> (tiny change)
10395
d8e4b68b 10396 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10397 switching between major modes on a file.
10398
602ea69d
SM
103992011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10400
10401 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10402 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10403 multi-line comments as well.
10404
06b60517
JB
104052011-04-19 Juanma Barranquero <lekktu@gmail.com>
10406
10407 Lexical-binding cleanup.
10408
10409 * arc-mode.el (archive-mode-revert):
10410 * cmuscheme.el (scheme-interactively-start-process):
10411 * custom.el (custom-initialize-delay):
10412 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10413 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10414 * emacs-lock.el (emacs-lock-clear-sentinel):
10415 * ezimage.el (defezimage):
10416 * follow.el (follow-avoid-tail-recenter):
10417 * fringe.el (set-fringe-mode-1):
10418 * generic-x.el (bat-generic-mode-compile):
10419 * help-mode.el (help-info-variable, help-do-xref)
10420 (help-mode-revert-buffer):
10421 * help.el (view-emacs-todo):
10422 * iswitchb.el (iswitchb-completion-help):
10423 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10424 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10425 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10426 * locate.el (locate-update):
10427 * longlines.el (longlines-encode-region)
10428 (longlines-after-change-function):
10429 * outline.el (outline-isearch-open-invisible):
10430 * ps-def.el (declare-function, charset-dimension, char-width)
10431 (encode-char):
10432 * ps-mule.el (ps-mule-plot-string):
10433 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10434 (recentf-edit-list-select, recentf-edit-list-validate)
10435 (recentf-open-files-action):
10436 * rect.el (delete-whitespace-rectangle-line)
10437 (rectangle-number-line-callback):
10438 * register.el (window-configuration-to-register)
10439 (frame-configuration-to-register):
10440 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10441 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10442 (xselect-convert-to-targets, xselect-convert-to-delete)
10443 (xselect-convert-to-filename, xselect-convert-to-charpos)
10444 (xselect-convert-to-lineno, xselect-convert-to-colno)
10445 (xselect-convert-to-os, xselect-convert-to-host)
10446 (xselect-convert-to-user, xselect-convert-to-class)
10447 (xselect-convert-to-name, xselect-convert-to-integer)
10448 (xselect-convert-to-atom, xselect-convert-to-identity):
10449 * subr.el (declare, ignore, process-kill-without-query)
10450 (text-clone-maintain):
10451 * terminal.el (te-get-char, te-tic-sentinel):
10452 * tool-bar.el (tool-bar-make-keymap):
10453 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10454 * type-break.el (type-break-mode, type-break-noninteractive-query):
10455 * view.el (View-back-to-mark):
10456 * wid-browse.el (widget-browse-action, widget-browse-widget)
10457 (widget-browse-widgets, widget-browse-sexp):
10458 * widget.el (define-widget-keywords):
10459 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10460 Mark unused parameters.
10461
10462 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10463 (align-areas): Remove unused variable `look'.
10464 (align-region): Remove unused variables `real-end' and `pos-list'.
10465
10466 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10467
10468 * bindings.el (mode-line-modified, mode-line-remote):
10469 Mark unused parameters.
10470 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10471
10472 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10473 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10474
10475 * comint.el (comint-history-isearch-pop-state)
10476 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10477 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10478 (comint-substitute-in-file-name): Doc fix.
10479
10480 * completion.el (cmpl-statistics-block): Mark unused parameter.
10481 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10482 (save-completions-to-file, load-completions-from-file):
10483 Remove unused local variable `e'.
10484
10485 * composite.el (compose-chars): Remove unused variable `len'.
10486 (lgstring-insert-glyph): Remove unused variable `g'.
10487 (compose-glyph-string): Remove unused variables `ascent',
10488 `descent', `lbearing' and `rbearing'.
10489 (compose-glyph-string-relative): Remove unused variables
10490 `lbearing', `rbearing' and `wadjust'.
10491 (compose-gstring-for-graphic): Remove unused variables `header',
10492 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10493 (compose-gstring-for-terminal): Remove unused variables `header'
10494 and `nchars'. Use `let', not `let*'.
10495
10496 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10497 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10498 (Custom-buffer-done, custom-buffer-create-internal)
10499 (custom-browse-visibility-action, custom-browse-group-tag-action)
10500 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10501 (widget-magic-mouse-down-action, custom-toggle-parent)
10502 (custom-add-parent-links, custom-toggle-hide-variable)
10503 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10504 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10505 (custom-face-menu-create, custom-variable-menu-create, get)
10506 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10507 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10508 (customize-apropos): Remove unused variable `tests'.
10509 (custom-group-value-create): Remove unused variable `hidden-p'.
10510 (sort-fold-case): Declare.
10511
10512 * cus-theme.el (custom-reset-standard-faces-list)
10513 (custom-reset-standard-variables-list): Declare.
10514 (customize-create-theme, custom-theme-revert, custom-theme-write)
10515 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10516 Mark unused parameters.
10517
10518 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10519
10520 * delim-col.el (delimit-columns-max): Move defvar before first use.
10521
10522 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10523 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10524
10525 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10526 (auto-insert): Declare.
10527 (desktop-restore-file-buffer): Rename desktop-* parameters;
10528 mark unused ones.
10529 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10530 (desktop-buffer): Rename desktop-* parameters.
10531
10532 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10533 (dframe-reposition-frame-xemacs, dframe-help-echo)
10534 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10535 Mark unused parameters.
10536
10537 * dired-aux.el (backup-extract-version-start, overwrite-query)
10538 (overwrite-backup-query, rename-regexp-query)
10539 (rename-non-directory-query): Declare.
10540 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10541 (dired-add-entry): Remove unused variable `orig-file-name'.
10542 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10543 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10544 `dired-copy-preserve-time' directly.
10545 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10546 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10547
10548 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10549 (dired-virtual-revert, dired-make-relative-symlink):
10550 Mark unused parameters.
10551 (manual-program): Declare.
10552 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10553 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10554 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10555
10556 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10557
10558 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10559
10560 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10561 Declare.
10562
10563 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10564
10565 * electric.el (Electric-command-loop): Rename parameter
10566 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10567
10568 * expand.el (expand-in-literal): Remove unused variable `here'.
10569
10570 * facemenu.el (facemenu-add-new-color):
10571 Remove unused variable `docstring'.
10572
10573 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10574 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10575 (face-attr-construct): Mark unused parameter. Doc fix.
10576 (read-color): Remove unused variable `hex-string'.
10577
10578 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10579 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10580 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10581 (display-buffer-other-frame): Remove unused variable `old-window'.
10582 (kill-buffer-hook): Declare.
10583 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10584 Mark unused parameters.
10585 (after-find-file): Pass 1 to `auto-save-mode', not t.
10586
10587 * files-x.el (auto-insert): Declare.
10588 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10589
10590 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10591 variable `buf'. Mark unused parameter.
06b60517
JB
10592 (find-lisp-insert-directory): Mark unused parameter.
10593
10594 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10595 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10596 (format-common-tail): Remove, unused.
10597 (format-deannotate-region): Remove unused variable `loc'.
10598 (format-annotate-region): Remove unused variable `p'.
10599 (format-annotate-single-property-change): Remove unused variables
10600 `default' and `tail'.
10601
10602 * forms.el (read-file-filter): Declare.
10603 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10604
10605 * frame.el (frame-creation-function-alist): Mark unused parameter.
10606 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10607
10608 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10609 Remove unused parameters.
10610 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10611 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10612
10613 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10614 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10615 (hfy-prepare-tag-map): Mark unused parameters.
10616 (htmlfontify-buffer): Use `called-interactively-p'.
10617
10618 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10619 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10620 (ibuffer-do-occur): Mark unused parameters.
10621 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10622 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10623
10624 * ibuffer.el: Don't quote `lambda'.
10625 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10626 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10627 Mark unused parameters.
10628
10629 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10630 (ido-completing-read): Mark unused parameters.
10631 (ido-copy-current-word): Mark unused parameters;
10632 remove unused variable `name'.
10633 (ido-sort-merged-list): Remove unused parameter `dirs'.
10634
10635 * ielm.el (ielm-input-sender): Mark unused parameter.
10636 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10637 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10638 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10639 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10640 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10641
10642 * image-dired.el (image-dired-display-thumbs): Remove unused
10643 variables `curr-file' and `count'.
10644 (image-dired-remove-tag): Remove unused variable `start'.
10645 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10646 variable `curr-file'
10647 (image-dired-rotate-original): Remove unused variable `temp-file'.
10648 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10649 Remove unused variable `file'.
10650 (image-dired-gallery-generate): Remove unused variable `curr'.
10651 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10652
10653 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10654
10655 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10656
10657 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10658
10659 * isearch.el (minibuffer-history-symbol): Declare.
10660 (isearch-edit-string): Remove unused variable `err'.
10661 (isearch-message-prefix, isearch-message-suffix):
10662 Mark unused parameters.
10663
10664 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10665
10666 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10667
10668 * makesum.el (double-column): Remove unused variable `cnt'.
10669
10670 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10671 (ido-ignore-item-temp-list): Declare.
10672
10673 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10674 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10675 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10676 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10677 `mouse-col-delta'.
10678
10679 * mouse-sel.el (mouse-extend-internal):
10680 Remove unused variable `orig-window-frame'.
10681
10682 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10683 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10684 Move declarations before first use.
10685 (pcomplete-opt): Mark unused parameters; doc fix.
10686
10687 * proced.el (proced-revert): Mark unused parameter.
10688 (proced-send-signal): Remove unused variable `err'.
10689
10690 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10691 Rename parameter PREFIX-ARG to ARG.
10692 (ps-basic-plot-string, ps-basic-plot-whitespace):
10693 Mark unused parameters.
10694
10695 * replace.el (replace-count): Define.
10696 (occur-revert-function): Mark unused parameters.
10697 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10698 (isearch-case-fold-search, isearch-string): Declare.
10699 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10700 bind `case-fold-search'. Remove unused variables `beg' and `end',
10701 and simplify.
10702 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10703 COUNT and bind `replace-count'.
10704 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10705 to COUNT.
10706
10707 * savehist.el (print-readably, print-string-length): Declare.
10708
10709 * shadowfile.el (shadow-expand-cluster-in-file-name):
10710 Remove unused variable `cluster'.
10711 (shadow-copy-file): Remove unused variable `i'.
10712 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10713 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10714 (shadow-define-literal-group, shadow-define-regexp-group)
10715 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10716
10717 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10718 (shell): Use `called-interactively-p'.
10719 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10720
10721 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10722 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10723 (delete-backward-char): Remove unused variable `ocol'.
10724 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10725 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10726 (event-apply-hyper-modifier, event-apply-shift-modifier)
10727 (event-apply-control-modifier, event-apply-meta-modifier):
10728 Mark unused parameters.
10729 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10730 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10731
10732 * speedbar.el (speedbar-ignored-directory-expressions)
10733 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10734 (speedbar-find-file, speedbar-dir-follow)
10735 (speedbar-directory-buttons-follow, speedbar-tag-find)
10736 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10737 (speedbar-buffers-line-directory, speedbar-buffer-click):
10738 Mark unused parameters.
10739 (speedbar-tag-file): Remove unused variable `mode'.
10740 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10741
10742 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10743
10744 * talk.el (talk): Remove unused variable `display'.
10745
10746 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10747 (tar-write-region-annotate): Mark unused parameter.
10748
10749 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10750 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10751 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10752 warning by another.
10753
10754 * time-stamp.el (time-stamp-string-preprocess):
10755 Remove unused variable `require-padding'.
10756
10757 * tree-widget.el (widget-glyph-enable): Declare.
10758 (tree-widget-action): Mark unused parameter.
10759
10760 * w32-fns.el (x-get-selection): Mark unused parameter.
10761 (autoload-make-program, generated-autoload-file): Declare.
10762
10763 * wdired.el (wdired-revert): Mark unused parameters.
10764 (wdired-xcase-word): Remove unused variable `err'.
10765
10766 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10767 (whitespace-help-scroll): Remove unused variable `data-help'.
10768
10769 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10770 (widget-image-insert, widget-after-change, default)
10771 (widget-default-format-handler, widget-default-notify)
10772 (widget-default-prompt-value, widget-info-link-action)
10773 (widget-url-link-action, widget-function-link-action)
10774 (widget-variable-link-action, widget-file-link-action)
10775 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10776 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10777 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10778 (widget-insert-button-action, widget-delete-button-action, visibility)
10779 (widget-documentation-link-action, widget-documentation-string-action)
10780 (widget-const-prompt-value, widget-regexp-match, symbol)
10781 (widget-coding-system-prompt-value)
10782 (widget-key-sequence-value-to-external, sexp)
10783 (widget-sexp-value-to-internal, character, vector, cons)
10784 (widget-choice-prompt-value, widget-boolean-prompt-value)
10785 (widget-color--choose-action): Mark unused parameters.
10786 (widget-item-match-inline, widget-choice-match-inline)
10787 (widget-checklist-match, widget-checklist-match-inline)
10788 (widget-group-match): Rename parameter VALUES to VALS.
10789 (widget-field-value-set): Remove unused variable `size'.
10790 (widget-color-action): Remove unused variables `value' and `start'.
10791
10792 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10793 variable `dir'. Doc fix.
06b60517
JB
10794 (windmove-find-other-window): Don't pass it.
10795
10796 * window.el (count-windows): Mark unused parameter.
10797 (bw-adjust-window): Remove unused variable `err'.
10798
10799 * woman.el (woman-file-name): Remove unused variable `default'.
10800 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10801 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10802 (global-font-lock-mode): Declare.
10803 (woman-decode-region): Mark unused parameter.
10804 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10805
10806 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10807 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10808 (x-dnd-handle-moz-url): Remove unused variable `title'.
10809 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10810
10811 * xml.el (xml-parse-tag, xml-parse-attlist):
10812 Remove unused variable `pos'.
10813
bc4f7f3d
GM
108142011-04-19 Glenn Morris <rgm@gnu.org>
10815
10816 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10817 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10818 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10819 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10820 * calendar/cal-html.el (cal-html-insert-minical):
10821 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10822 (calendar-mark-date-pattern):
10823 Prefix "unused" locals.
10824
10825 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10826 optional argument `style'.
10827
10828 * calendar/appt.el (appt-make-list):
10829 * calendar/cal-china.el (calendar-chinese-date-string):
10830 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10831 (diary-hebrew-yahrzeit):
10832 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10833 * calendar/calendar.el (calendar-generate-window):
10834 * calendar/time-date.el (time-to-days):
10835 Remove unused local variables.
10836
16a43933
CY
108372011-04-18 Chong Yidong <cyd@stupidchicken.com>
10838
10839 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10840 glyphless-char-display table.
10841 (tabulated-list-glyphless-char-display): New var.
10842
7eed1860
SS
108432011-04-18 Sam Steingold <sds@gnu.org>
10844
10845 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10846 to acknowledgments.
10847
4d2d1ccd
GM
108482011-04-17 Glenn Morris <rgm@gnu.org>
10849
10850 * calendar/diary-lib.el (diary-sexp-entry):
10851 * calendar/holidays.el (holiday-sexp):
10852 Set debug-on-error rather than the removed stack-trace-on-error.
10853
239da61d
GM
108542011-04-16 Glenn Morris <rgm@gnu.org>
10855
10856 * progmodes/f90.el: Use lexical-binding.
10857 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10858
8b05752a
SM
108592011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10860
daca8ba5
SM
10861 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10862 (mail-mode): Setup mailalias completion here instead.
10863 * mail/mailalias.el: Use lexical-binding.
10864 (pattern, mailalias-done): Declare dynamic.
10865 (mail-completion-at-point-function): New function, from mail-complete.
10866 (mail-complete): Use it.
10867 (mail-completion-expand): New function.
10868 (mail-get-names): Use it.
10869 (mail-directory, mail-directory-process, mail-directory-stream):
10870 Don't use `pattern' for lexically bound arg.
10871
6f542485
SM
10872 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10873
037e7c3f
SM
10874 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10875 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10876 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10877
8b05752a
SM
10878 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10879 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10880 (byte-interactive-p): Define them again, for use when inlining
10881 old code.
10882
49093f60
JB
108832011-04-15 Juanma Barranquero <lekktu@gmail.com>
10884
10885 * loadup.el: Use `string-to-number', not `string-to-int'.
10886
b5b8e7de
SM
108872011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10888
10889 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10890 gud-gdb-complete-command.
10891 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10892 (gud-gdb-completion-at-point): New function.
10893 (gud-gdb-completions): Remove.
10894
f42efeb5
MA
108952011-04-14 Michael Albinus <michael.albinus@gmx.de>
10896
49093f60
JB
10897 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10898 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10899 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10900 whether `executable-find' is bound.
f42efeb5
MA
10901
10902 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10903
e240cc21
SM
109042011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10905
10906 * minibuffer.el (completion-in-region-mode-predicate)
10907 (completion-in-region-mode--predicate): New vars.
10908 (completion-in-region, completion-in-region--postch)
10909 (completion-in-region-mode): Use them.
10910 (completion--capf-wrapper): Also return the hook function.
10911 (completion-at-point, completion-help-at-point):
10912 Adjust and provide a predicate.
c2bd2ab0
SM
10913
10914 Preserve arg names for advice of subr and lexical functions (bug#8457).
10915 * help-fns.el (help-function-arglist): Consolidate the subr and
10916 new-byte-code cases. Add argument `preserve-names' to extract names
10917 from the docstring when needed.
10918 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10919 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10920 (ad-arglist): Use help-function-arglist's new arg.
10921 (ad-definition-type): Use cond.
10922
c183f693
JB
109232011-04-13 Juanma Barranquero <lekktu@gmail.com>
10924
06641a47
JB
10925 * autorevert.el (auto-revert-handler):
10926 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10927 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10928 Don't quote lambda.
10929
c183f693
JB
10930 * image-mode.el (image-transform-set-scale):
10931 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10932
1e3b6001
G
109332011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10934
10935 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10936 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10937 Upgrades via gnutls-cli are too slow to be done opportunistically.
10938
2d6af8dd
JB
109392011-04-12 Juanma Barranquero <lekktu@gmail.com>
10940
10941 * dframe.el (dframe-current-frame): Remove spurious quote.
10942
c0749a51
GM
109432011-04-12 Glenn Morris <rgm@gnu.org>
10944
088d0d61
GM
10945 * calendar/cal-tex.el (cal-tex-end-document):
10946 Try to automatically use latin1 input if needed.
10947
c0749a51
GM
10948 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10949 Don't try to cons a mark onto an empty element.
10950
5c90fde0
LL
109512011-04-11 Leo Liu <sdl.web@gmail.com>
10952
10953 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10954 buffers.
10955 (ido-kill-buffer-at-head): Support killing virtual buffers.
10956
369e974d
CY
109572011-04-10 Chong Yidong <cyd@stupidchicken.com>
10958
10959 * minibuffer.el (completion-show-inline-help): New var.
10960 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10961 (minibuffer-force-complete, minibuffer-complete-word):
10962 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10963
10964 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10965 to avoid interference from inline help (Bug#5849).
10966
37f1c930
LL
109672011-04-10 Leo Liu <sdl.web@gmail.com>
10968
099c39a4
JB
10969 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10970 Fix typo.
37f1c930 10971
a32d4040
CY
109722011-04-09 Chong Yidong <cyd@stupidchicken.com>
10973
10974 * image-mode.el (image-toggle-display-image): Signal an error if
10975 not in Image mode.
10976 (image-transform-mode, image-transform-resize)
10977 (image-transform-set-rotation): Doc fix.
daca8ba5 10978 (image-transform-set-resize): Delete.
a32d4040
CY
10979 (image-transform-set-scale, image-transform-fit-to-height)
10980 (image-transform-fit-to-width): Handle image-toggle-display-image
10981 and image-transform-resize directly.
10982
099c39a4 109832011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10984
10985 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10986 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10987 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10988 (doc-view-mode-map): Add bindings for the new functions.
10989
099c39a4 109902011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10991
4d61f28d 10992 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10993 Fix typo in docstring.
10994
3726838a
EZ
109952011-04-08 Eli Zaretskii <eliz@gnu.org>
10996
04f33f1e
EZ
10997 * files.el (file-size-human-readable): Produce one digit after
10998 decimal, like "ls -lh" does.
10999
11000 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11001 the file size representation.
11002
3726838a
EZ
11003 * simple.el (list-processes): If async subprocesses are not
11004 available, error out with a clear error message.
11005
cbb59342
CY
110062011-04-08 Chong Yidong <cyd@stupidchicken.com>
11007
11008 * help.el (help-form-show): New function, to be called from C.
11009 Put help-form output in a buffer named differently than *Help*.
11010
e3971c44
EZ
110112011-04-08 Eli Zaretskii <eliz@gnu.org>
11012
11013 * files.el (file-size-human-readable): New function.
11014
11015 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11016 computing the representation inline. Don't require `cl'.
11017
12544bbe
GM
110182011-04-08 Glenn Morris <rgm@gnu.org>
11019
a1de6c6a
GM
11020 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11021
3c4671f4
GM
11022 * net/browse-url.el (browse-url-firefox):
11023 Test system-type, not system-configuration.
11024
b605679c
GM
11025 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11026 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11027 Use log-edit-empty-buffer-p. (Bug#7598)
11028
56442f0c
GM
11029 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11030 (rlogin-mode-map): Initialize in the defvar.
11031 (rlogin): Use ignore-errors.
11032
12544bbe
GM
11033 * replace.el (occur-mode-map): Some fixes for menu items.
11034
eb237b0f
AH
110352011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11036
11037 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11038
7d668f2c
CY
110392011-04-06 Chong Yidong <cyd@stupidchicken.com>
11040
e67a13ab
CY
11041 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11042 issuing unused warnings.
11043
11044 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11045 macro directly.
11046
7d668f2c
CY
11047 * simple.el: Lisp reimplement of list-processes. Based on an
11048 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11049 (process-menu-mode): New major mode.
11050 (list-processes--refresh, list-processes):
11051 (process-menu-visit-buffer): New functions.
11052
11053 * files.el (save-buffers-kill-emacs): Don't assume any return
11054 value of list-processes, which is undocumented anyway.
11055
a83ec3c9
CY
110562011-04-06 Chong Yidong <cyd@stupidchicken.com>
11057
11058 * emacs-lisp/tabulated-list.el: New file.
11059
e91a96fe
CY
11060 * emacs-lisp/package.el: Use Tabulated List mode.
11061 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11062 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11063 table format using Tabulated List mode variables.
11064 (package--push): New macro, replacing package-list-maybe-add.
11065 (package-menu--generate): Use package--push. Renamed from
11066 package--generate-package-list.
11067 (package-menu-refresh, list-packages): Use it.
daca8ba5 11068 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11069 Return insertion data instead of inserting it directly.
099c39a4
JB
11070 (package-menu-describe-package, package-menu-execute):
11071 Use tabulated-list-get-id.
e91a96fe
CY
11072 (package-menu-mark-delete, package-menu-mark-install)
11073 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11074 (package-menu-mark-obsolete-for-deletion):
11075 Use tabulated-list-put-tag.
e91a96fe
CY
11076 (package--list-packages, package-menu-revert)
11077 (package-menu-get-package, package-menu-get-version)
11078 (package-menu-sort-by-column): Functions deleted.
11079 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11080 (package-menu--status-predicate, package-menu--version-predicate)
11081 (package-menu--name-predicate)
11082 (package-menu--description-predicate): Handle arguments in the
11083 Tabulated List format.
11084 (package-list-packages-no-fetch): Call list-packages.
11085
3e214b50
JB
110862011-04-06 Juanma Barranquero <lekktu@gmail.com>
11087
11088 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11089 (after-find-file): Don't bind it.
3e214b50
JB
11090 (revert-buffer-in-progress-p): New variable.
11091 (revert-buffer): Bind it.
11092 Pass nil for `after-find-file-from-revert-buffer'.
11093
11094 * saveplace.el (save-place-find-file-hook): Use new variable
11095 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11096
3f0f1700
GM
110972011-04-06 Glenn Morris <rgm@gnu.org>
11098
c0274801
GM
11099 * Makefile.in (AUTOGEN_VCS): New variable.
11100 (autoloads): Use $AUTOGEN_VCS.
11101
3f0f1700
GM
11102 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11103 * calendar/calendar.el (calendar-mode-map):
11104 Check for toolkit scroll bars. (Bug#8305)
11105
41ea9e48
CY
111062011-04-05 Chong Yidong <cyd@stupidchicken.com>
11107
11108 * minibuffer.el (completion-in-region--postch)
11109 (completion-in-region-mode): Remove unnecessary messages.
11110
6194c800
JB
111112011-04-05 Juanma Barranquero <lekktu@gmail.com>
11112
33256f14
JB
11113 * font-lock.el (font-lock-refresh-defaults):
11114 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11115 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11116
6194c800
JB
11117 * info.el (Info-directory-list, Info-read-node-name-2)
11118 (Info-split-parameter-string): Doc fixes.
11119 (Info-virtual-nodes): Reflow docstring.
11120 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11121 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11122 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11123 Fix typos in docstrings.
11124 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11125 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11126 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11127 (Info-restore-desktop-buffer): Mark unused parameters.
11128 (Info-directory-find-file, Info-directory-find-node)
11129 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11130 (Info-virtual-index-find-node, Info-apropos-find-file)
11131 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11132 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11133 (Info-virtual-index): Remove unused local variable `nodename'.
11134
b87a8200 111352011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11136
b87a8200
DD
11137 * net/rcirc.el: Update my e-mail address.
11138 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11139
3b2ff876
CY
111402011-04-05 Chong Yidong <cyd@stupidchicken.com>
11141
11142 * startup.el (command-line): Save the cursor's theme-face
11143 directly, instead of using face-override-spec.
11144
11145 * custom.el (load-theme): Minor optimization in assigning faces.
11146
8d17e7ca
JB
111472011-04-04 Juanma Barranquero <lekktu@gmail.com>
11148
11149 * help-fns.el (describe-variable): Complete all variables having
11150 documentation, including keywords.
11151 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11152
2fbc1934
JB
111532011-04-04 Juanma Barranquero <lekktu@gmail.com>
11154
11155 Convert to lexical-binding.
11156
11157 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11158 (bs--get-marked-string, bs--get-modified-string)
11159 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11160 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11161 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11162
11163 * ehelp.el (electric-help-execute-extended)
11164 (electric-help-ctrl-x-prefix):
11165 * hexl.el (hexl-revert-buffer-function):
11166 * linum.el (linum-after-change, linum-after-scroll):
11167 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11168
11169 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11170
74f50695
DU
111712011-04-04 Daiki Ueno <ueno@unixuser.org>
11172
11173 * epa-dired.el:
11174 * epa-mail.el:
11175 * epa-hook.el:
11176 * epa-file.el:
11177 * epa.el:
11178 * epg.el: Use lexical binding.
11179
c11325f7
CY
111802011-04-03 Chong Yidong <cyd@stupidchicken.com>
11181
0d9e9a12
CY
11182 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11183
c11325f7 11184 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11185 dictionary case for flyspell-mark-duplications-exceptions.
11186 Use regexp matching for languages.
c11325f7
CY
11187 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11188 default dictionary (Bug#7926).
11189
da91b5f2
CY
111902011-04-02 Chong Yidong <cyd@stupidchicken.com>
11191
099c39a4
JB
11192 * emacs-lisp/package.el (package--with-work-buffer):
11193 Recognize https URLs.
da91b5f2 11194
099c39a4
JB
11195 * net/network-stream.el: Move from gnus/proto-stream.el.
11196 Change prefix to network-stream throughout.
da91b5f2
CY
11197 (open-protocol-stream): Merge into open-network-stream, leaving
11198 open-protocol-stream as an alias. Handle nil BUFFER args.
11199
11200 * subr.el (open-network-stream): Move to net/network-stream.el.
11201
afa8e9f6
GM
112022011-04-02 Glenn Morris <rgm@gnu.org>
11203
1d2e369d
GM
11204 * find-dired.el (find-exec-terminator): New option.
11205 (find-ls-option): Test for -ls support.
11206 (find-ls-subdir-switches): Test for -b in find-ls-option.
11207 (find-dired, find-grep-dired): Doc fixes.
11208 (find-dired): Use find-exec-terminator.
11209
8abb7da8 11210 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11211 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11212 (find-name-arg): Remove purecopy.
8abb7da8 11213
f3ca7378
GM
11214 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11215 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11216 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11217 accordingly. Don't add the null-device if not needed.
11218
afa8e9f6
GM
11219 * files.el (save-some-buffers): Doc fix.
11220
35eae264
EZ
112212011-04-02 Eli Zaretskii <eliz@gnu.org>
11222
11223 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11224
26b51db5
JB
112252011-04-01 Juanma Barranquero <lekktu@gmail.com>
11226
11227 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11228 Use `dolist' rather than `mapcar'.
11229
7200d79c
SM
112302011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11231
03408648 11232 Add lexical binding.
7200d79c 11233
03408648
SM
11234 * subr.el (apply-partially): Use new closures rather than CL.
11235 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11236 (dolist, dotimes): Use slightly different expansion for lexical code.
11237 (functionp): Move to C.
11238 (letrec): New macro.
11239 (with-wrapper-hook): Use it and apply-partially instead of CL.
11240 (eval-after-load): Preserve lexical-binding.
11241 (save-window-excursion, with-output-to-temp-buffer): Turn them
11242 into macros.
7200d79c 11243
03408648
SM
11244 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11245
11246 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11247 than the arglist.
11248 (help-add-fundoc-usage): Don't add `Not documented'.
11249 (help-function-arglist): Handle closures, subroutines, and new
11250 byte-code-functions.
11251 (help-make-usage): Remove leading underscores.
11252 (describe-function-1): Handle closures.
11253 (describe-variable): Use special-variable-p for completion.
11254
11255 * files.el (lexical-binding): Declare safe.
f488fb65 11256
03408648
SM
11257 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11258 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11259 (pcase): Add `let' pattern.
11260 Change memoization so it actually works.
11261 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11262 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11263 <let>: New case.
f488fb65 11264
03408648
SM
11265 * emacs-lisp/macroexp.el: Use lexical binding.
11266 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11267 Don't convert ' to #' without checking that it's indeed quoting
11268 a lambda.
11269
11270 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11271 Use eval-sexp-add-defvars.
03408648
SM
11272 (eval-sexp-add-defvars): New fun.
11273
11274 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11275
11276 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11277 Don't autoload.
11278 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11279 than the internal `byte-compile-lambda'.
11280 (defmethod): Don't hide code under quotes.
11281 (eieio-defmethod): New `code' argument.
11282
11283 * emacs-lisp/eieio-comp.el: Remove.
11284
11285 * emacs-lisp/edebug.el (edebug-eval-defun)
11286 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11287 (edebug-toggle): Avoid `eval'.
11288
11289 * emacs-lisp/disass.el (disassemble-internal): Handle new
11290 `closure' objects.
11291 (disassemble-1): Handle new byte codes.
11292
11293 * emacs-lisp/cl.el (pushnew): Silence warning.
11294
11295 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11296 (cl-byte-compile-throw): Remove.
11297 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11298
11299 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11300 closures.
11301
11302 * emacs-lisp/cconv.el: New file.
11303
11304 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11305 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11306 (byte-compile-initial-macro-environment):
11307 Handle declare-function here.
11308 (byte-compile--lexical-environment): New var.
11309 (byte-stack-ref, byte-stack-set, byte-discardN)
11310 (byte-discardN-preserve-tos): New lap codes.
11311 (byte-interactive-p): Don't use any more.
11312 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11313 New macros.
11314 (byte-compile-lapcode): Use them and handle new lap codes.
11315 (byte-compile-obsolete): Remove.
11316 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11317 (byte-compile-arglist-warn): Check late def of inlinable funs.
11318 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11319 since they should have been expanded by now.
11320 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11321 (byte-compile-from-buffer): Remove unused second arg.
11322 (byte-compile-preprocess): New function.
11323 (byte-compile-toplevel-file-form): New function to distinguish
11324 file-form calls from outside from file-form calls from hunk-handlers.
11325 (byte-compile-file-form): Simplify.
11326 (byte-compile-file-form-defsubst): Remove.
11327 (byte-compile-file-form-defmumble): Simplify now that
11328 byte-compile-lambda always returns a byte-code-function.
11329 (byte-compile): Preprocess.
11330 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11331 Remove, not used any more.
11332 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11333 (byte-compile-make-args-desc): New funs.
11334 (byte-compile-lambda): Handle lexical functions. Always return
11335 a byte-code-function.
11336 (byte-compile-reserved-constants): New var, to make up room for
11337 closed-over variables.
11338 (byte-compile-constants-vector): Obey it.
11339 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11340 (byte-compile-macroexpand-declare-function): New function.
11341 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11342 byte-code-functions.
11343 (byte-compile-form): Check obsolescence here.
11344 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11345 (byte-compile-variable-ref): Remove.
11346 (byte-compile-dynamic-variable-op): New fun.
11347 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11348 (byte-compile-variable-set): New funs.
11349 (byte-compile-discard): Add 2 args.
11350 (byte-compile-stack-ref, byte-compile-stack-set)
11351 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11352 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11353 macroexpand-all instead.
11354 (byte-compile-quote-form): Remove.
11355 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11356 (byte-compile-bind, byte-compile-unbind): New funs.
11357 (byte-compile-let): Handle let* and lexical binding.
11358 (byte-compile-let*): Remove.
11359 (byte-compile-catch, byte-compile-unwind-protect)
11360 (byte-compile-track-mouse, byte-compile-condition-case):
11361 Handle a new :fun-body form, used for lexical scoping.
11362 (byte-compile-save-window-excursion)
11363 (byte-compile-with-output-to-temp-buffer): Remove.
11364 (byte-compile-defun): Simplify.
11365 (byte-compile-stack-adjustment): New fun.
11366 (byte-compile-out): Use it.
11367 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11368
11369 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11370 handler any more.
11371
11372 * emacs-lisp/byte-opt.el: Use lexical binding.
11373 (byte-inline-lapcode): Remove (to bytecomp).
11374 (byte-compile-inline-expand): Pay attention to inlining to/from
11375 lexically bound code.
11376 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11377 any more.
11378 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11379 any more and don't call compiler-macros.
11380 (byte-compile-splice-in-already-compiled-code): Remove.
11381 (byte-code): Don't inline any more.
11382 (disassemble-offset): Receive `bytes' as argument rather than via
11383 dynamic scoping.
11384 (byte-compile-tag-number): Declare before first use.
11385 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11386 `return' even if make-spliceable.
11387 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11388 obsolete interactive-p.
11389 (byte-optimize-lapcode): Optimize new lap-codes.
11390 Don't trip up on new form of `byte-constant' lap code.
11391
11392 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11393
11394 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11395
11396 * custom.el (custom-initialize-default, custom-declare-variable):
11397 Use `defvar'.
11398
11399 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11400 New variables.
11401 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11402 (COMPILE_FIRST): Add macroexp and cconv.
11403 * makefile.w32-in: Mirror changes in Makefile.in.
11404
11405 * vc/cvs-status.el:
11406 * vc/diff-mode.el:
11407 * vc/log-edit.el:
11408 * vc/log-view.el:
11409 * vc/smerge-mode.el:
11410 * textmodes/bibtex-style.el:
11411 * textmodes/css.el:
11412 * startup.el:
11413 * uniquify.el:
da91b5f2
CY
11414 * minibuffer.el:
11415 * newcomment.el:
11416 * reveal.el:
11417 * server.el:
11418 * mpc.el:
11419 * emacs-lisp/smie.el:
11420 * doc-view.el:
11421 * dired.el:
03408648
SM
11422 * abbrev.el: Use lexical binding.
11423
0f0c1f27
EZ
114242011-04-01 Eli Zaretskii <eliz@gnu.org>
11425
11426 * info.el (info-display-manual): New function.
11427
c82b2579
SM
114282011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11429
11430 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11431
221ddf68
TH
114322011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11433
11434 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11435 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11436
cba6e77e
GM
114372011-03-31 Glenn Morris <rgm@gnu.org>
11438
e040639f
GM
11439 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11440
cba6e77e
GM
11441 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11442
6d0f1c9e
CS
114432011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11444
11445 * progmodes/python.el (python-default-interpreter)
11446 (python-python-command-args, python-jython-command-args)
11447 (python-which-shell, python-which-args, python-which-bufname)
11448 (python-file-queue, python-comint-output-filter-function)
11449 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11450 variables and functions.
11451
3e2d70fd
SM
114522011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11453
11454 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11455 (completion-in-region-mode): New minor mode.
11456 (completion-in-region): Use it.
11457 (completion-in-region--data, completion-in-region-mode-map): New vars.
11458 (completion-in-region--postch): New function.
11459 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11460 New vars.
11461 (completion--capf-wrapper): New function.
11462 (completion-at-point): Use it to track well-behavedness of
11463 hook functions.
11464 (completion-help-at-point): New command.
11465
f3e4086c
JM
114662011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11467
11468 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11469 syntax class to search for whitespace on a single line
11470 (Message-ID: <4D938140.4030905@redhat.com>).
11471
eb7ffc14
LL
114722011-03-30 Leo Liu <sdl.web@gmail.com>
11473
11474 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11475 New commands.
11476 (edit-abbrevs-map): Bind them here.
11477 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11478
d806ab68
KM
114792011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11480
11481 * allout.el (allout-hide-by-annotation, allout-flag-region):
11482 Reduce possibility of overlay leakage by making them volatile.
11483
11484 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11485 hash is not shared between buffers. Mode initialization is
11486 responsible for giving it a useful starting value.
11487 (allout-item-span): Reduce possibility of overlay leakage by
11488 making them volatile.
11489 (allout-widgets-count-buttons-in-region): Add diagnostic function
11490 for tracking down button overlay leaks.
11491
ea622834
LL
114922011-03-29 Leo Liu <sdl.web@gmail.com>
11493
11494 * ido.el (ido-read-internal): Use the default history var
11495 minibuffer-history if no HISTORY is specified.
11496
b62f8267
G
114972011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11498
03408648
SM
11499 * net/imap.el (imap-shell-open, imap-process-connection-type):
11500 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11501 Kerberos, SSL, other subprocesses.
11502
947b6566
LL
115032011-03-28 Leo Liu <sdl.web@gmail.com>
11504
11505 * abbrev.el (abbrev-table-empty-p): New function.
11506 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11507 nonempty ones. (Bug#5937)
11508
5ffb62aa
JD
115092011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11510
11511 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11512
7a097943
LL
115132011-03-27 Leo Liu <sdl.web@gmail.com>
11514
11515 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11516 for foreground and background colors.
11517 (ansi-color-make-color-map): Adapt.
11518
c5b40130
LL
115192011-03-25 Leo Liu <sdl.web@gmail.com>
11520
1f48f7d2
LL
11521 * midnight.el (midnight-time-float): Remove. Note it calculates
11522 the microsecond component incorrectly and seconds-to-time does the
11523 same job.
625897ec 11524 Remove redundant (require 'timer).
1f48f7d2 11525
c5b40130
LL
11526 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11527 (ido-completions): Remove unused arguments. (Bug#8329)
11528
d86d2721
SM
115292011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11530
11531 * minibuffer.el (completion--flush-all-sorted-completions):
11532 Remove itself from hook.
11533 (completion-at-point): Let the functions perform the completion
11534 immediately and return nil or t.
11535 * comint.el (comint-dynamic-complete-functions): Now identical to
11536 completion-at-point-functions.
11537 (comint-dynamic-list-input-ring): Remove unused var `index'.
11538 (comint--match-partial-filename, comint--unquote&expand-filename):
11539 New funs, split from comint-match-partial-filename.
11540 (comint-dynamic-complete): Use completion-at-point.
11541 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11542
e8974c48
DA
115432011-03-24 Drew Adams <drew.adams@oracle.com>
11544
11545 * thingatpt.el: Support `defun'.
11546
def71b5e
LL
115472011-03-23 Leo Liu <sdl.web@gmail.com>
11548
cb5af48e
LL
11549 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11550
def71b5e
LL
11551 * help-mode.el (help-mode-finish): Tweak regexp.
11552
927c53e7
GM
115532011-03-23 Glenn Morris <rgm@gnu.org>
11554
18d05bed
GM
11555 * eshell/esh-opt.el (eshell-eval-using-options):
11556 Do not bind unused local variable `eshell-option-stub'.
11557
927c53e7
GM
11558 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11559
9d0da923
JB
115602011-03-22 Juanma Barranquero <lekktu@gmail.com>
11561
11562 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11563 keymap variable in `with-no-warnings' to avoid a warning when the
11564 keymap has been already `defconst'ed.
11565
4b978a67
LL
115662011-03-22 Leo Liu <sdl.web@gmail.com>
11567
11568 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11569 encode all chars in abbrevs; otherwise use emacs-mule or
11570 utf-8-emacs. (Bug#8308)
11571
5fd62452
JB
115722011-03-22 Juanma Barranquero <lekktu@gmail.com>
11573
0b1596c6
JB
11574 * simple.el (backward-delete-char-untabify):
11575 Avoid warning about using `delete-backward-char'.
11576
5fd62452
JB
11577 * image.el (image-type-file-name-regexps): Make it variable.
11578 `imagemagick-register-types' modifies it, and the user may want
11579 to add new extensions for known image types.
11580 (imagemagick-register-types): Throw error if not using ImageMagick.
11581
0b4e93f1
LL
115822011-03-22 Leo Liu <sdl.web@gmail.com>
11583
11584 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11585 located before rcirc-prompt-end-marker.
11586 (rcirc-complete): Error if point is not after rcirc prompt.
11587 Handle the case when table is nil.
9882e214 11588 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11589
fccee4ab
CY
115902011-03-22 Chong Yidong <cyd@stupidchicken.com>
11591
11592 * custom.el (custom--inhibit-theme-enable): Make it affect only
11593 custom-theme-set-variables and custom-theme-set-faces.
11594 (provide-theme): Ignore custom--inhibit-theme-enable.
11595 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11596 (custom-enabling-themes): Delete variable.
d86d2721
SM
11597 (enable-theme): Accept only loaded themes as arguments.
11598 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11599 (custom-enabled-themes): Forbid themes from setting this.
11600 Eliminate use of custom-enabling-themes.
11601 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11602
af896da6
LL
116032011-03-21 Leo Liu <sdl.web@gmail.com>
11604
11605 * ido.el (ido-read-internal): Add ido-selected to history instead
11606 of user input.
11607
78f64af0
SM
116082011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11609
11610 * subr.el (deferred-action-list, deferred-action-function):
11611 Mark obsolete.
11612
b16ac1ec
LL
116132011-03-21 Leo Liu <sdl.web@gmail.com>
11614
810f7698
LL
11615 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11616 change on 2011-02-13 (bug#8309).
11617
b16ac1ec
LL
11618 * minibuffer.el (read-file-name-function): Change default value.
11619 (read-file-name--defaults): Rename from read-file-name-defaults.
11620 (read-file-name-default): Rename from read-file-name.
11621 (read-file-name): Call read-file-name-function.
11622
4e05e67e
GM
116232011-03-21 Glenn Morris <rgm@gnu.org>
11624
11625 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11626 Doc fixes.
11627
4359915b
CY
116282011-03-21 Chong Yidong <cyd@stupidchicken.com>
11629
11630 * cus-theme.el: Add missing provide statement.
11631 (customize-create-theme): Extract theme value correctly.
11632 (custom-theme-visit-theme): Autoload.
11633 (customize-create-theme): Prompt before inserting default faces.
11634
1fe275ee
JB
116352011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11636
11637 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11638 units and musical notes.
11639
cd394be1 116402011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11641
11642 * ido.el (ido-read-internal): Use completing-read-default.
11643 (ido-completing-read): Fix compatibility with completing-read.
11644
7d476bde
CO
116452011-03-20 Christian Ohler <ohler@gnu.org>
11646
11647 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11648 (ert-delete-all-tests): Use `called-interactively-p' rather than
11649 `interactive-p'.
11650 (ert--make-xrefs-region): Respect END.
11651
fe0fb33e
CY
116522011-03-19 Chong Yidong <cyd@stupidchicken.com>
11653
ff854b0b
CY
11654 * dired-aux.el (dired-create-directory): Signal an error if the
11655 directory already exists (Bug#8246).
11656
fe0fb33e
CY
11657 * facemenu.el (list-colors-display): Call list-faces-display
11658 inside with-help-window.
11659 (list-colors-print): Use display property to align the final
11660 column, instead of checking window-width.
11661
576bce32
EZ
116622011-03-19 Eli Zaretskii <eliz@gnu.org>
11663
4d61f28d 11664 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11665 windows-nt systems.
11666 (emerge-protect-metachars): Quote correctly for ms-dos and
11667 windows-nt systems.
11668
89c41d68 116692011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11670
11671 * info.el (info-initialize): Replace all uses of `:' with
11672 path-separator for compatibility with non-Unix systems.
11673 Cache quoting of path-separator. (Bug#8258)
11674
b14e3e21 116752011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11676
11677 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11678 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11679 (mouse-avoidance-mode): Fix typos in docstrings.
11680
4525ce3e
CY
116812011-03-19 Chong Yidong <cyd@stupidchicken.com>
11682
11683 * startup.el (package-subdirectory-regexp): Move from package.el.
11684 Omit \\` and \\', and let callers add them.
11685
11686 * emacs-lisp/package.el (package-strip-version)
11687 (package-load-all-descriptors): Add \\` and \\' to
11688 package-subdirectory-regexp before using it.
11689 (package-untar-buffer): New arg DIR; ensure that file untars only
11690 into this expected directory. Remove superfluous delete-region.
11691 (package-unpack): Caller changed.
11692 (package-tar-file-info): Use package-subdirectory-regexp.
11693
a904a09a 116942011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11695
a904a09a
SM
11696 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11697 diff-mode-shared-map (bug#8284).
11698 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11699
117002011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11701
11702 * calendar/time-date.el (format-seconds): Use assoc instead of
11703 assoc-string, since assoc-string doesn't exist in XEmacs.
11704
171fc304
JB
117052011-03-17 Juanma Barranquero <lekktu@gmail.com>
11706
11707 * custom.el (custom-known-themes): Reflow docstring.
11708 (custom-theme-load-path): Fix typo in docstring.
11709 (load-theme): Fix typo in error message.
11710 (custom-available-themes, custom-variable-theme-value):
11711 Use `let', not `let*'.
11712
d71990a1
JB
117132011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11714
11715 * calc/README: Mention inclusion of musical notes.
11716
11717 * calc/calc-units.el (calc-lu-quant): Rename from
11718 `calc-logunits-quantity'.
11719 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11720 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11721 (calc-db): Rename from `calc-dblevel'.
11722 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11723 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11724 (calc-np): Rename from `calc-nplevel'.
11725 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11726 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11727 (calc-lu-plus): Rename from `calc-logunits-add'.
11728 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11729 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11730 (calc-lu-minus): Rename from `calc-logunits-sub'.
11731 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11732 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11733 (calc-lu-times): Rename from `calc-logunits-mul'.
11734 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11735 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11736 (calc-lu-divide): Rename from `calc-logunits-div'.
11737 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11738 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11739
11740 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11741 functions being autoloaded.
11742
11743 * calc/calc.el (calc-lu-power-reference): Rename from
11744 `calc-logunits-power-reference'.
11745 (calc-lu-field-reference): Rename from
11746 `calc-logunits-field-reference'.
11747
7a71b18d
GM
11748 * calc/calc-help.el (calc-l-prefix-help):
11749 Mention musical note functions.
d71990a1 11750
40c2934b
SM
117512011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11752
11753 * minibuffer.el (completion-all-sorted-completions):
11754 Use :completion-cycle-penalty text property if present.
11755
b0911414
KM
117562011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11757
11758 * allout.el (allout-yank-processing): Adjust for new rebulleting
11759 regime so bullet being yanked is used without prompting the user
11760 for a choice.
11761
8a05b668
JB
117622011-03-16 Juanma Barranquero <lekktu@gmail.com>
11763
11764 * startup.el (command-line): Warn the user that _emacs is deprecated.
11765
5ba5fb81
JB
117662011-03-16 Juanma Barranquero <lekktu@gmail.com>
11767
11768 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11769 (delphi-verbose, delphi-comment-face, delphi-string-face)
11770 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11771 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11772 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11773 (delphi-new-comment-line, delphi-font-lock-defaults)
11774 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11775 Fix typos in docstrings.
11776
2dab465b
KM
117772011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11778
5ba5fb81 11779 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11780 Invert the roles of character and string values for INSTEAD, so a
11781 string is used for the more common case of a defaulting prompt.
11782
0adf5618
SM
117832011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11784
11785 * progmodes/ruby-mode.el (ruby-backward-sexp):
11786 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11787 * play/gamegrid.el (gamegrid-make-face):
11788 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11789 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11790 * notifications.el (notifications-notify):
11791 * net/xesam.el (xesam-search-engines):
11792 * net/quickurl.el (quickurl-list-insert):
11793 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11794
d72700e5
CY
117952011-03-15 Chong Yidong <cyd@stupidchicken.com>
11796
11797 * startup.el (command-line): Update package subdirectory regexp.
11798
49c5410a
SM
117992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11800
c6eee9aa
SM
11801 * allout.el (allout-abbreviate-flattened-numbering)
11802 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11803
49c5410a
SM
11804 * subr.el (read-char-choice): Only show the cursor after the prompt,
11805 not after the answer.
11806
047b2bb9
KR
118072011-03-15 Kevin Ryde <user42@zip.com.au>
11808
11809 * help-fns.el (variable-at-point): Skip leading quotes, if any
11810 (bug#8253).
11811
0a57d256
SM
118122011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11813
11814 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11815 warning message.
11816
77c992bc
MA
118172011-03-14 Michael Albinus <michael.albinus@gmx.de>
11818
11819 * shell.el (shell): When called interactively, offer to change the
11820 shell file name on remote hosts.
11821
eebc475d
TZ
118222011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11823
11824 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11825 integration for LDAP parameters. The host, base, user or binddn,
11826 and secret tokens can be specified in a netrc file, for instance.
11827 This is optional because an `auth-source' parameter must be
11828 specified in the search attributes.
11829
9d05d1ba
JB
118302011-03-13 Juanma Barranquero <lekktu@gmail.com>
11831
11832 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11833
09d9db2c
GM
118342011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11835
11836 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11837 into declaration. Remove redundant and harmful binding.
11838
118392011-03-12 Eli Zaretskii <eliz@gnu.org>
11840
11841 * files.el (file-ownership-preserved-p): Pass `integer' as an
11842 explicit 2nd argument to `file-attributes'. If the file's owner
11843 is the Administrators group on Windows, and the current user is
11844 Administrator, consider that a match.
11845
11846 * server.el (server-ensure-safe-dir): Consider server directory
11847 safe on MS-Windows if its owner is the Administrators group while
11848 the current Emacs user is Administrator. Use `=' to compare
11849 numerical UIDs, since they could be integers or floats.
11850
219bd536
JB
118512011-03-12 Juanma Barranquero <lekktu@gmail.com>
11852
11853 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11854
f3afd36b
MA
118552011-03-12 Michael Albinus <michael.albinus@gmx.de>
11856
11857 Sync with Tramp 2.2.1.
11858
11859 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11860
11861 * net/trampver.el: Update release number.
11862
3aaaa6f1
SM
118632011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11864
94642599
SM
11865 * progmodes/compile.el (compilation--previous-directory): Fix up
11866 various nil/dead-marker mismatches (bug#8014).
11867 (compilation-directory-properties, compilation-error-properties):
11868 Don't call it at a position past the one we're about to change.
11869
3aaaa6f1
SM
11870 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11871 Disable obsolescence warnings in the file that declares it.
11872
14239447
KM
118732011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11874
099c39a4
JB
11875 * allout-widgets.el (allout-widgets-tally):
11876 Initialize allout-widgets-tally as a hash table rather than nil to
11877 prevent mode-line redisplay warnings. Also, clarify the module
11878 description and fix a comment typo.
14239447 11879
135e287c
JB
118802011-03-11 Juanma Barranquero <lekktu@gmail.com>
11881
11882 * help-fns.el (describe-variable): Don't complete keywords.
11883 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11884
ffbf300e
CY
118852011-03-10 Chong Yidong <cyd@stupidchicken.com>
11886
ba08b241
CY
11887 * emacs-lisp/package.el (package-version-join): Impose a standard
11888 string representation for pre/alpha/beta version lists.
11889 (package-unpack-single): Standardize the directory name by passing
11890 it through package-version-join.
11891 (package-strip-rcs-id): Accept any version string that does not
11892 signal an error in version-to-list.
ffbf300e 11893
f346fd6b
MA
118942011-03-10 Michael Albinus <michael.albinus@gmx.de>
11895
11896 * simple.el (delete-trailing-whitespace): Return nil for the
11897 benefit of `write-file-functions'.
11898
ccb55d27
GM
118992011-03-10 Glenn Morris <rgm@gnu.org>
11900
5ceaac0c
GM
11901 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11902
02da65ff
GM
11903 * vc/vc-git.el (vc-git-program): New option.
11904 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11905 (vc-git--call): Use it.
11906
b2f603cc
GM
11907 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11908
5772caab
GM
11909 * cus-edit.el (Custom-newline): If no button at point, look
11910 for a subgroup button at start-of-line. (Bug#2298)
11911
ccb55d27
GM
11912 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11913
ec6ecaed
JD
119142011-03-10 Julien Danjou <julien@danjou.info>
11915
11916 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11917 `cursor-type' is nil.
11918
9d5aa01d
JB
119192011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11920
11921 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11922
b6a5875b
KM
119232011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11924
7a71b18d 11925 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11926 preserves the existing header prefix, rebulleting it if necessary,
11927 rather than replacing it. This is necessary for proper operation
11928 of cooperative addons like allout-widgets.
1154d12e
JB
11929 (allout-make-topic-prefix, allout-rebullet-heading):
11930 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11931 value as alternate bullet to be used, instead of prompting the user
11932 for a bullet character.
b6a5875b 11933
ee545c35
MA
119342011-03-09 Michael Albinus <michael.albinus@gmx.de>
11935
d86d2721
SM
11936 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11937 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11938 `tramp-default-port'.
11939
c47971d7
DD
119402011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11941
11942 * net/rcirc.el (rcirc-handler-001): Remove useless
11943 with-rcirc-process-buffer.
11944 (rcirc-check-auth-status): Swap arguments to string-match.
11945
13522cb4
GM
119462011-03-09 Glenn Morris <rgm@gnu.org>
11947
0be6f4f1
GM
11948 * shell.el (shell-mode):
11949 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11950
13522cb4
GM
11951 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11952 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11953
515de2e3
CY
119542011-03-08 Chong Yidong <cyd@stupidchicken.com>
11955
11956 * emacs-lisp/package.el (package-refresh-contents)
11957 (package-menu-execute): Use condition-case-no-debug.
11958
b511b994
MA
119592011-03-08 Michael Albinus <michael.albinus@gmx.de>
11960
11961 * simple.el (shell-command-to-string): Use `process-file'.
11962
11963 * emacs-lisp/package.el (package-tar-file-info): Handle also
11964 remote files.
11965
d86d2721
SM
11966 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11967 Use `equal' for upload base check.
b511b994 11968
25bbfb31
AM
119692011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11970
11971 * textmodes/texinfo.el (texinfo-environments):
11972 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11973
be996521
GM
119742011-03-08 Glenn Morris <rgm@gnu.org>
11975
e9c8529f
GM
11976 * cus-start.el (cursor-in-non-selected-windows):
11977 Fix :set quoting oddness. (Bug#8192)
11978
be996521
GM
11979 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11980 in some setf expressions. (Bug#2159)
11981
2bb5649e
CY
119822011-03-08 Chong Yidong <cyd@stupidchicken.com>
11983
11984 * custom.el (custom-available-themes): Return themes in
11985 alphabetical order.
11986
33383987 11987See ChangeLog.15 for earlier changes.
e3d51b27
MR
11988
11989;; Local Variables:
11990;; coding: utf-8
e3d51b27
MR
11991;; End:
11992
acaf905b 11993 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11994
11995 This file is part of GNU Emacs.
11996
11997 GNU Emacs is free software: you can redistribute it and/or modify
11998 it under the terms of the GNU General Public License as published by
11999 the Free Software Foundation, either version 3 of the License, or
12000 (at your option) any later version.
12001
12002 GNU Emacs is distributed in the hope that it will be useful,
12003 but WITHOUT ANY WARRANTY; without even the implied warranty of
12004 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12005 GNU General Public License for more details.
12006
12007 You should have received a copy of the GNU General Public License
12008 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.