* lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
f3934f6f
SM
12012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5 (byte-compile-tmp-var): New const.
6 (byte-compile-defvar): Use it to minimize .elc size.
7 Just use `defvar' rather than simulate it (bug#10761).
8
a075a2c5
GM
92012-02-09 Glenn Morris <rgm@gnu.org>
10
cf3aa21b
GM
11 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12
354998cd
GM
13 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14 Add :version tags.
15
83274125 16 * progmodes/compile.el (compilation-first-column)
34c071c6 17 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
83274125 18
dab3703d
GM
19 * vc/log-view.el (log-view-toggle-entry-display):
20 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
21
3f88cd72
GM
22 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
23 (report-emacs-bug-can-use-xdg-email):
24 (report-emacs-bug-insert-to-mailer): Doc fixes.
25 (report-emacs-bug): Message fix.
26
d95b247d
GM
27 * net/browse-url.el (browse-url-can-use-xdg-open)
28 (browse-url-xdg-open): Doc fixes.
29
a075a2c5
GM
30 * electric.el (electric-indent-mode, electric-pair-mode)
31 (electric-layout-rules, electric-layout-mode): Doc fixes.
32 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
33
ffb6157e
MR
342012-02-08 Martin Rudalics <rudalics@gmx.at>
35
36 * server.el (server-unselect-display): Don't inadvertently kill
37 the current buffer. (Bug#10729)
38
e1ac4066
GM
392012-02-08 Glenn Morris <rgm@gnu.org>
40
34e8a2da
GM
41 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
42 (sql-list-table): Doc fixes.
43
b4ac6e8c
GM
44 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
45 Comment out (does nothing).
46
e1ac4066
GM
47 * completion.el (dynamic-completion-mode):
48 * dirtrack.el (dirtrack-debug-mode):
49 * electric.el (electric-layout-mode):
50 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
51 * face-remap.el (text-scale-mode, buffer-face-mode):
52 * iimage.el (iimage-mode):
53 * image-mode.el (image-transform-mode):
54 * minibuffer.el (completion-in-region-mode):
55 * scroll-lock.el (scroll-lock-mode):
56 * simple.el (next-error-follow-minor-mode):
57 * tar-mode.el (tar-subfile-mode):
58 * tooltip.el (tooltip-mode):
59 * vcursor.el (vcursor-use-vcursor-map):
60 * wid-browse.el (widget-minor-mode):
61 * emulation/tpu-edt.el (tpu-edt-mode):
62 * emulation/tpu-extras.el (tpu-cursor-free-mode):
63 * international/iso-ascii.el (iso-ascii-mode):
64 * language/thai-util.el (thai-word-mode):
65 * mail/supercite.el (sc-minor-mode):
66 * net/goto-addr.el (goto-address-mode):
67 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
68 * progmodes/cwarn.el (cwarn-mode):
69 * progmodes/flymake.el (flymake-mode):
70 * progmodes/glasses.el (glasses-mode):
71 * progmodes/hideshow.el (hs-minor-mode):
72 * progmodes/pascal.el (pascal-outline-mode):
73 * textmodes/enriched.el (enriched-mode):
74 * vc/smerge-mode.el (smerge-mode):
75 Doc fixes (minor mode argument).
76
5e0d957f
EZ
772012-02-07 Eli Zaretskii <eliz@gnu.org>
78
79 * ls-lisp.el (ls-lisp-sanitize): New function.
80 (ls-lisp-insert-directory): Use it to fix or remove any elements
81 in file-alist with missing attributes. (Bug#4673)
82
98d7371e
AM
832012-02-07 Alan Mackenzie <acm@muc.de>
84
85 Fix spurious recognition of c-in-knr-argdecl.
86
87 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
88 putative K&R region.
89
667ced3a
AM
902012-02-07 Alan Mackenzie <acm@muc.de>
91
92 * progmodes/cc-engine.el (c-forward-objc-directive): Prevent
93 looping in "#pragma mark @implementation".
94
5b77774d
MA
952012-02-07 Michael Albinus <michael.albinus@gmx.de>
96
97 * notifications.el (notifications-on-closed-signal): Make `reason'
98 optional. (Bug#10744)
99
af008560
GM
1002012-02-07 Glenn Morris <rgm@gnu.org>
101
60d47423
GM
102 * emacs-lisp/easy-mmode.el (define-minor-mode):
103 Doc fixes for the macro and the mode it defines.
104
dd605cc4
GM
105 * image.el (imagemagick-types-inhibit): Doc fix.
106
af008560
GM
107 * cus-start.el (imagemagick-render-type): Add it.
108
5cc59a37
LI
1092012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
110
111 * progmodes/cc-mode.el
112 (c-standard-font-lock-fontify-region-function): Set the default at
113 load time, too, so that `font-lock-fontify-buffer' can be called
114 without setting up the entire mode first. This fixes a bug in
115 `mm-inline-text' with C MIME parts.
116
9a6dd747
CY
1172012-02-06 Chong Yidong <cyd@gnu.org>
118
2d16b285
CY
119 * simple.el (list-processes--refresh): Delete exited processes
120 (Bug#8094).
121
171e9b6e
CY
122 * comint.el (comint-next-prompt): next-single-char-property-change
123 and prev-single-char-property-change never return nil (Bug#8657).
124
9a6dd747
CY
125 * custom.el (defcustom): Doc fix (Bug#9711).
126
aa4589a7
CY
1272012-02-05 Chong Yidong <cyd@gnu.org>
128
5c2a252f
CY
129 * cus-edit.el (custom-variable-reset-backup): Quote the value
130 before storing it in the customized-value property (Bug#6712).
4aab9006 131 (custom-display): Add a customization type tag.
983b9602 132 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 133
aa4589a7
CY
134 * wid-edit.el (widget-field-value-get): New optional arg to
135 suppress trailing whitespace truncation.
136 (character): Use it (Bug#2689).
137
1ff980ae
AS
1382012-02-05 Andreas Schwab <schwab@linux-m68k.org>
139
140 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
141 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
142
03988c98
CY
1432012-02-05 Chong Yidong <cyd@gnu.org>
144
eeb6cc88
CY
145 * cus-edit.el (custom-variable-value-create): For mismatched
146 types, show the current value (Bug#7600).
147
03988c98
CY
148 * custom.el (defcustom): Doc fix.
149
f8cdeef0
GM
1502012-02-05 Glenn Morris <rgm@gnu.org>
151
152 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
153
0696d255
JB
1542012-02-05 Juanma Barranquero <lekktu@gmail.com>
155
156 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
157 (pp-buffer): Use `ignore-errors', `looking-at-p'.
158 (pp-last-sexp): Use `looking-at-p'.
159
34c99998
GM
1602012-02-04 Glenn Morris <rgm@gnu.org>
161
8f05da42
GM
162 * files.el (revert-buffer):
163 Doc fix (mention revert-buffer-in-progress-p).
164
f160676e
GM
165 * emacs-lisp/ert-x.el (ert-simulate-command):
166 Check deferred-action-list (which is obsolete) is bound.
167
c7291ad9
GM
168 * subr.el (with-wrapper-hook): Doc fixes.
169
34c99998
GM
170 * simple.el (filter-buffer-substring-functions)
171 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
172
6283a7d3
LL
1732012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
174
175 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
176 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
177
e96e3013
LL
1782012-02-04 Leo Liu <sdl.web@gmail.com>
179
180 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
181
8ded50f2
GM
1822012-02-04 Glenn Morris <rgm@gnu.org>
183
82ff1d13
GM
184 * image.el (image-extension-data): Add obsolete alias.
185
987a0a16
GM
186 * isearch.el (isearch-update): Doc fix.
187
ea32ef46
GM
188 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
189
8ded50f2
GM
190 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
191
eea14f31
GM
1922012-02-03 Glenn Morris <rgm@gnu.org>
193
194 * image.el (image-animated-p): Doc fix. Use image-animated-types.
195 (image-animate-timeout): Doc fix.
196
197 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
198
12f381b7
GM
1992012-02-02 Glenn Morris <rgm@gnu.org>
200
953cebf5
GM
201 * server.el (server-auth-dir): Doc fix.
202 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
203
12f381b7
GM
204 * subr.el (run-mode-hooks): Doc fix.
205
953a8c3b
JL
2062012-02-02 Juri Linkov <juri@jurta.org>
207
208 * image-mode.el (image-toggle-display-image): Remove tautological
209 `major-mode' from the `derived-mode-p' test.
210
c5d3843c
KH
2112012-02-02 Kenichi Handa <handa@m17n.org>
212
9f6e692e 213 * composite.el (compose-region): Cancel previous change.
c5d3843c 214
159462d4 2152012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
216
217 * composite.el (compose-region, compose-string): Signal error for
218 a null string component (Bug#6988).
219
9f562668
CY
2202012-02-01 Chong Yidong <cyd@gnu.org>
221
e2cef717
CY
222 * view.el (view-buffer-other-window, view-buffer-other-frame):
223 Handle special modes like view-buffer (Bug#10650).
224 (view-buffer): Simplify.
225
9f562668
CY
226 * frame.el (set-frame-font): Tweak meaning of third argument.
227
9f6e692e
JB
228 * dynamic-setting.el (font-setting-change-default-font):
229 Use set-frame-font (Bug#9982).
9f562668 230
781acb9f
GM
2312012-02-01 Glenn Morris <rgm@gnu.org>
232
6035be52
GM
233 * progmodes/compile.el (compilation-internal-error-properties):
234 Respect compilation-first-column in the "*compilation*" buffer.
235
781acb9f
GM
236 * emacs-lisp/easy-mmode.el (define-minor-mode):
237 Relax :variable's test for a named function.
238
abbceb00
AM
2392012-01-31 Alan Mackenzie <acm@muc.de>
240
241 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
242 off by one error.
243
fce3fdeb
CY
2442012-01-31 Chong Yidong <cyd@gnu.org>
245
246 * frame.el (set-frame-font): New arg ALL-FRAMES.
247
248 * menu-bar.el (menu-set-font): Use set-frame-font.
249
250 * faces.el (face-spec-reset-face): Don't apply unspecified
251 attribute values to the default face.
252
47893581
JB
2532012-01-31 Juanma Barranquero <lekktu@gmail.com>
254
255 * progmodes/cwarn.el (cwarn): Remove dead link.
256 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
257 Remove * from defcustom docstrings.
258 (turn-on-cwarn-mode): Make obsolete.
259 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
260 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
261
e58e988a
GM
2622012-01-31 Glenn Morris <rgm@gnu.org>
263
60dc2671 264 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 265 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 266 Allow named functions to be used as the cdr of :variable.
e58e988a 267
7a3f511d
GM
2682012-01-30 Glenn Morris <rgm@gnu.org>
269
270 * emacs-lisp/authors.el (authors-fixed-entries):
271 Remove reference to deleted file rnewspost.el.
272
cb882333
JB
2732012-01-29 Juanma Barranquero <lekktu@gmail.com>
274
275 * window.el (window-with-parameter): Remove unused variable `windows'.
276 (window--side-check): Remove unused variable `code'.
277 (window--resize-siblings): Remove unused variable `first'.
278 (adjust-window-trailing-edge): Remove unused variable `failed'.
279 (window-deletable-p, window--delete): Remove unused variable `buffer'.
280 Use `let', not `let*'.
281 (balance-windows-2): Remove unused variable `found'.
282 (window--state-put-2): Remove unused variable `splits'.
283 (window-state-put): Remove unused variable `selected'.
284 (same-window-p): Use `string-match-p'.
285 (display-buffer-assq-regexp): Remove unused variable `value'.
286 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
287 Mark argument ALIST as ignored.
288 (pop-to-buffer): Remove unused variable `old-window'.
289
907201af
EZ
2902012-01-29 Eli Zaretskii <eliz@gnu.org>
291
292 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
293 and .lzma compressed files.
294
ea162670
CY
2952012-01-29 Chong Yidong <cyd@gnu.org>
296
5b95ee8a
CY
297 * frame.el (window-system-default-frame-alist): Doc fix.
298
ea162670
CY
299 * dynamic-setting.el (font-setting-change-default-font): Don't
300 change the default face if SET-FONT argument is non-nil (Bug#9982).
301
d6e6f4b1
SB
3022012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
303
304 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
305
0f29fa41 3062012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
307
308 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
309 breakpoints in files outside current directory (Bug#6098).
310
db174434
CY
3112012-01-29 Chong Yidong <cyd@gnu.org>
312
6b25e4e2
SE
313 * progmodes/python.el: Require ansi-color at top-level.
314
6df6ae42
JB
315 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
316 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
317 (lisp-mode-abbrev-table): Add doc.
318 (lisp-mode-variables): Don't set local-abbrev-table.
319 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
320
e70ee681
RW
3212012-01-28 Roland Winkler <winkler@gnu.org>
322
323 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
324
ace88aa2
RW
3252012-01-28 Roland Winkler <winkler@gnu.org>
326
327 * textmodes/bibtex.el (bibtex-entry-alist): New function.
328 (bibtex-set-dialect): Use it. Either set global values of
329 dialect-dependent variables or bind these variables buffer-locally
330 (Bug#10254).
331 (bibtex-mode): Call bibtex-set-dialect via
332 hack-local-variables-hook.
333 (bibtex-dialect): Update docstring. Add
334 safe-local-variable predicate.
335 (bibtex-entry-alist, bibtex-field-alist): Initialize via
336 bibtex-set-dialect.
337 (bibtex-mode-map): Define menu for each dialect.
338 (bibtex-entry): Fix docstring.
339
93376c5b
CY
3402012-01-28 Chong Yidong <cyd@gnu.org>
341
342 * eshell/esh-arg.el (eshell-quote-argument): New function.
343
344 * eshell/esh-ext.el (eshell-invoke-batch-file):
345 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
346 first arg to eshell-parse-command (Bug#10523).
347
4372494f
DA
3482012-01-28 Drew Adams <drew.adams@oracle.com>
349
350 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
351 `default-directory' is non-nil.
352
4d4ec1f8
EZ
3532012-01-28 Eli Zaretskii <eliz@gnu.org>
354
355 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
356 line that displays system-configuration-options. (Bug#9924)
357
7c188927
DA
3582012-01-28 Drew Adams <drew.adams@oracle.com>
359
360 * descr-text.el (describe-char): Show information about POS, in
361 addition to information about the character at POS. Improve and
362 update the doc string. Change "code point" to "code point in
363 charset", to avoid confusion with the character's Unicode code
364 point shown above that. (Bug#10129)
365
e0da685a
EZ
3662012-01-28 Eli Zaretskii <eliz@gnu.org>
367
368 * descr-text.el (describe-char): Show the raw character, not only
369 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
370 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
371 for the reasons.
372
70550acf
PH
3732012-01-28 Phil Hagelberg <phil@hagelb.org>
374
375 * emacs-lisp/package.el (package-install): Run
80ed5304 376 package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 377
0ce8e868
CY
3782012-01-28 Chong Yidong <cyd@gnu.org>
379
cb882333
JB
380 * emacs-lisp/package.el (package-maybe-load-descriptor):
381 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
382 (package-maybe-load-descriptor): Use it.
383 (package-download-transaction): Fully load required packages
384 inside the loop, so that `require' calls work (Bug#10593).
385 (package-install): No need to call package-initialize now.
386
2e7f3bea
CY
3872012-01-28 Chong Yidong <cyd@gnu.org>
388
6e9bad14
CY
389 * simple.el (deactivate-mark): Doc fix (Bug#8614).
390
f823b8ca
CY
391 * tooltip.el (tooltip-mode): Doc fix.
392 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
393
2680c309
CY
394 * frame.el (set-cursor-color): Doc fix (Bug#352).
395
d7a9e63b
CY
396 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
397 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
398
2e7f3bea
CY
399 * cus-edit.el (custom-buffer-create-internal): Fix search button
400 action (Bug#10542).
2ae01800 401 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 402
fc4f7a23
EW
4032012-01-27 Eduard Wiebe <usenet@pusto.de>
404
405 * dired.el (dired-mark-files-regexp):
406 Include any subdirectory components. (Bug#10445)
407
7dd37071
ML
4082012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
409
410 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
411 Handle [host]:port syntax. (Bug#10533)
412
a268160b
AH
4132012-01-27 Alex Harsanyi <harsanyi@mac.com>
414
415 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
416
e43273ef
GM
4172012-01-26 Glenn Morris <rgm@gnu.org>
418
419 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
420 * term.el (term-raw-escape-map): Use Control-X-prefix.
421 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
422
1edf595d
MR
4232012-01-25 Martin Rudalics <rudalics@gmx.at>
424
425 * window.el (window-state-get, window--state-get-1): Don't deal
426 with fixed-sizeness of windows. Simplify code.
427
fa8eafef
JC
4282012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
429
6df6ae42
JB
430 * window.el (window--state-get-1, window--state-put-2):
431 Don't save and restore the mark.
fa8eafef 432
0b21c100
CY
4332012-01-25 Chong Yidong <cyd@gnu.org>
434
435 * custom.el (custom-variable-p): Doc fix.
436
5ae1a6c8
GM
4372012-01-25 Glenn Morris <rgm@gnu.org>
438
40047858
GM
439 * dired.el (dired-goto-file): Handle some of the more common
440 characters that `ls -b' escapes. (Bug#10596)
441
5ddce96c
GM
442 * progmodes/compile.el (compilation-next-error-function):
443 Respect compilation-first-column in the "*compilation*" buffer.
444 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
445
5ae1a6c8
GM
446 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
447
b559f1a9
GM
4482012-01-24 Glenn Morris <rgm@gnu.org>
449
450 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
451
6725d21a
JD
4522012-01-24 Julien Danjou <julien@danjou.info>
453
454 * color.el (color-rgb-to-hsl): Fix value computing.
455 (color-hue-to-rgb): New function.
456 (color-hsl-to-rgb): New function.
457 (color-clamp, color-saturate-hsl, color-saturate-name)
458 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
459 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
460
70df4bbe
GM
4612012-01-24 Glenn Morris <rgm@gnu.org>
462
463 * vc/vc-rcs.el (vc-rcs-create-tag):
464 * vc/vc-sccs.el (vc-sccs-create-tag):
465 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
466
802a2ae2
ML
4672012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
468
469 * eshell/esh-util.el (eshell-read-hosts-file):
470 Skip comment lines. (Bug#10549)
471
d7128bb1
ML
472 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
473
d1a5c3b4
JB
4742012-01-23 Juanma Barranquero <lekktu@gmail.com>
475
2724d9c7
JB
476 * subr.el (display-delayed-warnings): Doc fix.
477 (collapse-delayed-warnings): New function to collapse identical
478 adjacent warnings.
479 (delayed-warnings-hook): Add it.
d1a5c3b4 480
a5509865
MA
4812012-01-22 Michael Albinus <michael.albinus@gmx.de>
482
483 * net/tramp.el (tramp-action-login): Set connection property "login-as".
484
485 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
486 properties, when "login-as" is set.
487
488 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
489 (tramp-default-user-alist): Don't add "pscp".
490 (tramp-do-copy-or-rename-file-out-of-band): Use connection
491 property "login-as", if set. (Bug#10530)
492
cc6d5805
MA
4932012-01-21 Michael Albinus <michael.albinus@gmx.de>
494
495 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
496 "plink1" and "psftp". (Bug#10530)
497
4982012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
499
500 * international/mule-cmds.el (prefer-coding-system): Show a
501 warning message if the default value of file-name-coding-system
502 was not changed.
503
f0960428
JC
5042012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
505
cb882333
JB
506 * windmove.el (windmove-reference-loc):
507 Fix windmove-reference-loc miscalculation.
f0960428 508
dd6f2a63
JB
5092012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
510
511 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
512 default unit.
513
7b447e9b
GM
5142012-01-21 Glenn Morris <rgm@gnu.org>
515
117a9ea1
GM
516 * international/mule.el (auto-coding-alist): Add .tbz.
517
7b447e9b
GM
518 * files.el (local-enable-local-variables): Doc fix.
519 (inhibit-local-variables-regexps): Rename from
520 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
521 Doc fix. Add some extensions from auto-coding-alist.
522 (inhibit-local-variables-suffixes):
523 Rename from inhibit-first-line-modes-suffixes. Doc fix.
524 (inhibit-local-variables-p):
525 New function, extracted from set-auto-mode-1.
526 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
527 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
528 (hack-local-variables): Doc fix. Make the mode-only case
529 respect enable-local-variables and friends.
530 Respect inhibit-local-variables-regexps for file-locals, but
531 not for directory-locals.
532 (set-visited-file-name):
533 Take account of inhibit-local-variables-regexps.
534 Whether it applies may change as the file name is changed.
535 * jka-cmpr-hook.el (jka-compr-install):
536 * jka-compr.el (jka-compr-uninstall):
537 Update for inhibit-first-line-modes-suffixes name change.
538
dd6e3cdd
MR
5392012-01-20 Martin Rudalics <rudalics@gmx.at>
540
541 * help-macro.el (make-help-screen): Temporarily restore original
542 binding for minor-mode-map-alist (Bug#10454).
543
0d0deb38
JD
5442012-01-19 Julien Danjou <julien@danjou.info>
545
546 * color.el (color-name-to-rgb): Use the white color to find the max
547 color component value and return correctly computed values.
548 (color-name-to-rgb): Add missing float conversion for max value.
549
34a02f46
MR
5502012-01-19 Martin Rudalics <rudalics@gmx.at>
551
552 * window.el (window--state-get-1, window-state-get): Do not use
553 special state value for window-persistent-parameters. Rename
554 argument IGNORE to WRITABLE. Rewrite doc-string.
555 (window--state-put-2): Reset all window parameters to nil before
556 assigning values of persistent parameters.
557
606c44c4
AM
5582012-01-18 Alan Mackenzie <acm@muc.de>
559
560 Eliminate sluggishness and hangs in fontification of "semicolon
561 deserts".
562
cb882333
JB
563 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
564 Change value 10000 -> 3000.
606c44c4
AM
565 (c-state-safe-place): Reformulate so it doesn't stack up an
566 infinite number of wrong entries in c-state-nonlit-pos-cache.
567 (c-determine-limit-get-base, c-determine-limit): New functions to
568 determine backward search limits disregarding literals.
569 (c-find-decl-spots): Amend commenting.
570 (c-cheap-inside-bracelist-p): New function which detects "={".
571
572 * progmodes/cc-fonts.el
573 (c-make-font-lock-BO-decl-search-function): Give a limit to a
574 backward search.
575 (c-font-lock-declarations): Fix an occurrence of point being
576 undefined. Check additionally for point being in a bracelist or
577 near a macro invocation without a semicolon so as to avoid a
578 fruitless time consuming search for a declarator. Give a more
579 precise search limit for declarators using the new
580 c-determine-limit.
581
f3860cea
GM
5822012-01-18 Glenn Morris <rgm@gnu.org>
583
584 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
585 (set-auto-mode): Doc fixes.
586
1db03b16
GM
5872012-01-17 Glenn Morris <rgm@gnu.org>
588
0e6038be
GM
589 * isearch.el (search-nonincremental-instead): Fix doc typo.
590
1db03b16
GM
591 * dired.el (dired-insert-directory): Handle newlines in directory name.
592 (dired-build-subdir-alist): Unescape newlines in directory name.
593
4cb0aa75
MA
5942012-01-17 Michael Albinus <michael.albinus@gmx.de>
595
596 * net/tramp.el (tramp-local-end-of-line): New defcustom.
597 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
598 (tramp-action-terminal): Use it. (Bug#10530)
599
1d00653d
SM
6002012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
601
602 * minibuffer.el (completion--replace): Strip properties (bug#10062).
603
6a6ee00d
MR
6042012-01-16 Martin Rudalics <rudalics@gmx.at>
605
606 * window.el (window-state-ignored-parameters): Remove variable.
607 (window--state-get-1): Rename argument MARKERS to IGNORE.
608 Handle persistent window parameters. Make copy of clone-of
609 parameter only if requested. (Bug#10348)
610 (window--state-put-2): Install a window parameter only if it has
611 a non-nil value or an existing parameter shall be overwritten.
612
97912def
MA
6132012-01-15 Michael Albinus <michael.albinus@gmx.de>
614
615 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
616
688070a5
EZ
6172012-01-14 Eli Zaretskii <eliz@gnu.org>
618
619 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
620 don't pass the (nil) value of `upnode' to string-match.
621
301afadc
CY
6222012-01-14 Chong Yidong <cyd@gnu.org>
623
624 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 625 Fix values recognized by the cursorBlink resource.
301afadc 626
9e5788aa
PE
6272012-01-14 Paul Eggert <eggert@cs.ucla.edu>
628
629 * epg.el (epg--make-temp-file): Avoid permission race condition
630 when running on old Emacs versions (bug#10403).
631
3cdb7f5a
GM
6322012-01-14 Glenn Morris <rgm@gnu.org>
633
634 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
635
8c82b1b4
AM
6362012-01-13 Alan Mackenzie <acm@muc.de>
637
638 Fix filling for when filladapt mode is enabled.
639
640 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
641 c-mask-paragraph, pass in `fill-paragraph' rather than
642 `fill-region-as-paragraph'. (This is a reversion of a previous
643 change.)
644 * progmodes/cc-mode.el (c-basic-common-init): Make
645 fill-paragraph-handle-comment buffer local and set it to nil.
646
e517eda4
GM
6472012-01-13 Glenn Morris <rgm@gnu.org>
648
1498536e
GM
649 * dired.el (dired-switches-escape-p): New function.
650 (dired-insert-directory): Use dired-switches-escape-p.
651 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
652
e517eda4
GM
653 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
654
328f984d
GM
6552012-01-12 Glenn Morris <rgm@gnu.org>
656
657 * mail/sendmail.el (mail-mode): Update paragraph-separate for
658 changes in adaptive-fill-regexp. (Bug#10276)
659
2cc769a8
AM
6602012-01-11 Alan Mackenzie <acm@muc.de>
661
662 Fix Emacs bug #10463 - put `widen's around the critical spots.
663
1d00653d 664 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
665 widen around each invocation of c-state-pp-to-literal. Remove an
666 unused let variable.
667
e52c37fa
GM
6682012-01-11 Glenn Morris <rgm@gnu.org>
669
670 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 671 Doc fix.
e52c37fa 672
96f8741e
CY
6732012-01-10 Chong Yidong <cyd@gnu.org>
674
1d00653d
SM
675 * net/network-stream.el (network-stream-open-starttls):
676 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
677 response to the capability command.
678
b09a806e
GM
6792012-01-10 Glenn Morris <rgm@gnu.org>
680
681 * mail/unrmail.el (unrmail): Tweak previous change.
682
7655cb66
CY
6832012-01-09 Chong Yidong <cyd@gnu.org>
684
685 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
686
9d5a8f0b
AM
6872012-01-08 Alan Mackenzie <acm@muc.de>
688
689 Optimise font locking in long enum definitions.
690
691 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
692 arm to a cond form to handle enums.
693 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
694 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
695
9a0115ab 6962012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
697
698 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 699 (Bug#10401)
6bb72cbd 700
f186bb95
LMI
7012012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
702
29232a68
LMI
703 * faces.el (set-face-attribute): Clarify the meaning of the nil
704 frame (bug#10294).
705
4e5d086d
LMI
706 * subr.el (with-selected-frame): Mention that the selected frame
707 is restored (bug#9980).
708
8e66aebe
LMI
709 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
710 (bug#9759).
711
cd394be1 712 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
713 (password-read): Don't autoload unused function.
714
adf4e762
JB
7152012-01-07 Juanma Barranquero <lekktu@gmail.com>
716
717 * progmodes/which-func.el (which-func-mode): Turn into a
718 non-interactive function and mark as obsolete (bug#10428).
719
89bd9ccd
CY
7202012-01-06 Chong Yidong <cyd@gnu.org>
721
722 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
723 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
724 functions, along with 1 and -1.
725
4afee9d5
EZ
7262012-01-06 Eli Zaretskii <eliz@gnu.org>
727
728 * time.el (display-time-load-average)
729 (display-time-default-load-average): Doc fixes. See the thread
730 starting at
731 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
732 for the details.
733
536aea70
GM
7342012-01-06 Glenn Morris <rgm@gnu.org>
735
665ae865
GM
736 * mail/unrmail.el (unrmail): Give an explicit error if the input file
737 has no messages. (Bug#10377)
738
c869783d
GM
739 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
740 than Info-edit. (Bug#10385)
741
2bb4227e
GM
742 * time.el (display-time-load-average, display-time-next-load-average):
743 Doc fixes.
744
7d5944b9
GM
745 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
746 local setting of buffer-read-only to the input buffer. (Bug#10419)
747
536aea70
GM
748 * calendar/calendar.el (calendar-mode):
749 Locally set scroll-margin to 0. (Bug#10379)
750
7dccca16
UM
7512012-01-06 Ulrich Mueller <ulm@gentoo.org>
752
753 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
754
afbb7930
GM
7552012-01-05 Glenn Morris <rgm@gnu.org>
756
757 * eshell/em-unix.el (diff-no-select): Autoload it.
758 (eshell/diff): Use diff-no-select. (Bug#10420)
759
04482335
CY
7602012-01-05 Chong Yidong <cyd@gnu.org>
761
7baca3bc
CY
762 * shell.el (shell-dynamic-complete-functions): Revert last change.
763 (shell-command-completion-function): New function.
764 (shell-completion-vars): Use it to implement
765 shell-completion-execonly (Bug#10417).
766
04482335
CY
767 * custom.el (enable-theme): Don't set custom-safe-themes.
768
1d00653d
SM
769 * cus-theme.el (custom-theme-merge-theme):
770 Ignore custom-enabled-themes and custom-safe-themes.
04482335 771
bb5aa5d6
MM
7722012-01-05 Michael R. Mauger <mmaug@yahoo.com>
773
774 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
775 first prompt in `sql-interacive-mode'.
776 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 777 keywords.
6df6ae42 778 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
779 (sql-product-interactive): Bug fix: Set `sql-buffer' in
780 context of original buffer. Invoke `sql-login-hook'.
781
a7183d7c
EZ
7822012-01-04 Eli Zaretskii <eliz@gnu.org>
783
784 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
785 letters in cite-prefix.
786
a1eacd1e
LMI
7872012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
788
789 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
790
787cdb34
CY
7912012-01-03 Chong Yidong <cyd@gnu.org>
792
1d00653d
SM
793 * shell.el (shell-dynamic-complete-functions):
794 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
795 comint-filename-completion first (Bug#10417).
796
30710442
RS
7972012-01-02 Richard Stallman <rms@gnu.org>
798
799 * battery.el (battery-status-function):
800 Detect when to use battery-yeeloong-sysfs.
801 (battery-echo-area-format): Add string for Yeeloong.
802 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
803 (battery-yeeloong-sysfs): New function.
804
f75bfc33
CY
8052012-01-02 Chong Yidong <cyd@gnu.org>
806
807 * dirtrack.el (dirtrack-list): Eliminate unused third element.
808 (dirtrack): Merge code for handling relative filenames in prompt
809 from shell-dir-cookie-watcher.
810 (dirtrack-debug-message): New arg to avoid excess format calls.
811
812 * shell.el (shell-dir-cookie-re): Variable deleted.
813 (shell-dir-cookie-watcher): Function deleted.
814 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
815 with dirtrack-mode.
816
651e947e
EZ
8172012-01-01 Eli Zaretskii <eliz@gnu.org>
818
1d00653d
SM
819 * term/w32-win.el (dynamic-library-alist) <gnutls>:
820 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
821 libgnutls-26.dll.
822
94d4c7dc
AS
8232011-12-31 Andreas Schwab <schwab@linux-m68k.org>
824
825 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
826
8d43f3cd
EZ
8272011-12-31 Eli Zaretskii <eliz@gnu.org>
828
829 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
830 headers of non-MIME messages, when rmail-enable-mime is non-nil.
831
98c8795a
MA
8322011-12-29 Michael Albinus <michael.albinus@gmx.de>
833
834 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
835 also for alternative shells.
836 (tramp-open-connection-setup-interactive-shell): Check, whether
837 the shell is a busybox.
838 (tramp-send-command): Don't suppress multiple prompts for
839 busyboxes, it hurts.
840
51281b32
CY
8412011-12-28 Chong Yidong <cyd@gnu.org>
842
843 * progmodes/gdb-mi.el (gdb-get-source-file-list)
844 (gdb-get-source-file): Move mode line update to
845 gdb-get-source-file (Bug#10087).
846
2170cb53
CY
8472011-12-25 Chong Yidong <cyd@gnu.org>
848
849 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
850 gud-gdb-marker-filter without taking it as an argument.
851 (gud-gdb-run-command-fetch-lines): Caller changed.
852 (gud-gdb-completion-function): New variable.
853 (gud-gdb-completion-at-point): Use it.
854 (gud-gdb-completions-1): Split from gud-gdb-completions.
855
856 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
857 function as separate arguments.
858 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
859 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
860 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
861 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
862 (gdb-stopped, def-gdb-auto-update-trigger)
863 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
864 (gdb-get-changed-registers, gdb-get-main-selected-frame):
865 Callers changed.
2170cb53
CY
866 (gud-gdbmi-completions): New function.
867 (gdb): Use it for generating the completion table.
868
be8b11bb
AM
8692011-12-24 Alan Mackenzie <acm@muc.de>
870
871 Introduce a mechanism to widen the region used in context font
1d00653d 872 locking. Use this to protect declarations from losing their contexts.
be8b11bb 873
1d00653d
SM
874 * progmodes/cc-langs.el (c-before-font-lock-functions):
875 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 876 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
877 functions to be run just before context (etc.) font locking.
878
879 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 880 New, functionality extracted from
be8b11bb 881 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 882 (c-in-after-change-fontification): New variable.
be8b11bb
AM
883 (c-after-change): Set c-in-after-change-fontification.
884 (c-set-fl-decl-start): Rejig its interface, so it can be called
885 from both after-change and context fontifying.
b81d40f0
JB
886 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
887 New functions.
888 (c-standard-font-lock-fontify-region-function): New variable.
889 (c-font-lock-fontify-region): New function.
be8b11bb 890
341cf6ac
JL
8912011-12-24 Juri Linkov <juri@jurta.org>
892
893 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
894 (Bug#10348)
895
bffcee0a
MA
8962011-12-23 Michael Albinus <michael.albinus@gmx.de>
897
898 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
899 existence of source file. (Bug#10325)
900
cb5e207c
AM
9012011-12-23 Alan Mackenzie <acm@muc.de>
902
903 Fix unstable fontification inside templates.
904
b81d40f0
JB
905 * progmodes/cc-langs.el (c-before-font-lock-functions):
906 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
907 additionally has c-set-fl-decl-start. The other languages (apart
908 from AWK) have that as a single entry.
909
b81d40f0
JB
910 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
911 The functionality for "local" declarations has been extracted to
cb5e207c
AM
912 c-set-fl-decl-start.
913
b81d40f0
JB
914 * progmodes/cc-mode.el (c-common-init, c-after-change):
915 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
916 (c-set-fl-decl-start): New function, extracted from
917 c-font-lock-enclosing-decls and enhanced.
918
60ff536c
JB
9192011-12-23 Juanma Barranquero <lekktu@gmail.com>
920
921 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
922
1c4757d6
JL
9232011-12-22 Juri Linkov <juri@jurta.org>
924
925 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
926
d031f2c7
CY
9272011-12-22 Chong Yidong <cyd@gnu.org>
928
929 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
930
bace743a
DA
9312011-12-21 Drew Adams <drew.adams@oracle.com>
932
933 * files.el (file-remote-p): Fix docstring. (Bug#10319)
934
728a1f2b
JC
9352011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
936
937 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
938
0d373f73
TZ
9392011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
940
fec0aaa4
TZ
941 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
942 highlighting and support. Fix up comments for capitalization.
943 (cfengine-mode-debug): New var.
944 (cfengine3-mode): Change the modeline indicator to "CFE3".
945 (cfengine3-font-lock-keywords): Improve defun highlighting.
946 (cfengine2-actions): Rename from `cfengine-actions'.
947 (cfengine2-font-lock-keywords): Rename from
948 `cfengine-font-lock-keywords'.
949 (cfengine2-imenu-expression): Rename from
950 `cfengine-imenu-expression'.
951 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
952 (cfengine2-beginning-of-defun): Rename from
953 `cfengine-beginning-of-defun'.
954 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
955 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
956 (cfengine2-mode): Rename from `cfengine-mode'. Change the
957 modeline indicator to "CFE2".
958 (cfengine-mode): Defalias to `cfengine-auto-mode'.
959 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 960
bc86f573
CY
9612011-12-21 Chong Yidong <cyd@gnu.org>
962
963 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
964 filename argument.
965
d45ba96b
MR
9662011-12-20 Martin Rudalics <rudalics@gmx.at>
967
968 * window.el (window-normalize-buffer-to-display): Remove.
969 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
970
a6198c90
CY
9712011-12-19 Chong Yidong <cyd@gnu.org>
972
973 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
974 Don't signal an error in a predicate function; return non-nil.
975 (vc-dir-mark-file): Move the error here.
976 (vc-dir-mark-unmark): If acting on the region, keep going if one
977 of the entries cannot be marked/unmarked.
978 (vc-dir-mark-all-files): If current entry is a directory, mark
979 only child files, as documented.
980
34c5fb55
VB
9812011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
982
983 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
984 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
985 addition.
986
c803b2b7
JD
9872011-12-18 Jan Djärv <jan.h.d@swipnet.se>
988
989 * term/ns-win.el (ns-get-selection-internal)
990 (ns-store-selection-internal): Declare.
1154d12e
JB
991 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
992 Declare as obsolete.
993 (ns-get-pasteboard, ns-paste-secondary):
994 Use ns-get-selection-internal.
995 (ns-set-pasteboard, ns-copy-including-secondary):
996 Use ns-store-selection-internal.
c803b2b7 997
9cff91f8 9982011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
999
1000 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 1001 (vc-deduce-fileset): Doc fix.
99a289d9 1002
f16c898a
AS
10032011-12-16 Andreas Schwab <schwab@linux-m68k.org>
1004
1005 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1006
763237c4
SS
10072011-12-13 Sam Steingold <sds@gnu.org>
1008
1009 * man.el (Man-getpage-in-background): When running under a
1010 window-system, ignore $MANWIDTH and $COLUMNS.
1011
5fc1c122
KH
10122011-12-15 Kenichi Handa <handa@m17n.org>
1013
1014 * language/ethio-util.el: Change coding tag to utf-8-emacs.
1015 (setup-ethiopic-environment-internal): Comment out key-binding for
1016 ethio-toggle-punctuation.
1017
13d49cbb
AM
10182011-12-13 Alan Mackenzie <acm@muc.de>
1019
898169a2
AM
1020 Add the switch statement to AWK Mode.
1021
1022 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
1023 "default" to the keywords regexp.
1024
1025 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
1026 expression as the rest.
1d00653d
SM
1027 (c-nonlabel-token-key): Allow string literals for AWK.
1028 Refactor for the other modes.
898169a2 1029
13d49cbb 1030 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 1031 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
1032 routines. Limit backward searching in c-font-lock-enclosing.decl.
1033
1034 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1035 pp-state and literal type in addition to the limits.
1d00653d 1036 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 1037 (c-state-literal-at): Use the above new defun.
1d00653d
SM
1038 (c-slow-in-literal, c-fast-in-literal): Remove.
1039 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
1040
1041 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
1042 being in a literal. Add a limit for backward searching.
1043
1044 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
1045 c-slow-in-literal.
1046
15e0efc7
SM
10472011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
1050
454592a6
MR
10512011-12-13 Martin Rudalics <rudalics@gmx.at>
1052
1053 * window.el (delete-other-windows): Use correct frame in call to
1054 window-with-parameter.
1055
87393f26
DP
10562011-12-12 Daniel Pfeiffer <occitan@t-online.de>
1057
1058 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
1059 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
1060 (makefile-gmake-statements, makefile-makepp-statements):
1061 Use it and add new makepp keywords.
1062 (makefile-makepp-font-lock-keywords): Add new patterns.
1063 (makefile-match-function-end): Match new [...] and [[...]].
1064
11636b22
JB
10652011-12-11 Juanma Barranquero <lekktu@gmail.com>
1066
1067 * ses.el (ses-call-printer-return, ses-cell-property-get)
1068 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
1069 (ses-create-cell-variable, ses-reset-header-string)
1070 (ses-cell-set-formula, ses-repair-cell-reference-all)
1071 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
1072 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
1073 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
1074 (ses-aset-with-undo, ses-load, ses-truncate-cell)
1075 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
1076 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
1077 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
1078 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
1079 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
1080 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
1081 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
1082 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
1083
cf018193
VB
10842011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
1085
1086 * ses.el: The overall change is to add cell renaming, that is
1087 setting fancy names for cell symbols other than name matching
1088 "\\`[A-Z]+[0-9]+\\'" regexp .
1089 (ses-create-cell-variable): New defun.
1090 (ses-relocate-formula): Relocate formulas only for cells the
1091 symbols of which are not renamed, i.e. symbols whose names do not
1092 match regexp "\\`[A-Z]+[0-9]+\\'".
1093 (ses-relocate-all): Relocate values only for cells the symbols of
1094 which are not renamed.
1095 (ses-load): Create cells variables as the (ses-cell ...) are read,
1096 in order to check row col consistency with cell symbol name only
1097 for cells that are not renamed.
1098 (ses-replace-name-in-formula): New defun.
1099 (ses-rename-cell): New defun.
1100
ee957461
CY
11012011-12-11 Chong Yidong <cyd@gnu.org>
1102
1103 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
1104 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
1105
9a9e9ef0
MR
11062011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
1107
1108 * window.el (other-window): Fix docstring.
1109
92a8eba5
EZ
11102011-12-10 Eli Zaretskii <eliz@gnu.org>
1111
1112 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
1113 `from' or `to' address before taking its substring.
1114 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
1115 encoded name is chopped in the middle of the encoded string, and
1116 thus displayed encoded.
1117
e152e577
JB
11182011-12-10 Juanma Barranquero <lekktu@gmail.com>
1119
1120 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
1121
e5d84bfe
EZ
11222011-12-10 Eli Zaretskii <eliz@gnu.org>
1123
1124 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
1125 to use texinfo-update-node and commands that call it if the
1126 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 1127 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
1128 (texinfo-all-menus-update, texinfo-master-menu)
1129 (texinfo-update-node, texinfo-every-node-update)
1130 (texinfo-multiple-files-update): Doc fix. Warn against updating
1131 all the @node lines.
1132 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
1133 argument is numeric. Explain better in the doc string what the
1134 function really does.
1135 (texinfo-insert-master-menu-list): Improve the error message
1136 displayed if there's no menu in the Top node.
1137 (Bug#2975) See also this thread:
e5d84bfe
EZ
1138 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
1139
1d84e9bb
MG
11402011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
1141
1142 * speedbar.el (speedbar-supported-extension-expressions):
1143 Add .adb and .ads, commonly used for Ada source code (bug#10256).
1144
382c953b
JB
11452011-12-09 Juanma Barranquero <lekktu@gmail.com>
1146
1147 * printing.el (pr-mode-alist):
1148 * simple.el (filter-buffer-substring-functions)
1149 (completion-list-insert-choice-function):
1150 * window.el (window-with-parameter, window-atom-root)
1151 (window-sides-slots, window-size-fixed, window-min-delta)
1152 (window-max-delta, window--resize-mini-window)
1153 (window--resize-child-windows-normal, window-tree)
1154 (delete-other-windows, quit-window, split-window)
1155 (display-buffer-record-window, special-display-buffer-names)
1156 (special-display-regexps, special-display-popup-frame)
1157 (same-window-p, split-window-sensibly)
1158 (display-buffer-overriding-action, display-buffer-alist)
1159 (display-buffer-base-action, display-buffer, switch-to-buffer)
1160 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
1161 (fit-window-to-buffer, recenter-positions)
1162 (mouse-autoselect-window-state, mouse-autoselect-window-select):
1163 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
1164 and remove unneeded backslashes in docstrings.
1165
39c9faef
SM
11662011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1167
98449af8
SM
1168 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
1169
39c9faef
SM
1170 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
1171 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
1172 end in ".mk".
1173 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
1174 when reading the makefile (bug#10116).
1175
86ed9fdc
SM
11762011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1177
1178 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
1179 (bug#10116).
1180
5580f89d
GM
11812011-12-06 Glenn Morris <rgm@gnu.org>
1182
1183 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
1184
28d3917c
CY
11852011-12-06 Chong Yidong <cyd@gnu.org>
1186
1187 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
1188
a98edce9
JB
11892011-12-06 Juanma Barranquero <lekktu@gmail.com>
1190
1191 * textmodes/table.el (table-shorten-cell): Fix typo.
1192
e65adfac
CG
11932011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
1194
1195 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
1196
71cc0b74
EZ
11972011-12-05 Eli Zaretskii <eliz@gnu.org>
1198
1199 * descr-text.el (describe-char): Fix display of strong
1200 right-to-left characters and directional embeddings and overrides.
1201
1202 * simple.el (what-cursor-position): Fix display of codepoints of
1203 strong right-to-left characters.
1204
315bc30d
CY
12052011-12-05 Chong Yidong <cyd@gnu.org>
1206
1207 * faces.el (read-color): Doc fix.
1208
58a70b94
GM
12092011-12-05 Glenn Morris <rgm@gnu.org>
1210
1211 * align.el (align--set-marker): Add doc-string.
1212 Don't try to move something that is not a marker. (Bug#10216)
1213
5158face
GM
12142011-12-04 Glenn Morris <rgm@gnu.org>
1215
1216 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
1217 overly zealous deletion of trailing whitespace.
1218
520fca41
JB
12192011-12-04 Juanma Barranquero <lekktu@gmail.com>
1220
1221 * server.el (server-delete-client): On Windows, do not try to delete
1222 the only terminal.
1223 (server-process-filter): On Windows, treat requests for a tty frame as
1224 if they were for a GUI frame if the running server is in GUI mode.
1225
5e605a2e
GM
12262011-12-03 Glenn Morris <rgm@gnu.org>
1227
1228 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
1229
5c3fe83f
SM
12302011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1231
6f5e57e7
SM
1232 * electric.el: Streamline electric-indent's hook.
1233 (electric-indent-chars): Revert to simple list.
1234 (electric-indent-functions): New var.
1235 (electric-indent-post-self-insert-function): Use it.
1236
5c3fe83f
SM
1237 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
1238 there's no inferior buffer (bug#10196).
1239 (prolog-consult-compile): Don't use toggle-read-only.
1240
6bdac736
MA
12412011-12-02 Michael Albinus <michael.albinus@gmx.de>
1242
1243 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
1244 interrupt. (Bug#10187)
1245
6131ba7f
SM
12462011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1247
99c79fee
SM
1248 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
1249 (bug#9160).
1250
6131ba7f
SM
1251 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
1252 (bug#10191).
1253
cb0a02ea
JL
12542011-12-02 Juri Linkov <juri@jurta.org>
1255
1256 * info.el (Info-search): Display "end of manual" when Isearch
1257 reaches the end of single-file Info manual. (Bug#9918)
1258
66e0570c
EZ
12592011-12-02 Eli Zaretskii <eliz@gnu.org>
1260
1261 * isearch.el (isearch-message-prefix): Run the input method part
1262 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
1263
02b16839
JL
12642011-12-02 Juri Linkov <juri@jurta.org>
1265
1266 * isearch.el (isearch-occur): Use `word-search-regexp' for
1267 `isearch-word'.
1268 (isearch-search-and-update): Add condition for `isearch-word' and
1269 call `word-search-regexp'. (Bug#10145)
1270
0b950688
GM
12712011-12-01 Glenn Morris <rgm@gnu.org>
1272
1273 * eshell/em-hist.el (eshell-hist-initialize):
1274 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 1275 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 1276
9505c3c7
SM
12772011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1278
1279 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
1280
1bbe96b2 12812011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 1282
a1beca85
SM
1283 * progmodes/verilog-mode.el (verilog-pretty-expr):
1284 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
1285 verilog, such as += *= and the like.
1286 (verilog-assignment-operator-re): Regular expression to find the
1287 assigment operator in a verilog assignment.
1288 (verilog-assignment-operation-re): Regular expression to find an
1289 assignment statement for pretty-expr.
1290 (verilog-in-attribute-p): Query returns true if point is in an
1291 attribute context; used to skip these for expression line up from
1292 pretty-expr.
1293 (verilog-in-parameter-p): Query returns true if point is in an
1294 parameter definition context; used to skip these for expression
1295 line up from pretty-expr.
1296 (verilog-in-parenthesis-p): Query returns true if point is in a
1297 parenthetical expression, specifically ( ) but not [ ] or { };
1298 used by pretty-expr.
1299 (verilog-just-one-space): If there is no space, don't add one.
1300 (verilog-get-lineup-indent-2): Specifically skip just attribute
1301 contexts for expression lineup, rather than skipping all
1302 parenthetical expressions.
1303 (verilog-calculate-indent): Fix comment, and fix indent.
1304 (verilog-do-indent): Indent declarations in lists (suggested by
1305 Joachim Lechner).
1306 (verilog-mode-abbrev-table): Populate abbrev mode with the various
1307 skeleton items.
1308 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
1309 by Alain Mellan).
1310
1bbe96b2 13112011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
1312
1313 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
1314 parameters with embedded comments. Reported by Ray Stevens.
1315 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
1316 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
1317 Reported by Tim Holt.
1318 (verilog-auto): Fix AUTOing a upper module then AUTOing module
1319 instantiated by upper module causing wrong expansion until AUTOed a
1320 second time. Reported by K C Buckenmaier.
1321 (verilog-diff-auto): Fix showing .* as a difference when
1322 `verilog-auto-star-save' off. Reported by Dan Dever.
1323 (verilog-auto-reset, verilog-read-always-signals)
1324 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
1325 temporary signals in reset list if
1326 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
1327 style to each signal's assignment type, bug381.
1328 Reported by Thomas Esposito.
6288f0ca
WS
1329 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
1330 (verilog-uvm-statement-re): Support UVM indentation and
1331 highlighting, with old OVM keywords only.
a1beca85 1332 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
1333 Support AUTOTIEOFF creating non-wire data types.
1334 Suggested by Jonathan Greenlaw.
6288f0ca
WS
1335 (verilog-auto-insert-lisp, verilog-delete-to-paren)
1336 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
1337 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
1338 (verilog-read-sub-decls, verilog-read-sub-decls-line):
1339 Fix mismatching parenthesis inside commented out code when deleting
382c953b 1340 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
1341 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
1342 non-numeric vector width. Reported by Alex Reed.
1343 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 1344 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
1345 (verilog-auto-delete-trailing-whitespace):
1346 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
1347 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
1348 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
1349 Fix verilog-scan-cache corruption when running user AUTO expansion
1350 hooks that call indentation routines.
1351 (verilog-simplify-range-expression): Fix typo ignoring lower case
1352 identifiers.
1353 (verilog-delete-auto): Fix delete-autos to also remove user created
1354 automatics, as long as they start with AUTO.
1355 (verilog-batch-diff-auto, verilog-diff-auto)
1356 (verilog-diff-function): Add `verilog-diff-auto' and bind to
1357 "C-c?" to report differences in AUTO expansion, ignoring spaces.
1358 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
1359 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
1360 (verilog-re-search-forward-quick, verilog-syntax-ppss):
1361 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
1362 is disabled and its cache will get corrupt, causing AUTOS not to
1363 expand. Instead use only -quick functions.
1364 (verilog-scan-region): Fix scanning over escaped quotes.
1365 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
1366 (verilog-re-search-backward-quick)
1367 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
1368 related functions now ignore strings, to fix misparsing of strings
1369 with magic comments embedded in them.
a1beca85
SM
1370 (verilog-read-auto-template):
1371 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
1372 Reported by Brad Dobbie.
1373 (verilog-read-auto-template):
1374 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 1375 Reported by Brad Dobbie.
6288f0ca
WS
1376 (verilog-auto-inst, verilog-auto-inst-param)
1377 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
1378 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
1379 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
1380 debugging templates without merge conflicts, bug357.
1381 Reported by Brad Dobbie.
1382 (verilog-read-auto-template):
1383 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
1384 Reported by Brad Dobbie.
1385 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
1386 abbrevs so user won't be asked to save.
1387 (verilog-read-auto-lisp-present): Fix to start at beginning of
1388 buffer in case called outside of verilog-auto.
1389 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
1390 to "X-2". Reported by Matthew Myers.
1391 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
1392 all inputs from module templates. Reported by Leith Johnson.
1393 (verilog-module-inside-filename-p): Fix locating programs as with
1394 modules.
1395 (verilog-auto-inst-port): Fix vl-width expressions when using
1396 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
1397 (verilog-decls-get-regs, verilog-decls-get-signals,
1398 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
1399 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
1400 verilog-read-decls): Combine reg and wire structures into one var
1401 structure to represent SystemVerilog concepts.
1402 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
1403 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
1404 (verilog-auto-wire-type, verilog-insert-definition):
1405 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
1406 SystemVerilog "logic" keyword instead of "wire"/"reg".
1407 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
1408 to declares outputs that also have assignments (presumably in an
a1beca85
SM
1409 ifdef or generate if so there's not a driver conflict).
1410 Reported by Matthew Myers.
1411 (verilog-auto-declare-nettype, verilog-insert-definition):
1412 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
1413 `default_nettype none. Reported by Julian Gorfajn.
1414 (verilog-read-always-signals-recurse, verilog-read-decls)
1415 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
1416 malformed end statement, bug325. Reported by Joshua Wise and
1417 Andrew Drake.
1418 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
1419 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
1420 when expanding .* in interfaces, bug320.
1421 Reported by Pierre-David Pfister.
6288f0ca 1422 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
1423 name and open parenthesis, bug317.
1424 Reported by Pierre-David Pfister.
6288f0ca
WS
1425 (verilog-simplify-range-expression): Fix simplification of
1426 multiplications inside AUTOWIRE connections, bug303.
1427 (verilog-auto-inst-port): Support parameter expansion in
1428 multidimensional arrays.
1429 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
1430 after "assert property". Reported by Julian Gorfajn.
1431 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1432 with multiplication, bug303.
1433 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1434 Reported by Jan Frode Lonnum.
1435
1bbe96b2
GM
14362011-11-30 Juanma Barranquero <lekktu@gmail.com>
1437
1438 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1439 (hfy-shell-file-name, hfy-shell):
1440 * international/fontset.el (x-decompose-font-name): Fix typos.
1441
14422011-11-29 Ken Brown <kbrown@cornell.edu>
1443
1444 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1445 (gdb-version): Remove defvar.
1446 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1447 (gdb-gud-context-command, gdb-non-stop-handler)
1448 (gdb-current-context-command, gdb-stopped): Use it.
1449 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
1450 (gdb-non-stop-handler): Don't enable pretty-printing here.
1451 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
1452 non-stop mode. Use the following.
1453 (gdb-check-target-async): New defun.
1454 (gud-watch, gdb-stopped): Fix whitespace.
1455 (gdb-get-source-file): Don't try to display the source file if
1456 `gdb-main-file' is nil.
1457
14582011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1459
1460 * align.el: Try to generate fewer markers (bug#10047).
1461 (align--set-marker): New macro.
1462 (align-region): Use it.
1463
c935221f
SM
14642011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1467
e70b5064
CY
14682011-11-29 Chong Yidong <cyd@gnu.org>
1469
1470 * indent.el (indent-for-tab-command, indent-according-to-mode):
1471 Doc fix.
1472 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1473
f3af92b7
MA
14742011-11-29 Michael Albinus <michael.albinus@gmx.de>
1475
1476 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1477 aware of remote file names. (Bug#10124)
1478
ed472be9
CY
14792011-11-29 Chong Yidong <cyd@gnu.org>
1480
1481 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1482
24510c22
SM
14832011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * files.el (find-file): Don't use force-same-window (bug#10144).
1486 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1487 use pop-to-buffer if the selected window can't be used.
1488 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1489
c60c3703
EZ
14902011-11-28 Eli Zaretskii <eliz@gnu.org>
1491
1492 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1493 special-mode-map.
1494
e95def75
CY
14952011-11-28 Chong Yidong <cyd@gnu.org>
1496
1497 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1498
c3f1c606
NR
14992011-11-27 Nick Roberts <nickrob@snap.net.nz>
1500
1501 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1502 gdb-get-source-file-list on gdb-create-source-file-list.
1503
00db469c
EZ
15042011-11-26 Eli Zaretskii <eliz@gnu.org>
1505
1506 * whitespace.el (whitespace-newline): Use a different foreground
1507 color for 16-color light-background displays.
1508
4ad3bc2a
CY
15092011-11-24 Chong Yidong <cyd@gnu.org>
1510
1511 * window.el (display-buffer--special-action): Doc fix.
1512
e9fce1ac
JB
15132011-11-25 Juanma Barranquero <lekktu@gmail.com>
1514
1515 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1516 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1517 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1518 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1519 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1520 (avl-tree-stack-first):
1521 * emacs-lisp/cconv.el (cconv--analyse-use):
1522 * net/gnutls.el (gnutls-negotiate): Fix typos.
1523
cb825e5d
GM
15242011-11-24 Glenn Morris <rgm@gnu.org>
1525
3adbe224
GM
1526 * lpr.el (lpr-windows-system, lpr-lp-system):
1527 * mail/binhex.el (binhex-begin-line):
1528 * progmodes/grep.el (grep-history, grep-find-history):
1529 * textmodes/flyspell.el:
1530 * vc/pcvs-defs.el (cvs-global-menu):
1531 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1532 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1533 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1534
321decc8
GM
1535 * net/tls.el: Fix case of "GnuTLS".
1536
420b63ad
GM
1537 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1538
cb825e5d
GM
1539 * version.el (emacs-build-system): Give it a doc-string.
1540
a0649f08
JL
15412011-11-24 Juri Linkov <juri@jurta.org>
1542
1543 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1544
c0bc0fd4
GM
15452011-11-24 Glenn Morris <rgm@gnu.org>
1546
1547 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1548 if called on a non-mime message just toggle the headers. (Bug#8006)
1549
20db1522
JB
15502011-11-24 Juanma Barranquero <lekktu@gmail.com>
1551
1552 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1553 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1554 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1555 (allout-rebullet-heading, allout-open-sibtopic)
1556 (allout-toggle-current-subtree-encryption)
1557 (allout-toggle-subtree-encryption, allout-encrypt-string)
1558 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1559 (allout-distinctive-bullets-string, allout-auto-activation):
1560 * window.el (window-normalize-buffer-to-display):
1561 * progmodes/verilog-mode.el (verilog-batch-indent):
1562 * textmodes/bibtex.el (bibtex-field-braces-opt)
1563 (bibtex-field-strings-opt):
1564 * vc/cvs-status.el (cvs-tree-merge):
1565 Fix typos.
1566
7262a87c
MA
15672011-11-23 Michael Albinus <michael.albinus@gmx.de>
1568
1569 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1570 `non-essential' to t, in order to avoid remote connections.
1571
283430a1
EZ
15722011-11-23 Eli Zaretskii <eliz@gnu.org>
1573
a1beca85
SM
1574 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1575 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
1576 case-insensitively.
1577
d2992a38
ML
15782011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1579
1580 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1581
50419064
GM
15822011-11-23 Glenn Morris <rgm@gnu.org>
1583
da94eca1
GM
1584 * paths.el (rmail-file-name): Reformat the doc-string so that it
1585 is picked up.
1586
9aac4de2
GM
1587 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1588 (rmail-auto-file): Ignore case in the "special" field names,
1589 as mail-fetch-field does for all others.
1590
8038d2d2
GM
1591 * mail/rmail.el (rmail-forward):
1592 * mail/rmailkwd.el (rmail-set-label):
1593 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1594 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1595
f3fe222a
GM
1596 * mail/rmail.el (rmail-current-message): Doc fix.
1597
50419064
GM
1598 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1599
28109f49
SM
16002011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1601
1602 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1603
394c65f1
GM
16042011-11-22 Glenn Morris <rgm@gnu.org>
1605
1606 * mail/rmailmm.el (test-rmail-mime-handler)
1607 (test-rmail-mime-bulk-handler)
1608 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1609
f2a0aa3a
JL
16102011-11-21 Juri Linkov <juri@jurta.org>
1611
1154d12e
JB
1612 * calc/calc.el (calc-read-key-sequence):
1613 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 1614
9c34a344
LMI
16152011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1616
1617 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1618 Tell the caller that the next line needs recomputation, even
1619 though it doesn't start a sexp (bug#10094).
1620
f04a3be9
SM
16212011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1624
7978747f
SM
16252011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1626
f04a3be9
SM
1627 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1628 Use force-same-window.
7978747f 1629
fe7a3057
JB
16302011-11-20 Juanma Barranquero <lekktu@gmail.com>
1631
1632 * descr-text.el (describe-char-unicode-data):
1633 * json.el (json-string-escape):
1634 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1635 (Footnote-unicode, Footnote-style-p):
1636 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1637
24901d61
CY
16382011-11-20 Chong Yidong <cyd@gnu.org>
1639
1640 * window.el (replace-buffer-in-windows): Restore interactive spec.
1641
bac7ff22
SM
16422011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1643
24f3d7b9
SM
1644 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1645
bac7ff22
SM
1646 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1647 (byte-compile-global-not-obsolete-vars): New var.
1648 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1649 Use it.
1650 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1651
cd1181db
JB
16522011-11-20 Juanma Barranquero <lekktu@gmail.com>
1653
1654 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1655 * progmodes/pascal.el (electric-pascal-equal):
1656 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1657 * xml.el (xml-substitute-special): Fix typos.
1658
7fb18e9e
GM
16592011-11-20 Glenn Morris <rgm@gnu.org>
1660
1661 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1662 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1663 Doc fixes.
1664 (rmail-decode-mime-charset): Mark as obsolete.
1665
1666 * mail/rmailsum.el (rmail-message-regexp-p-1):
1667 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1668 Before using mime functions, check they are set. (Bug#10077)
1669
d5a6b3ba
JL
16702011-11-19 Juri Linkov <juri@jurta.org>
1671
1672 * info.el (Info-finder-find-node): Use `package--builtins' instead
1673 of `package-alist'. Use node names formed by the pattern "Keyword "
1674 and the keyword name.
1675
e981b61f
AS
16762011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1677
1d00653d 1678 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 1679
3ffbc301
JL
16802011-11-19 Juri Linkov <juri@jurta.org>
1681
1682 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1683 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1684 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1685 `old-history', `old-history-forward'. Add let-binding
1686 `window-selected'. Remove calls to `kill-buffer',
1687 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1688 before calling `Info-find-node', so `Info-find-node-2' will reread
1689 the Info file. Restore window positions only when `window-selected'
1690 is non-nil.
1691
30c62133
JL
16922011-11-19 Juri Linkov <juri@jurta.org>
1693
1694 * isearch.el (isearch-lazy-highlight-new-loop):
1695 Remove condition `(not isearch-error)'. (Bug#9918)
1696
1697 * misearch.el (multi-isearch-search-fun): Add condition
1698 `(not bound)' to ignore lazy-highlighting search.
1699 Add the search-failed message "end of multi" when the end of
1700 multi-sequence is reached. Uncapitalize the search-failed
1701 message "Repeat for next buffer".
1702
1703 * info.el (Info-search): Add the search-failed message
1704 "end of the manual" when the end of the manual is reached
1705 in Isearch mode.
1706
645ca9cf
JL
17072011-11-19 Juri Linkov <juri@jurta.org>
1708
1709 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1710 Use non-destructive `remove' instead of `delete' because
1711 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1712 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1713
df754f66
JL
17142011-11-19 Juri Linkov <juri@jurta.org>
1715
1716 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1717 to nil instead of binding `search-ring' and `regexp-search-ring'.
1718 (Bug#9185)
1719
0e23d96a
EZ
17202011-11-19 Eli Zaretskii <eliz@gnu.org>
1721
1722 * simple.el (line-move): Force movement by logical lines for any
1723 hscrolled window, not only when auto-hscroll-mode is on.
1724 (line-move-visual): Update doc string to that effect. (Bug#10076)
1725
8a6ccb66
AS
17262011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1727
1728 * language/european.el (macintosh): Define as alias for mac-roman.
1729
49ae5b39
EZ
17302011-11-19 Eli Zaretskii <eliz@gnu.org>
1731
1732 * mail/rmailmm.el (rmail-mime-display-header)
1733 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1734 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1735 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1736 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1737 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1738 of a raw aref.
1739 (rmail-mime-entity-segment): To get past the tagline, move forward
1740 2 more lines, to account for the 2 empty lines that precede and
1741 follow the line with the buttons.
1742 (rmail-mime-update-tagline): Move one more line, to get past the
1743 empty line that follows the buttons in the tagline. (Bug#9520)
1744
c56cad4a
MR
17452011-11-19 Martin Rudalics <rudalics@gmx.at>
1746
1747 * window.el (window-max-delta-1, window-min-delta-1)
1748 (window-min-size-1, window-state-get-1, window-state-put-1)
1749 (window-state-put-2): Use "window--" prefix.
1750
cbe71af3
SM
17512011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1752
2ad52c60
SM
1753 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1754 (smie-warning-count): New var.
1755 (smie-set-prec2tab): Use it.
1756 (smie-bnf->prec2): Improve warnings. Add docstring.
1757 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1758 (smie-bnf--set-class): New function.
1759 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1760 corner case.
1761
6944dbc1
SM
1762 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1763 (compilation-error-properties, compilation-move-to-column):
1764 Handle compilation-first-column while in the target buffer.
1765
c400c4d7
SM
1766 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1767 Don't hardcode point-min==1.
1768
6dbe3e96
SM
1769 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1770 (eshell-rewrite-for-command): Remove workaround.
1771 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1772 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1773 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1774
cbe71af3
SM
1775 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1776
a8e1496d
GM
17772011-11-17 Glenn Morris <rgm@gnu.org>
1778
1779 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1780 Ignore buffer-local generated-autoload-file if it is the same
1781 as the global value. (Bug#10049)
1782
df85d315
JB
17832011-11-17 Juanma Barranquero <lekktu@gmail.com>
1784
1785 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1786 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1787 (reftex-toc-previous-heading, reftex-toc-max-level)
1788 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1789 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1790 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1791 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1792 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1793 (reftex-toc-rename-label, reftex-toc-visit-location)
1794 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1795 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1796 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1797 leaving "*toc*" only for references to the buffer.
1798
a0c2d0ae
MR
17992011-11-17 Martin Rudalics <rudalics@gmx.at>
1800
1801 * window.el (window-resize, delete-window, split-window):
1802 Replace window-splits by window-combination-resize.
1d00653d 1803 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 1804
35c0bac8
GM
18052011-11-17 Glenn Morris <rgm@gnu.org>
1806
1807 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1808 Make bash entry derive from sh entry, not shell entry.
1809
d0c8fc8a
MA
18102011-11-16 Michael Albinus <michael.albinus@gmx.de>
1811
d0c8fc8a
MA
1812 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1813 properties of linked files. (Bug#9879)
1814
7262a87c
MA
1815 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1816 local file name.
1817
7877f373
JB
18182011-11-16 Juanma Barranquero <lekktu@gmail.com>
1819
1820 * menu-bar.el (menu-bar-file-menu):
1821 * printing.el (pr-ps-utility):
1822 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1823 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1824 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1825 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1826 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1827 (icalendar--convert-cyclic-to-ical)
1828 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1829 (icalendar--convert-ical-to-diary)
1830 (icalendar--convert-recurring-to-diary)
1831 (icalendar--convert-non-recurring-all-day-to-diary)
1832 (icalendar-import-format-sample):
1833 * progmodes/idlw-shell.el (idlwave-shell-mode):
1834 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1835 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1836 (vhdl-ps-print-init): Fix typos.
1837
10649b82
KM
18382011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1839
9d0cfcd6
GM
1840 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1841 FSF and collapse date sequence, obscure author/maintainer email address
1842 better, remove extra version line, track relocation of author's webpage.
10649b82 1843
9d0cfcd6
GM
1844 * progmodes/python.el (python-pdbtrack-input-prompt)
1845 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1846 regular python pdb prompts. Adjustments shamelessly taken exactly as
1847 suggested in EmacsWiki page (tiny change):
1848 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 1849
58179cce
JB
18502011-11-16 Juanma Barranquero <lekktu@gmail.com>
1851
1852 * expand.el (expand-pos, expand-index, expand-point):
1853 Remove redundant info from docstring.
1854 (expand-add-abbrevs): Doc fix.
1855 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1856 (expand-sample-perl-mode-expand-list): Fix typos.
1857
1858 * net/dbus.el (dbus-event-member-name):
1859 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1860 * term/pc-win.el (msdos-create-frame-with-faces):
1861 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1862
b6f67890
MR
18632011-11-16 Martin Rudalics <rudalics@gmx.at>
1864
1865 * window.el (split-window, window-state-get-1)
1866 (window-state-put-1, window-state-put-2): Rename occurrences of
1867 window-nest to window-combination-limit.
1d00653d 1868 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 1869
ce7ddba0
CY
18702011-11-16 Chong Yidong <cyd@gnu.org>
1871
1872 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1873 regexp (Bug#10033).
1874
3ae704f4
SM
18752011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1878 `completing-read' will remove *Completions* and will preserve
1879 current-buffer for us.
1880 (tmm-add-prompt): Users of *Completions* will always (re)set its
1881 major mode.
1882 (tmm-old-comp-map): Remove.
1883
6ad1cdde
GM
18842011-11-16 Glenn Morris <rgm@gnu.org>
1885
1886 * mail/rmailedit.el: Require rmailmm when compiling.
1887 (rmail-old-mime-state): New declaration.
1888 (rmail-edit-current-message): If editing a mime message,
1889 edit the "raw" message from the mbox buffer.
1890 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1891
d20faa20
GM
18922011-11-15 Glenn Morris <rgm@gnu.org>
1893
1894 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1895 which wasn't being used. Add optional arg to force given state.
1896 (rmail-mime): Add optional arg to force given state.
1897
c7015153
JB
18982011-11-15 Juanma Barranquero <lekktu@gmail.com>
1899
1900 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1901 * frame.el (display-mm-dimensions-alist):
1902 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1903 (outline-move-subtree-down):
1904 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1905 (newsticker--treeview-do-get-node):
1906 * net/quickurl.el (quickurl-list-buffer-name):
1907 * progmodes/dcl-mode.el (dcl-mode):
1908 * progmodes/gdb-mi.el (gdb-mapcar*):
1909 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1910
45261b50
GM
19112011-11-15 Glenn Morris <rgm@gnu.org>
1912
1913 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1914 in a boolean sense, so just make it a boolean, and fix the doc.
1915 (rmail-show-mime-function, rmail-mime-feature)
1916 (rmail-require-mime-maybe): Doc fixes.
1917 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1918
1919 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1920
0d26e0b6
JB
19212011-11-15 Juanma Barranquero <lekktu@gmail.com>
1922
1923 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1924 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1925 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1926 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1927
447f30f6
GM
19282011-11-15 Glenn Morris <rgm@gnu.org>
1929
672b871d
GM
1930 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1931 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1932 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1933 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1934 (rmail-mime, rmail-show-mime): Doc fixes.
1935
f6aa5bb1
GM
1936 * term/ns-win.el (mode-line-frame-identification):
1937 Leave it alone. (Bug#10051)
1938
947cd66b
GM
1939 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1940
447f30f6
GM
1941 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1942 Handle empty buffers. (Bug#9978)
1943
0b381c7e
JB
19442011-11-14 Juanma Barranquero <lekktu@gmail.com>
1945
1946 * international/mule.el (define-charset):
1947 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1948 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1949 * progmodes/verilog-mode.el (verilog-backward-token):
1950 * textmodes/ispell.el (lookup-words):
1951 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1952
71e027ac
GM
19532011-11-14 Glenn Morris <rgm@gnu.org>
1954
56632ce4
GM
1955 * progmodes/executable.el
1956 (executable-make-buffer-file-executable-if-script-p):
1957 Handle file-modes returning nil.
1958
40500957
GM
1959 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1960 message - not necessary, and causes problems. (Bug#9831)
1961
071c2340
GM
1962 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1963
d3cfca60
GM
1964 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1965
71e027ac
GM
1966 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1967 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1968 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1969
89d61221
MR
19702011-11-12 Martin Rudalics <rudalics@gmx.at>
1971
1972 * window.el (window-resize, delete-window): Use window-splits
1973 variable instead of function.
1974 (window-state-get-1, window-state-put-2, window-state-put):
1975 Don't deal with windows' splits status.
1976
98282f6f
GM
19772011-11-12 Glenn Morris <rgm@gnu.org>
1978
1979 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1980 (apropos-documentation): Doc fixes.
1981
40a8bdf6
JB
19822011-11-11 Juanma Barranquero <lekktu@gmail.com>
1983
1984 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1985 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1986
65bd19ff
SM
19872011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * electric.el (electric-indent-post-self-insert-function): Make it
1990 possible for a char to only indent in some circumstances.
1991 (electric-indent-mode): Simplify.
1992
54f9154c
MR
19932011-11-11 Martin Rudalics <rudalics@gmx.at>
1994
1995 * window.el (windows-with-parameter): Remove unused function.
1996 (windows-at-side): Rename to window-at-side-list.
1997 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1998 (window-side-check, window-size-ignore, window-size-fixed-1)
1999 (window-in-direction-2): Prefix with "window--".
2000 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 2001
68cbc58b
GM
20022011-11-11 Glenn Morris <rgm@gnu.org>
2003
2004 * subr.el (eval-after-load): If FILE is already loaded,
2005 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
2006
b2621720
GM
20072011-11-10 Glenn Morris <rgm@gnu.org>
2008
9a4de110
GM
2009 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2010 Call svn via vc-svn-command rather than vc-do-command.
2011 (vc-svn-command): Add --non-interactive. (Bug#9993)
2012 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2013
b2621720
GM
2014 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2015 Add toggle-read-only. (Bug#7292)
2016 * files.el (toggle-read-only): Mention that it should only
2017 be used interactively. (Bug#10006)
2018
1dce7193
SM
20192011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2020
d9ac1a1e
SM
2021 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2022 Adjust regexp for OCaml warnings.
2023
0c325082
SM
2024 * electric.el (electric-pair-post-self-insert-function): Let user
2025 turn it off buffer-locally (bug#9932).
2026
90132c14
SM
2027 * progmodes/python.el (python-beginning-of-statement):
2028 Rewrite (bug#2703).
2029
1dce7193
SM
2030 * progmodes/compile.el: Better handle TABs (bug#9749).
2031 (compilation-internal-error-properties)
2032 (compilation-next-error-function): Obey the target buffer's
2033 compilation-error-screen-columns.
2034
c4e7c63a
JB
20352011-11-09 Juanma Barranquero <lekktu@gmail.com>
2036
2037 * progmodes/meta-mode.el: Remove obsolete comments.
2038 (meta-right-comment-regexp, meta-ignore-comment-regexp):
2039 Fix typos in docstrings.
2040
2cffd681
MR
20412011-11-09 Martin Rudalics <rudalics@gmx.at>
2042
2043 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 2044 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
2045 (window--resizable): New function. Make all callers of
2046 window-resizable call window--resizable instead.
2047 (window-resizable): Rewrite in terms of window--resizable.
2048
0edcba87
GM
20492011-11-08 Glenn Morris <rgm@gnu.org>
2050
2051 * progmodes/delphi.el (delphi-mode-syntax-table):
2052 Let define-derived-mode define a proper syntax table. (Bug#9994)
2053
4b0d61e3
SM
20542011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2055
2056 * window.el: Stay away from defsubst.
2057 (window-list-no-nils): Remove.
2058 (window-state-get-1, window-state-get): Use backquote instead.
2059
cd394be1 20602011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 2061
4b0d61e3 2062 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 2063 Fix incorrect use of default argument in `completing-read'.
2064
e1c2c6f2
MR
20652011-11-08 Martin Rudalics <rudalics@gmx.at>
2066
2067 * window.el (display-buffer-function, special-display-function):
2068 Mention display-buffer-record-window but do not mention
2069 help-setup parameter in doc-strings.
b3f4a882 2070 (window-min-delta): Fix doc-string typo.
e1c2c6f2 2071
105216ed
CY
20722011-11-08 Chong Yidong <cyd@gnu.org>
2073
2074 * window.el (window-total-height, window-total-width): Doc fix.
2075 (window-body-size): Move from C.
2076 (window-body-height, window-body-width): Move to C.
2077
0a9f9ab5
SM
20782011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2079
2080 * window.el: Make special-display like display-buffer-alist (bug#9532).
2081 (display-buffer--special-action): New function, morphed
2082 from display-buffer--special.
2083 (display-buffer): Use it to handle special-display-buffers at higher
2084 priority (just after display-buffer-alist).
2085 (display-buffer-fallback-action, display-buffer--other-frame-action)
2086 (pop-to-buffer-same-window): Remove display-buffer--special.
2087
a769dd15
GM
20882011-11-07 Glenn Morris <rgm@gnu.org>
2089
2090 * calendar/cal-menu.el (cal-menu-set-date-title):
2091 Do nothing if not in a calendar. (Bug#9976)
2092
05a61ee3
SM
20932011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2094
2095 * files.el (find-file): Always use selected-window.
2096
be7f5545
MR
20972011-11-07 Martin Rudalics <rudalics@gmx.at>
2098
2099 * window.el (window-combinations): Make WINDOW argument
2100 mandatory. Rewrite doc-string.
2101 (walk-window-subtree, window-atom-check, window-min-delta)
2102 (window-max-delta, window--resize-this-window)
2103 (window--resize-root-window-vertically, window-tree)
2104 (balance-windows, window-state-put): Rewrite doc-strings as to
2105 not mention the term "subwindow".
2106 (window--resize-subwindows-skip-p): Rename to
2107 window--resize-child-windows-skip-p.
2108 (window--resize-subwindows-normal): Rename to
2109 window--resize-child-windows-normal.
2110 (window--resize-subwindows): Rename to
2111 window--resize-child-windows.
2112 (window-or-subwindow-p): Rename to window--in-subtree-p.
2113
3c6702ef
ML
21142011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2115
2116 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
2117 Ensure that mbox format messages end in two newlines (Bug#9974).
2118
49745b39
CY
21192011-11-06 Chong Yidong <cyd@gnu.org>
2120
2121 * window.el (window-combination-p): Function deleted; its
2122 side-effect is not used in any existing code.
2123 (window-combinations, window-combined-p): Call window-*-child
2124 directly.
2125
24300f5f
CY
21262011-11-05 Chong Yidong <cyd@gnu.org>
2127
2128 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
2129 (window-size-ignore, window-state-get): Callers changed.
2130 (window-normalize-window): Rename from window-normalize-any-window.
2131 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 2132 (window-normalize-live-window): Delete.
447f16b8
CY
2133 (window-combination-p, window-combined-p, window-combinations)
2134 (walk-window-subtree, window-atom-root, window-min-size)
2135 (window-sizable, window-sizable-p, window-size-fixed-p)
2136 (window-min-delta, window-max-delta, window-resizable)
2137 (window-resizable-p, window-full-height-p, window-full-width-p)
2138 (window-current-scroll-bars, window-point-1, set-window-point-1)
2139 (window-at-side-p, window-in-direction, window-resize)
2140 (adjust-window-trailing-edge, maximize-window, minimize-window)
2141 (window-deletable-p, delete-window, delete-other-windows)
2142 (record-window-buffer, unrecord-window-buffer)
2143 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
2144 (quit-window, split-window, window-state-put)
2145 (set-window-text-height, fit-window-to-buffer)
2146 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 2147
89bd5ee1
EZ
21482011-11-04 Eli Zaretskii <eliz@gnu.org>
2149
53479029
EZ
2150 * mail/rmail.el (rmail-simplified-subject): Decode subject with
2151 rfc2047-decode-string.
2152 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
2153 warnings.
2154
89bd5ee1
EZ
2155 * window.el (window-body-height, window-body-width): Mention in
2156 the doc string that the return values are in frame's canonical
2157 units. (Bug#9949)
2158
bd17fdee
AM
21592011-11-03 Alan Mackenzie <acm@muc.de>
2160
2161 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
2162 change in cc-engine.el.
2163
acc825c5
SM
21642011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * window.el (switch-to-buffer): Use `force-same-window' interactively.
2167
1885e5b8
MR
21682011-11-02 Martin Rudalics <rudalics@gmx.at>
2169
2170 * window.el (quit-window): Call unrecord-window-buffer after
2171 showing another buffer in the window. (Bug#9937)
acc825c5 2172 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 2173
ebe06da9
JB
21742011-11-02 Juanma Barranquero <lekktu@gmail.com>
2175
2176 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
2177 Accept status with more than 9 shelves. (Bug#9935)
2178 Reported by Colin D Bennett <colin@gibibit.com>.
2179
4ee88440
MR
21802011-11-01 Martin Rudalics <rudalics@gmx.at>
2181
2182 * help.el (with-help-window): Don't reference
2183 temp-buffer-show-specifiers in doc-string.
2184
08e1d82c
AS
21852011-10-31 Andreas Schwab <schwab@linux-m68k.org>
2186
2187 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
2188 menu-item.
2189
84bd6e9e
VJL
21902011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2191
2192 * whitespace.el: New version 13.2.2.
2193 (whitespace-newline-mode): Disable properly. Reported by Sarah
2194 <EmacsWiki>.
2195
dba0634a
UJ
21962011-10-30 Ulf Jasper <ulf.jasper@web.de>
2197
2198 * net/newst-treeview.el: Remove "Time-stamp".
2199 (newsticker--group-manage-orphan-feeds): Do not call
2200 newsticker--treeview-tree-update.
db22a3c2
JB
2201 (newsticker-treeview-update, newsticker-treeview):
2202 Call newsticker--treeview-tree-update if necessary.
dba0634a 2203
3d8daefe
MR
22042011-10-30 Martin Rudalics <rudalics@gmx.at>
2205
2206 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
2207 (window-iso-combinations): Remove "iso-" infix.
2208 Suggested by Chong Yidong.
3d8daefe
MR
2209 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
2210 (window-max-delta-1, window-resize, window--resize-siblings)
2211 (window--resize-this-window, adjust-window-trailing-edge)
2212 (split-window, balance-windows-1)
2213 (shrink-window-if-larger-than-buffer):
2214 * calendar/calendar.el (calendar-generate-window):
db22a3c2 2215 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 2216
1bc4c3ae
SM
22172011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
2220 in place (bug#9907).
2221 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
2222 (eshell-rewrite-if-command, eshell-rewrite-for-command)
2223 (eshell-structure-basic-command, eshell-rewrite-while-command)
2224 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
2225 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
2226 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
2227 (eshell-do-pipelines-synchronously, eshell-eval-command):
2228 Use backquotes and prefer setq to set.
2229 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
2230 (eshell-macrop): Use functionp.
c1e2f5fa 2231 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 2232
30b65d9c
CY
22332011-10-30 Chong Yidong <cyd@gnu.org>
2234
2235 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
2236 instead of set-mark (Bug#9810).
2237
2d197ffb
CY
22382011-10-30 Chong Yidong <cyd@gnu.org>
2239
2240 * window.el (split-window-below, split-window-right): Rename from
2241 split-window-above-each-other and split-window-side-by-side
2242 respectively. All callers changed.
2243 (split-window-sensibly, split-window-sensibly): Use them.
2244 (split-window-keep-point): Doc fix.
2245
2246 * isearch.el: Add isearch-scroll property to split-window-below
2247 and split-window-right.
2248
2249 * follow.el (follow-mode):
2250 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2251 * progmodes/ada-xref.el (ada-gdb-application):
2252 * emulation/vip.el (vip-buffer-in-two-windows):
2253 * image-dired.el (image-dired-dired-with-window-configuration):
2254 * dired-x.el (dired-do-find-marked-files):
2255 * dired.el (dired-pop-to-buffer):
2256 * bs.el (bs--show-with-configuration):
2257 * vc/emerge.el (emerge-setup-windows):
2258 * textmodes/two-column.el (2C-two-columns):
2259 * textmodes/reftex-toc.el (reftex-toc):
2260 * progmodes/gdb-mi.el (gdb-setup-windows):
2261 * progmodes/fortran.el (fortran-window-create):
2262 * net/newst-treeview.el (newsticker--treeview-window-init):
2263 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
2264 * emulation/tpu-edt.el (tpu-gold-map):
2265 * emulation/crisp.el (crisp-mode-map):
2266 * calendar/calendar.el (calendar-basic-setup): Callers changed.
2267
38bb2ca8
CY
22682011-10-29 Chong Yidong <cyd@gnu.org>
2269
aa4de341
CY
2270 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
2271
e1eb5385
CY
2272 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
2273
5d2ece3c
CY
2274 * textmodes/flyspell.el (flyspell-word): Fix char offset for
2275 forged Ispell output (Bug#7904).
2276
38bb2ca8
CY
2277 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
2278
d0af9f77
SM
22792011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2280
2281 * doc-view.el: Avoid ugly errors about not finding nil.
2282 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
2283 (doc-view-dvipdf-program, doc-view-unoconv-program)
2284 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
2285 Avoid nil or absolute file name as default value.
2286 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
2287
52bedd34
AM
22882011-10-28 Alan Mackenzie <acm@muc.de>
2289
db22a3c2 2290 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 2291
7e43cfa5
AM
22922011-10-28 Alan Mackenzie <acm@muc.de>
2293
2294 Amend the handling of c-beginning/end-of-defun in nested declaration
2295 scopes.
2296
52bedd34
AM
2297 * progmodes/cc-vars.el (c-defun-tactic): Move here from
2298 cc-langs.el. Change it to a defcustom.
7e43cfa5 2299
52bedd34
AM
2300 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
2301 cc-vars.el.
7e43cfa5 2302
d0af9f77
SM
2303 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2304 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 2305
52bedd34 2306 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 2307 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
2308 (c-widen-to-enclosing-decl-scope): New function.
2309 (c-while-widening-to-decl-block): New macro.
2310 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
2311 outward for defun boundaries, and correspondingly change symbol
2312 `respect-enclosure' to `go-outward'.
2313 (c-declaration-limits): Change algorithm to report only the "innermost"
2314 defun's boundaries.
2315
1a2ce9ee
DD
23162011-10-28 Deniz Dogan <deniz@dogan.se>
2317
2318 * net/rcirc.el (rcirc-mode): Use hard newlines.
2319
bc97a826
AM
23202011-10-28 Alan Mackenzie <acm@muc.de>
2321
2322 Amend to indent and fontify macros "which include their own semicolon"
2323 correctly, using the "virtual semicolon" mechanism.
2324
52bedd34 2325 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 2326
d0af9f77 2327 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 2328 Recode to scan one line at a time rather than having \n and \r
58179cce 2329 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 2330 (c-forward-label): Amend for virtual semicolons.
58179cce 2331 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 2332
52bedd34
AM
2333 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
2334 of the new C macros.
bc97a826 2335
52bedd34 2336 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
2337 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
2338 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
2339 (c-opt-cpp-macro-define): Make into a full language variable.
2340 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
2341 AWK Mode (including \n, \r) removed, no longer needed.
2342
d0af9f77
SM
2343 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
2344 Invoke c-make-macro-with-semi-re.
bc97a826 2345
52bedd34
AM
2346 * progmodes/cc-vars.el (c-macro-with-semi-re):
2347 (c-macro-names-with-semicolon): New variables.
58179cce 2348 (c-make-macro-with-semi-re): New function.
bc97a826 2349
7a6c0941
SM
23502011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2351
2352 * vc/log-edit.el: Fill empty field rather than adding new one.
2353 (log-edit-add-field): New function.
2354 (log-edit-insert-changelog): Use it.
2355
b0c4cdcf
ML
23562011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2357
2358 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
2359
ee1f1da9
SM
23602011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
2363 (gdb--check-interpreter): New function.
2364 (gdb): Use it.
2365
51bc5f8b
GM
23662011-10-27 Glenn Morris <rgm@gnu.org>
2367
416a2c45
GM
2368 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
2369 (least-positive-float, least-negative-float)
2370 (least-positive-normalized-float, least-negative-normalized-float)
2371 (float-epsilon, float-negative-epsilon):
2372 Remove unnecessary declarations.
2373
2374 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
2375 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
2376 (least-positive-float, least-negative-float)
2377 (least-positive-normalized-float, least-negative-normalized-float)
2378 (float-epsilon, float-negative-epsilon): Add doc-strings,
2379 based on those in cl.texi.
2380
51bc5f8b
GM
2381 * files.el (set-visited-file-name): If the major-mode changed,
2382 reload the local variables. (Bug#9796)
2383
15de15c6
CY
23842011-10-27 Chong Yidong <cyd@gnu.org>
2385
2386 * subr.el (change-major-mode-after-body-hook): New hook.
2387 (run-mode-hooks): Run it.
2388
ee1f1da9
SM
2389 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2390 Use change-major-mode-before-body-hook.
15de15c6
CY
2391
2392 * simple.el (fundamental-mode):
2393 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
2394 change introducing fundamental-mode-hook.
2395
5430d399
JB
23962011-10-26 Juanma Barranquero <lekktu@gmail.com>
2397
acc825c5 2398 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 2399
ad74a69e
MA
24002011-10-26 Michael Albinus <michael.albinus@gmx.de>
2401
2402 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 2403 tramp.el explicitly. (Bug#7583)
ad74a69e 2404
71d4c2a5
SM
24052011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * progmodes/octave-mod.el:
2408 * progmodes/octave-inf.el: Update maintainer.
2409
b1f6fa26
CY
24102011-10-26 Chong Yidong <cyd@gnu.org>
2411
2412 * subr.el (with-wrapper-hook): Rewrite doc.
2413
3f04efd6
MA
24142011-10-25 Michael Albinus <michael.albinus@gmx.de>
2415
2416 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 2417 filenames "/method:foo:". (Bug#9793)
3f04efd6 2418
410488d3
SM
24192011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2420
2421 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
2422 (bug#9865).
2423
c1ebb47e
GM
24242011-10-24 Glenn Morris <rgm@gnu.org>
2425
2426 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2427
7f5c46c7
MA
24282011-10-24 Michael Albinus <michael.albinus@gmx.de>
2429
2430 * notifications.el: Add the requirement of a running D-Bus session
2431 bus to the Commentary.
2432
db2440b6
JL
24332011-10-24 Juri Linkov <juri@jurta.org>
2434
2435 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2436 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2437 (Bug#9364)
2438
feecf435
JL
24392011-10-24 Juri Linkov <juri@jurta.org>
2440
2441 * info.el (Info-following-node-name-re): Add newline to the list
2442 of allowed characters for leading space. (Bug#9824)
2443
a3839de2
SM
24442011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2445
acc825c5
SM
2446 * progmodes/octave-inf.el (inferior-octave-mode-map):
2447 Fix C-c C-h binding.
a3839de2
SM
2448 * progmodes/octave-mod.el (octave-help): Remove.
2449
09388e76
MA
24502011-10-23 Michael Albinus <michael.albinus@gmx.de>
2451
2452 Sync with Tramp 2.2.3.
2453
2454 * net/tramp-cache.el (top): Pacify byte-compiler using
2455 `init-file-user' and `site-run-file'.
2456
2457 * net/trampver.el: Update release number.
2458
86c60681
CY
24592011-10-23 Chong Yidong <cyd@gnu.org>
2460
2461 * files.el (toggle-read-only): Remove obsolete comment about
2462 version control.
2463
2464 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2465 for toggle-read-only. Note that this hasn't called vc-next-action
2466 since 2008-05-02, though it wasn't documented at the time.
2467
a3839de2
SM
2468 * vc/ediff-init.el (ediff-toggle-read-only-function):
2469 Use toggle-read-only.
86c60681 2470
cd5495ff
AM
24712011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2472
2473 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2474 of c-parse-state.
2475
00b77525 2476 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 2477 correct faulty logical expression.
cd5495ff
AM
2478 (c-parse-state-state, c-record-parse-state-state):
2479 (c-replay-parse-state-state): New defvar/defuns.
2480 (c-debug-parse-state): Use new functions.
2481
42ee24ed
MR
24822011-10-22 Martin Rudalics <rudalics@gmx.at>
2483
2484 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 2485 last fix. Use window-in-direction correctly.
42ee24ed 2486
a7dee7e7
CY
24872011-10-21 Chong Yidong <cyd@gnu.org>
2488
2489 * progmodes/idlwave.el (idlwave-mode):
2490 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
2491 require-final-newline; that's done in prog-mode.
2492 Suggested by Stefan Monnier.
a7dee7e7 2493
e07b9a6d
MR
24942011-10-21 Martin Rudalics <rudalics@gmx.at>
2495
2496 * mouse.el (mouse-drag-window-above)
2497 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2498 (mouse-drag-mode-line-1, mouse-drag-header-line)
2499 (mouse-drag-vertical-line-rightward-window): Remove.
2500 (mouse-drag-line): New function.
2501 (mouse-drag-mode-line, mouse-drag-header-line)
2502 (mouse-drag-vertical-line): Call mouse-drag-line.
2503 * window.el (window-at-side-p, windows-at-side): New functions.
2504
7e1361d9
UM
25052011-10-21 Ulrich Mueller <ulm@gentoo.org>
2506
2507 * tar-mode.el (tar-grind-file-mode):
2508 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2509
30fcaf3a
CY
25102011-10-21 Chong Yidong <cyd@gnu.org>
2511
2512 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
2513 * progmodes/vera-mode.el (vera-mode):
2514 Use mode-require-final-newline.
30fcaf3a 2515
516eddb0
GM
25162011-10-20 Glenn Morris <rgm@gnu.org>
2517
db22a3c2 2518 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 2519
10d5f513
CS
25202011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2521
2522 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2523
ac6c8639
CY
25242011-10-20 Chong Yidong <cyd@gnu.org>
2525
2526 * emulation/cua-base.el (cua-mode):
2527 * mail/footnote.el (footnote-mode):
2528 * mail/mailabbrev.el (mail-abbrevs-mode):
2529 * net/xesam.el (xesam-minor-mode):
2530 * progmodes/bug-reference.el (bug-reference-mode):
2531 * progmodes/cap-words.el (capitalized-words-mode):
2532 * progmodes/compile.el (compilation-minor-mode)
2533 (compilation-shell-minor-mode):
2534 * progmodes/gud.el (gud-tooltip-mode):
2535 * progmodes/hideif.el (hide-ifdef-mode):
2536 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2537 * progmodes/subword.el (subword-mode):
2538 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2539 * progmodes/which-func.el (which-function-mode):
2540 * term/tvi970.el (tvi970-set-keypad-mode):
2541 * term/vt100.el (vt100-wide-mode):
2542 * textmodes/flyspell.el (flyspell-mode):
2543 * textmodes/ispell.el (ispell-minor-mode):
2544 * textmodes/nroff-mode.el (nroff-electric-mode):
2545 * textmodes/paragraphs.el (use-hard-newlines):
2546 * textmodes/refill.el (refill-mode):
2547 * textmodes/reftex.el (reftex-mode):
2548 * textmodes/rst.el (rst-minor-mode):
2549 * textmodes/sgml-mode.el (html-autoview-mode)
2550 (sgml-electric-tag-pair-mode):
2551 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2552 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2553 * emulation/crisp.el (crisp-mode):
2554 * emacs-lisp/eldoc.el (eldoc-mode):
2555 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2556 minor mode behavior.
2557
aa42ab43
JL
25582011-10-19 Juri Linkov <juri@jurta.org>
2559
2560 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2561 the list of hard-coded chars with escape-glyph face.
2562
89400f1d
SM
25632011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2566
305c07f6
MA
25672011-10-19 Michael Albinus <michael.albinus@gmx.de>
2568
2569 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2570 running process.
2571
13754b54
GM
25722011-10-19 Glenn Morris <rgm@gnu.org>
2573
2574 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2575 Ignore ignored files. (Bug#9726)
2576
06e21633
CY
25772011-10-19 Chong Yidong <cyd@gnu.org>
2578
2579 Doc fix for minor modes, stating that an omitted argument enables
2580 the mode unconditionally when called from Lisp.
2581
2582 * abbrev.el (abbrev-mode):
2583 * allout.el (allout-mode):
2584 * autoinsert.el (auto-insert-mode):
2585 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2586 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2587 (global-auto-revert-mode):
2588 * battery.el (display-battery-mode):
2589 * composite.el (global-auto-composition-mode)
2590 (auto-composition-mode):
2591 * delsel.el (delete-selection-mode):
2592 * desktop.el (desktop-save-mode):
2593 * dired-x.el (dired-omit-mode):
2594 * dirtrack.el (dirtrack-mode):
2595 * doc-view.el (doc-view-minor-mode):
2596 * double.el (double-mode):
2597 * electric.el (electric-indent-mode, electric-pair-mode):
2598 * emacs-lock.el (emacs-lock-mode):
2599 * epa-hook.el (auto-encryption-mode):
2600 * follow.el (follow-mode):
2601 * font-core.el (font-lock-mode):
2602 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2603 * help.el (temp-buffer-resize-mode):
2604 * hilit-chg.el (highlight-changes-mode)
2605 (highlight-changes-visible-mode):
2606 * hi-lock.el (hi-lock-mode):
2607 * hl-line.el (hl-line-mode, global-hl-line-mode):
2608 * icomplete.el (icomplete-mode):
2609 * ido.el (ido-everywhere):
2610 * image-file.el (auto-image-file-mode):
2611 * image-mode.el (image-minor-mode):
2612 * iswitchb.el (iswitchb-mode):
2613 * jka-cmpr-hook.el (auto-compression-mode):
2614 * linum.el (linum-mode):
2615 * longlines.el (longlines-mode):
2616 * master.el (master-mode):
2617 * mb-depth.el (minibuffer-depth-indicate-mode):
2618 * menu-bar.el (menu-bar-mode):
2619 * minibuf-eldef.el (minibuffer-electric-default-mode):
2620 * mouse-sel.el (mouse-sel-mode):
2621 * msb.el (msb-mode):
2622 * mwheel.el (mouse-wheel-mode):
2623 * outline.el (outline-minor-mode):
2624 * paren.el (show-paren-mode):
2625 * recentf.el (recentf-mode):
2626 * reveal.el (reveal-mode, global-reveal-mode):
2627 * rfn-eshadow.el (file-name-shadow-mode):
2628 * ruler-mode.el (ruler-mode):
2629 * savehist.el (savehist-mode):
2630 * scroll-all.el (scroll-all-mode):
2631 * scroll-bar.el (scroll-bar-mode):
2632 * server.el (server-mode):
2633 * shell.el (shell-dirtrack-mode):
2634 * simple.el (auto-fill-mode, transient-mark-mode)
2635 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2636 (line-number-mode, column-number-mode, size-indication-mode)
2637 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2638 * strokes.el (strokes-mode):
2639 * time.el (display-time-mode):
2640 * t-mouse.el (gpm-mouse-mode):
2641 * tool-bar.el (tool-bar-mode):
2642 * tooltip.el (tooltip-mode):
2643 * type-break.el (type-break-mode-line-message-mode)
2644 (type-break-query-mode):
2645 * view.el (view-mode):
2646 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2647 (global-whitespace-mode, global-whitespace-newline-mode):
2648 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2649
a3839de2
SM
2650 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2651 Fix autogenerated docstring.
06e21633 2652
5214e501
JL
26532011-10-19 Juri Linkov <juri@jurta.org>
2654
2655 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2656 by checking environment variables "DESKTOP_SESSION" and
2657 "XDG_CURRENT_DESKTOP". (Bug#9779)
2658
195f8db9
JL
26592011-10-19 Juri Linkov <juri@jurta.org>
2660
2661 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2662 (browse-url-chromium-program, browse-url-chromium-arguments):
2663 New defcustoms.
2664 (browse-url-default-browser): Check for `browse-url-chromium' and
2665 call `browse-url-chromium-program'.
2666 (browse-url-chromium): New command. (Bug#9779)
2667
343a34ff
JB
26682011-10-18 Juanma Barranquero <lekktu@gmail.com>
2669
2670 * facemenu.el (list-colors-duplicates): On Windows, detect more
2671 duplicates by assuming that only colors matching "^System" are
2672 special "system colors". (Bug#9722)
2673
6978a151
SM
26742011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2677 to distinguish the author from the committer.
2678
6a80b297
MA
26792011-10-18 Michael Albinus <michael.albinus@gmx.de>
2680
2681 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2682
b31a5677
JK
26832011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2684
2685 * international/mule.el (sgml-html-meta-auto-coding-function):
2686 Add support for detecting encoding in HTML5 specified only as
2687 <meta charset="UTF-8">. Implementation just makes http-equiv and
2688 content-type parts from HTML4 encoding string optional. (Bug#9716)
2689
80c6d77f
GM
26902011-10-18 Glenn Morris <rgm@gnu.org>
2691
2692 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2693
08b0fee8
CY
26942011-10-18 Chong Yidong <cyd@gnu.org>
2695
2696 * faces.el (cursor): Doc fix.
2697
67e729a5
CY
26982011-10-17 Chong Yidong <cyd@gnu.org>
2699
2700 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2701
343a34ff 27022011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
2703
2704 * dirtrack.el (dirtrack): Support shell buffers with path
2705 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2706
0bc06380
TZ
27072011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2708
2709 * json.el: Bump version to 1.3 and note change in History.
2710 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2711
8b79f3e0
SM
27122011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2713
5a7c536b
SM
2714 * comint.el (comint-insert-input, comint-send-input)
2715 (comint-get-old-input-default, comint-backward-matching-input)
2716 (comint-next-prompt): Use nil instead of `input' for field property of
2717 past user input (bug#114).
2718
96a8a0df
SM
2719 * minibuffer.el (completion--replace): Inherit surrounding properties
2720 (bug#114).
2721 (minibuffer-complete-and-exit): Use it.
2722
8b79f3e0
SM
2723 * comint.el (comint--table-subvert): Quote the all-completions output
2724 (bug#9160).
2725
b8f7ff0d
MR
27262011-10-17 Martin Rudalics <rudalics@gmx.at>
2727
8b79f3e0 2728 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 2729
b8f7ff0d 2730 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 2731 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
2732 entries and separate them from frame entries.
2733
c235b555
GM
27342011-10-15 Glenn Morris <rgm@gnu.org>
2735
2736 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2737 Doc fixes.
2738
6bbfa6e1
CY
27392011-10-15 Chong Yidong <cyd@stupidchicken.com>
2740
8b79f3e0
SM
2741 * net/network-stream.el (network-stream-open-starttls):
2742 Improve detection of failure due to lack of TLS support.
ec5c990d 2743
6bbfa6e1
CY
2744 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2745 putting the input text in front and in bold.
2746
98488977
SM
27472011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2748
3d1337be
SM
2749 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2750
ee0b45e4
SM
2751 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2752 empty buffer.
2753
98488977
SM
2754 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2755 unread-command-events rather than pushing yet-another event.
2756
186f4720
EZ
27572011-10-14 Eli Zaretskii <eliz@gnu.org>
2758
2759 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2760 the explanation of the possible choices. Make the options passed
2761 to completing-read shorter.
2762
8b7a997c
AM
27632011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2764
2765 * textmodes/flyspell.el (flyspell-large-region): Make sure
2766 extended character mode is used if defined (Bug#1339).
2767
12587bbb
EZ
27682011-10-13 Eli Zaretskii <eliz@gnu.org>
2769
2770 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
2771 character info for LRE, LRO, RLE, and RLO characters by appending
2772 an invisible PDF.
12587bbb 2773
bad41229
SM
27742011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2775
2776 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2777 even in case of error; add debug spec; simplify data flow.
2778 (with-timeout-handler): Remove.
2779
28dbc92f
MA
27802011-10-12 Michael Albinus <michael.albinus@gmx.de>
2781
2782 Fix Bug#6019, Bug#9315.
2783
2784 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2785 complete `buffer-file-name', the local file name part could look
2786 remotely (for example on VMS).
2787
2788 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2789 `tramp-run-real-handler'.
2790 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2791 already quoted by '"'.
2792
2793 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2794 Let `file-name-handler-alist' be nil, the local file name part
2795 could look remotely (for example on VMS).
2796
e1b0b23a
SM
27972011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2798
2799 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2800 from here...
2801 (flyspell-post-command-hook): ...to here.
2802
a120bde9
SM
28032011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2804
2805 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2806 if not needed.
2807 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2808 using completion. Protect against "slow" callers.
2809 Remove the "message hack".
2810
7ce7717b
JL
28112011-10-11 Juri Linkov <juri@jurta.org>
2812
2813 * isearch.el (isearch-lazy-highlight-word): New variable.
2814 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2815 Use it. (Bug#9727)
2816
c02ee9d6
GM
28172011-10-11 Glenn Morris <rgm@gnu.org>
2818
2819 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2820 like f90-previous-statement does.
2821
93e616fd 28222011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2823
1f190e73 2824 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
2825 only in interactive use, to avoid error.
2826
af7b6078
SM
28272011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2828
2829 * minibuffer.el (completion-file-name-table): Fix last change,
2830 i.e. ignore normal errors but not the other ones.
2831
0563dae9
MR
28322011-10-10 Martin Rudalics <rudalics@gmx.at>
2833
2834 * window.el (special-display-buffer-names)
2835 (special-display-regexps): Remove some remnants of earlier
2836 changes from doc-strings.
366ca7f3
MR
2837 (quit-windows-on): New function.
2838
2839 * vc/vc.el (vc-revert, vc-rollback):
2840 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2841 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 2842 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 2843
49677495
MR
28442011-10-09 Martin Rudalics <rudalics@gmx.at>
2845
2846 * window.el (frame-auto-hide-function): Add version tag.
2847 (Bug#9699)
2848
56f2d1e1
MA
28492011-10-09 Michael Albinus <michael.albinus@gmx.de>
2850
2851 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2852 condition.
2853
112a6592
LL
28542011-10-09 Leo Liu <sdl.web@gmail.com>
2855
2856 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2857 (Bug#9701)
2858
0812589b
GM
28592011-10-08 Glenn Morris <rgm@gnu.org>
2860
2861 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2862 before the first code statement zero indent. (Bug#9690)
2863
b2b0776e
CY
28642011-10-08 Chong Yidong <cyd@stupidchicken.com>
2865
2866 * simple.el (count-words-region): Always count in the region.
2867 Report the number of lines and characters too.
2868 (count-words): New command, which counts in the buffer if the
2869 region is inactive, as count-words-region used to.
2870 (count-words--message): New function. Handle plurals.
2871 (count-lines-region): Make it an alias for count-words-region.
2872
2873 * bindings.el (esc-map): Replace count-lines-region with
2874 count-words-region.
2875
c557cd6b
MR
28762011-10-08 Martin Rudalics <rudalics@gmx.at>
2877
2878 * window.el (window--delete): Delete dedicated frame
2879 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 2880 (switch-to-buffer): Fix doc-string typo.
c557cd6b 2881
61a57ef4 28822011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2883
2884 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2885
c3833279
CY
28862011-10-07 Chong Yidong <cyd@stupidchicken.com>
2887
2888 * bindings.el ([M-left],[M-right]): Bind to left-word and
2889 right-word respectively.
2890
21ce8245
GM
28912011-10-07 Glenn Morris <rgm@gnu.org>
2892
2893 * cus-start.el (debug-on-quit): Fix custom type.
2894
6d823bb2
LMI
28952011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2896
0181e193
LMI
2897 * subr.el (define-key-after): Clarify that the function is not
2898 useful for non-menu keymaps.
2899
6d823bb2
LMI
2900 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2901
8e3459ce 29022011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2903
21ce8245 2904 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 2905 in current minibuffer (Fix bug with recursive minibuffers).
2906
a1c2d21e
CY
29072011-10-06 Chong Yidong <cyd@stupidchicken.com>
2908
2909 * progmodes/gdb-mi.el (gdb): Doc fix.
2910
5a4cf282
MR
29112011-10-05 Martin Rudalics <rudalics@gmx.at>
2912
2913 * window.el (frame-auto-hide-function): New option replacing
2914 frame-auto-delete. Suggested by Stefan Monnier.
2915 (window--delete): Call frame-auto-hide-function instead of
2916 investigating frame-auto-delete.
c96111ea
MR
2917 (window-point-1, set-window-point-1): New functions.
2918 (window-in-direction, record-window-buffer, window-state-get-1)
2919 (display-buffer-record-window): Use window-point-1 instead of
2920 window-point.
2921 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 2922
9854542e
SM
29232011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2926
8943cfb0
GM
29272011-10-05 Glenn Morris <rgm@gnu.org>
2928
2929 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2930 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2931
647ab967
LL
29322011-10-05 Leo Liu <sdl.web@gmail.com>
2933
2934 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2935 works with buffer object.
2936
3ddfbced
SM
29372011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2939 * mpc.el (mpc-tool-bar-map): Add labels.
2940
bdfa5dd2
GM
29412011-10-04 Glenn Morris <rgm@gnu.org>
2942
2943 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2944
0e2070b5
MR
29452011-10-04 Martin Rudalics <rudalics@gmx.at>
2946
2947 * window.el (window--delete): New function.
2948 (frame-auto-delete): Resuscitate option.
2949 (bury-buffer, replace-buffer-in-windows)
2950 (quit-window): Rewrite using window--delete.
2951 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2952 Pass display-buffer-mark-dedicated to window--display-buffer-2
2953 (Bug#9639).
2954
3dc61a09
SM
29552011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2956
915a9b64
SM
2957 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2958 returns a list (bug#9554). Add remote file name completion.
2959 * comint.el (comint--table-subvert): Curry and get quote&unquote
2960 functions as arguments.
2961 (comint--complete-file-name-data): Adjust call accordingly.
2962 * pcomplete.el (pcomplete--table-subvert): Remove.
2963 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2964
3dc61a09
SM
2965 * minibuffer.el (completion-table-case-fold): Use currying.
2966 (completion--styles-type, completion--cycling-threshold-type):
2967 New constants.
2968 (completion-styles, completion-category-overrides)
2969 (completion-cycle-threshold): Use them.
2970 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2971 completion-table-case-fold.
2972
8ea0a993
SB
29732011-10-03 Stephen Berman <stephen.berman@gmx.net>
2974
2975 * minibuffer.el (completion-category-overrides): Fix type of styles
2976 and add more user friendly tags (bug#9660).
2977
8c24b7f6
SM
29782011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2979
2980 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2981 (mule-input-method-string): New widget.
2982 (default-input-method, language-info-custom-alist): Use it.
2983
428fe61a
SM
29842011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2985
32c1fffd
SM
2986 * pcomplete.el: Require comint.
2987 (pcomplete--common-suffix): Remove.
2988 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2989 (pcomplete--table-subvert): Sync with comint--table-subvert.
2990 (pcomplete--entries): Use comint-completion-file-name-table.
2991 * comint.el (comint-unquote-filename): Simplify.
2992 (comint-completion-file-name-table): New function (bug#9616).
2993 (comint--complete-file-name-data): Use it.
2994
428fe61a
SM
2995 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2996 (pcmpl-gnu-tar-buffer): Remove.
2997 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2998 around. Make sure pcomplete-suffix-list is only changed temporarily.
2999 Don't look inside the tar's file if it's too large.
428fe61a 3000
04c52e2f
CY
30012011-10-01 Chong Yidong <cyd@stupidchicken.com>
3002
ce3cefcc
CY
3003 * cus-edit.el (custom-mode-map):
3004 * epa.el (epa-key-list-mode-map):
3005 * man.el (Man-mode-map):
3006 * startup.el (splash-screen-keymap):
3007 * simple.el (special-mode-map): Use scroll-up-command and
3008 scroll-down-command.
3009
3010 * progmodes/idlw-help.el (idlwave-help-mode-map):
3011 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3012 * net/newst-plainview.el (newsticker-mode-map):
3013 * emulation/ws-mode.el (wordstar-mode-map):
3014 * emulation/vi.el (vi-com-map):
3015 * calc/calc-graph.el (calc-graph-show-dumb):
3016 * term/sun.el (terminal-init-sun):
3017 * term/ns-win.el (global-map):
3018 * progmodes/grep.el (grep-mode-map):
3019 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3020 * mail/rmail.el (rmail-mode-map):
3021 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3022
04c52e2f
CY
3023 * custom.el (custom-safe-themes, load-theme): Treat value of t for
3024 custom-safe-themes as special.
3025
79adf8c8
JD
30262011-10-01 Julien Danjou <julien@danjou.info>
3027
3028 * notifications.el (notifications-notify): Fix docstring.
3029
63bd50d3
PS
30302011-10-01 Per Starbäck <per@starback.se>
3031
3032 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
3033
199e4c7e
MR
30342011-09-30 Martin Rudalics <rudalics@gmx.at>
3035
3036 * startup.el (command-line-1): Fix last fix by inserting
3037 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 3038 (Bug#9605) and (Bug#9636)
199e4c7e 3039
fe5f08dd
EZ
30402011-09-29 Eli Zaretskii <eliz@gnu.org>
3041
3042 * simple.el (line-move): If auto-hscroll-mode is disabled and the
3043 window is hscrolled, move by logical lines. (Bug#9607)
3044 (line-move-visual): Update the doc string to the above effect.
3045
b5516bbd
MR
30462011-09-29 Martin Rudalics <rudalics@gmx.at>
3047
ccee00c0
MR
3048 * window.el (display-buffer-record-window): When WINDOW is the
3049 selected window use `point' instead of `window-point'. (Bug#9626)
3050
b5516bbd
MR
3051 * startup.el (command-line-1): Use insert-before-markers when
3052 inserting initial-scratch-message. (Bug#9605)
ccee00c0 3053
b5516bbd
MR
3054 * help.el (help-window): Remove variable.
3055
52aa0014
GM
30562011-09-29 Glenn Morris <rgm@gnu.org>
3057
3058 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
3059
df9a7357
JB
30602011-09-29 Juanma Barranquero <lekktu@gmail.com>
3061
3062 * descr-text.el (describe-char-categories): Accept category
3063 descriptions more than one line long.
3064
a8406c20
SM
30652011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3066
88d9610c
SM
3067 * simple.el (delete-trailing-whitespace): Fix last change.
3068
a5daf810
SM
3069 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3070 Don't confuse "y => 3" as the beginning of a `y' operation.
3071
a8406c20
SM
3072 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
3073 object has more than 4 slots (bug#9613).
3074
a239d4e9
JB
30752011-09-28 Juanma Barranquero <lekktu@gmail.com>
3076
3077 * subr.el (with-output-to-temp-buffer):
3078 * net/quickurl.el (quickurl, quickurl-browse-url):
3079 Fix typos in docstrings.
3080
693fbdb6
EZ
30812011-09-27 Eli Zaretskii <eliz@gnu.org>
3082
3083 * minibuffer.el (completion-styles)
3084 (completion-category-overrides): Cross reference each other in doc
3085 strings.
3086
8b457e28
GM
30872011-09-27 Glenn Morris <rgm@gnu.org>
3088
3089 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
3090 to split-string. (Bug#9606)
3091
85a16208
LMI
30922011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3093
3094 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
3095 (bug#9615).
3096
502f9ebd
CY
30972011-09-27 Chong Yidong <cyd@stupidchicken.com>
3098
3099 * emacs-lisp/package.el (list-packages): Fix echo area message.
3100
7690bdea
LL
31012011-09-27 Leo Liu <sdl.web@gmail.com>
3102
3103 * ido.el (ido-read-internal): Accept cons cell HIST arg.
3104
e2ee6f30
MA
31052011-09-25 Michael Albinus <michael.albinus@gmx.de>
3106
3107 * net/dbus.el (dbus-unregister-object): Don't release services for
3108 registered signals. (Bug#9581)
3109
f3f98342
TZ
31102011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
3111
3112 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
3113 function that picks between cfengine 2 and 3 support
3114 automatically. Update docs accordingly.
3115
dd7aa8dd
KH
31162011-09-22 Kenichi Handa <handa@m17n.org>
3117
3118 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
3119 ZERO.
3120 (indian-itrans-v5-table-for-tamil): New variable.
3121 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
3122
3f2b07f8
KM
31232011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
3124
3125 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
3126 that's true if the current command involved collapsing of text.
3127 It's reset to false at the beginning of the next command.
3128 (allout-post-command-business): Move the cursor to the beginning
3129 of entry if the cursor is hidden and collapsing activity just
3130 happened.
3131
371d6a61
CY
31322011-09-24 Chong Yidong <cyd@stupidchicken.com>
3133
3134 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
3135 tracking (Bug#9541).
3136
2ac2721a
UJ
31372011-09-24 Ulf Jasper <ulf.jasper@web.de>
3138
3139 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
3140 (newsticker-show-news): Automatically load html rendering package
3141 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
3142 because w3m-fill-column is let-bound" and the error "Symbol's value
3143 as variable is void: w3m-fill-column".
2ac2721a 3144
fac7ae53
MA
31452011-09-24 Michael Albinus <michael.albinus@gmx.de>
3146
3147 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
3148 Release services only if they are defined. (Bug#9581)
3149
e08b633b
RS
31502011-09-23 Richard Stallman <rms@gnu.org>
3151
e488d29c
RS
3152 * textmodes/paragraphs.el (forward-sentence): For backwards case,
3153 distinguish start of paragraph from start of its text.
3154
19c38752
RS
3155 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
3156
e08b633b
RS
3157 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
3158 (rmail-generate-viewer-buffer): Put that hook on view buffer.
3159 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
3160
0a39f27e
AS
31612011-09-23 Andreas Schwab <schwab@linux-m68k.org>
3162
3163 * international/mule-diag.el (mule-diag): Insert a newline after
3164 each fontset description.
3165
db4e950d
SM
31662011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3167
3168 * simple.el (delete-trailing-whitespace):
3169 Document last change; simplify.
3170
eca3f3ea
PW
31712011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
3172
d68e189a
PW
3173 * simple.el (delete-trailing-whitespace): Also delete
3174 extra newlines at the end of the buffer.
3175
eca3f3ea
PW
3176 * textmodes/picture.el: Make motion commands obey shift-select-mode.
3177 (picture-newline): Use forward-line so as to ignore fields.
3178
01c157cc
SM
31792011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3180
3181 * subr.el (with-wrapper-hook): Fix edebug spec.
3182
022de23e
LMI
31832011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3184
3185 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
3186 (bug#4538).
3187
91683089
MA
31882011-09-23 Michael Albinus <michael.albinus@gmx.de>
3189
eca3f3ea
PW
3190 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3191 Fix nasty bug using wrong cached values.
91683089 3192
5bdd6fa4
AM
31932011-09-23 Alan Mackenzie <acm@muc.de>
3194
3195 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
3196
97adfb97
CY
31972011-09-23 Chong Yidong <cyd@stupidchicken.com>
3198
3199 * window.el (pop-to-buffer): Ensure right window is selected if we
3200 chose another frame.
3201
d4ef2b50
EZ
32022011-09-22 Eli Zaretskii <eliz@gnu.org>
3203
3204 * simple.el (what-cursor-position): Use get-char-property-change
3205 and next-single-char-property-change, to be able to show display
3206 properties that come from overlays as well as text properties.
3207
72258fe5
CY
32082011-09-22 Chong Yidong <cyd@stupidchicken.com>
3209
3210 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
3211
3212 * cmuscheme.el (run-scheme, switch-to-scheme):
3213 * cus-edit.el (customize-group, custom-buffer-create)
3214 (customize-browse):
3215 * info.el (info):
3216 * shell.el (shell):
3217 * mail/sendmail.el (mail):
3218 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
3219
8f098516
RS
32202011-09-22 Richard Stallman <rms@gnu.org>
3221
3222 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
3223 move back only to line beg, don't move back over blank lines.
3224
e74f1bb6
MA
32252011-09-22 Michael Albinus <michael.albinus@gmx.de>
3226
3227 * files.el (copy-directory): Set directory attributes only in case
3228 they could be retrieved from the source directory. (Bug#9565)
3229
bfeef8b6
DK
32302011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
3231
3232 * progmodes/hideshow.el (hs-looking-at-block-start-p)
3233 (hs-find-block-beginning, hs-hide-level-recursive):
3234 Ignore strings as well as comments. (Bug#9502)
3235
7e423bb8
AS
32362011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
3237
3238 * progmodes/sql.el (sql-comint-postgres):
3239 Convert port number to a string. (Bug#9566)
3240
b4d72fcf
MR
32412011-09-22 Martin Rudalics <rudalics@gmx.at>
3242
3243 * window.el (quit-window): Undedicate window when switching to
3244 previous buffer. Reported by Thierry Volpiatto
3245 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
3246 (special-display-popup-frame): When popping up a new frame reset
3247 its previous buffers to nil. Simplify code.
b4d72fcf 3248
a7b88dc6
MA
32492011-09-21 Michael Albinus <michael.albinus@gmx.de>
3250
3251 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
3252 and process filter, as done also in `shell-command'.
3253
cf4eacfd
MR
32542011-09-21 Martin Rudalics <rudalics@gmx.at>
3255
eca3f3ea 3256 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
3257 Call set-window-start with NOFORCE argument t.
3258 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
3259 (quit-window): Reword doc-string. Handle new format of
3260 quit-restore parameter. Don't delete window if it has a
3261 previous buffer we can show instead of the present one.
3262 (display-buffer-record-window): Rewrite using a new format for
3263 the quit-restore window parameter
3264 (special-display-popup-frame, display-buffer-same-window)
3265 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3266 (display-buffer-pop-up-window, display-buffer-use-some-window):
3267 Adapt symbol passed to display-buffer-record-window.
3268 * help.el (help-window-setup): Handle new format of quit-restore
3269 parameter.
3270
8d28cb95
SM
32712011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3272
94ab793f
SM
3273 * faces.el (face-list): Fix docstring (bug#9564).
3274
8d28cb95
SM
3275 * window.el (display-buffer--action-function-custom-type):
3276 Don't include internal functions in the Custom interface.
3277
3820edeb
JL
32782011-09-20 Juri Linkov <juri@jurta.org>
3279
3280 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
3281 (Info-forward-node, Info-backward-node, Info-next-preorder)
3282 (Info-last-preorder): Use it. (Bug#9528)
3283
5147931d
JL
32842011-09-20 Juri Linkov <juri@jurta.org>
3285
3286 * info.el (Info-last-preorder): Visit last menu item only when
3287 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
3288
cf499a1a
JD
32892011-09-20 Julien Danjou <julien@danjou.info>
3290
3291 * password-cache.el (password-cache-remove): Remove entries even if the
3292 value is nil, so that password with a nil value (negative caching) is
3293 possible to invalidate.
3294
f84e2fe2
LM
32952011-09-20 Lawrence Mitchell <wence@gmx.li>
3296
3297 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
3298 all whitespace around breakpoint. (Bug#9553)
3299 (f90-find-breakpoint): Only break at whitespace inside a comment.
3300
78054a46
SM
33012011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3302
3303 * minibuffer.el (completion-file-name-table): Keep track of errors.
3304 (completion-table-with-predicate): Handle the case where pred1 is nil.
3305 * pcomplete.el (pcomplete-completions-at-point): Simplify.
3306
345083b2
SM
33072011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3308
e24e27be
SM
3309 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
3310 (debugger-return-value): Signal an error if the debugging context does
3311 not await any return value.
3312
345083b2
SM
3313 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
3314 * image-mode.el (image-toggle-display-text)
3315 (image-toggle-display-image): Stay away from evil `intangible'.
3316
08d355e3
LL
33172011-09-19 Leo Liu <sdl.web@gmail.com>
3318
3319 * replace.el (occur-revert-arguments): Make it permanent-local.
3320 (occur-mode): Don't call font-lock-defontify.
3321
f01da43f
CY
33222011-09-19 Chong Yidong <cyd@stupidchicken.com>
3323
3324 * net/ldap.el (ldap-search-internal): Don't push empty search
3325 result (Bug#9508).
3326
b6072fa6
SM
33272011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3329 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
3330
443d6696
MA
33312011-09-19 Michael Albinus <michael.albinus@gmx.de>
3332
3333 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
3334 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
3335
7cc6e154
JL
33362011-09-18 Juri Linkov <juri@jurta.org>
3337
3338 * buff-menu.el (Buffer-menu-mode-map):
3339 * dired.el (dired-mode-map):
3340 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
3341 (lisp-interaction-mode-map):
3342 * emacs-lisp/package.el (package-menu-mode-map):
3343 * epa.el (epa-key-list-mode-map):
3344 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
3345 (menu-bar-options-menu):
3346 * outline.el (outline-mode-menu-bar-map):
3347 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
3348 * vc/vc-dir.el (vc-dir-menu-map):
3349 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
3350 Capitalize non-function content words in menu item strings.
3351
3352 * dired.el (dired-mode-map): Add menu item for
3353 `image-dired-dired-toggle-marked-thumbs'.
3354
80302a81
JL
33552011-09-18 Juri Linkov <juri@jurta.org>
3356
3357 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
3358 to `isearch-case-fold-search' and restore its original value
3359 after the `isearch-mode' call.
3360
46c5cf66
JL
33612011-09-18 Juri Linkov <juri@jurta.org>
3362
3363 * progmodes/grep.el (grep-process-setup): Don't check code for 1
3364 because `zgrep' returns 1 for successful matches (bug#9226).
3365
d18b513b
JL
33662011-09-18 Juri Linkov <juri@jurta.org>
3367
3368 * info.el (Info-extract-menu-node-name): Check the second match
3369 for empty string (second test-case of bug#9528).
3370 (Info-last-preorder): Let-bind `Info-history' to nil to not add
3371 intermediate nodes to the history (first test-case of bug#9528).
3372
72753f87
JL
33732011-09-18 Juri Linkov <juri@jurta.org>
3374
3375 * info.el (Info-mode-syntax-table): New variable.
1154d12e 3376 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 3377
c9384295
JL
33782011-09-18 Juri Linkov <juri@jurta.org>
3379
1154d12e
JB
3380 * info.el (Info-file-supports-index-cookies):
3381 Increment line-beginning-position's arg from 3 to 4 because makeinfo
3382 outputs one more line for long file names (bug#4142).
c9384295 3383
d473dce8
CY
33842011-09-18 Chong Yidong <cyd@stupidchicken.com>
3385
3386 * newcomment.el (comment-normalize-vars): If prompting for
3387 comment-start, set comment-start-skip too (Bug#8424).
3388
2176854d
JB
33892011-09-18 Johan Bockgård <bojohan@gnu.org>
3390
3391 * icomplete.el: Fix previous fix of Bug#5849.
3392 (icomplete-mode): Don't set completion-show-inline-help.
3393 (icomplete-minibuffer-setup): Set completion-show-inline-help
3394 locally during icompletion.
3395
3aace4e4
CY
33962011-09-18 Chong Yidong <cyd@stupidchicken.com>
3397
c940224f
CY
3398 * woman.el (woman2-process-escapes): Don't delete unrecognized
3399 escapes (Bug#7843).
3400
3aace4e4
CY
3401 * files.el (inhibit-first-line-modes-regexps): Add image files.
3402 (hack-local-variables-prop-line): Return nil for malformed
3403 prop-lines (Bug#9044).
3404
710dec63
MA
34052011-09-18 Michael Albinus <michael.albinus@gmx.de>
3406
3407 * net/tramp.el (top): Don't require 'shell.
3408 (tramp-methods): Fix docstring.
3409 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
3410 Return complete remote file name. Handle "smb" case.
3411 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
3412 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
3413
3414 * net/tramp-compat.el (top): Require 'shell.
3415
3416 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3417 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
3418 `tramp-current-host'.
3419 (tramp-get-remote-tmpdir): Remove.
3420
3421 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
3422 `tramp-tmpdir' entries.
3423 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
3424 (tramp-smb-handle-file-attributes): Ignore errors.
3425 (tramp-smb-wait-for-output): Check also for process end.
3426
5d5ac8ec
LMI
34272011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3428
3429 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
3430 when sending QUIT (bug#9312).
3431
8c0f49f0
CY
34322011-09-17 Chong Yidong <cyd@stupidchicken.com>
3433
3434 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3435 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3436 occur-mode-display-occurrence.
3437 (occur-edit-mode): Add usage message.
3438 (occur-cease-edit): New command.
3439 (occur-after-change-function): Use text properties to find the
3440 position of the prefix text.
3441 (occur-engine): Set stickiness of prefix text properties.
3442
8f1383f7
GM
34432011-09-17 Glenn Morris <rgm@gnu.org>
3444
3445 * progmodes/etags.el (complete-tag):
3446 Fix call to completion-in-region. (Bug#9526)
3447
744ba0e3
JL
34482011-09-17 Juri Linkov <juri@jurta.org>
3449
3450 * textmodes/ispell.el (ispell-word): Add to the error message
3451 the word, ispell program name and current dictionary (bug#9121).
3452 (ispell-tex-arg-end): Capitalize "error" in the error message.
3453
d9bbf400
AS
34542011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3455
3456 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3457 check. (Bug#4251)
3458
8da11505
JL
34592011-09-17 Juri Linkov <juri@jurta.org>
3460
3461 * window.el (window-safe-min-height, window-safe-min-width):
3462 Fix typos (followup to bug#9522).
3463
a91adc7e
SJ
34642011-09-17 Sven Joachim <svenjoac@gmx.de>
3465
3466 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3467
064f328a
EZ
34682011-09-16 Eli Zaretskii <eliz@gnu.org>
3469
3470 * simple.el (line-move): If goal-column is set, move by logical
3471 lines, not by display lines. (Bug#971)
3472 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3473 to reflect the above change.
3474
e69df516
SM
34752011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * image.el (imagemagick-register-types): Use regexp-opt.
3478
cbb0f9ab
CY
34792011-09-15 Chong Yidong <cyd@stupidchicken.com>
3480
3481 * window.el (display-buffer-base-action): Rename from
3482 display-buffer-default-action. Make default value empty.
3483 (display-buffer-overriding-action): Convert to defvar.
3484 (display-buffer-fallback-action): New var.
3485
25322144
CY
34862011-09-15 Chong Yidong <cyd@stupidchicken.com>
3487
3488 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3489 declaration.
3490 (package--add-to-archive-contents): If there is a duplicate entry
3491 with an older version, remove it.
3492 (package-menu-mark-delete, package-menu-mark-install)
3493 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
3494 (package-menu-mark-obsolete-for-deletion):
3495 Use package-menu-get-status instead of a regexp search.
25322144
CY
3496 (package-menu-get-status): Use tabulated-list-entry.
3497 (package-menu-mark-upgrades): New command.
d770725a 3498 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
3499 (package-menu-execute): Do installation before deletion.
3500 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3501 instead of checking major-mode.
3502 (package-menu--find-upgrades): New function.
3503
7520339c
LMI
35042011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3505
3506 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3507 passwords in the log buffer.
65a046c4
LMI
3508 (smtpmail-process-filter): Update the process marker so that the
3509 "broken by peer" status message is inserted in the right place.
7520339c 3510
d3c30954
SM
35112011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3fe48822
SM
3513 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3514 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3515 bibtex-completion-at-point-function.
3516 (bibtex-completion-at-point-function): Use them.
3517
1b8b3954
SM
3518 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3519
d3c30954
SM
3520 * mpc.el (mpc-constraints-tag-lookup): New function.
3521 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3522 also to browser "album|playlist".
3523
72779976
JL
35242011-09-14 Juri Linkov <juri@jurta.org>
3525
3526 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3527 (isearch-edit-string): Use length of `isearch-string' when
3528 `isearch-fail-pos' returns nil.
3529 (isearch-message): Remove duplicate code and call
3530 `isearch-fail-pos' with arg `t'.
3531
a0bf2bcd
CY
35322011-09-14 Chong Yidong <cyd@stupidchicken.com>
3533
17bb0a2d
CY
3534 * replace.el (occur-mode-goto-occurrence): Don't force using other
3535 window (Bug#9499).
3536
a0bf2bcd
CY
3537 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3538
f678e0b6
MR
35392011-09-14 Martin Rudalics <rudalics@gmx.at>
3540
3541 * window.el (display-buffer-window): Remove.
3542 (display-buffer-record-window): Use help-setup window parameter
3543 instead of variable display-buffer-window.
3544 (display-buffer-function, special-display-buffer-names)
3545 (special-display-function): Mention help-setup parameter instead
3546 of display-buffer-window in doc-string.
d3c30954
SM
3547 * help.el (help-window-setup): New argument help-window.
3548 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
3549 Reword some messages.
3550 (with-help-window): Pass window used for displaying the buffer
3551 to help-window-setup. Don't set display-buffer-window.
3552
8e39b2e8
GM
35532011-09-13 Glenn Morris <rgm@gnu.org>
3554
3555 * emacs-lisp/debug.el (debugger-make-xrefs):
3556 Preserve point. (Bug#9462)
3557
85e9c04b
CY
35582011-09-13 Chong Yidong <cyd@stupidchicken.com>
3559
3560 * window.el (window-deletable-p): Use next-frame.
3561
1b36ed6a
MR
35622011-09-13 Martin Rudalics <rudalics@gmx.at>
3563
3564 * window.el (window-auto-delete): Remove.
3565 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 3566 dedication and previous buffers.
1b36ed6a
MR
3567 (switch-to-prev-buffer): Don't delete window.
3568 (delete-windows-on): Delete a window's frame if and only if the
3569 window is dedicated.
3570 (replace-buffer-in-windows): Delete buffer's window or frame if
3571 and only if window is dedicated.
3572 (quit-window): Handle quit-restore as before last change.
4d61f28d 3573 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 3574
ef8ef9fb
CY
35752011-09-13 Chong Yidong <cyd@stupidchicken.com>
3576
3577 * window.el (window-deletable-p): Never delete the last frame on a
3578 given terminal.
3579
b2cba41e
GM
35802011-09-13 Glenn Morris <rgm@gnu.org>
3581
3582 * help.el (describe-key-briefly): Copy previous standard-output change.
3583
51553db6 35842011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
3585
3586 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3587
b7556719
GM
35882011-09-13 Glenn Morris <rgm@gnu.org>
3589
3590 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3591 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3592
64b51947
CY
35932011-09-12 Chong Yidong <cyd@stupidchicken.com>
3594
3595 * dired-aux.el (dired-mark-read-string): Don't return default
3596 value on empty input (Bug#9361).
3597 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3598 Omit initial minibuffer contents.
3599 (dired-do-chmod): Signal an error on empty input.
3600 (dired-mark-read-string): Don't return default on empty input.
3601
3602 * files.el (file-modes-symbolic-to-number): Doc fix.
3603
393a301e
SM
36042011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3605
3606 * international/mule-cmds.el (ucs-completions): Remove.
3607 (read-char-by-name): Use complete-with-action instead; add metadata.
3608
fa5660f9
CY
36092011-09-11 Chong Yidong <cyd@stupidchicken.com>
3610
3611 * window.el (display-buffer--action-function-custom-type)
3612 (display-buffer--action-custom-type): New vars.
3613 (display-buffer-alist, display-buffer-default-action)
3614 (display-buffer-overriding-action): Add defcustom types.
3615
4a592f66
CY
3616 * frame.el (delete-other-frames): Doc fix (Bug#276).
3617
73d56dbd
LMI
36182011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3619
3620 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3621
37ac18a3
CY
36222011-09-11 Chong Yidong <cyd@stupidchicken.com>
3623
3624 Change modes that used same-window-* vars to use switch-to-buffer.
3625
3626 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3627 Use switch-to-buffer.
3628
3629 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
3630 (customize-browse, custom-buffer-create-other-window):
3631 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
3632
3633 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3634 (Info-prev, Info-up, Info-speedbar-goto-node)
3635 (info-display-manual): Use switch-to-buffer.
3636 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3637
3638 * mail/sendmail.el (mail): Use switch-to-buffer.
3639 (mail-recover): Use switch-to-buffer-other-window.
3640
3641 * cmuscheme.el (run-scheme, switch-to-scheme):
3642 * ielm.el (ielm):
3643 * shell.el (shell):
3644 * net/rlogin.el (rlogin):
3645 * net/telnet.el (telnet, rsh):
3646 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3647
10195bd6
AS
36482011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3649
3650 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3651
b322f63a
LMI
36522011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3653
39d7fed6
LMI
3654 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3655 so don't mention it (bug#9301).
ba5a81f1 3656 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 3657
ee0e9f11
LMI
3658 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3659 match `x', `w32' and `ns', like the manual says (bug#9029).
3660
0b1c89c1 3661 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
3662 (process-kill-buffer-query-function): Mention the buffer name in
3663 the query.
0b1c89c1 3664
77549ea8
LMI
3665 * image-mode.el (image-next-line): The line parameter is mandatory
3666 (bug#9258).
3667
803ef892
LMI
3668 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3669 which can be useful (bug#9301).
3670
12980837
LMI
3671 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3672
91054f8f
LMI
3673 * subr.el (match-string): Mention that the current buffer should
3674 be the same as the search was done in (bug#9282).
3675
b322f63a
LMI
3676 * facemenu.el: Disable the remove-* commands if the mark isn't
3677 active (bug#9162).
3678
3199b96f
CY
36792011-09-10 Chong Yidong <cyd@stupidchicken.com>
3680
3681 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3682 of display-buffer.
3683 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3684
3685 * replace.el (occur-mode-goto-occurrence)
3686 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3687 and display-buffer.
3688
3689 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3690 display-buffer.
3691
3692 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3693 special-display and same-window variables.
3694 (mail-other-window): Use switch-to-buffer-other-window.
3695 (mail-other-frame): USe switch-to-buffer-other-frame.
3696
393a301e
SM
3697 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3698 Use display-buffer-other-frame.
3199b96f
CY
3699 (gdb-display-gdb-buffer): Use pop-to-buffer.
3700
3701 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3702
3703 * progmodes/python.el: Don't set same-window-buffer-names.
3704
3705 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3706
3707 * window.el (display-buffer-alist): Add *Python*.
3708
8319e0bf
CY
37092011-09-10 Chong Yidong <cyd@stupidchicken.com>
3710
3711 * window.el (display-buffer-alist): Add entry for buffers
3712 previously handled same-window-*.
3713 (display-buffer-alist, display-buffer-default-action)
3714 (display-buffer-overriding-action): Mark as risky.
3715 (display-buffer-alist): Document action function changes.
3716 (display-buffer--same-window-action)
3717 (display-buffer--other-frame-action): New variables.
3718 (switch-to-buffer, display-buffer-other-frame): Use them.
3719 (display-buffer): Rename reuse-frame entry to reusable-frames.
3720 (display-buffer-reuse-selected-window): Function deleted.
3721 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3722 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3723 (display-buffer-special): New function.
3724 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3725 display-buffer-reuse-or-pop-window. Split off special-display
3726 part into display-buffer-special.
3727 (display-buffer-use-some-window): Don't perform any special
3728 pop-up-frames handling.
3729 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 3730 (display-buffer--maybe-same-window): Rename from
0d3ff375 3731 display-buffer-maybe-same-window.
8319e0bf 3732
919a69aa
CY
3733 * info.el: Don't set same-window-regexps.
3734 (info-setup): New function.
3735 (info-other-window, info): Call it.
3736
3737 * cus-edit.el: Don't set same-window-regexps.
3738 (customize-group): New argument.
3739 (customize-group-other-window): Use it.
3740 (customize-face, customize-face-other-window): Likewise.
3741 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3742
8319e0bf
CY
3743 * net/rlogin.el:
3744 * net/telnet.el:
3745 * progmodes/gud.el: Don't set same-window-regexps.
3746
3747 * cmuscheme.el:
3748 * ielm.el:
3749 * shell.el:
3750 * mail/sendmail.el:
3751 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3752
25173000
JL
37532011-09-10 Juri Linkov <juri@jurta.org>
3754
3755 * isearch.el (isearch-edit-string): Remove obsolete mention of
3756 `C-w' (`isearch-yank-word-or-char') from docstring.
3757 (isearch-query-replace): Fix typo in docstring (bug#9466).
3758
056e44ef
JL
37592011-09-10 Juri Linkov <juri@jurta.org>
3760
3761 * paren.el (show-paren-function): Don't show escaped parens.
3762 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3763
c3760c17
EZ
37642011-09-10 Eli Zaretskii <eliz@gnu.org>
3765
3766 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3767 (mm-default-file-encoding): Remove autoload forms, they are
3768 replaced with autoload cookies in mml.el and mm-encode.el.
3769 (mail-add-attachment): New command.
3770 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3771 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3772 the doc string.
3773 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3774
fece895e
RT
37752011-09-10 Reuben Thomas <rrt@sc3d.org>
3776
e69df516
SM
3777 * simple.el (count-words-region): Use buffer if there's no region
3778 (bug#9429).
fece895e 3779
5e68ce4a
JL
37802011-09-09 Juri Linkov <juri@jurta.org>
3781
3782 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3783 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3784 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3785
0a6b9622
AM
37862011-09-09 Alan Mackenzie <acm@muc.de>
3787
3788 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3789 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3790
14a29deb
EZ
37912011-09-09 Eli Zaretskii <eliz@gnu.org>
3792
3793 Fix for Savannah bug#9392.
3794 * simple.el (mail-encode-mml): New defvar.
3795
3796 * mail/rmail.el (mail-encode-mml): Add a defvar.
3797 (rmail-enable-mime-composing): Default to t.
3798 (rmail-forward): Use MIME method of forwarding only if both
3799 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3800 Set mail-encode-mml non-nil if the MIME method was used.
3801
3802 * mail/sendmail.el (mml-to-mime): Add autoload form.
3803 (mail-encode-mml): Add a defvar.
3804 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3805 to nil.
3806 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3807 message through mml-to-mime, and reset mail-encode-mml to nil.
3808
28c45130
GM
38092011-09-09 Glenn Morris <rgm@gnu.org>
3810
3811 * woman.el (woman-if-body): When processing an .el block,
3812 do not delete the next .el block as well. (Bug#9447)
69f4b618 3813 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 3814
9b1c252e
MR
38152011-09-08 Martin Rudalics <rudalics@gmx.at>
3816
3817 * window.el (window-deletable-p): Make sure window is live before
3818 invoking window-prev-buffers.
3819
567457e3
LL
38202011-09-08 Leo Liu <sdl.web@gmail.com>
3821
3822 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3823
97f05794
JL
38242011-09-08 Juri Linkov <juri@jurta.org>
3825
3826 * progmodes/compile.el (compilation-environment): Make it
3827 a defcustom (bug#8340).
3828
8b0874b5
MR
38292011-09-08 Martin Rudalics <rudalics@gmx.at>
3830
3831 * window.el (frame-auto-delete): Rename to window-auto-delete.
3832 Make it control auto-deletion of windows and/or frames.
3833 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 3834 for deleting window/frame. (Bug#9419)
8b0874b5
MR
3835 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3836 Rewrite handling of case when window/frame can be deleted.
3837 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 3838 argument t. (Bug#9456)
8b0874b5 3839
4feb6e73
CY
38402011-09-07 Chong Yidong <cyd@stupidchicken.com>
3841
3842 * help-mode.el (help-mode): Restore autoload.
3843
91ab9c13
JL
38442011-09-07 Juri Linkov <juri@jurta.org>
3845
3846 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3847 `compilation-environment'. Set buffer-local
3848 `compilation-environment' to `thisenv' later after (funcall mode).
3849 (Bug#8340)
3850
3851 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3852 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3853 instead of replacing its value. (Bug#8340)
3854
0527e251
JL
38552011-09-07 Juri Linkov <juri@jurta.org>
3856
3857 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3858 based on text properties put by `grep-filter' instead of matching
3859 escape sequences.
3860 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3861 to the value of `grep-error-screen-columns' (bug#9438).
3862
249f792c
JL
38632011-09-07 Juri Linkov <juri@jurta.org>
3864
3865 * simple.el (next-error-highlight, next-error-highlight-no-select):
3866 Doc fix (bug#9432).
3867
ff7271b9
OT
38682011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3869
3870 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3871 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3872
183fc730
LL
38732011-09-07 Leo Liu <sdl.web@gmail.com>
3874
3875 * net/rcirc.el (rcirc-mode): Conditionally initialize
3876 rcirc-input-ring.
3877
77694924
SM
38782011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3879
3880 * emacs-lisp/find-func.el (find-function-C-source): Only set
3881 find-function-C-source-directory after checking that we found a source
3882 file there (bug#9440).
3883
d809b8eb
AM
38842011-09-06 Alan Mackenzie <acm@muc.de>
3885
3886 * isearch.el (isearch-other-meta-char): Wherever a key list is
3887 unread, "unread" the prefix arg, too. This fixes bug #8901.
3888
453de99f
OG
38892011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3890
3891 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3892
90439906
JL
38932011-09-05 Juri Linkov <juri@jurta.org>
3894
3895 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3896
f62bd846
JL
38972011-09-05 Juri Linkov <juri@jurta.org>
3898
3899 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3900 keeping point where processing of grep matches begins, and
3901 continue to delete remaining escape sequences from the same point.
3902 (grep-filter): Make leading zero optional in "0?1;31m" because
3903 git-grep emits "\033[1;31m" escape sequences unlike expected
3904 "\033[01;31m" as GNU Grep does (bug#9408).
3905 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3906
045820ec
JL
39072011-09-05 Juri Linkov <juri@jurta.org>
3908
3909 * subr.el (y-or-n-p): Capitalize "yes".
3910
f5e29b9b
MA
39112011-09-04 Michael Albinus <michael.albinus@gmx.de>
3912
3913 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3914 `tramp-cache-unload-hook' where appropriate.
3915 (tramp-methods): Rename `tramp-remote-sh' to
3916 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3917 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3918
3919 * net/tramp-sh.el (top): Don't require 'shell.
3920 (tramp-methods): Add `tramp-remote-shell' and
3921 `tramp-remote-shell-args' entries.
3922 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3923 (tramp-sh-handle-shell-command): Remove.
3924 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3925 Use `tramp-remote-shell'.
3926
2784c434
CY
39272011-09-03 Chong Yidong <cyd@stupidchicken.com>
3928
393a301e 3929 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
3930 (sendmail-query-once): Save directly to send-mail-function.
3931 Update message-send-mail-function too.
3932
3933 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3934
464cdf56
CS
39352011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3936
3937 * progmodes/python.el (python-mode-map): Use correct function to
3938 start python interpreter from menu-bar (as reported by Geert
3939 Kloosterman).
3940 (inferior-python-mode-map): Fix typo.
393a301e 3941 (python-shell-map): Remove.
464cdf56 3942
d37e5c87
DD
39432011-09-03 Deniz Dogan <deniz@dogan.se>
3944
3945 * net/rcirc.el (rcirc-print): Simplify code for
3946 rcirc-scroll-show-maximum-output. There is no need to walk
3947 through all windows to find the right one.
3948
f3ada0ee
CS
39492011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3950
3951 * help.el (help-return-method): Doc fix.
3952
1f3c99ca
MR
39532011-09-03 Martin Rudalics <rudalics@gmx.at>
3954
3955 * window.el (window-deletable-p): Don't return a non-nil value
3956 when there's a buffer that was shown in the window before.
3957 (Bug#9419)
393a301e
SM
3958 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3959 Set window's previous buffers to nil.
1f3c99ca 3960
a3cf097f
EZ
39612011-09-03 Eli Zaretskii <eliz@gnu.org>
3962
3963 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3964 newline before and after the tag line, so it doesn't interfere
3965 with determining the paragraph direction of bidirectional text.
3966
3d03de90
LL
39672011-09-03 Leo Liu <sdl.web@gmail.com>
3968
3969 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3970
c3313451
CY
39712011-09-02 Chong Yidong <cyd@stupidchicken.com>
3972
393a301e 3973 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3974 (pop-to-buffer): Change interactive spec. Pass second argument
3975 directly to display-buffer.
3976 (display-buffer): Fix interactive spec. Use functionp to
3977 distinguish between a function and a list of functions.
3978
3979 * abbrev.el (edit-abbrevs):
3980 * arc-mode.el (archive-extract):
3981 * autoinsert.el (auto-insert):
3982 * bookmark.el (bookmark-bmenu-list):
3983 * files.el (find-file):
3984 * view.el (view-buffer):
3985 * progmodes/compile.el (compilation-goto-locus):
3986 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3987
89894cd8
CY
39882011-09-02 Chong Yidong <cyd@stupidchicken.com>
3989
3990 * window.el (display-buffer-alist): Doc fix.
3991 (display-buffer): Add docstring. Don't treat
3992 display-buffer-default specially.
3993 (display-buffer-reuse-selected-window)
3994 (display-buffer-same-window, display-buffer-maybe-same-window)
3995 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3996 (display-buffer-pop-up-window)
3997 (display-buffer-reuse-or-pop-window)
3998 (display-buffer-use-some-window): New functions.
3999 (display-buffer-default-action): Use them.
393a301e 4000 (display-buffer-default): Delete.
89894cd8
CY
4001 (pop-to-buffer-1): Fix choice of actions.
4002
ae0bc9fb
SM
40032011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * minibuffer.el (completion--insert-strings): Don't get confused by
4006 completion entries that end with an LF char.
4007
e9d90883
EZ
40082011-09-01 Eli Zaretskii <eliz@gnu.org>
4009
4010 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4011
437014c8
CY
40122011-09-01 Chong Yidong <cyd@stupidchicken.com>
4013
4014 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
4015 (display-buffer-same-window, display-buffer-other-window):
4016 New functions.
437014c8
CY
4017 (pop-to-buffer-1): New function. Use the above.
4018 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 4019 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
4020
4021 * view.el (view-buffer-other-window, view-buffer-other-frame):
4022 Just use pop-to-buffer.
4023
a5e063d5
TV
40242011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4025
4026 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
4027
793d32bb
WH
40282011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
4029
4030 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
4031
d65e4c15
RS
40322011-08-31 Richard Stallman <rms@gnu.org>
4033
4034 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4035 of the separation of rmail-view-buffer from rmail-buffer.
4036 If you say no to "replace original", the decrypt is in the
4037 view buffer. If you say yes, the decrypt goes into the
4038 rmail buffer also.
4039
f818cd2a
MR
40402011-08-31 Martin Rudalics <rudalics@gmx.at>
4041
4042 * window.el (display-buffer-window): Rewrite doc-string.
4043 (display-buffer-record-window): New function.
4044 (display-buffer-macro-specifiers)
4045 (display-buffer-even-window-sizes, display-buffer-set-height)
4046 (display-buffer-set-width, display-buffer-in-window)
4047 (display-buffer-reuse-window, display-buffer-split-specifiers)
4048 (display-buffer-side-specifiers, display-buffer-split-window-1)
4049 (display-buffer-split-window, display-buffer-split-atom-window)
4050 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4051 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
4052 (display-buffer-other-window-means-other-frame)
4053 (display-buffer-normalize-special)
4054 (display-buffer-normalize-default)
4055 (display-buffer-normalize-argument)
4056 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
4057 (display-buffer-normalize-specifiers, display-buffer-frame)
4058 (display-buffer-same-window, display-buffer-same-frame)
4059 (display-buffer-other-window)
4060 (display-buffer-same-frame-other-window)
4061 (display-buffer-other-frame, pop-to-buffer-same-window)
4062 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
4063 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
4064 (switch-to-buffer-same-frame)
4065 (switch-to-buffer-other-window-same-frame)
4066 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
4067 (display-buffer-alist-set-1, display-buffer-alist-set-2)
4068 (display-buffer-alist-set): Remove.
4069 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
4070 (special-display-regexps, special-display-function):
4071 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
4072 parameter.
4073 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
4074 (special-display-frame-alist, special-display-popup-frame)
4075 (same-window-buffer-names, same-window-regexps, same-window-p)
4076 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4077 (split-window-preferred-function, split-height-threshold)
4078 (split-width-threshold, window-splittable-p)
4079 (split-window-sensibly, window--try-to-split-window)
4080 (window--frame-usable-p, even-window-heights)
4081 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
4082 (window--display-buffer-2, display-buffer-other-frame):
4083 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
4084 (display-buffer-default, display-buffer-assq-regexp): New functions.
4085 (display-buffer-alist): Rewrite doc-string.
4086 (display-buffer-default-action)
4087 (display-buffer-overriding-action): New variables.
4088 (display-buffer, switch-to-buffer): Rewrite.
4089 (pop-to-buffer): Restore Emacs 23 behavior but use
4090 window-normalize-buffer-to-display.
4091 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
4092 Restore Emacs 23 behavior but use
4093 window-normalize-buffer-to-switch-to.
4094 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
4095 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
4096 Rewrite using Emacs 23 options.
f818cd2a 4097
5bc3b51d
MA
40982011-08-31 Michael Albinus <michael.albinus@gmx.de>
4099
4100 * net/tramp.el (tramp-root-regexp): Remove.
4101 (tramp-completion-file-name-regexp-unified)
4102 (tramp-completion-file-name-regexp-separate)
4103 (tramp-completion-file-name-regexp-url): Don't use leading volume
4104 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
4105 (tramp-drop-volume-letter): Simplify definition.
4106 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 4107
b1a4f8e1
SM
41082011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
4111 (bug#9356).
4112
5664fa7b
RT
41132011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
4114
b1a4f8e1 4115 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 4116
9a45d6c3
JL
41172011-08-29 Juri Linkov <juri@jurta.org>
4118
4119 * isearch.el (isearch-done): Don't display message "Mark saved"
4120 when arg `edit' is non-nil to prevent its flicker in the echo area.
4121
fb87e0fb
CY
41222011-08-28 Chong Yidong <cyd@stupidchicken.com>
4123
4124 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
4125 obsolete packages for deletion.
4126
09ac1c2a
CS
41272011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
4128
4129 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 4130 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
4131 view-mode from help-mode.
4132 (help-xref-override-view-map): Remove.
4133 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
4134 view-mode is not used anymore.
4135
7a1ff57f
CY
41362011-08-28 Chong Yidong <cyd@stupidchicken.com>
4137
4138 * server.el (server-port): Doc fix.
4139
b9696605
CY
4140 * cus-theme.el (custom-theme-choose-mode): Inherit from
4141 special-mode (Bug#9124).
4142 (custom-theme-choose-mode-map): Add special-mode to parent.
4143
ef8cdf8c
AM
41442011-08-28 Alan Mackenzie <acm@muc.de>
4145
4146 * progmodes/cc-fonts.el
4147 (c-make-font-lock-BO-decl-search-function): New function.
4148 (c-basic-matchers-after - "Fontify the clauses after various
4149 keywords"): Extract the three keyword lists for the 3 erroneous
4150 constructs from the list of four, and use the new function above
4151 in place of an old one.
4152
27de4e20
DD
41532011-08-28 Deniz Dogan <deniz@dogan.se>
4154
4155 * net/rcirc.el (rcirc-insert-prev-input)
4156 (rcirc-insert-next-input): Remove unused argument.
4157
356a3681
SM
41582011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4159
4160 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
4161
3fc9b218
AM
41622011-08-27 Alan Mackenzie <acm@muc.de>
4163
4164 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
4165 handle function pointer parameters properly.
4166
538a061c
MR
41672011-08-27 Martin Rudalics <rudalics@gmx.at>
4168
4169 * window.el (display-buffer-reuse-window): Fix case where
4170 selected window was reused with non-nil OTHER-WINDOW argument.
4171 (Bug#9381)
4172
35b1c40c
DD
41732011-08-27 Deniz Dogan <deniz@dogan.se>
4174
4175 * net/rcirc.el (rcirc-check-auth-status): Adding support for
4176 oftc's NickServ messages.
4177
2f6a3e79
GM
41782011-08-27 Glenn Morris <rgm@gnu.org>
4179
4180 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
4181
7254299e
CY
41822011-08-26 Chong Yidong <cyd@stupidchicken.com>
4183
4184 * emacs-lisp/package.el (package-install): Call package-initialize
4185 if called interactively.
4186
f8ccf167
LL
41872011-08-26 Leo Liu <sdl.web@gmail.com>
4188
4189 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
4190
3e8cd5ce
JL
41912011-08-25 Juri Linkov <juri@jurta.org>
4192
4193 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4194 `search-whitespace-regexp' (bug#9364).
4195
93eb7113
JL
41962011-08-25 Juri Linkov <juri@jurta.org>
4197
4198 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
4199 `regexp-search-ring' to their global values to protect from
4200 updating by `read-from-minibuffer' (bug#9185).
4201
f65d1611
JL
42022011-08-25 Juri Linkov <juri@jurta.org>
4203
4204 * textmodes/ispell.el (ispell-command-loop): Add newline
4205 at the end of the "Use option `i'..." line.
4206
f1cf7a31
JL
42072011-08-25 Juri Linkov <juri@jurta.org>
4208
4209 * battery.el (display-battery-mode): If `battery-status-function'
4210 or `battery-mode-line-format' is nil, display the message and set
4211 `display-battery-mode' to nil (bug#9363).
4212
0c95fcf7
EZ
42132011-08-25 Eli Zaretskii <eliz@gnu.org>
4214
4215 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
4216 bidi-string-mark-left-to-right; they are unnecessary now.
4217
a2ebe600
DD
42182011-08-25 Deniz Dogan <deniz@dogan.se>
4219
4220 * net/quickurl.el: Documentation typo fixes.
4221
e4ed06f1
CY
42222011-08-25 Chong Yidong <cyd@stupidchicken.com>
4223
4224 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
4225
e5f1c99e
GM
42262011-08-25 Glenn Morris <rgm@gnu.org>
4227
b2948976
GM
4228 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
4229
e5f1c99e
GM
4230 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
4231 (smtpmail-via-smtp): Handle nil response from smtp.
4232
f22f4808
JL
42332011-08-24 Juri Linkov <juri@jurta.org>
4234
4235 * proced.el (proced-marked): Inherit from `error' instead of
4236 `font-lock-warning-face'.
4237
4238 * ibuffer.el (ibuffer-marked-face): Change default face from
4239 `font-lock-warning-face' to `warning'.
4240 (ibuffer-deletion-face): Change default face from
4241 `font-lock-type-face' to `error'.
4242
4243 * battery.el (battery-update): Use the face `error' instead of
4244 `font-lock-warning-face' (bug#6117).
4245
6a93965e
JL
42462011-08-24 Juri Linkov <juri@jurta.org>
4247
4248 * faces.el (success): Change face color from "Green3" to
4249 "ForestGreen" on light background (bug#9353).
4250
1ed43b09
CY
42512011-08-24 Chong Yidong <cyd@stupidchicken.com>
4252
5664fa7b
RT
4253 * window.el (quit-window): Rename from quit-restore-window.
4254 Use same arglist as old quit-window.
1ed43b09
CY
4255 (frame-auto-delete): Doc fix.
4256
4257 * view.el (view-mode-exit): Use quit-window.
4258
11dcdbb2
JL
42592011-08-24 Juri Linkov <juri@jurta.org>
4260
4261 * isearch.el (isearch-ring-adjust1): Start visiting previous
4262 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
4263 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
4264 for empty search string (when the last search string is reused
4265 automatically) to adjust the isearch ring to the last element and
4266 prepare the correct index for further M-p commands (bug#9185).
4267
de62b4df
KH
42682011-08-24 Kenichi Handa <handa@m17n.org>
4269
4270 * international/ucs-normalize.el: If decomposition property of
4271 CHAR is the default one (i.e. a list of CHAR itself), treat it as
4272 nil.
4273 (nfd, nfkd): Likewise.
4274
963b492b
SM
42752011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
4276
4277 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
4278 from process filters aren't reliably transmitted to the surrounding
4279 accept-process-output.
4280 (mpc-proc-check): New function.
4281 (mpc-proc-sync): Use it (bug#8293)
4282
93b6b5e1
SM
42832011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4284
4285 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
4286 Add compatibility functions (bug#9313).
4287
bca633fb
EZ
42882011-08-23 Eli Zaretskii <eliz@gnu.org>
4289
b177498a
EZ
4290 * cus-start.el (all): Add entry for bidi-paragraph-direction.
4291
6df6ae42 4292 * international/uni-bidi.el: Regenerate.
bca633fb 4293
0902a04e
KH
42942011-08-23 Kenichi Handa <handa@m17n.org>
4295
4296 * international/charprop.el:
4297 * international/uni-bidi.el:
4298 * international/uni-category.el:
4299 * international/uni-combining.el:
4300 * international/uni-comment.el:
4301 * international/uni-decimal.el:
4302 * international/uni-decomposition.el:
4303 * international/uni-digit.el:
4304 * international/uni-lowercase.el:
4305 * international/uni-mirrored.el:
4306 * international/uni-name.el:
4307 * international/uni-numeric.el:
4308 * international/uni-old-name.el:
4309 * international/uni-titlecase.el:
4310 * international/uni-uppercase.el: Regenerate.
4311
3bbf23bc
MR
43122011-08-23 Martin Rudalics <rudalics@gmx.at>
4313
4314 * help.el (help-window-setup): Fix message displayed when other
4315 window is reused. (Bug#9341)
4316
b3fd59bd
SM
43172011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4318
1802e444
SM
4319 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
4320 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
4321
b3fd59bd
SM
4322 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
4323 Mark obsolete.
4324 * shell.el (shell-parse-pcomplete-arguments): New function.
4325 (shell-completion-vars): Use it instead (bug#9160).
4326
4eb61348
SM
43272011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4328
867cab74
SM
4329 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
4330 strings and comments (bug#9333).
4331
4eb61348
SM
4332 * emacs-lisp/debug.el (debug-arglist): New function.
4333 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
4334 (debug-on-entry-1): Handle interpreted closures (bug#9120).
4335
262a1439
JL
43362011-08-22 Juri Linkov <juri@jurta.org>
4337
56ee679c
JL
4338 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4339 Revert regexp that highlights output switches to its old
4340 pre-2010-10-28 value and remove one `?' from it (bug#9319).
4341
262a1439
JL
4342 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
4343 to check for empty output (bug#9226).
4344
f13f86fb
CY
43452011-08-22 Chong Yidong <cyd@stupidchicken.com>
4346
4347 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
4348 symbol-constituent as the default, as that stops font-lock from
4349 working properly (Bug#8843).
4350
c65c9622
LMI
43512011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4352
4353 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
4354 `coding-system-for-*' around the process open call to avoid
4355 auth-source side effects.
e7f2c178 4356 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
4357 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
4358 probe hangs.
c65c9622 4359
23a8a5ab
CY
43602011-08-21 Chong Yidong <cyd@stupidchicken.com>
4361
ff98b2dd
CY
4362 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
4363
23a8a5ab
CY
4364 * emacs-lisp/find-func.el (find-function-noselect): New arg
4365 lisp-only.
4366
4367 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
4368 signal an error for built-in functions (Bug#6664).
4369
f5e3c598
LMI
43702011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4371
4372 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
4373 (smtpmail-try-auth-methods): Use it.
4374
a3f2468a
CY
43752011-08-21 Chong Yidong <cyd@stupidchicken.com>
4376
2c34e8da
CY
4377 * font-lock.el (font-lock-fontify-region)
4378 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
4379 (font-lock-default-unfontify-buffer)
4380 (font-lock-default-fontify-region)
4381 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
4382
b3fd59bd
SM
4383 * progmodes/compile.el (compilation-error-properties):
4384 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
4385 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
4386 `ant' regexp.
ee31aabc 4387
a3f2468a
CY
4388 * net/browse-url.el (browse-url-firefox): Don't call
4389 browse-url-firefox-sentinel unless using -remote (Bug#9328).
4390
8e999f70
GM
43912011-08-20 Glenn Morris <rgm@gnu.org>
4392
c21a496a
GM
4393 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
4394
59ee0542
GM
4395 * tutorial.el (tutorial--default-keys): Update some default bindings.
4396
8e999f70
GM
4397 * files.el (hack-local-variables): Fully ignore case for "mode:".
4398
e3715033
AM
43992011-08-20 Alan Mackenzie <acm@muc.de>
4400
4401 Resolve invalid use of a regexp in regexp-opt.
4402
4d61f28d
JB
4403 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
4404 detection for a java annotation.
e3715033 4405
4d61f28d 4406 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
4407 detection for a java annotation.
4408
4d61f28d
JB
4409 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
4410 handling for java.
e3715033
AM
4411 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
4412
04ed2e9c
CY
44132011-08-20 Chong Yidong <cyd@stupidchicken.com>
4414
4415 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4416 (Bug#9274).
4417
826cee64
AM
44182011-08-20 Alan Mackenzie <acm@muc.de>
4419
58179cce 4420 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
4421 such a construct. Mainly for when jit-lock etc. starts a chunk
4422 here.
4423
58179cce 4424 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 4425 variable.
58179cce 4426 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
4427 c-make-font-lock-search-function.
4428 (c-make-font-lock-search-function): Use the above function.
4429 (c-make-font-lock-context-search-function): New function.
4430 (c-cpp-matchers): Enhance the preprocessor expression case with
4431 the above function
4432 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4433 which takes an expression.
4434
4435 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4436
13009bd8
MR
44372011-08-20 Martin Rudalics <rudalics@gmx.at>
4438
4439 * window.el (display-buffer-reuse-window)
4440 (display-buffer-pop-up-window): Don't reuse or split a side
4441 window.
4442
9234ff7f
GM
44432011-08-19 Glenn Morris <rgm@gnu.org>
4444
4445 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 4446 Downcase "Mode:". (Bug#9331)
9234ff7f 4447
f635daa1
CY
44482011-08-18 Chong Yidong <cyd@stupidchicken.com>
4449
4450 * international/characters.el: Add L and R categories.
4451
4452 * subr.el (bidi-string-mark-left-to-right): Rename from
4453 string-mark-left-to-right. Use category search.
4454
4455 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4456
bc987f8b
JL
44572011-08-18 Juri Linkov <juri@jurta.org>
4458
4459 * faces.el (error, warning, success): New faces with definitions
4460 copied from old default values of `font-lock-warning-face',
4461 `compilation-warning', `compilation-info' (bug#6117).
4462
4463 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4464
4465 * progmodes/compile.el (compilation-error): Inherit from `error'.
4466 (compilation-warning): Inherit from `warning'.
4467 (compilation-info): Inherit from `success'.
4468
4469 * dired.el (dired-marked): Inherit from `warning'.
4470 (dired-flagged): Inherit from `error'.
4471
57173b96
LMI
44722011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4473
3e79eb87
LMI
4474 * mail/smtpmail.el (auth-source): Require to avoid problems with
4475 binding variables (bug#9298). Also clean up some unused
4476 autoloads.
4477
b3fd59bd
SM
4478 * net/network-stream.el (network-stream-open-starttls):
4479 Support using starttls.el without using gnutls-cli.
57173b96 4480
02b404de
JL
44812011-08-17 Juri Linkov <juri@jurta.org>
4482
4483 * progmodes/grep.el (rgrep): Handle the case when
4484 `grep-find-command' is a cons cell (bug#9278).
4485
8c9177f2
MR
44862011-08-17 Martin Rudalics <rudalics@gmx.at>
4487
4488 * window.el (display-buffer-pop-up-frame): Run frame creation
4489 function with BUFFER current (as special-display-popup-frame
4490 does). Reported by Drew Adams.
4491
3644a0ab
DU
44922011-08-17 Daiki Ueno <ueno@unixuser.org>
4493
4494 * epa-mail.el: Simplify GnuPG group expansion using
4495 epg-expand-group.
4496 (epa-mail-group-alist, epa-mail-group-modtime)
4497 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4498 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4499 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4500 Remove.
4501
5e617bc2 45022011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
4503
4504 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4505
9c4aeabf
AM
45062011-08-16 Alan Mackenzie <acm@muc.de>
4507
4508 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4509 Correct, to avoid the inside of macros.
4510
3a99bf64
RS
45112011-08-16 Richard Stallman <rms@gnu.org>
4512
04963aa8
RS
4513 * epa-mail.el: Handle GnuPG group definitions.
4514 (epa-mail-group-alist, epa-mail-group-modtime)
4515 (epa-mail-gnupg-conf-file): New variables.
4516 (epa-mail-parse-groups, epa-mail-sync-groups)
4517 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4518 (epa-mail-expand-recipients): New functions.
4519 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4520
177549d0
RS
4521 * mail/rmail.el (rmail-epa-decrypt): New command.
4522
fe38beef
RS
4523 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4524 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
4525 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4526 (epa-decrypt-armor-in-region): Make error message clearer.
4527
934eacb9
SM
45282011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4529
4530 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4531 and "a2b" to "ab" for `prefix'.
4532
d024fb4e
CY
45332011-08-14 Chong Yidong <cyd@stupidchicken.com>
4534
4535 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4536 filter groups.
de148fee
CY
4537 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4538 Fourquet (Bug#8804).
d024fb4e 4539
62f1ca49
JB
45402011-08-12 Juanma Barranquero <lekktu@gmail.com>
4541
4542 * startup.el (argi): Declare as global variable (bug#9275).
4543
9ccaaa4b
CY
45442011-08-12 Chong Yidong <cyd@stupidchicken.com>
4545
4546 * subr.el (string-mark-left-to-right): Search the entire string
4547 for RTL script, not just the terminating character. Doc fix.
4548
a3dae87a
SM
45492011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4550
6cd18349
SM
4551 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4552 New function.
4553 (js--regexp-literal, js-syntax-propertize-function): Remove.
4554 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4555 (js-mode-map): Don't rebind electric keys.
4556 (js-insert-and-indent): Remove.
4557 (js-mode): Setup electric-layout and electric-indent instead.
4558
a3dae87a
SM
4559 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4560
9d5cb631
DU
45612011-08-12 Daiki Ueno <ueno@unixuser.org>
4562
4563 * epa.el (epa-progress-callback-function): Fix the logic of
4564 displaying progress.
4565 * epa-file.el (epa-file-insert-file-contents): Make progress
4566 display more user-friendly.
4567 (epa-file-write-region): Ditto.
4568
3e26a4a2
CY
45692011-08-10 Chong Yidong <cyd@stupidchicken.com>
4570
4571 * subr.el (string-mark-left-to-right): New function.
4572
4573 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4574 Use string-mark-left-to-right.
4575 (list-buffers-noselect): Caller changed.
4576
a3dae87a
SM
4577 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4578 Use string-mark-left-to-right.
3e26a4a2
CY
4579 (tabulated-list-print): Recenter after moving point.
4580
ac8cf6e6
JL
45812011-08-10 Juri Linkov <juri@jurta.org>
4582
4583 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4584 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4585 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4586
8d96c9a4
CY
45872011-08-09 Chong Yidong <cyd@stupidchicken.com>
4588
4589 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4590 (Bug#7554).
4591
7be1c708 45922011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
4593
4594 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4595 character. (Bug#6594)
4596
37e11a63
CY
45972011-08-08 Chong Yidong <cyd@stupidchicken.com>
4598
839dde57
CY
4599 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4600 (image-dired--with-db-file): New macro.
4601 (image-dired-write-tags, image-dired-remove-tag)
4602 (image-dired-create-gallery-lists, image-dired-write-comments)
4603 (image-dired-get-comment, image-dired-mark-tagged-files)
4604 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4605 (image-dired-gallery-generate): Use insert-file-contents.
4606
37e11a63
CY
4607 * time.el (display-time-world-list, display-time-world-display):
4608 * time-stamp.el (time-stamp-string):
4609 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4610 set-time-zone-rule (Bug#7337).
4611
0b4946c4
DU
46122011-08-08 Daiki Ueno <ueno@unixuser.org>
4613
4614 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4615 (epg-error-to-string, epg-errors-to-string): New function.
4616 (epg-wait-for-completion): Reverse errors list.
4617 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4618 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4619 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4620 (epg-sign-keys, epg-generate-key-from-file)
4621 (epg-generate-key-from-string): Format errors by using
4622 epg-errors-to-string (bug#9255).
4623 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4624
75bfc667
JL
46252011-08-07 Juri Linkov <juri@jurta.org>
4626
4627 * faces.el (list-faces-display): Remove extra angle bracket
4628 from `help-mode-map'.
4629
4630 * info.el (Info-history-toc-nodes): Doc fix.
4631
4632 * longlines.el (longlines-mode): Doc fix.
4633
673e08bb
SM
46342011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4640dd88
SM
4636 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4637 of statements and in a few more cases (bug#9183).
4638
673e08bb
SM
4639 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4640 New functions.
4641 (cl-transform-lambda): Use them (bug#9239).
4642
89b3f019
MR
46432011-08-05 Martin Rudalics <rudalics@gmx.at>
4644
4645 * window.el (display-buffer-same-window)
4646 (display-buffer-same-frame, display-buffer-other-window)
4647 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4648 (pop-to-buffer-other-window)
4649 (pop-to-buffer-same-frame-other-window)
4650 (pop-to-buffer-other-frame): Make them defuns.
4651 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4652
640c8776
SM
46532011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * subr.el (make-composed-keymap): Move from C. Change calling
4656 convention, and improve docstring to bring attention to a subtle point.
4657 * minibuffer.el (completing-read-default): Adjust accordingly.
4658
63648a95
MA
46592011-08-03 Michael Albinus <michael.albinus@gmx.de>
4660
4661 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4662 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4663
4664 * net/trampver.el: Update release number.
4665
b796c9b7
SM
46662011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4669 "in" (bug#9190).
4670
2239d7d5
LMI
46712011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4672
e07dd7c3
LMI
4673 * mail/sendmail.el (sendmail-query-once): Restore the current
4674 buffer after querying (bug#9074).
4675
0e6a2bd7
LMI
4676 * dired.el (dired-flagged): Use different faces for marked and
4677 flagged files (bug#6117).
4678
ce887515
LMI
4679 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4680 (bug#4433).
4681
92f2affc
LMI
4682 * ido.el (ido-mode): Switch off the message if called
4683 non-interactively.
4684
57d5aff0
LMI
4685 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4686 before 587, since it appears that that's more likely to work for
4687 more people.
4688
98cd6c18 4689 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 4690 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
4691 exist.
4692
b96dec83
LMI
4693 * info.el: Remove the `Info-beginning-of-buffer' function
4694 (bug#8325).
4695
b796c9b7
SM
4696 * net/network-stream.el (network-stream-open-starttls):
4697 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 4698
d90e2ea0
MR
46992011-08-01 Martin Rudalics <rudalics@gmx.at>
4700
4701 * window.el (display-buffer-in-window): Don't set dedicated status
4702 of window here (Bug#9215).
4703 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4704 (display-buffer-pop-up-side-window)
b796c9b7 4705 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 4706
cca09170
SM
47072011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4708
4709 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4710 before binding generated-autoload-file.
4711
027b979c
DD
47122011-08-01 Deniz Dogan <deniz@dogan.se>
4713
4714 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4715
3c7ee4f3
MA
47162011-07-30 Michael Albinus <michael.albinus@gmx.de>
4717
4718 Sync with Tramp 2.2.2.
4719
4720 * net/trampver.el: Update release number.
4721
2cc8e51a
JL
47222011-07-30 Juri Linkov <juri@jurta.org>
4723
4724 * dired-aux.el (dired-touch-initial): Remove function.
4725 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4726 current time, and `default' to the last modification time of the
4727 current marked file (bug#6887).
4728
a514d856
JM
47292011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4730
4731 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 4732 numeric argument to read-number (bug#9163).
a514d856 4733
8a7eddd7
MA
47342011-07-27 Michael Albinus <michael.albinus@gmx.de>
4735
4736 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4737 connection process, it could be nil.
4738
1ddd96f5
LL
47392011-07-27 Leo Liu <sdl.web@gmail.com>
4740
4741 Simplify url handling in rcirc-mode.
4742
4743 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4744 (rcirc-browse-url-at-mouse): Remove.
4745 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4746
b248a85d
AM
47472011-07-26 Alan Mackenzie <acm@muc.de>
4748
4749 Fontify bitfield declarations properly.
4750
4751 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4752 (c-symbol-chars): Now exported as a lang variable.
4753 (c-not-primitive-type-keywords): New lang variable.
4754
4755 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4756 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 4757 parsed as a bitfield declaration.
b248a85d 4758
b796c9b7
SM
4759 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4760 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
4761 (c-punctuation-in): New function.
4762 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4763 declarations properly.
4764
68575ab0
UJ
47652011-07-26 Ulf Jasper <ulf.jasper@web.de>
4766
4767 * calendar/icalendar.el (icalendar--all-events): Take care of
4768 multiple vcalendars in a single file.
b796c9b7 4769 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 4770
0f0a88b9
DD
47712011-07-25 Deniz Dogan <deniz@dogan.se>
4772
4773 * image.el (insert-image): Clarifying docstring.
4774
0b3f36df
MA
47752011-07-24 Michael Albinus <michael.albinus@gmx.de>
4776
4777 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4778 `tramp-send-command-and-check' if there is no error.
4779 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4780
a9901f61
AM
47812011-07-22 Alan Mackenzie <acm@muc.de>
4782
4783 Prevent cc-langs.elc being loaded at run time.
4784
4785 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4786 cc-langs.
4787
4d61f28d 4788 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
4789 "(require 'cc-langs)". Quote a form so it will evaluate at
4790 (cc-mode's) compilation time.
4791
11d074b2
MA
47922011-07-22 Michael Albinus <michael.albinus@gmx.de>
4793
4794 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4795 loading. (Bug#9114)
4796
938b94c8
MR
47972011-07-21 Martin Rudalics <rudalics@gmx.at>
4798
4799 * window.el (display-buffer-pop-up-window)
4800 (display-buffer-pop-up-side-window)
4801 (display-buffer-in-side-window): Call display-buffer-set-height
4802 and display-buffer-set-width after setting the new window's
b796c9b7 4803 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 4804
bfa4f190
SS
48052011-07-20 Sam Steingold <sds@gnu.org>
4806
4807 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4808 (etags-tags-included-tables): Call `convert-standard-filename' on
4809 the file names contained in TAGS so that windows Emacs can handle
4810 TAGS files created by cygwin ctags.
4811
8ca42262
LMI
48122011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4813
4814 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4815 which apparently didn't work.
4816
5db2afd2 48172011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 4818
5db2afd2
RW
4819 * proced.el (proced-send-signal): For *Marked Processes* buffer
4820 put point at beginning of buffer.
4821
92e15d10
SB
48222011-07-19 Stephen Berman <stephen.berman@gmx.net>
4823
4824 * proced.el (proced-format): Make header lines align with the text
4825 (bug#1779).
4826
1bfd59e5
LMI
48272011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4828
4829 * view.el (view-buffer): Allow running in `special' modes if we're
4830 visiting a file (bug#8615).
4831
f5aae37c
MR
48322011-07-19 Martin Rudalics <rudalics@gmx.at>
4833
4834 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
4835 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4836 New functions.
f5aae37c
MR
4837 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4838 more accurately.
4839
bf2c1571
AM
48402011-07-18 Alan Mackenzie <acm@muc.de>
4841
4842 Fontify declarators properly when, e.g., a jit-lock chunk begins
4843 inside a declaration.
4844
4845 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4846
b796c9b7
SM
4847 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4848 New function.
bf2c1571
AM
4849 (c-complex-decl-matchers): Insert reference to
4850 c-font-lock-enclosing-decls.
4851
4852 * progmodes/cc-engine.el (c-backward-single-comment):
4853 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4854 to nil around calls to (forward-comment -1).
4855
4e190b80
LMI
48562011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4857
12dc863d
LMI
4858 * image.el (put-image): Doc typo fix.
4859
a762e966
LMI
4860 * progmodes/etags.el (tags-search): Doc typo fix.
4861
4e190b80
LMI
4862 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4863 password if we get errors 550 to 554.
4864
f019fb21
LMI
48652011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4866
b796c9b7 4867 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 4868
81746738
LMI
4869 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4870 indentation character (bug#6380).
4871
3ee3a1b5
LMI
4872 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4873
c82f64de
LMI
4874 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4875 to clarify what the problem is (bug#4291).
4876
f019fb21
LMI
4877 * simple.el (current-kill): Clarify what
4878 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
4879 (auto-fill-mode): Document `auto-fill-function' in relation to
4880 `auto-fill-mode' (bug#2470).
f019fb21 4881
0794775d
LM
48822011-07-16 Lawrence Mitchell <wence@gmx.li>
4883
4884 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4885 method if slot is read-only (bug#9035).
4886
be39b8cc
MR
48872011-07-16 Martin Rudalics <rudalics@gmx.at>
4888
b796c9b7 4889 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 4890 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
4891 selected before, see discussion of (Bug#8615), (Bug#6954).
4892 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 4893
6ccf7859
GM
48942011-07-15 Glenn Morris <rgm@gnu.org>
4895
4896 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 4897 Respect help-form.
6ccf7859 4898
87e86684
LM
48992011-07-09 Lawrence Mitchell <wence@gmx.li>
4900
4901 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4902 (gnutls-negotiate): Use it.
4903
d6066239
LMI
49042011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4905
b796c9b7
SM
4906 * net/gnutls.el (gnutls-negotiate):
4907 Upcase `gnutls-algorithm-priority'.
d6066239 4908
bd23ebc0
GM
49092011-07-15 Glenn Morris <rgm@gnu.org>
4910
c65bca65
GM
4911 * jka-compr.el (jka-compr-verbose): Move from here...
4912 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4913 Add missing :version tag.
4914 * info.el: No need to require jka-compr when compiling.
bd23ebc0 4915
478615cc
LMI
49162011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4917
7b41decb
LMI
4918 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4919 (gnutls-negotiate): Use it.
4920
dbc44fcd
LMI
4921 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4922
06789f97
LMI
4923 * info.el (Info-beginning-of-buffer): New command.
4924 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4925 announcing `b' as the key (bug#8325).
ab896c37 4926 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 4927
c39da690
LMI
4928 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4929
3aa5f34b
LMI
4930 * international/mule-cmds.el
4931 (describe-specified-language-support): Make the error message
4932 clearer (bug#8905).
4933
4bf0979f
LMI
4934 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4935
478615cc
LMI
4936 * isearch.el (isearch-barrier): Add a doc string, since it's
4937 mentioned in a function doc string (bug#8678).
4938
75c68aa1
MR
49392011-07-15 Martin Rudalics <rudalics@gmx.at>
4940
4941 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4942 buffer argument (Bug#9083) and self-identifying label argument.
4943
a7c33da2
GM
49442011-07-15 Glenn Morris <rgm@gnu.org>
4945
4946 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4947
2f5c6024
LMI
49482011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4949
4950 * man.el (Man-fontify-manpage): Fix message when formatting the
4951 man page (bug#7929).
4952
0bb23927 49532011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
4954
4955 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4956 argument LRM; if non-nil, append an invisible LRM character to the
4957 buffer name.
4958 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4959 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4960 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4961 paragraph direction.
cce4b0a7 4962
621ef9ab
LMI
49632011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4964
d1583c48
LMI
4965 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4966 the man page name (bug#7929).
4967
6a57fb5f
LMI
4968 * image.el (put-image): Mention the `put-image' overlay property
4969 (bug#7834).
4970
d7956b14
LMI
4971 * scroll-bar.el (set-scroll-bar-mode): Mention that
4972 `scroll-bar-mode' lists the values (bug#7772).
4973
5b2d4a66
LMI
4974 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4975 command (bug#7729).
4976
7509a874
LMI
4977 * rect.el (apply-on-rectangle): Return the point after the last
4978 operation.
4979 (string-rectangle): Go to the point after the last operation
4980 (bug#7522).
4981
4fe74b19
LMI
4982 * printing.el (pr-toggle-region): Clarify the documentation
4983 slightly (bug#7493).
4984
b796c9b7
SM
4985 * time.el (display-time-update):
4986 Allow `display-time-mail-function' to return nil (bug#7158).
4987 Fix suggested by Detlev Zundel.
ab283561 4988
fc233c9d
LMI
4989 * vc/diff.el (diff): Clarify the order the file names are read
4990 (bug#7111).
4991
43f5740b
LMI
4992 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4993 the doc string (bug#7015).
4994
f2182a76
LMI
4995 * font-lock.el (font-lock-maximum-decoration): Mention what
4996 numeric levels mean (bug#6935).
4997
621ef9ab
LMI
4998 * startup.el (initial-buffer-choice): Don't mention the `none'
4999 selection, which is against policy.
5000
adc47434
MR
50012011-07-14 Martin Rudalics <rudalics@gmx.at>
5002
b796c9b7
SM
5003 * window.el (display-buffer-normalize-special):
5004 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 5005
7e5bfb8f
EZ
50062011-07-14 Eli Zaretskii <eliz@gnu.org>
5007
5008 * subr.el (version<, version<=, version=): Mention "-CVS" and
5009 "-12345" alpha version numbers.
5010
27fa387a
CY
50112011-07-14 Chong Yidong <cyd@stupidchicken.com>
5012
5013 * bindings.el: Add advertised binding for set-mark-command
5014 (Bug#5772).
5015
8bdfa064
CY
50162011-07-14 Chong Yidong <cyd@stupidchicken.com>
5017
5018 * bindings.el (mode-line-other-buffer):
5019 * bookmark.el (bookmark-bmenu-2-window):
5020 * bs.el (bs-cycle-next, bs-cycle-previous):
5021 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5022 switch-to-buffer.
5023
5024 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 5025 Delete.
8bdfa064 5026
5eba16a3
JB
50272011-07-14 Juanma Barranquero <lekktu@gmail.com>
5028
5029 * follow.el (follow-debug-message, follow-redisplay):
5030 * jka-cmpr-hook.el (with-auto-compression-mode):
5031 Fix typos in docstrings.
5032
15853710
LMI
50332011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5034
a28e4607
LMI
5035 * subr.el (with-silent-modifications): Clarify somewhat what the
5036 macro inhibits (bug#6525).
5037
15853710
LMI
5038 * simple.el (eval-expression): Note what it does if called
5039 interactively (bug#6495).
5040
bee0fcef
CY
50412011-07-13 Chong Yidong <cyd@stupidchicken.com>
5042
b796c9b7
SM
5043 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
5044 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
5045
5046 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5047 Remove switch-to-buffer.
5048
58274504
LMI
50492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5050
bd2fcc8d
LMI
5051 * files.el (make-directory): Clarify that an error will be raised
5052 if there's an error (bug#6397).
5053
0f04b32c
LMI
5054 * startup.el (initial-buffer-choice): Add `none' as a choice
5055 (bug#6234).
5056
465c5fc8
LMI
5057 * subr.el (add-hook): Clarify section about buffer-local hooks
5058 (bug#6218).
5059
58274504
LMI
5060 * dired.el (dired-flagged): Clarify doc string (bug#6117).
5061
bead9a43
JB
50622011-07-13 Juanma Barranquero <lekktu@gmail.com>
5063
5064 * tabify.el (untabify): Preserve the current column so that point
5065 doesn't move (bug#6032).
5066
3af98a7b
LMI
50672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5068
b796c9b7
SM
5069 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
5070 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 5071
6240145a
GM
50722011-07-13 Glenn Morris <rgm@gnu.org>
5073
5074 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
5075 (dired-insert-directory): Give a message the first time
5076 if ls is found not to support --dired.
5077
1d8c2ccc
LMI
50782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5079
5080 * simple.el (toggle-truncate-lines): Clarify what is toggled
5081 (bug#5580). Text by Drew Adams.
5082
5fc4038e
CY
50832011-07-13 Chong Yidong <cyd@stupidchicken.com>
5084
5085 * simple.el (blink-matching-open): Make the error message from the
5086 last change less verbose.
5087
bf6012e5
DN
50882011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
5089
5090 * font-lock.el (font-lock-comment-face): Use the high contrast
5091 "yellow" color for font-lock-comment-face on low color terminals
5092 using a dark background color (bug#4221).
5093
343c3b5a
LMI
50942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5095
7e9505c5
LMI
5096 * dired.el (dired-insert-set-properties): Make the doc string
5097 reflect what it does now (bug#5325).
5098
c26fdcf5
LMI
5099 * simple.el (blink-matching-open): Say that we were unable to find
5100 the match within the limit, if we're limited (bug#5122).
5101
bb388cc5
LMI
5102 * international/mule-cmds.el (prefer-coding-system): Add an
5103 example (bug#4869).
5104
343c3b5a
LMI
5105 * progmodes/etags.el (tags-search): Document `file-list-form'
5106 (bug#4731).
5107
2a517d45
LM
51082011-07-13 Lawrence Mitchell <wence@gmx.li>
5109
5110 * net/browse-url.el (browse-url-default-browser)
5111 (browse-url-browser-function): Make the default browser choice a
5112 bit more logical (bug#4300). Also clean up the doc string.
5113
b6c78ef2
JB
51142011-07-13 Juanma Barranquero <lekktu@gmail.com>
5115
5116 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
5117 binary endings (bug#4440).
5118
1c4dd947
LMI
51192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5120
a2014063
LMI
5121 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
5122 which can be pretty annoying (bug#8971).
5123
9c9c2d88
LMI
5124 * jka-compr.el (jka-compr-verbose): New variable, and use
5125 throughout (bug#8971).
5126
1c4dd947
LMI
5127 * info.el (Info-find-file): Fall back on the installation
5128 directory if we can't find the info node anywhere else.
5129
a1c9f41b
SO
51302011-07-13 Sergei Organov <osv@javad.com> (tiny change)
5131
5132 * vc/vc.el (vc-revert-file):
5133 Don't set file time-stamp in the past. (Bug#5181)
5134
536f3d36
LMI
51352011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5136
7152b011
LMI
5137 * files.el (after-find-file): Give a better error message when
5138 trying to find a symlink that points to a file that doesn't exist
5139 (bug#4398).
5140
536f3d36
LMI
5141 * progmodes/cc-vars.el: Remove (probably) misleading comment
5142 (bug#4396).
5143
460c0fba
JB
51442011-07-12 Johan Bockgård <bojohan@gnu.org>
5145
5146 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
5147
7a6bda45
CY
51482011-07-12 Chong Yidong <cyd@stupidchicken.com>
5149
5150 * mouse-sel.el: Hack restoring functionality, while keeping
5151 compatibility with 2010-07-03 changes to mouse selection.
5152 (mouse-sel-primary-overlay): New var.
5153 (mouse-sel-selection-alist): Use it.
5154 (mouse-sel-mode): Doc fix; remove points that are default features
5155 of mouse.el.
5156
c79598ef
JB
51572011-07-12 Johan Bockgård <bojohan@gnu.org>
5158
5159 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5160 Fix previous fix (bug#2490).
5161
ff8be6ef
RW
51622011-07-12 Roland Winkler <winkler@gnu.org>
5163
b796c9b7
SM
5164 * textmodes/bibtex.el (bibtex-initialize):
5165 Use pop-to-buffer-same-window.
ff8be6ef
RW
5166 (bibtex-search-entries): Fix interactive call.
5167
296ba3ee
LMI
51682011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5169
f5242a02 5170 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
5171 Fontise bytecomp Error lines more correctly (bug#2490).
5172 Fix suggested by Johan Bockgård.
f5242a02 5173
296ba3ee
LMI
5174 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
5175
5176 * dired-x.el (dired-guess-default): Use `delete-dups'.
5177
f69fd0d2
CY
51782011-07-12 Chong Yidong <cyd@stupidchicken.com>
5179
5180 * dired.el (dired-mark-prompt):
5181 * dired-aux.el (dired-read-shell-command): Doc fix.
5182
eab5dc07
LMI
51832011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5184
b796c9b7
SM
5185 * mail/sendmail.el (sendmail-query-once):
5186 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
5187 emacs -Q.
5188
5189 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5190
eab5dc07
LMI
5191 * cus-edit.el (custom-file): Take an optional no-error variable.
5192 (customize-save-variable): Set the variable, and give a warning if
5193 running under "emacs -q".
5194
a1e65d42
JB
51952011-07-11 Juanma Barranquero <lekktu@gmail.com>
5196
5197 * loadhist.el (unload-feature-special-hooks):
5198 Add `auto-coding-functions', `fill-nobreak-predicate' and
5199 `find-directory-functions' (bug#5327).
5200
1d52da10
LMI
52012011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5202
be958f1d
LMI
5203 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
5204
5bedb26c
LMI
5205 * cus-edit.el (custom-guess-name-alist): -alist variables should
5206 use the `alist' type (bug#3120). Suggested by Drew Adams.
5207
1d52da10
LMI
5208 * printing.el: Add documentation to all the `pr-toggle-' commands.
5209
cd394be1 52102011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
5211
5212 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
5213 backends where it makes sense (bug#2623).
5214
dcc88d8a
LMI
52152011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5216
c3de9feb
LMI
5217 * dired-x.el (dired-guess-default): Remove duplicate shell command
5218 entries (bug#2028).
8a93078b 5219 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 5220 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 5221
dcc88d8a
LMI
5222 * subr.el (remove-duplicates): New conveniency function.
5223
505e3645
LMI
52242011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5225
5226 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
5227 (bug#1526).
5228
52292011-07-10 Martin Rudalics <rudalics@gmx.at>
5230
5231 * window.el (display-buffer-normalize-default): Don't invert
5232 meaning of even-window-heights. Reported by Eli Zaretskii
5233 <eliz@gnu.org>.
5234
455e4fa1
BR
52352011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
5236
5237 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
5238
8e0bc3e9
CY
52392011-07-10 Chong Yidong <cyd@stupidchicken.com>
5240
5241 * window.el (display-buffer): Fix arguments to
5242 display-buffer-reuse-window in last change.
5243
fa7c3228
CY
5244 * faces.el (link): Use a less saturated blue on light backgrounds.
5245
5246 * startup.el (fancy-startup-text, fancy-about-text)
5247 (fancy-startup-tail): Use font-lock faces, for background safety.
5248
c0a7f300
BN
52492011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
5250
b796c9b7
SM
5251 * emulation/viper-cmd.el (viper-change-state-to-vi):
5252 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 5253
4dc2a129
MR
52542011-07-09 Martin Rudalics <rudalics@gmx.at>
5255
5256 * window.el (display-buffer-default-specifiers): Remove.
5257 (display-buffer-macro-specifiers): Remove default specifiers.
5258 (display-buffer-alist): Default to nil.
b796c9b7 5259 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
5260 (display-buffer-pop-up-window): Allow splitting internal
5261 windows. Check whether a live window was created.
5262 (display-buffer-other-window-means-other-frame)
5263 (display-buffer-normalize-arguments): Rename to
5264 display-buffer-normalize-argument and rewrite. Set the
5265 other-window specifier.
5266 (display-buffer-normalize-special): New function.
5267 (display-buffer-normalize-options): Rename to
5268 display-buffer-normalize-default and rewrite.
5269 (display-buffer-normalize-options-inhibit): Remove.
5270 (display-buffer-normalize-specifiers): Rewrite.
5271 (display-buffer): Process other-window specifier and call
5272 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
5273 more faithfully.
b796c9b7 5274 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 5275 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
5276 (display-buffer-in-window, display-buffer-alist-set):
5277 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
5278 <tassilo@member.fsf.org>.
5279
2d43b8c9
LL
52802011-07-09 Leo Liu <sdl.web@gmail.com>
5281
5282 * register.el (insert-register): Restore accidental change on
5283 2011-06-26. (Bug#9028)
5284
7f9b7c53
GM
52852011-07-09 Glenn Morris <rgm@gnu.org>
5286
5287 * subr.el (remq): Handle the empty list. (Bug#9024)
5288
f042cfd8
AS
52892011-07-08 Andreas Schwab <schwab@linux-m68k.org>
5290
5291 * mail/sendmail.el (send-mail-function): No longer delay custom
5292 initialization.
5293 * custom.el (custom-initialize-delay): Doc fix.
5294
856b2f11
SM
52952011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5296
5297 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
5298
afae1d68
MA
52992011-07-08 Michael Albinus <michael.albinus@gmx.de>
5300
5301 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
5302 human-friendly prompt.
5303
0757af94
SM
53042011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
5307 provided by a particular plugin.
5308
d760b731
LMI
53092011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5310
5311 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
5312 save customizations (with "emacs -Q"), just set the variable
5313 instead of erroring out.
5314
5315 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5316
cd79ce90
JL
53172011-07-08 Juri Linkov <juri@jurta.org>
5318
5319 * arc-mode.el (archive-zip-expunge, archive-zip-update)
5320 (archive-zip-update-case): Use 7z if found by `executable-find'.
5321 The order of searching the available programs is the same as in
5322 `archive-zip-extract' (bug#8968).
5323
14cc04aa
CY
53242011-07-07 Chong Yidong <cyd@stupidchicken.com>
5325
5326 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
5327 (menu-bar-options-menu): Tweak descriptions.
5328
0a1848ec
LMI
53292011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5330
5331 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
5332 menu items into verb phrases (bug#1421). Also refill to fit under
5333 80 columns.
5334
f5bd0689
CY
53352011-07-07 Chong Yidong <cyd@stupidchicken.com>
5336
538e85c6
CY
5337 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
5338 (Info-read-node-name): Doc fix (Bug#1084).
5339
f5bd0689
CY
5340 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
5341 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
5342 (end-of-sexp, beginning-of-sexp)
5343 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
5344 (forward-symbol, forward-same-syntax, word-at-point)
5345 (sentence-at-point): Doc fix (Bug#1144).
5346
56ec5115
LMI
53472011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5348
f3f8e37f
LMI
5349 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
5350 should cover it (bug#1281).
5351
0757af94 5352 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 5353
e9fce1ac 5354 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
5355 negotiation fails, then possibly try again with a non-encrypted
5356 connection (bug#9017).
5357
56ec5115
LMI
5358 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
5359 be used.
5360
c2f9aec8
RS
53612011-07-07 Richard Stallman <rms@gnu.org>
5362
5363 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
5364 property, and handle its changed format.
5365 Look for the correct line number.
5366 Use file's line contents (but not past first =) to find
5367 correct line in message.
5368
ef7b981d 53692011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
5370
5371 * international/characters.el (build-unicode-category-table):
5372 Delete it.
0757af94 5373 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 5374
0757af94 5375 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
5376 to src/chartab.c.
5377 (get-char-code-property): Call unicode-property-table-internal to
5378 load a file. Call get-unicode-property-internal where necessary.
5379 (put-char-code-property): Call unicode-property-table-internal to
5380 load a file. Call put-unicode-property-internal where necessary.
5381 put-unicode-property-internal where necessary.
0757af94
SM
5382 (char-code-property-description):
5383 Call unicode-property-table-internal to load a file.
c805dec0
KH
5384
5385 * international/charprop.el:
5386 * international/uni-bidi.el:
5387 * international/uni-category.el:
5388 * international/uni-combining.el:
5389 * international/uni-comment.el:
5390 * international/uni-decimal.el:
5391 * international/uni-decomposition.el:
5392 * international/uni-digit.el:
5393 * international/uni-lowercase.el:
5394 * international/uni-mirrored.el:
5395 * international/uni-name.el:
5396 * international/uni-numeric.el:
5397 * international/uni-old-name.el:
5398 * international/uni-titlecase.el:
5399 * international/uni-uppercase.el: Regenerate.
5400
5401 * loadup.el: Load international/charprop.el before
5402 international/characters.
5403
e14b388a
CY
54042011-07-07 Chong Yidong <cyd@stupidchicken.com>
5405
5406 * window.el (next-buffer, previous-buffer): Signal an error if
5407 called from a minibuffer window.
5408
5409 * bindings.el: Revert 2011-07-04 change.
5410
354cf0ba
RS
54112011-07-06 Richard Stallman <rms@gnu.org>
5412
5413 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
5414 (rmail-mime-insert-bulk, rmail-mime-insert-text):
5415 Treat markers like ints.
5416 (rmail-mime-entity): Doc fix.
5417
a48868a7
LMI
54182011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5419
4906cd3d
LMI
5420 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
5421 defcustom again for backwards compatibility.
5422
e0457abe
LMI
5423 * simple.el (shell-command-on-region): Fill.
5424
d67f7e1f
LMI
5425 * dired-aux.el (dired-kill-line): Add a doc string.
5426
fe204702
LMI
5427 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
5428 to "\\sw\\|\\s_" (bug#358).
5429
a48868a7
LMI
5430 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
5431 (dired-unmark-backward): Ditto.
5432 (dired-flag-backup-files): Ditto.
5433
5434 * dired-x.el (dired-mark-sexp): Ditto.
5435
aa8a705c
RS
54362011-07-06 Richard Stallman <rms@gnu.org>
5437
5438 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5439 (rmail-mime-entity): New arg TRUNCATED.
5440 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5441 New functions.
5442 (rmail-mime-save): Warn if entity is truncated.
5443 (rmail-mime-toggle-hidden): Likewise, for showing.
5444 (rmail-mime-process-multipart): Record when an entity is truncated.
5445
a9a936b9
RS
5446 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5447 if ENTITY is a string.
5448
1f2b92cb
LMI
54492011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5450
f4f73198 5451 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
5452 of faces when `M-C-x'-ing their definitions (bug#8378).
5453 Also clean up the code slightly.
f4f73198 5454
12b16734 5455 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 5456 because that makes the colors go away.
12b16734 5457
f0691d22
LMI
5458 * mail/sendmail.el (send-mail-function): Change the default to
5459 `sendmail-query-once'.
9e87df06 5460 (sendmail-query-once): Add an autoload cookie.
f0691d22 5461
1f2b92cb
LMI
5462 * net/network-stream.el (network-stream-open-starttls): Try using
5463 a plain connection even if the server offered STARTTLS, and we
5464 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5465 capability. This should make smtpmail.el work in slightly more
5466 configurations.
5467
1cdd2a1b
MA
54682011-07-06 Michael Albinus <michael.albinus@gmx.de>
5469
5470 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5471 New defun.
5472 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5473
fbcc67e2
MM
54742011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5475
5476 * progmodes/sql.el: Version 3.0
0757af94 5477 (sql-product-alist): Add product :completion-object,
fbcc67e2 5478 :completion-column, and :statement attributes.
0757af94 5479 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 5480 (sql-mode-syntax-table): Mark all punctuation.
0757af94 5481 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
5482 ansi keywords.
5483 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 5484 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
5485 (sql-oracle-show-reserved-words): New function for development.
5486 (sql-product-font-lock): Simplify for source code buffers.
5487 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5488 New functions.
5489 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
5490 (sql-mode-map): Add statement movement functions.
5491 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5492 New variable.
fbcc67e2
MM
5493 (sql-statement-regexp, sql-beginning-of-statement)
5494 (sql-end-of-statement, sql-signum): New functions.
0757af94 5495 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
5496 (sql-show-sqli-buffer): Bug fix.
5497 (sql-interactive-mode): Store connection data as buffer local.
0757af94 5498 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
5499 with sql-interactive-mode.
5500 (sql-save-connection): Save buffer local settings.
0757af94 5501 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
5502 (sql-product-interactive): Bug fix.
5503 (sql-preoutput-hold): New variable.
5504 (sql-interactive-remove-continuation-prompt): Bug fixes.
5505 (sql-debug-redirect): New variable.
5506 (sql-str-literal): New function.
5507 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 5508 Redesign.
fbcc67e2
MM
5509 (sql-oracle-save-settings, sql-oracle-restore-settings)
5510 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5511 (sql-completion-object, sql-completion-column)
5512 (sql-completion-sqlbuf): New variables.
5513 (sql-build-completions-1, sql-build-completions)
5514 (sql-try-completion): New functions.
5515 (sql-read-table-name): Use them.
5516 (sql-contains-names): New buffer local variable.
5517 (sql-list-all, sql-list-table): Use it.
5518 (sql-oracle-completion-types): New variable.
5519 (sql-oracle-completion-object, sql-sqlite-completion-object)
5520 (sql-postgres-completion-object): New functions.
5521
d4eaeab1
GM
55222011-07-06 Glenn Morris <rgm@gnu.org>
5523
5524 * window.el (pop-to-buffer): Doc fix.
5525
322b7dab 55262011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
5527
5528 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5529
322b7dab 55302011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 5531
322b7dab 5532 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 5533
322b7dab 5534 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 5535
605dd5bf
CY
55362011-07-05 Chong Yidong <cyd@stupidchicken.com>
5537
5538 * button.el (button): Inherit from link face. Suggested by Dan
5539 Nicolaescu.
5540
7dbfa719
SM
55412011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5542
3db614b0
SM
5543 * progmodes/gdb-mi.el: Fit in 80 columns.
5544 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5545 switch-to-buffer.
5546
7dbfa719
SM
5547 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5548 if imenu is simply not configured (bug#8941).
5549
919d884a
KM
55502011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5551
5552 * allout.el (allout-post-undo-hook): New allout outline-change
5553 event hook to signal undo activity.
5554 (allout-post-command-business): Run allout-post-undo-hook if an
5555 undo just occurred.
7dbfa719
SM
5556 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5557 * allout-widgets.el (allout-widgets-after-undo-function):
5558 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
5559 in the vicinity of an undo.
5560 (allout-widgets-mode): Include allout-widgets-after-undo-function
5561 on the new allout-post-undo-hook.
5562
450a0f09
SM
55632011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5564
5565 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5566 Let define-derived-mode define it.
5567 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5568 cycles of abbrev-table inheritance (bug#8998).
5569
2de69e00
RW
55702011-07-05 Roland Winkler <winkler@gnu.org>
5571
5572 * textmodes/bibtex.el: Add support for biblatex.
5573 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5574 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5575 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5576 (bibtex-entry-alist, bibtex-field-alist): New variables.
5577 (bibtex-entry-field-alist): Obsolete alias for
5578 bibtex-BibTeX-entry-alist.
5579 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5580 (bibtex-set-dialect): New command.
5581 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
5582 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5583 Bind via bibtex-set-dialect.
2de69e00
RW
5584 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5585 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5586 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5587 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5588 Define via bibtex-set-dialect.
450a0f09
SM
5589 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5590 Obey bibtex-no-opt-remove-re.
2de69e00
RW
5591 (bibtex-vec-push, bibtex-vec-incr): New functions.
5592 (bibtex-format-entry, bibtex-field-list)
5593 (bibtex-print-help-message, bibtex-validate)
5594 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5595
2dcdbdd9
SM
55962011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * progmodes/compile.el (compilation-goto-locus):
5599 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5600 * bs.el (bs-cycle-next, bs-cycle-previous):
5601 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5602 * bindings.el (mode-line-other-buffer):
5603 * autoinsert.el (auto-insert):
5604 * arc-mode.el (archive-extract):
5605 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5606
b27640fe
JB
56072011-07-05 Juanma Barranquero <lekktu@gmail.com>
5608
5609 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5610 Fix check of `emacs-lock-unlockable-modes'.
5611 Coerce true values of `emacs-lock--try-unlocking' to t.
5612
53bbe3ad
JB
56132011-07-05 Juanma Barranquero <lekktu@gmail.com>
5614
5615 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5616 * emacs-lock.el: New file.
5617
1d3cdbc7
JD
56182011-07-05 Julien Danjou <julien@danjou.info>
5619
5620 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5621 than `boundp' to check if face is set.
5622
9173deec
JB
56232011-07-05 Juanma Barranquero <lekktu@gmail.com>
5624
5625 * register.el (registerv-make):
5626 * window.el (window-min-height): Fix typos in docstrings.
5627
869795d6
JD
56282011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5629
9173deec 5630 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
5631 Update doc string.
5632
b768cdcd
JB
56332011-07-04 Juanma Barranquero <lekktu@gmail.com>
5634
5635 * server.el (server-execute): Catch quit and call
5636 `server-return-error' to pass the error back to emacsclient and
5637 close the connection (bug#8942).
5638
13aa217b
KM
56392011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5640
5641 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5642 insecure exception for current topic. Also note that auto-saves
5643 are handled differently.
5644
5645 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5646 State variables for tracking auto-save inhibition situation.
5647
5648 (allout-write-contents-hook-handler): Rename from
5649 'allout-write-file-hook-handler', and describe how it depends on
5650 write-contents-functions sensitivity to non-nil value to prevent
5651 file write.
5652
5653 (allout-auto-save-hook-handler): Remove. auto-save does not check
5654 this in individual buffers, only in the starting buffer, so this
5655 is not the right way for us to inhibit auto-save in a buffer
5656 according to its condition.
5657
5658 (allout-mode): Use new allout-write-contents-hook-handler, and
5659 only with write-contents-functions. Remove auto-save provisions -
5660 they're implemented elsewhere.
5661
5662 (allout-before-change-handler): If undo is in progress, note that
5663 for attention of allout-post-command-business.
5664
5665 (allout-post-command-business): If the command we're following was
5666 an undo, check for change in the status of encrypted items and
5667 adjust auto-save inhibitions accordingly.
5668
5669 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5670 according to whether there are or aren't any plain-text topics
5671 pending encryption.
5672
2dcdbdd9 5673 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
5674 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5675 if there are plain-text topics pending encryption.
13aa217b
KM
5676
5677 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5678 buffer-saved-size and some allout state to not inhibit auto-saves
5679 if there are no longer any plain-text topics pending encryption.
5680
0757af94
SM
5681 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5682 No longer provide for exemption of the current topic.
13aa217b 5683
ac89b32c
JL
56842011-07-04 Juri Linkov <juri@jurta.org>
5685
5686 Add 7z operations to delete and save changed members (bug#8968).
5687 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5688 New defcustoms.
5689 (archive-7z-write-file-member): New function.
5690 (archive-7z-summarize): Fix the number of dashes in the
5691 listing output.
5692
8fa39615
SM
56932011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5694
5695 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5696 (bug#8958).
5697
2f11b3f1
CY
56982011-07-04 Chong Yidong <cyd@stupidchicken.com>
5699
d66fef2b
CY
5700 * bindings.el: Ignore next-buffer and previous-buffer in
5701 minibuffer-local-map.
5702
2f11b3f1
CY
5703 * font-lock.el (font-lock-builtin-face): Change light background
5704 color to dark slate blue (Bug#6693).
5705
f932a347
WD
57062011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5707
5708 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5709
c8af70e1
SM
57102011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5711
5712 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5713 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5714 Add switch-to-buffer.
5715
f158badc
LMI
57162011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5717
5718 * isearch.el (isearch-search-fun-function): Clarify further the
5719 meaning of the function returned.
5720
6d95bd46
MA
57212011-07-04 Michael Albinus <michael.albinus@gmx.de>
5722
5723 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5724
5725 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5726 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5727 Use it.
5728 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5729 `tramp-default-remote-path' does not exist.
5730 (tramp-send-command-and-read): New optional argument NOERROR.
5731 (tramp-open-connection-setup-interactive-shell)
5732 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5733 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5734 (tramp-process-sentinel): Flush also process' connection property.
5735 (tramp-sh-handle-start-file-process): Do not set process
5736 sentinel. It is done now ...
5737 (tramp-maybe-open-connection): ... here. (Bug#8929)
5738
909e6b67
MK
57392011-07-04 MON KEY <monkey@sandpframing.com>
5740
5741 * play/animate.el (animate-string): Doc fixes and allow changing
5742 the buffer name (bug#5417).
5743
57442011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5745
c8af70e1 5746 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 5747
f34755dc
PE
57482011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5749
396cec72
PE
5750 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5751 This is simpler and helps future-proof the code.
5752 (timer-until): Use time-subtract and float-time.
08235028 5753 (timer--time-less-p): Use time-less-p.
f34755dc 5754
56e6cc31
JB
57552011-07-04 Juanma Barranquero <lekktu@gmail.com>
5756
3abb79e5
JB
5757 * type-break.el (timep): Use the value of `float-time' to avoid a
5758 byte-compiler warning.
5759
56e6cc31
JB
5760 * server.el (server-eval-and-print): Return any result, even nil.
5761
7b9430b4
PE
57622011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5763
5764 * type-break.el: Accept time formats that the builtins accept.
5765 (timep, type-break-time-difference): Accept any format that
5766 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5767 This is simpler and helps future-proof the code.
5768 (type-break-time-difference): Round rather than ignoring
5769 subseconds components.
5770
3034e9e7
LMI
57712011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5772
5773 * info.el (Info-apropos-matches): Make non-interactive, since it
5774 doesn't seem to do anything useful as a command (bug#8829).
5775
1485f4c0
CY
57762011-07-03 Chong Yidong <cyd@stupidchicken.com>
5777
5778 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 5779 Move from faces.el.
1485f4c0
CY
5780 (frame-default-terminal-background): New function.
5781
5782 * custom.el (custom-push-theme): Don't record faces in `changed'
5783 theme; this doesn't work correctly for per-frame face settings.
5784 (disable-theme): Use face-set-after-frame-default to reset faces.
5785 (custom--frame-color-default): New function.
5786
9fa3dd45
LMI
57872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5788
c8af70e1 5789 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
5790 (bug#8769).
5791
6cbbc20c
KR
57922011-03-29 Kevin Ryde <user42@zip.com.au>
5793
5794 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5795 `perl-Test2' extend to match possible "fail #N" rep count
5796 (bug#8377).
5797
c7f98048
LMI
57982011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5799
65676592
LMI
5800 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5801 `smtpmail-via-smtp' now returns the error instead of nil.
5802
c7f98048
LMI
5803 * isearch.el (isearch-search-fun-function): Clarify the doc string
5804 (bug#8101).
5805
56e6cc31 58062011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
5807
5808 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5809 unnecessary spaces (bug#8987).
5810
2b216704
LMI
58112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5812
5813 * net/network-stream.el (open-network-stream): Use the
5814 :end-of-capability command thoughout.
5815
58162011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5817
5818 * net/network-stream.el (open-network-stream): Add the
5819 :end-of-capability command parameter, used by pop3.el.
5820
36adf6ce
LMI
58212011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5822
1ca0da0e
LMI
5823 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5824
fc00f69c
LMI
5825 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5826 for list)" (bug#6475).
5827
28fd8759 5828 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 5829 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
5830 an error (bug#6297).
5831
0dd8b6da
LMI
5832 * man.el (Man-reference-regexp): Allow matching possible
5833 word-wrapped references (bug#6289).
5834
ce1438d6
LMI
5835 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5836 for consistency with the other vc buffers (bug#6197).
5837 (vc-checkin): Ditto.
5838
5839 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5840
36adf6ce
LMI
5841 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5842
e83cc1f7
LMI
58432011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5844
8a20ca4c
LMI
5845 * custom.el (defcustom): Clarify that :set is only used in the
5846 Customize user interface (bug#6089).
5847
83319045
LMI
5848 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5849 associated with a file, refuse to run instead of erroring out
5850 (bug#6084).
5851
a8392169
LMI
5852 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5853 the doc string, since it appears that using `fill-column' always
5854 controls the width (bug#7845).
5855
e83cc1f7
LMI
5856 * simple.el (shell-command-on-region): Say where the error output
5857 went if `shell-command-default-error-buffer' is set (bug#6857).
5858
e47ca23b
KM
58592011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5860
5861 * allout.el (allout-yank-processing): Adjust cursor position for
5862 backwards-deleted space.
5863
5864 (allout-rebullet-heading): Register changes with
5865 allout-exposure-changed-hook, so the modified topic is properly
5866 decorated.
5867
5cf56143
LMI
58682011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5869
08549772
LMI
5870 * minibuffer.el (completion-in-region): Document PREDICATE
5871 (bug#7136).
5872
48e96771
LMI
5873 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5874 of keyword/argument pairs (bug#6904).
5875
c8af70e1
SM
5876 * replace.el (multi-occur):
5877 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 5878
e17d05e2
LMI
58792011-07-02 Drew Adams <drew.adams@oracle.com>
5880
5881 * dired.el (dired-mark-if): Make the message about whether it's
5882 marking or unmarking clearer (bug#8523).
5883
063b0e45
LMI
58842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5885
5886 * disp-table.el (display-table-print-array): New function.
5887 (describe-display-table): Use it to print the vectors more pretty
5888 (Bug#8859).
5889
28545e04
MR
58902011-07-02 Martin Rudalics <rudalics@gmx.at>
5891
5892 * window.el (window-state-get-1): Don't assign clone numbers.
5893 Add clone-of item to list of window parameters.
5894 (window-state-put-2): Don't process clone numbers.
5895 (display-buffer-alist): Fix doc-string.
5896
3349e122
SM
58972011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * subr.el (remq): Don't allocate if it's not needed.
5900 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5901 (keymap--merge-bindings): New functions.
5902 (keymap-canonicalize): Use them to refine the canonicalization.
5903 * minibuffer.el (minibuffer-local-completion-map)
5904 (minibuffer-local-must-match-map): Move initialization from C.
5905 (minibuffer-local-filename-completion-map): Move initialization from C;
5906 don't inherit from anything here.
5907 (minibuffer-local-filename-must-match-map): Make obsolete.
5908 (completing-read-default): Use make-composed-keymap to combine
5909 minibuffer-local-filename-completion-map with either
5910 minibuffer-local-must-match-map or
5911 minibuffer-local-filename-completion-map.
5912
d224ac83
GM
59132011-07-01 Glenn Morris <rgm@gnu.org>
5914
3de63bf8
GM
5915 * type-break.el (type-break-time-sum): Use dolist.
5916
d224ac83
GM
5917 * textmodes/flyspell.el (flyspell-word-search-backward):
5918 Replace CL function.
5919
1a1e3f32
SM
59202011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5921
fe3f64d5
SM
5922 * mouse.el (mouse--strip-first-event): New function.
5923 (function-key-map): Use it to map fringe clicks to normal clicks
5924 by default.
5925
eb604e34
SM
5926 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5927 (vc-bzr-revision-completion-table): Add support for annotate and date.
5928
1a1e3f32
SM
5929 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5930 inherit from parent.
5931
5bd35902
LMI
59322011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5933
ace6c69c 5934 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 5935 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 5936
191e2bed
LMI
5937 * dired.el (dired-mode): Fix up the doc string as suggested by
5938 Drew Adams (bug#8817).
5939
5bd35902
LMI
5940 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5941 cookie, since the manual says that it should be possible to add
5942 this function to `find-file-hook' (bug#8709).
5943
eee8207a
TZ
59442011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5945
5946 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5947 here. Noted Ted Zlatanov as the maintainer.
5948 (cfengine-common-settings, cfengine-common-syntax): New functions
5949 to set up common things between `cfengine-mode' and
5950 `cfengine3-mode'.
5951 (cfengine3-mode): New mode.
5952 (cfengine3-defuns cfengine3-defuns-regex
5953 (cfengine3-class-selector-regex cfengine3-category-regex)
5954 (cfengine3-vartypes cfengine3-font-lock-keywords)
5955 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 5956 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 5957
36b148cf
MA
59582011-07-01 Michael Albinus <michael.albinus@gmx.de>
5959
5960 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5961
5962 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5963
0bf4ba9a
MR
59642011-07-01 Martin Rudalics <rudalics@gmx.at>
5965
5966 * window.el (same-window-buffer-names, same-window-regexps)
5967 (same-window-p, special-display-frame-alist)
5968 (special-display-popup-frame, special-display-function)
5969 (special-display-buffer-names, special-display-regexps)
5970 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5971 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5972 (split-window-preferred-function, split-height-threshold)
5973 (split-width-threshold, even-window-heights)
5974 (display-buffer-mark-dedicated, window-splittable-p)
5975 (split-window-sensibly, window-safely-shrinkable-p):
5976 Un-obsolete.
5977 (display-buffer): Don't spread args with function specifier
5978 because special-display-popup-frame won't like it.
5979
35837f51
PE
59802011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5981
d0672f86
PE
5982 Time-stamp simplifications and fixes.
5983 These improve accuracy slightly, and future-proof the code
5984 against some potential changes to current-time format.
5985
b9444d97
PE
5986 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5987 by using time-since and float-time.
5988
0ef923dc
PE
5989 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5990 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5991 + NNN microseconds".
5992
2f81380d
PE
5993 * type-break.el (type-break-time-sum): Rewrite using time-add.
5994
845b5c3e
PE
5995 * play/hanoi.el (hanoi-current-time-float): Remove.
5996 All uses replaced by float-time.
5997
ee6f1be0
PE
5998 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5999 This yields a more-accurate answer.
6000 (rng-time-to-float): Remove; no longer needed.
6001
fe955043
PE
6002 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6003
5777162a
PE
6004 * calendar/timeclock.el (timeclock-seconds-to-time):
6005 Defalias to seconds-to-time, since they're the same thing.
6006
3103f8b6 6007 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 6008 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
6009 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6010
0e61a35f
SM
60112011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 * window.el (bury-buffer): Don't iconify the only frame.
6014 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6015 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
6016
ddd63a1e
CY
60172011-07-01 Chong Yidong <cyd@stupidchicken.com>
6018
0e61a35f
SM
6019 * eshell/em-smart.el (eshell-smart-display-navigate-list):
6020 Add mouse-yank-primary.
ddd63a1e 6021
055f4923
TZ
60222011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6023
6024 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6025
6a2fb145
SM
60262011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6027
6028 * emacs-lisp/find-func.el (find-library--load-name): New fun.
6029 (find-library-name): Use it to find relative load names when provided
6030 absolute file name (bug#8803).
6031
fd4983f2
LMI
60322011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6033
887d14ad
LMI
6034 * textmodes/flyspell.el (flyspell-word): Consider words that
6035 differ only in case as potential doublons (bug#5687).
6036
c53dc7fc
LMI
6037 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
6038 Remove two rather uninteresting debugging-like messages to make
6039 debbugs.el more silent.
6040
fd4983f2
LMI
6041 * comint.el (comint-password-prompt-regexp): Accept "Response" as
6042 a password-like phrase.
6043
b14c0c55
AM
60442011-06-30 Mastake YAMATO <yamato@redhat.com>
6045
6046 * progmodes/cc-guess.el: New file.
6047
6a2fb145 6048 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
6049
6050 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
6051 derived from `c-basic-common-init'.
6052
6053 * progmodes/cc-mode.el (top-level): Require cc-guess.
6054 (c-basic-common-init): Use `cc-choose-style-for-mode'.
6055
1fa280a3
LM
60562011-06-30 Lawrence Mitchell <wence@gmx.li>
6057
6058 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
6059
e6597158
AM
60602011-06-30 Alan Mackenzie <acm@muc.de>
6061
1fa280a3
LM
6062 * progmodes/cc-engine.el (c-guess-continued-construct):
6063 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
6064 lock is disabled. Name this case as "CASE G".
6065
68ba37fb
KM
60662011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
6067
6068 * allout.el (allout-yank-processing): Fix injection of extra space
6069 between bullet and non-whitespace character in first topic when
6070 pasting, ensuring that the actual spacing in the pasted topic
6071 following the bullet char is preserved. This extra space was
6072 causing pasted encrypted topics to get a decrypted status even
6073 when the content was actually still encrypted. Now the decryption
6074 status from before the paste is preserved.
6075
6076 (allout-flag-region): Set all allout overlays so they evaporate
6077 when reduced to zero length (evanescent), to prevent overlay
6078 leakage.
6079
887a0b34
GM
60802011-06-30 Glenn Morris <rgm@gnu.org>
6081
94b9acce
GM
6082 * w32-fns.el (w32-charset-info-alist): Declare.
6083
1d9b46d4
GM
6084 * find-dired.el (find-grep-options): Simplify.
6085
cc232200
GM
6086 * term/ns-win.el (ns-set-resource): Declare.
6087
28e77c46
GM
6088 * ses.el (row, col): Declare dynamic variables honestly.
6089
887a0b34
GM
6090 * textmodes/reftex-parse.el (index-tags): Declare.
6091
658d8eb8
CY
60922011-06-30 Chong Yidong <cyd@stupidchicken.com>
6093
6094 * cus-edit.el (customize-push-and-save): New function.
6095
6096 * files.el (hack-local-variables-confirm): Use it.
6097
1fa280a3
LM
6098 * custom.el (load-theme): New arg NO-CONFIRM.
6099 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
6100 (custom-enabled-themes): Doc fix.
6101
6102 * cus-theme.el (customize-create-theme)
6103 (custom-theme-merge-theme): Callers to load-theme changed.
6104
bb617717
LMI
61052011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6106
d61bdd5d
LMI
6107 * thingatpt.el (thing-at-point-short-url-regexp): Require that
6108 short URLs have at least one dot in them (bug #7614).
6109
bb617717
LMI
6110 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
6111 nil, because using a pty is apparently too slow (bug #895).
6112
2f31f37a
LMI
61132011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6114
6115 * mail/sendmail.el (sendmail-query-once): New function.
6116 (sendmail-query-once-function): New variable.
6117
3076b24e
GM
61182011-06-29 Glenn Morris <rgm@gnu.org>
6119
faf2a174
GM
6120 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
6121
3076b24e
GM
6122 * ses.el (top-level): Require cl when compiling.
6123 (ses-set-localvars): Fix error statement.
6124 Call it at compile time to silence a storm of warnings.
6125
5386012d
MR
61262011-06-29 Martin Rudalics <rudalics@gmx.at>
6127
6128 * window.el (normalize-live-buffer): Rename to
6129 window-normalize-buffer.
6130 (normalize-live-frame): Rename to window-normalize-frame.
6131 (normalize-any-window): Rename to window-normalize-any-window.
6132 (normalize-live-window): Rename to window-normalize-live-window.
6133 (make-window-atom): Rename to window-make-atom.
6134 (window-resize-reset): Rename to window--resize-reset.
6135 (window-resize-reset-1): Rename to window--resize-reset-1.
6136 (resize-mini-window): Rename to window--resize-mini-window.
6137 (resize-subwindows-skip-p): Rename to
6138 window--resize-subwindows-skip-p.
6139 (resize-subwindows-normal): Rename to
6140 window--resize-subwindows-normal.
6141 (resize-subwindows): Rename to window--resize-subwindows.
6142 (resize-other-windows): Rename to window--resize-siblings.
6143 (resize-this-window): Rename to window--resize-this-window.
6144 (resize-root-window): Rename to window--resize-root-window.
6145 (resize-root-window-vertically): Rename to
6146 window--resize-root-window-vertically.
6147 (normalize-buffer-to-display): Rename to
6148 window-normalize-buffer-to-display.
6149 (normalize-buffer-to-switch-to): Rename to
6150 window-normalize-buffer-to-switch-to.
6151 Correspondingly update all callers of the functions listed
6152 above.
6153 (display-buffer-alist, display-buffer-normalize-arguments)
6154 (display-buffer-normalize-options, display-buffer)
6155 (display-buffer-alist-set): Use "function" instead of
6156 "fun-with-args".
6157
1176868d
CY
61582011-06-28 Chong Yidong <cyd@stupidchicken.com>
6159
6160 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
6161 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
6162 debbugs.gnu.org. Mention acknowledgment email.
6163
20a7a65f
LMI
61642011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
6165
6166 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
6167 buffer multibyteness, since it shouldn't matter.
6168
5f45cca5
MR
61692011-06-28 Martin Rudalics <rudalics@gmx.at>
6170
6171 * window.el (display-buffer-in-side-window): Handle dedicated
6172 windows as in display-buffer-reuse-window.
6173 (display-buffer-normalize-alist): Use value of override
6174 specifier.
6175 (display-buffer-normalize-specifiers): Use value of
6176 other-window-means-other-frame specifier.
6177 (display-buffer-alist): Rewrite some texts in widgets.
6178 (display-buffer): Spread arguments when calling function
6179 specified by fun-with-args.
6180
ad85fe1f
DD
61812011-06-28 Deniz Dogan <deniz@dogan.se>
6182
1fa280a3
LM
6183 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6184 Unnest `let'.
da68c4c8 6185
ad85fe1f
DD
6186 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
6187 selectors (Bug#5732).
ec49bd31 6188 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 6189
a08cc025
JA
61902011-06-27 Jari Aalto <jari.aalto@cante.net>
6191
6192 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
6193 (eshell-ls-date-format): New defcustom.
6194 (eshell-ls-file): Use it.
6195
e2b551c5
SM
61962011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6197
6198 * help-fns.el (describe-variable): Fix message for terminal-local vars.
6199
8982b231
KY
62002011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
6201
6202 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
6203 (ange-ftp-make-tmp-name): New arg.
6204 (ange-ftp-file-local-copy): Use it.
6205
36c9fa27
J
62062011-06-27 Jambunathan K <kjambunathan@gmail.com>
6207
6208 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
6209 no-conversion (Bug#8870).
6210
d68443dc
MR
62112011-06-27 Martin Rudalics <rudalics@gmx.at>
6212
6213 * window.el (window-right, window-left, window-child)
6214 (window-child-count, window-last-child)
6215 (window-iso-combination-p, walk-window-tree-1)
6216 (window-atom-check-1, window-tree-1, delete-window)
6217 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
6218 new naming conventions - window-vchild, window-hchild,
6219 window-next and window-prev are now called window-top-child,
6220 window-left-child, window-next-sibling and window-prev-sibling
6221 respectively.
d615d6d2
MR
6222 (resize-window-reset): Rename to window-resize-reset.
6223 (resize-window-reset-1): Rename to window-resize-reset-1.
6224 (resize-window): Rename to window-resize.
6225 (window-min-height, window-min-width)
6226 (resize-mini-window, resize-this-window, resize-root-window)
6227 (resize-root-window-vertically, adjust-window-trailing-edge)
6228 (enlarge-window, shrink-window, maximize-window)
6229 (minimize-window, delete-window, quit-restore-window)
6230 (split-window, balance-windows, balance-windows-area-adjust)
6231 (balance-windows-area, window-state-put-2)
6232 (display-buffer-even-window-sizes, display-buffer-set-height)
6233 (display-buffer-set-width, set-window-text-height)
6234 (fit-window-to-buffer): Rename all "resize-window" prefixed
6235 calls to use the "window-resize" prefix convention.
6236 (display-buffer-alist): Fix symbol for label specifier.
6237 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
6238 corresponding specifier.
6239 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 6240
b6458526
VB
62412011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6242
6243 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
6244 convention.
6245 (ses-call-printer): Does not pass an empty string to formatter when the
6246 cell is empty to keep from barking printer Calc math-format-value.
6247
d31fd9ac
RS
62482011-06-27 Richard Stallman <rms@gnu.org>
6249
43d5bf84
RS
6250 * battery.el (battery-mode-line-limit): New variable.
6251 (battery-update): Handle it.
6252
d31fd9ac
RS
6253 * mail/rmailmm.el (rmail-mime-process-multipart):
6254 Handle truncated messages.
6255
819a6054
GM
62562011-06-27 Glenn Morris <rgm@gnu.org>
6257
6258 * progmodes/flymake.el (flymake-err-line-patterns):
6259 Allow for column numbers in the ant/javac pattern. (Bug#8866)
6260
cedc73f2
VB
62612011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6262
819a6054 6263 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
6264 (ses--clean-!, ses--clean-_): New functions.
6265 (ses-range): Add configurability of readout order, and conversion
6266 to Calc vector.
6267
5e5d49b6
VB
6268 * ses.el (ses-repair-cell-reference-all): New function.
6269 (ses-cell-symbol): Set macro as safe, so that it can be used in
6270 formulas.
6271
56e6cc31 6272 * ses.el: Update cycle detection algorithm.
90ca8b49 6273 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 6274 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
6275 (ses-set-localvars): New function.
6276 (ses-make-cell): Add property-list as a cell element.
6277 (ses-cell-property-get-fun, ses-cell-property-get)
6278 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
6279 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
6280 New functions.
90ca8b49
VB
6281 (ses-cell-property-set, ses-cell-property-pop)
6282 (ses-cell-property-get-handle): New macro.
6283 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
6284 New aliases, used for code readability.
6285 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
6286 cycle detection.
6287 (ses-self-reference-early-detection): New defcustom.
fac916bf 6288 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
6289 (ses-mode): Use ses-set-localvars.
6290 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
6291 before lauching the update processing.
6292 (ses-initialize-Dijkstra-attempt): New function.
6293 (ses-recalculate-cell): Update for cycle detection based on
6294 Dijkstra algorithm.
6295
2bb63e81
VB
6296 * ses.el: Fix commenting and indenting convention.
6297
c9d29fb8
SM
62982011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6299
6300 * bs.el (bs-cycle-next): Complete last change.
6301
d8e4b68b
JB
63022011-06-27 Drew Adams <drew.adams@oracle.com>
6303
6304 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
6305
40098786
LMI
63062011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6307
c9d29fb8
SM
6308 * net/network-stream.el (network-stream-open-starttls):
6309 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
6310 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
6311
40098786
LMI
6312 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
6313 to binary to possibly avoid line encoding issues on Windows (among
6314 other things).
6315
468d09d4
LMI
63162011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6317
6318 * net/network-stream.el (open-network-stream): Return an :error
6319 saying what the problem was, if possible.
6320
6321 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
6322 server.
6323
6324 * net/network-stream.el (network-stream-open-starttls): If we
6325 wanted to use STARTTLS, and the server offered it, but we weren't
6326 able to because we had no STARTTLS support, then close the connection.
6327 (open-network-stream): Return an :error element, if present.
6328
16f07dd7
CY
63292011-06-26 Chong Yidong <cyd@stupidchicken.com>
6330
88821ca0
CY
6331 * hl-line.el (hl-line-sticky-flag): Doc fix.
6332 (global-hl-line-sticky-flag): New option (Bug#8323).
6333 (global-hl-line-highlight): Obey it.
6334
16f07dd7
CY
6335 * vc/vc.el (vc-revert-show-diff): Default to t.
6336
6b5ccddf
KM
63372011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
6338
c9d29fb8
SM
6339 * allout-widgets.el (allout-widgets-post-command-business):
6340 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
6341 undecorated when an isearch is continued past, and isearch
6342 automatically collapses them. This leads to "widget leaks", where
6343 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
6344 hidden widgets can slow down cursor travel, substantially.
6345 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
6346 so we're doing without this nicety.
6347
6348 (allout-widgets-tally-string): Don't try to do a hash-table-count
6349 of allout-widgets-tally when it's nil. This eliminates spurious "Error
6350 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
6351 *Messages* when allout-widgets-maintain-tally is t.
6352
355f2e07
MR
63532011-06-26 Martin Rudalics <rudalics@gmx.at>
6354
6355 * window.el (display-buffer-normalize-argument): Rename to
6356 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
6357 LABEL argument. Respect special-display-function when popping up
6358 a new frame. Fix code searching for a window showing the buffer
6359 on another frame.
c9d29fb8
SM
6360 (display-buffer-normalize-specifiers):
6361 Call display-buffer-normalize-arguments.
355f2e07
MR
6362 (display-buffer-in-window): Don't undedicate the window if its
6363 buffer remains the same.
6364 Reported by Drew Adams <drew.adams@oracle.com>.
6365 (display-buffer-alist): Add choice for same-window macro
6366 specfier.
6367 (display-buffer): Mention special meaning of LABEL argument in
6368 doc-string. Fix quoting. Don't pop up a new frame even as
6369 fallback.
6370
7ca8fc42
JB
63712011-06-26 Juanma Barranquero <lekktu@gmail.com>
6372
6373 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
6374 avoid deleting the current window in some cases (bug#8911).
6375
bc312254
AS
63762011-06-26 Andreas Schwab <schwab@linux-m68k.org>
6377
6378 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
6379 (Bug#8934)
6380
2db18f3f
LMI
63812011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6382
c9d29fb8
SM
6383 * net/network-stream.el (network-stream-open-starttls):
6384 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
6385 (network-stream-open-tls): Ditto.
6386
6302e0d3
LL
63872011-06-26 Leo Liu <sdl.web@gmail.com>
6388
6389 * register.el (registerv): New struct.
6390 (registerv-make): New function.
c9d29fb8
SM
6391 (jump-to-register, describe-register-1, insert-register):
6392 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
6393 struct. (Bug#8415)
6394
5fdd4046
CY
63952011-06-26 Chong Yidong <cyd@stupidchicken.com>
6396
2afef60a
CY
6397 * vc/vc.el (vc-revert-show-diff): New defcustom.
6398 (vc-diff-internal): New arg specifying diff buffer.
6399 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
6400 reuse an existing *vc-diff* buffer (Bug#8927).
6401
5fdd4046
CY
6402 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
6403
e93db24a
GM
64042011-06-26 Glenn Morris <rgm@gnu.org>
6405
6406 * progmodes/f90.el (f90-critical-indent): New option.
6407 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
6408 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
6409 (f90-mode): Doc fix.
6410 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
6411 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
6412 (f90-beginning-of-block, f90-next-block, f90-indent-region)
6413 (f90-match-end): Handle block, critical.
6414
eefff499
GM
64152011-06-25 Glenn Morris <rgm@gnu.org>
6416
f6ba4cc9
GM
6417 * calendar/diary-lib.el (diary-included-files): Doc fix.
6418 (diary-include-files): New function, extracted from
6419 diary-include-other-diary-files and diary-mark-included-diary-files.
6420 (diary-include-other-diary-files, diary-mark-included-diary-files):
6421 Just call diary-include-files.
6422 (diary-mark-entries): Reset diary-included-files on first call.
6423
16712304
GM
6424 * calendar/diary-lib.el (diary-mark-entries)
6425 (diary-mark-included-diary-files):
6426 Visit included diary-files in temp buffers.
6427
5d8e0d43
GM
6428 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
6429 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
6430 (f90-start-block-re, f90-imenu-generic-expression)
6431 (f90-looking-at-program-block-start, f90-no-block-limit):
6432 Add support for submodules.
6433
ccf7a5d5
GM
6434 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6435 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 6436
11fdef7d 64372011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
6438
6439 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6440 buffer-file-type before setting its value, to avoid disastrous
eefff499 6441 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 6442
74f53697
JB
64432011-06-25 Juanma Barranquero <lekktu@gmail.com>
6444
6445 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6446
6447 * ses.el (ses-unload-function):
6448 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6449
6450 * proced.el (proced-unload-function):
6451 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6452
18a4ce5e
AR
64532011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6454
6455 * server.el (server-create-window-system-frame): Add parameters arg.
6456 (server-process-filter): Doc fix. Handle frame-parameters.
6457
519d22cc
JB
64582011-06-25 Juanma Barranquero <lekktu@gmail.com>
6459
6460 Fix bug#8730, bug#8781.
6461
6462 * loadhist.el (unload--set-major-mode): New function.
6463 (unload-feature): Use it.
6464
6465 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6466 (python-unload-function): New function.
6467
c206f5b0
SM
64682011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6469
6470 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6471
f9ad64f3
GS
64722011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6473
6474 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6475 the candidates list.
6476
7d0da90e
JB
64772011-06-24 Juanma Barranquero <lekktu@gmail.com>
6478
6479 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6480
14b4e83d
RS
64812011-06-23 Richard Stallman <rms@gnu.org>
6482
6483 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6484 (rmail-variables): Set next-error-move-function.
6485 (rmail-what-message): Take argument POS.
6486 (rmail-next-error-move): New function.
6487
273d2baf
SM
64882011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6489
6490 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6491 messages for adjacent non-terminals.
6492
56c2cc9a
RS
64932011-06-23 Richard Stallman <rms@gnu.org>
6494
6495 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 6496 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
6497 (rmail-start-mail): Don't specify use of rmail-mail-return;
6498 that's done by mail-bury now.
6499 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 6500
d59eb518
MA
65012011-06-23 Michael Albinus <michael.albinus@gmx.de>
6502
6503 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6504 SIZE is a number.
6505
02cfc6d6
MR
65062011-06-23 Martin Rudalics <rudalics@gmx.at>
6507
6508 * window.el (get-lru-window, get-mru-window)
6509 (get-largest-window): Never return a minibuffer window.
6510 (display-buffer-pop-up-window): Fix a bug that could lead to
6511 reusing the minibuffer window.
6512 (display-buffer): Pass original specifier argument to
6513 display-buffer-function instead of the normalized one.
6514 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6515
4e323265
LL
65162011-06-22 Leo Liu <sdl.web@gmail.com>
6517
6518 * minibuffer.el (completing-read-function)
6519 (completing-read-default): Move from minibuf.c
6520
7a70468f
RS
65212011-06-22 Richard Stallman <rms@gnu.org>
6522
50718fc2
RS
6523 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6524 to Rmail even if not started by a special Rmail command.
6525
7a70468f
RS
6526 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6527 Copy the buffer currently showing just one message.
6528
297dde5a
RW
65292011-06-22 Roland Winkler <winkler@gnu.org>
6530
6531 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6532 (bibtex-clean-entry): First delete the old key so that a
6533 customized algorithm for generating the new key does not get
6534 confused by the old key.
6535 (bibtex-url): Obey regexp of first step.
6536 (bibtex-search-entries): Do not use add-to-list with local
6537 list-var.
6538
97bb1093
LMI
65392011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6540
6541 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6542 stored a user name, then query for the password first, instead of
6543 waiting for SMTP to give an error message and the trying again.
6544
1c0f1a19
JD
65452011-06-22 Lawrence Mitchell <wence@gmx.li>
6546
6547 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6548 BUFFER in call-process.
6549
396f7c9d
LMI
65502011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6551
6552 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6553 QUIT twice.
ddb7ffee
LMI
6554 (smtpmail-try-auth-methods): Require user name and password from
6555 auth-source.
396f7c9d 6556
8998d1b3
MR
65572011-06-22 Martin Rudalics <rudalics@gmx.at>
6558
6559 * window.el (display-buffer-default-specifiers)
6560 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6561 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 6562 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
6563
6564 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6565 (special-display-frame-alist, special-display-popup-frame):
6566 Remove duplicate declarations. These are now in window.el.
6567
4ea31e07
LMI
65682011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6569
c9d29fb8
SM
6570 * mail/smtpmail.el (smtpmail-via-smtp):
6571 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
6572 server supports it. SMTP servers that support STARTTLS commonly
6573 require it.
6574
6575 * net/network-stream.el (network-stream-open-starttls): Support
6576 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 6577 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 6578
95f41d9a
LMI
6579 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6580 upgrades with `open-network-stream', and rely solely on
6581 auth-source for all credentials. Big changes throughout the file,
6582 but in particular:
c9d29fb8
SM
6583 (smtpmail-auth-credentials): Remove.
6584 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
6585 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6586 MAIL FROM, too.
95f41d9a 6587
c9d29fb8
SM
6588 * net/network-stream.el (network-stream-open-starttls):
6589 Provide support for client certificates both for external and built-in
4ea31e07
LMI
6590 STARTTLS.
6591 (auth-source): Require.
6592 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
6593 (network-stream-certificate): Change cert-cert to cert and
6594 cert-key to key.
4ea31e07 6595
065ec2c7
MA
65962011-06-21 Michael Albinus <michael.albinus@gmx.de>
6597
6598 * net/tramp-cache.el (top): Don't load the persistency file when
6599 "emacs -Q" has been called.
6600
cd93b359
DR
66012011-06-21 Tim Harper <timcharper@gmail.com>
6602
d8e4b68b
JB
6603 * term/ns-win.el (ns-initialize-window-system):
6604 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
6605 resource to NO as it is not yet supported by the NS port.
6606
ae9c0411
JB
66072011-06-21 Juanma Barranquero <lekktu@gmail.com>
6608
6609 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6610 (list-dynamic-libraries): ...not here.
6611
7f3f739f
LL
66122011-06-21 Leo Liu <sdl.web@gmail.com>
6613
6614 * subr.el (sha1): Implement sha1 using secure-hash.
6615
327c8fb1
MR
66162011-06-21 Martin Rudalics <rudalics@gmx.at>
6617
6618 * window.el (display-buffer-alist): In default value do not
6619 enforce searching a window on any but the selected frame.
6620 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6621 (display-buffer-select-window): Remove function.
6622 (display-buffer-in-window): When a window on another frame gets
6623 reused, do not select it any more but just raise its frame if
6624 necessary (Bug#8851) and (Bug#8856).
6625 (display-buffer-normalize-options): Handle pop-up-frames related
6626 options more faithfully.
6627 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6628 window if it is on another frame.
c9d29fb8
SM
6629 (display-buffer-alist, display-buffer-default-specifiers):
6630 Don't make new frame unsplittable by default.
9e9de014
MR
6631 (display-buffer-normalize-argument): Fix doc-string typo and use
6632 'same-frame-other-window instead of 'other-window when associating
6633 with display-buffer-macro-specifiers.
327c8fb1 6634
7cf3f556
VB
66352011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6636
6637 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6638 New functions.
6639 (5x5-mode-map, 5x5-mode-menu): Bind them.
6640 (5x5-draw-grid): Tweak the solver's rendering.
6641
60a406cf
SM
66422011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6643
6644 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6645 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6646
d8e4b68b 66472011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
6648
6649 * menu-bar.el: Use function variable instead of switch-to-buffer.
6650 (menu-bar-select-buffer-function): New variable.
60a406cf 6651 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 6652
478d6f95
SM
66532011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6656 variable's status.
6657
ca530739
JD
66582011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6659
6660 * x-dnd.el (x-dnd-version-from-flags)
6661 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6662 and long as number (Bug#8899).
6663 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6664
bcd70d97
SM
66652011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6666
60a406cf 6667 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
6668 (completion-try-completion, completion-all-completions): Compute the
6669 metadata argument if it's missing; make it optional (bug#8795).
6670
60a406cf 6671 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
6672 (widget-complete): Use new :completion-function property.
6673 (widget-completions-at-point): New function.
6674 (default): Use :completion-function instead of :complete.
60a406cf
SM
6675 (widget-default-completions): Rename from widget-default-complete;
6676 Rewrite.
bcd70d97
SM
6677 (widget-string-complete, widget-file-complete, widget-color-complete):
6678 Remove functions.
6679 (file, symbol, function, variable, coding-system, color):
6680 * international/mule-cmds.el (default-input-method, charset)
6681 (language-info-custom-alist):
6682 * cus-edit.el (face): Use new property :completions.
6683
6684 * progmodes/pascal.el (pascal-completions-at-point): New function.
6685 (pascal-mode): Use it.
6686 (pascal-mode-map): Use completion-at-point.
6687 (pascal-toggle-completions): Make obsolete.
6688 (pascal-complete-word, pascal-show-completions):
6689 * progmodes/octave-mod.el (octave-complete-symbol):
6690 Redefine as obsolete alias.
6691 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6692 Signal absence of completion info for old Octave,
6693 (inferior-octave-complete): Redefine as obsolete alias.
6694 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6695 (meta-completions-at-point): Rename from meta-complete-symbol and
6696 adapt it for use on completion-at-point-functions.
6697 (meta-common-mode): Use it.
6698 (meta-looking-at-backward, meta-match-buffer): Remove.
6699 (meta-complete-symbol): Redefine as obsolete alias.
6700 (meta-common-mode-map): Use completion-at-point.
6701 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6702 (makefile-mode-map): Use completion-at-point.
6703 (makefile-completions-at-point): Rename from makefile-complete and
6704 adapt it for use on completion-at-point-functions.
6705 (makefile-mode): Use it.
6706 (makefile-complete): Redefine as obsolete alias.
6707
aebf69c8
DD
67082011-06-20 Deniz Dogan <deniz@dogan.se>
6709
6710 * net/rcirc.el: Delete trailing whitespaces once and for all.
6711
bfbbb27d
DC
67122011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6713
6714 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6715
d264a46b
CY
67162011-06-19 Chong Yidong <cyd@stupidchicken.com>
6717
4ca009e5
CY
6718 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6719
d264a46b
CY
6720 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6721
fbf5b3ce
MR
67222011-06-19 Martin Rudalics <rudalics@gmx.at>
6723
6724 * window.el (display-buffer-other-window-means-other-frame):
6725 Call display-buffer-normalize-alist.
6726 (display-buffer-normalize-specifiers-1): Rename to
6727 display-buffer-normalize-argument. New argument other-frame.
6728 Rewrite.
6729 (display-buffer-normalize-specifiers-2): Rename to
6730 display-buffer-normalize-options.
6731 (display-buffer-normalize-alist-1): New function.
6732 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
6733 display-buffer-normalize-alist.
6734 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
6735 (display-buffer-normalize-options-inhibit): New variable.
6736 (display-buffer-normalize-specifiers): Rewrite calling
6737 display-buffer-normalize-alist,
6738 display-buffer-normalize-argument, and
6739 display-buffer-normalize-options. Don't call the latter if
6740 display-buffer-normalize-options-inhibit is non-nil.
6741 (frame-auto-delete): New option.
6742 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
6743 (window-list-no-nils, window-state-ignored-parameters)
6744 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
6745 (window-state-put-1, window-state-put-2, window-state-put):
6746 New functions.
9a028c23
MR
6747 (display-buffer-normalize-options): Move special-display-p group
6748 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 6749
6d10d800
CY
67502011-06-18 Chong Yidong <cyd@stupidchicken.com>
6751
6420d28b
CY
6752 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6753 groups (Bug#8776).
6754 (rx-submatch-n): New function.
6755 (rx): Document it.
6756
ddb8b596
CY
6757 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6758 (Bug#8768).
6759
6760 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6761
77080289
CY
6762 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6763
61dfb316
CY
6764 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6765 anytime existing face settings are present (Bug#8889).
6766
6d10d800
CY
6767 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6768 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6769 Remove unused argument.
6770
be3fb2b8
MR
67712011-06-18 Martin Rudalics <rudalics@gmx.at>
6772
bcd70d97
SM
6773 * window.el (display-buffer-default-specifiers):
6774 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
6775 pop-up-window-min-width, and another reuse-window specifier
6776 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
6777 (display-buffer-normalize-specifiers-2):
6778 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
6779 pop-up-windows is unset. Add a reuse-window specifier for the
6780 case popping up a new window fails.
6781 (special-display-popup-frame): Remove double quoting.
28dec25a 6782 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 6783
1c6d8c76
SM
67842011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6785
6786 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6787 according to comint-completion-addsuffix.
6788
6789 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6790 (pcomplete-suffix-list): Mark as obsolete.
6791 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6792 pcomplete-seen in the closure.
6793 (pcomplete-comint-setup): Setup completion-at-point as well.
6794 (pcomplete--entries): New function.
6795 (pcomplete--env-regexp): New var.
6796 (pcomplete-entries): Rewrite to work with partial-completion and
6797 without relying on pcomplete-suffix-list.
6798 (pcomplete-pare-list): Remove, unused.
6799
25aef8b8
MR
68002011-06-17 Martin Rudalics <rudalics@gmx.at>
6801
6802 * window.el (display-buffer-alist): Set pop-up-window-min-height
6803 and pop-up-window-min-width in default value. Reported by
6804 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6805 other-window-means-other-frame.
6806 (display-buffer-macro-specifiers): Comment out entry for
6807 other-window specifier.
6808 (display-buffer-other-window-means-other-frame): New function.
6809 (display-buffer-normalize-specifiers-1): New arguments
6810 buffer-name and label. Treat other-window case specially.
6811 (display-buffer-normalize-specifiers-2): Treat other-window case
6812 specially.
6813 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
6814 (display-buffer-normalize-specifiers):
6815 Call display-buffer-normalize-specifiers-3.
25aef8b8 6816
dbad4f69
MR
68172011-06-17 Martin Rudalics <rudalics@gmx.at>
6818
6819 * window.el (same-window-p): Fix two typos introduced when
6820 adding with-no-warnings.
d1067961
MR
6821 (display-buffer-normalize-specifiers-1): Don't check
6822 pop-up-frames for 'unset initialization.
6823 (display-buffer-normalize-specifiers-2): Major rewrite using
6824 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6825 (pop-up-frames, display-buffer-reuse-frames)
6826 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6827 Suggested by David Engster <deng@randomsample.de>.
6828 (even-window-heights): Initialize to 'unset.
6829 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
6830 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6831 other window case.
dbad4f69 6832
9b9c9e3a
MR
68332011-06-16 Martin Rudalics <rudalics@gmx.at>
6834
bcd70d97
SM
6835 * window.el (display-buffer-normalize-specifiers-1):
6836 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 6837 second argument of display-buffer (Bug#8865).
981d5c09
MR
6838 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6839 (switch-to-buffer-other-window-same-frame)
6840 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6841 Adams (Bug#8875).
9c2755e9
MR
6842 (display-buffer): Don't check noninteractive when calling
6843 display-buffer-pop-up-frame.
6844 (display-buffer-pop-up-frame): Never pop up a frame in
6845 noninteractive mode (Bug#8857).
67222e1d
MR
6846 (enlarge-window, shrink-window): Don't report an error when the
6847 window can't be resized as requested (Bug#8862).
9b9c9e3a 6848
2b75be67
SM
68492011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6850
9ffdd3ba
SM
6851 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6852
cb581a67
SM
6853 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6854
2b75be67
SM
6855 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6856
8c0e3589
AM
68572011-06-15 Alan Mackenzie <acm@muc.de>
6858
cb581a67
SM
6859 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6860 for declarators, disable knr checking to speed up for normal files.
6861 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 6862
b96e6cde
LMI
68632011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6864
4bba86e6
LMI
6865 * net/network-stream.el (open-network-stream): Add the keyword
6866 :always-query-capabilities for the case where you want to force a
6867 `plain' network connection, but the protocol still requires the
6868 capabilitiy command (i.e., SMTP and EHLO).
6869
2b75be67 6870 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
6871 consistency with other `-live-p' functions.
6872
efdcdbf8
SM
68732011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6874
6875 * window.el (same-window-buffer-names, same-window-regexps)
6876 (special-display-frame-alist, special-display-popup-frame)
6877 (special-display-function, special-display-buffer-names)
6878 (special-display-regexps, pop-up-frame-alist)
6879 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6880 (pop-up-windows, split-window-preferred-function)
6881 (split-height-threshold, split-width-threshold, even-window-heights)
6882 (display-buffer-mark-dedicated): Don't encourage the use of
6883 display-buffer-alist from Elisp code.
6884
c5cde042
DN
68852011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6886
6887 * progmodes/python.el (python-mode): Derive from prog-mode.
6888 * progmodes/ps-mode.el (ps-mode):
6889 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 6890 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
6891 * progmodes/ld-script.el (ld-script-mode): Likewise.
6892
baa1c9ab
MR
68932011-06-15 Martin Rudalics <rudalics@gmx.at>
6894
6895 * window.el (display-buffer-alist): Trim default value to avoid
6896 popping up a new frame (Bug#8857) or reusing an arbitrary window
6897 on another frame.
6898 (display-buffer): Do not fall back on popping up a new frame in
6899 batch mode (Bug#8857).
6900
c5dd5a51
CY
69012011-06-14 Chong Yidong <cyd@stupidchicken.com>
6902
6903 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6904 (custom-theme-summary): New function.
6905 (customize-themes): Use it.
6906
d647b7c4
GM
69072011-06-13 Glenn Morris <rgm@gnu.org>
6908
6909 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6910
9481c002
MR
69112011-06-13 Martin Rudalics <rudalics@gmx.at>
6912
357f93d2
MR
6913 * help.el (help-window): Remove variable.
6914 (help-window-point-marker, temp-buffer-max-height)
6915 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6916 (help-print-return-message): Don't set help-window.
6917 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6918 (help-window-setup-finish): Remove.
6919 (help-window-display-message, help-window-setup)
6920 (with-help-window): Major rewrite based on new
6921 display-buffer-window variable.
6922
6923 * help-mode.el (help-mode-finish): Remove help-window related
6924 code.
6925
6926 * view.el (view-exits-all-viewing-windows): Remove reference to
6927 view-return-to-alist in doc-string.
6928 (view-return-to-alist): Make obsolete.
6929 (view-buffer): Call pop-to-buffer-same-window and remove
6930 undo-window code.
6931 (view-buffer-other-window): Call pop-to-buffer-other-window and
6932 simplify code. Ignore second argument.
6933 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6934 simplify code. Ignore second argument.
6935 (view-return-to-alist-update): Make obsolete.
6936 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6937 Rewrite using quit-restore window parameters.
2b75be67
SM
6938 (view-mode-exit): Rename second argument to EXIT-ONLY.
6939 Rewrite using quit-restore-window.
357f93d2
MR
6940 (View-exit, View-exit-and-edit, View-leave, View-quit)
6941 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6942 appropriate arguments.
6943 (view-end-message): Use quit-restore window parameter.
6944
9481c002
MR
6945 * window.el (display-buffer-function): Rewrite doc-string.
6946 (display-buffer-window, display-buffer-alist): New variables.
6947 (display-buffer-split-specifiers)
6948 (display-buffer-side-specifiers)
6949 (display-buffer-macro-specifiers): New constants.
6950 (display-buffer-even-window-sizes, display-buffer-set-height)
6951 (display-buffer-set-width, display-buffer-select-window)
6952 (display-buffer-in-window, display-buffer-reuse-window)
6953 (display-buffer-split-window-1, display-buffer-split-window)
6954 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6955 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6956 (display-buffer-in-side-window, normalize-buffer-to-display)
6957 (display-buffer-normalize-specifiers-1)
6958 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6959 (display-buffer-normalize-specifiers, display-buffer-frame):
6960 New functions.
9481c002
MR
6961 (display-buffer): Major rewrite.
6962 (display-buffer-other-window, display-buffer-other-frame)
6963 (pop-to-buffer, switch-to-buffer-other-window)
6964 (switch-to-buffer-other-frame): Rewrite.
6965 (display-buffer-same-window, display-buffer-same-frame)
6966 (display-buffer-same-frame-other-window)
6967 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6968 (pop-to-buffer-other-window)
6969 (pop-to-buffer-same-frame-other-window)
6970 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6971 (switch-to-buffer-other-window-same-frame): New functions.
6972 (same-window-p, special-display-p): Rewrite disabling warnings.
6973 Make obsolete.
6974 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6975 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6976 Make obsolete
6977 (same-window-buffer-names, same-window-regexps)
6978 (special-display-frame-alist, special-display-popup-frame)
6979 (special-display-function, special-display-buffer-names)
6980 (special-display-regexps, pop-up-frame-alist)
6981 (pop-up-frame-function, split-window-preferred-function)
6982 (split-height-threshold, split-width-threshold)
6983 (even-window-heights): Make obsolete.
6984
9db51aca
GM
69852011-06-12 Glenn Morris <rgm@gnu.org>
6986
6987 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6988 Misc simplifications.
9db51aca 6989
39cffb44
MR
69902011-06-12 Martin Rudalics <rudalics@gmx.at>
6991
6992 * window.el (window-safely-shrinkable-p): Restore function which
6993 was inadvertently removed in change from 2011-06-11. Declare as
6994 obsolete.
6995
2b75be67
SM
6996 * calendar/calendar.el (calendar-generate-window):
6997 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6998 window-safely-shrinkable-p.
6999
a8955be7
GM
70002011-06-12 Glenn Morris <rgm@gnu.org>
7001
7002 * progmodes/fortran.el (fortran-mode-syntax-table):
7003 * progmodes/f90.el (f90-mode-syntax-table):
7004 Set % to punctuation. (Bug#8820)
7005 (f90-find-tag-default): Remove, no longer needed.
7006
f0d4059d
DC
70072011-06-12 Daniel Colascione <dan.colascione@gmail.com>
7008
7009 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7010
1100a63c
CY
70112011-06-11 Chong Yidong <cyd@stupidchicken.com>
7012
7013 * image.el (image-animated-p): Return animation delay in seconds.
7014 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7015 (image-animate-timeout): Remove DELAY argument. Don't assume
7016 every subimage has the same delay; get it from image-animated-p.
7017 (image-animate): Caller changed.
7018
def722bf
MA
70192011-06-11 Michael Albinus <michael.albinus@gmx.de>
7020
7021 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7022 to ignored backtrace functions.
7023
0a2bb1a9
GM
70242011-06-11 Glenn Morris <rgm@gnu.org>
7025
7026 * calendar/appt.el (appt-disp-window-function): Doc fix.
7027 (appt-check): Handle overlapping appointments. (Bug#8337)
7028
6198ccd0
MR
70292011-06-11 Martin Rudalics <rudalics@gmx.at>
7030
7031 * window.el (window-tree-1, window-tree): New functions, moving
7032 the latter to window.el.
7033 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7034 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7035 (bw-refresh-edges): Remove.
7036 (balance-windows-1, balance-windows-2): New functions.
7037 (balance-windows): Rewrite in terms of window tree functions,
7038 balance-windows-1 and balance-windows-2.
7039 (bw-adjust-window): Remove.
7040 (balance-windows-area-adjust): New function with functionality of
7041 bw-adjust-window but using resize-window.
2b75be67
SM
7042 (set-window-text-height): Rewrite doc-string.
7043 Use normalize-live-window and resize-window.
7044 (enlarge-window-horizontally, shrink-window-horizontally):
7045 Rename argument to DELTA.
6198ccd0
MR
7046 (window-buffer-height): New function.
7047 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
7048 Rewrite using new window resize routines.
2b75be67
SM
7049 (kill-buffer-and-window, mouse-autoselect-window-select):
7050 Use ignore-errors instead of condition-case.
6198ccd0
MR
7051 (quit-window): Call delete-frame instead of delete-windows-on
7052 for the only buffer on frame.
7053
9397e56f
MR
70542011-06-10 Martin Rudalics <rudalics@gmx.at>
7055
7056 * loadup.el (top-level): Load window before files for the sake
7057 of replace-buffer-in-windows.
7058
7059 * files.el (read-buffer-to-switch)
7060 (switch-to-buffer-other-window)
2b75be67
SM
7061 (switch-to-buffer-other-frame, display-buffer-other-frame):
7062 Move to window.el.
9397e56f
MR
7063
7064 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
7065 (previous-buffer): Move to window.el.
7066
7067 * bindings.el (unbury-buffer): Move to window.el.
7068
7069 * window.el (delete-other-windows-vertically): Move after
7070 definition of delete-other-windows.
7071 (other-window, delete-windows-on, replace-buffer-in-windows):
7072 Move here from window.c.
7073 (record-window-buffer, unrecord-window-buffer)
7074 (set-window-buffer-start-and-point, switch-to-prev-buffer)
7075 (switch-to-next-buffer): New functions.
7076 (get-next-valid-buffer, last-buffer, next-buffer): Move here
7077 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
7078 (previous-buffer): Move here from simple.el.
7079 Call switch-to-prev-buffer.
9397e56f
MR
7080 (bury-buffer): Move here from buffer.c. Switch to previous
7081 buffer when window cannot be deleted.
7082 (unbury-buffer): Move here from bindings.el.
7083 (ctl-x-map): Move binding for other-window from window.c to
7084 here.
7085 (read-buffer-to-switch, switch-to-buffer-other-window)
7086 (switch-to-buffer-other-frame): Move here from files.el.
7087 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
7088 (switch-to-buffer): Move here from buffer.c.
7089 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 7090
562dd5e9
MR
70912011-06-10 Martin Rudalics <rudalics@gmx.at>
7092
7093 * window.el (window-min-height, window-min-width): Move here
7094 from window.c. Add defcustoms and rewrite doc-strings.
7095 (resize-mini-window, resize-window): New functions.
7096 (adjust-window-trailing-edge, enlarge-window, shrink-window):
7097 Move here from window.c.
7098 (maximize-window, minimize-window): New functions.
7099 (delete-window, delete-other-windows, split-window): Move here
7100 from window.c.
7101 (window-split-min-size): New function.
7102 (split-window-keep-point): Mention split-window-above-each-other
7103 instead of split-window-vertically.
2b75be67 7104 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
7105 Rename split-window-vertically to split-window-above-each-other
7106 and provide defalias for old definition.
7107 (split-window-side-by-side, split-window-horizontally):
7108 Rename split-window-horizontally to split-window-side-by-side
7109 and provide defalias for the old definition.
562dd5e9
MR
7110 (ctl-x-map): Move bindings for delete-window,
7111 delete-other-windows and enlarge-window here from window.c.
7112 Replace bindings for split-window-vertically and
7113 split-window-horizontally by bindings for
7114 split-window-above-each-other and split-window-side-by-side.
7115
7116 * cus-start.el (all): Remove entries for window-min-height and
7117 window-min-width. Add entries for window-splits and
7118 window-nest.
7119
f0da764a
GM
71202011-06-09 Glenn Morris <rgm@gnu.org>
7121
80675c21
GM
7122 * calendar/appt.el (appt-mode-line): New function.
7123 (appt-check, appt-disp-window): Use it.
7124
f0da764a
GM
7125 * files.el (hack-one-local-variable-eval-safep):
7126 Allow minor-modes with explicit +/-1 arguments.
7127
59f623b7
TZ
71282011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
7129
7130 * term/xterm.el (xterm): Add defgroup.
7131 (xterm-extra-capabilities): Add defcustom to supply known xterm
7132 capabilities, skip querying them, or query them (default).
7133 (terminal-init-xterm): Use it.
7134 (terminal-init-xterm-modify-other-keys): New function to set up
7135 modifyOtherKeys support to simplify `terminal-init-xterm'.
7136
9aab8e0d
MR
71372011-06-09 Martin Rudalics <rudalics@gmx.at>
7138
7139 * window.el (resize-window-reset, resize-window-reset-1)
7140 (resize-subwindows-skip-p, resize-subwindows-normal)
7141 (resize-subwindows, resize-other-windows, resize-this-window)
7142 (resize-root-window, resize-root-window-vertically)
7143 (window-deletable-p, window-or-subwindow-p)
7144 (frame-root-window-p): New functions.
7145
e8b08aee
GM
71462011-06-09 Glenn Morris <rgm@gnu.org>
7147
7148 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
7149 (ange-ftp-get-files): Use it.
7150
254c37a5
AK
71512011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7152
7153 * mail/sendmail.el (mail-recover-1, mail-recover):
7154 * files.el (recover-file, recover-session):
7155 Handle dired-listing-switches not being just a single short option.
7156
35d7dbd3
GM
71572011-06-09 Glenn Morris <rgm@gnu.org>
7158
7159 * calendar/appt.el (appt-display-message, appt-disp-window):
7160 Handle lists of appointments.
7161
387522b2
MR
71622011-06-08 Martin Rudalics <rudalics@gmx.at>
7163
2b75be67
SM
7164 * window.el (one-window-p): Move down in code.
7165 Rewrite doc-string.
7166 (window-current-scroll-bars): Rewrite doc-string.
7167 Normalize live window argument.
387522b2
MR
7168 (walk-windows, get-window-with-predicate, count-windows):
7169 Rewrite doc-string. Use window-list-1.
7170 (window-in-direction-2, window-in-direction, get-mru-window):
7171 New functions.
7172
d8e4b68b 71732011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
7174
7175 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
7176 Doc fix (Bug#8713).
7177
71782011-06-08 Chong Yidong <cyd@stupidchicken.com>
7179
7180 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
7181
71822011-06-08 Juanma Barranquero <lekktu@gmail.com>
7183
7184 * loadhist.el (unload-feature-special-hooks):
7185 Add `comint-output-filter-functions'.
7186
0de12c52
IK
71872011-06-08 Ivan Kanis <gnu@kanis.fr>
7188
7189 * calendar/appt.el (appt-check): Move some initializations into the let.
7190
f3d1777e
MR
71912011-06-08 Martin Rudalics <rudalics@gmx.at>
7192
7193 * window.el (window-height): Defalias to window-total-height.
7194 (window-width): Defalias to window-body-width.
7195
18af70d0
CY
71962011-06-07 Chong Yidong <cyd@stupidchicken.com>
7197
7198 * image-mode.el (image-toggle-animation): New command.
7199 (image-mode-map): Bind it to RET.
7200 (image-mode): Update message.
7201 (image-toggle-display-image): Avoid a spurious cache flush.
7202 (image-transform-rotation): Doc fix.
7203 (image-transform-properties): Return quickly in the normal case.
7204 (image-animate-loop): Rename from image-animate-max-time.
7205
2b75be67 7206 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
7207 (create-animated-image): Remove unnecessary function.
7208 (image-animate): Rename from image-animate-start. New arg.
2b75be67 7209 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
7210 (image-animate-timer): Use car-safe.
7211 (image-animate-timeout): Rename argument.
7212
190b47e6
MR
72132011-06-07 Martin Rudalics <rudalics@gmx.at>
7214
7215 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
7216 window.c. Rename first argument to ALL-FRAMES.
7217 Rephrase doc-strings.
7218 (get-buffer-window-list): Rewrite using window-list-1.
7219 Rephrase doc-string.
a1511caf
MR
7220 (window-safe-min-height, window-safe-min-width): New constants.
7221 (window-size-ignore, window-min-size, window-min-size-1)
7222 (window-sizable, window-sizable-p, window-size-fixed-1)
7223 (window-size-fixed-p, window-min-delta-1, window-min-delta)
7224 (window-max-delta-1, window-max-delta, window-resizable)
7225 (window-resizable-p, window-total-height, window-total-width)
7226 (window-body-width): New functions.
7227 (window-full-height-p, window-full-width-p): Rewrite using
7228 window-total-size.
7229 (window-body-height): Rewrite using window-body-size.
190b47e6 7230
85cc1f11
MR
72312011-06-06 Martin Rudalics <rudalics@gmx.at>
7232
7233 * window.el (window-right, window-left, window-child)
7234 (window-child-count, window-last-child, window-any-p)
7235 (normalize-live-buffer, normalize-live-frame)
7236 (normalize-any-window, normalize-live-window)
7237 (window-iso-combination-p, window-iso-combined-p)
7238 (window-iso-combinations)
7239 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
7240 (windows-with-parameter, window-with-parameter)
7241 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
7242 (window-atom-check, window-side-check, window-check):
7243 New functions.
85cc1f11
MR
7244 (ignore-window-parameters, window-sides, window-sides-vertical)
7245 (window-sides-slots): New variables.
7246 (window-size-fixed): Move down in code. Minor doc-string fix.
7247
e7156492
AS
72482011-06-05 Andreas Schwab <schwab@linux-m68k.org>
7249
7250 * comint.el (comint-dynamic-complete-as-filename)
7251 (comint-dynamic-complete-filename): Correctly call
7252 completion-in-region.
7253
7e821d0d
DD
72542011-06-05 Deniz Dogan <deniz@dogan.se>
7255
7256 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
7257 in last change.
7258
ac09b8a1
DD
72592011-06-05 Deniz Dogan <deniz@dogan.se>
7260
7261 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
7262 (rcirc): Use it to prompt for encryption.
7263
34699b85
RW
72642011-06-05 Roland Winkler <winkler@gnu.org>
7265
7266 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
7267 (bibtex-search-entries): New command bound to C-c C-a.
7268 (bibtex-display-entries): New function.
7269
004dedd3
RW
72702011-06-05 Roland Winkler <winkler@gnu.org>
7271
7272 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
7273 (bibtex-insert-kill): After yanking insert newline if necessary.
7274 (bibtex-initialize): Call bibtex-string-files-init only once.
7275 (bibtex-mode): Do not call easy-menu-add.
7276 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
7277 (bibtex-yank): Set arg properly if nil.
7278
022fe7ce
RW
72792011-06-05 Roland Winkler <winkler@gnu.org>
7280
2b75be67
SM
7281 * textmodes/bibtex.el (bibtex-search-entry-globally):
7282 New variable.
022fe7ce
RW
7283 (bibtex-search-entry): Use it.
7284
b7c3692a
RW
72852011-06-05 Roland Winkler <winkler@gnu.org>
7286
7287 * textmodes/bibtex.el (bibtex-entry-format): New option
7288 sort-fields.
7289 (bibtex-format-entry, bibtex-reformat): Honor this option.
7290 (bibtex-parse-entry): Return fields in proper order.
7291
8eda563d
JB
72922011-06-05 Juanma Barranquero <lekktu@gmail.com>
7293
7294 * doc-view.el (doc-view-remove-if): Move computation of result out
7295 of `dolist' to silence misleading lexical-binding warning.
7296
7dbe3dbc
CY
72972011-06-04 Chong Yidong <cyd@stupidchicken.com>
7298
7299 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
7300 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
7301
0c33dd17
MA
73022011-06-04 Michael Albinus <michael.albinus@gmx.de>
7303
7304 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
7305 "SunOS 5.10".
7306
f8f91c2b
MA
73072011-06-04 Michael Albinus <michael.albinus@gmx.de>
7308
7309 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
7310 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
7311 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
7312 (tramp-parse-putty):
7313 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
7314 (tramp-completion-function-alist-ssh)
7315 (tramp-completion-function-alist-telnet)
7316 (tramp-completion-function-alist-su)
7317 (tramp-completion-function-alist-putty): Set `tramp-autoload'
7318 cookie.
7319
7320 * net/tramp-ftp.el:
7321 * net/tramp-sh.el:
7322 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
7323 load "tramp.el" `tramp-set-completion-function'.
7324
e17d9003
SM
73252011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7326
7327 * shell.el: Require and use pcomplete.
7328 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
7329 (shell-completion-vars): Set pcomplete-default-completion-function.
7330
6c4cab03
DD
73312011-06-04 Deniz Dogan <deniz@dogan.se>
7332
7333 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
7334 `memq' (Bug#8799).
7335
ea9fafe0
SM
73362011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7337
7338 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
7339
b3e945d3
JB
73402011-06-02 Juanma Barranquero <lekktu@gmail.com>
7341
7342 * bs.el (bs--mark-unmark, bs--nth-wrapper):
7343 * mpc.el (mpc-select-extend, mpc-songpointer-context):
7344 * vc/log-view.el (log-view-beginning-of-defun):
7345 * vc/smerge-mode.el (smerge-apply-resolution-patch)
7346 (smerge-refine-forward, smerge-refine-chopup-region):
7347 Silence warning for unused `dotimes' counter variables.
7348
7d520089
SM
73492011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7350
7351 * net/tramp.el (tramp-with-progress-reporter): Rename from
7352 with-progress-reporter. Use `declare'.
7353 * net/tramp-smb.el:
7354 * net/tramp-sh.el:
7355 * net/tramp-gvfs.el: Update all uses.
7356
a1c2400f
JB
73572011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
7358
7359 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
7360 buffer isn't killed before making it current.
7361
2403c841
SM
73622011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7363
7364 Silence various byte-compiler warnings.
7365 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
7366 `access-type' and new obsolescence format.
7367 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
7368 new format.
7369 (byte-compile-check-variable): New `access-type' argument.
7370 Only warn if the access-type is obsolete.
7371 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7372 (byte-compile-variable-set): Adjust callers.
7373 * help-fns.el (describe-variable): Adjust to new obsolescence format.
7374 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
7375 setting it as obsolete.
7376 * simple.el (minibuffer-completing-symbol):
7377 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
7378 access as obsolete.
7379 * minibuffer.el (minibuffer-completing-file-name): Don't make it
7380 obsolete yet.
7381 * international/quail.el (quail-mouse-choose-completion): Remove unused
7382 code referring to obsolete var.
7383 (quail-choose-completion-string): Remove.
7384 * server.el (server-clients-with, server-kill-buffer-query-function)
7385 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
7386 * proced.el (proced-send-signal):
7387 * emacs-lisp/lisp.el (lisp-complete-symbol):
7388 Replace completion-annotate-function with completion-extra-properties.
7389
2462470b
SM
73902011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7391
fb5b2591
SM
7392 * simple.el (goto-line): Use read-number.
7393 (overriding-map-is-bound): Remove.
7394 (saved-overriding-map): Change default.
7395 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
7396 Take the map as argument.
7397 (universal-argument, negative-argument, digit-argument): Use it.
7398 (restore-overriding-map): Adjust.
7399 (do-auto-fill): Use fill-forward-paragraph.
7400 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
7401
fd6fa53f
SM
7402 * minibuffer.el (minibuffer-inactive-mode-map): New var.
7403 (minibuffer-inactive-mode): New major mode.
7404 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
7405 the *Messages* buffer" hack.
7406 (mouse-popup-menubar): Don't burp if the event is a normal key.
7407
2462470b
SM
7408 Miscellaneous tweaks.
7409 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
7410 lexical scoping as in subr.el's dolist and dotimes.
7411 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
7412 Silence compiler warning.
7413 * thingatpt.el (forward-whitespace): Trivial coding style fix.
7414 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
7415 * international/ccl.el (ccl-compile): Trivial simplification.
7416 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
7417 * emacs-lisp/testcover.el (testcover-end): Remove spurious
7418 `printflag' argument.
7419 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7420 Purecopy the whole obsolescence data.
7421
108bf785
LL
74222011-06-01 Leo Liu <sdl.web@gmail.com>
7423
7424 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
7425 improve doc-string as suggested by Marco Pessotto
7426 <melmothx@gmail.com>.
7427 (rcirc-print): Fix last change.
7428
30a23501
SM
74292011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7430
7431 * minibuffer.el (complete-with-action): Return nil for the metadata and
7432 boundaries of non-functional tables.
7433 (completion-table-dynamic): Return nil for the metadata.
7434 (completion-table-with-terminator): Add default case, using
7435 complete-with-action.
7436 (completion--metadata): New function.
7437 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7438 to try and avoid pathological performance problems.
7439 (completion--embedded-envvar-table): Return `category' metadata.
7440
bcd54f83
LMI
74412011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7442
7443 * subr.el (process-alive-p): New tiny convenience function.
7444
e227544d
SM
74452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7446
7447 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7448 content but also its previous major mode.
7449
e8296fdc
HE
74502011-05-31 Helmut Eller <eller.helmut@gmail.com>
7451
4d61f28d 7452 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
7453 *Backtrace* buffer when we exit with C-M-c.
7454
620c53a6
SM
74552011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7456
7457 * minibuffer.el: Add metadata method to completion tables.
7458 (completion-category-overrides): New defcustom.
7459 (completion-metadata, completion--field-metadata)
7460 (completion-metadata-get, completion--styles)
7461 (completion--cycle-threshold): New functions.
7462 (completion-try-completion, completion-all-completions):
7463 Add `metadata' argument to choose completion-styles.
7464 (completion--do-completion): Use metadata to choose cycling.
7465 (completion-all-sorted-completions): Use metadata for sorting.
7466 Remove :completion-cycle-penalty which is not needed any more.
7467 (completion--try-word-completion): Add `metadata' argument.
7468 (minibuffer-completion-help): Check metadata for annotation function
7469 and sorting.
7470 (completion-file-name-table): Return `category' metadata.
7471 (minibuffer-completing-file-name): Make obsolete.
7472 * simple.el (minibuffer-completing-symbol): Make obsolete.
7473 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7474 completion-try-completion.
7475
1257e755
SM
74762011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7477
7478 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7479
3767e706
LL
74802011-05-30 Leo Liu <sdl.web@gmail.com>
7481
7482 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
7483 (rcirc-print): Decode all incoming messages (bug#8744).
7484 (rcirc-decode-coding-system): Allow value nil for automatic coding
7485 system detection.
3767e706 7486
d1a5d56a
GM
74872011-06-01 Glenn Morris <rgm@gnu.org>
7488
7489 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7490
e8cbec34
CY
74912011-05-29 Chong Yidong <cyd@stupidchicken.com>
7492
7493 * image.el (image-animate-max-time): Allow nil and t values.
7494 Default to nil.
7495 (create-animated-image): Doc fix.
7496 (image-animate-start): Remove second arg; just use
7497 image-animate-max-time.
7498 (image-animate-timeout): Doc fix. Args changed.
7499
7500 * image-mode.el (image-toggle-display-image): Ensure that the
7501 image spec passed to the animate timer is the same object as in
58179cce 7502 the buffer's display property (Bug#6981).
e8cbec34
CY
7503 (image-transform-properties): Doc fix.
7504
7505 * image.el (image-animate-max-time): Default to nil.
7506
159daf87
MR
75072011-05-29 Martin Rudalics <rudalics@gmx.at>
7508
7509 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7510 entire buffer list (Bug#8184).
7511
d66c4c7c
CY
75122011-05-29 Chong Yidong <cyd@stupidchicken.com>
7513
7514 * image.el (imagemagick-types-inhibit)
7515 (imagemagick-register-types): Doc fix.
7516
80aec780
DD
75172011-05-29 Deniz Dogan <deniz@dogan.se>
7518
7519 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7520 default.
7521
1dd3c2d9
CY
75222011-05-29 Chong Yidong <cyd@stupidchicken.com>
7523
7524 * select.el: Don't perform clipboard-manager saving in hooks;
7525 leave the hooks empty.
7526
60e56523
LL
75272011-05-28 Leo Liu <sdl.web@gmail.com>
7528
7529 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7530 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7531 (occur-edit-mode): New major mode (Bug#8463).
7532 (occur-after-change-function): New function.
7533 (occur-engine): Give Occur tags a read-only property.
7534
2b1e1a22
KR
75352011-05-28 Kevin Ryde <user42@zip.com.au>
7536
7537 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7538
5d344e88
CY
75392011-05-28 Chong Yidong <cyd@stupidchicken.com>
7540
8e6ca83d
CY
7541 * bindings.el (help-echo): Make the initial non-indicator dash
7542 empty on graphical terminals (Bug#7295).
7543
5d344e88
CY
7544 * files.el (auto-mode-alist): Move config rule after the
7545 in-stripping one (Bug#8547).
7546
bfbbace7
CY
7547 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7548
fbeba6e2
CY
7549 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7550 setting (Bug#8740).
7551
60ed8c72
AA
75522011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7553
4ac619f0
AA
7554 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7555 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7556 (Bug#8539).
60ed8c72 7557
23db196e
CY
75582011-05-28 Chong Yidong <cyd@stupidchicken.com>
7559
7560 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7561
5012f24c
DK
75622011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7563
7564 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7565 (hs-hide-block-at-point, hs-find-block-beginning)
7566 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7567 (Bug#8279).
7568
6a639b16
GM
75692011-05-28 Glenn Morris <rgm@gnu.org>
7570
7571 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7572
d43eaf2c
CY
75732011-05-28 Chong Yidong <cyd@stupidchicken.com>
7574
5199bde1
CY
7575 * help-fns.el (describe-function-1): If the function is a derived
7576 major mode, print the parent mode.
7577
d43eaf2c
CY
7578 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7579 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7580
423428a8
SM
75812011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7582
0ff8e1ba 7583 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 7584 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
7585 * progmodes/etags.el (tags-completion-at-point-function):
7586 * info-look.el (info-lookup-completions-at-point): Mark as
7587 non-exclusive.
7588 (info-complete): Adjust accordingly.
7589
423428a8
SM
7590 * info-look.el: Convert to lexical-binding and completion-at-point.
7591 (info-lookup-completions-at-point): New function.
7592 (info-complete): Use it and completion-in-region.
7593
b74aa22b
DA
75942011-05-28 Drew Adams <drew.adams@oracle.com>
7595
7596 * isearch.el: Let M-e start with point at the first mismatched char.
7597 (isearch-fail-pos): New function.
7598 (isearch-edit-string): Use it.
7599
66e2e71d
DK
76002011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7601
7602 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7603
eb95d01d
TC
76042009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7605
7606 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7607 traversal functions for avl-trees.
7608 (avl-tree--stack): New struct.
7609 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7610 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
7611 (avl-tree--do-enter): Add optional `updatefun' arg.
7612 Change return value.
eb95d01d 7613 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
7614 (avl-tree--do-delete): Add `test' and `nilflag' args.
7615 Change return value.
eb95d01d
TC
7616 (avl-tree-member): Add optional `nilflag'
7617 (avl-tree-member-p): New function.
7618 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7619 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7620 (avl-tree-stack-empty-p): New functions.
7621
3769ddcf
TC
76222009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7623
7624 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7625 avl-tree--del-balance1 and make it work both ways.
7626 (avl-tree--del-balance2): Remove.
7627 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7628 make it work both ways.
7629 (avl-tree--enter-balance2): Remove.
7630 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7631 New macros.
7632 (avl-tree--mapc, avl-tree-map): Add direction argument.
7633
eb95d01d 76342011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
7635
7636 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7637
a9f737ee
CY
76382011-05-27 Chong Yidong <cyd@stupidchicken.com>
7639
7640 * select.el: Support clipboard managers with built-in function
7641 x-clipboard-manager-save, via delete-frame-functions and
7642 kill-emacs-hook.
7643 (xselect-convert-to-targets): Add MULTIPLE target to list.
7644 (xselect-convert-to-save-targets): New function.
7645
c92a1e54
KH
76462011-05-27 Kenichi Handa <handa@m17n.org>
7647
7648 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7649 let-binding rfc2047-encode-encoded-words to nil.
7650
e145f188
GM
76512011-05-27 Glenn Morris <rgm@gnu.org>
7652
5ec8a862
GM
7653 * mail/emacsbug.el: Don't require url-util.
7654
4b29d9fb
GM
7655 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7656
e145f188
GM
7657 * files.el (set-auto-mode):
7658 Also respect mode: entries at the end of the file. (Bug#8586)
7659
7d15102b
GM
76602011-05-26 Glenn Morris <rgm@gnu.org>
7661
98f593b8
GM
7662 * files.el (hack-local-variables-prop-line, hack-local-variables):
7663 Downcase mode names, as seems to be traditional.
27b48e63 7664 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 7665
7d15102b
GM
7666 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7667 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7668
51d5b4ec
JD
76692011-05-25 Julien Danjou <julien@danjou.info>
7670
7671 * textmodes/rst.el (rst-define-level-faces): Do not define face
7672 symbol if it is already defined.
7673
91513f63
VB
76742011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7675
7676 * play/5x5.el (5x5-new-game, 5x5-randomize):
7677 Reset 5x5-solver-output to nil when a new grid is cast.
7678 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7679 these debugging traces, as defmacro breaks the compiled code.
7680
4d90d6d0
DK
76812011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7682
7683 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7684
e1b90ef6
LL
76852011-05-24 Leo Liu <sdl.web@gmail.com>
7686
7687 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7688 (vc-bzr-sha1): Adapt.
7689
d8e4b68b 7690 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
7691
7692 * bindings.el: Provide sha1 feature.
7693
db0406bb 76942011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
7695
7696 * mail/sendmail.el: Require `rfc2047'.
7697 (mail-insert-from-field): Do not perform RFC2047 encoding.
7698 (mail-encode-header): New function.
7699 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
7700 buffer to the return value of select-message-coding-system.
7701 Call mail-encode-header.
b8d747b9
KH
7702
7703 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7704
db0406bb 77052011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 7706
4d90d6d0
DK
7707 * mail/supercite.el (sc-default-cite-frame):
7708 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 7709
eb8a5e9b
GM
77102011-05-24 Glenn Morris <rgm@gnu.org>
7711
f8630703
GM
7712 * progmodes/python.el (brm-menu): Declare.
7713
8831bbed
GM
7714 * emulation/viper.el (viper-set-hooks): Declare.
7715
eb8a5e9b
GM
7716 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7717 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7718 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7719 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7720 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7721 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7722
a2a25d24
SM
77232011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7724
7725 Add an :exit-function for completion-at-point.
7726
7727 * minibuffer.el (completion--done): New fun.
7728 (completion--do-completion): Use it. New arg `expect-exact'.
7729 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7730 since completion--do-completion does it for us now.
7731 (minibuffer-force-complete): Use completion--done and
7732 completion--replace. Handle sole-completion case with more care.
7733 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7734 (completion-extra-properties): New var.
7735 (completion-annotate-function): Make obsolete.
7736 (minibuffer-completion-help): Adjust accordingly.
7737 Use completion-list-insert-choice-function.
7738 (completion-at-point, completion-help-at-point):
7739 Bind completion-extra-properties.
7740 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7741 * simple.el (completion-list-insert-choice-function): New var.
7742 (completion-setup-function): Preserve it.
7743 (choose-completion): Pay attention to it, shuffle the code a bit.
7744 (choose-completion-string): New arg `insert-function'.
7745
7746 * textmodes/bibtex.el: Convert to lexical binding.
7747 (bibtex-mode-map): Use completion-at-point.
7748 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7749 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7750 (bibtex-complete): Define as obsolete alias.
7751 (bibtex-complete-internal): Remove.
7752 (bibtex-format-entry): Remove unused sub-group in regexp.
7753 * shell.el (shell--command-completion-data)
7754 (shell-environment-variable-completion):
7755 * pcomplete.el (pcomplete-completions-at-point):
7756 * comint.el (comint--complete-file-name-data): Use :exit-function
7757 instead of completion-table-with-terminator so it also works for
7758 choose-completion.
7759
e44e373d
SM
77602011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7761
4f91a816
SM
7762 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7763
782fc819
SM
7764 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7765 (bug#8710).
7766
e44e373d
SM
7767 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7768
381987c3
KM
77692011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7770
7771 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7772 customization variable and implement: If non-nil, auto-fill will
7773 be inhibited while on topic's header line.
7774
b776bc70
VB
77752011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7776
7777 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 7778 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
7779 always have a solution in grid size = 5 cases.
7780 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7781 (5x5-solver-output, 5x5-log-buffer): New vars.
7782 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7783 Make these variables buffer local to achieve 5x5 multi-session-ness.
7784 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7785 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7786 (5x5-solve-suggest): New funs.
7787 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7788 randomize a grid so that we ensure that there is always a solution.
7789 (5x5-make-random-grid): Allow other movement than flipping.
7790
7de88b6e
KR
77912011-05-23 Kevin Ryde <user42@zip.com.au>
7792
7793 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 7794 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
7795 advice and passes PREDICATE.
7796
b1ef1257
SM
77972011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7798
bbca48fe
SM
7799 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7800 byte-compile-lambda if it's actually a lambda.
7801
b1ef1257
SM
7802 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7803 Fix function quoting. Use backquote better.
7804
92a9cc65
YS
78052011-05-22 Yuanle Song <sylecn@gmail.com>
7806
7807 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7808 matching (Bug#8516).
7809
f0fb8059
JA
78102011-01-22 Jari Aalto <jari.aalto@cante.net>
7811
7812 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7813 different face (Bug#8178).
7814
d5b44c93
CY
78152011-05-22 Chong Yidong <cyd@stupidchicken.com>
7816
7817 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7818 defface (Bug#8144).
7819
79106a44
SM
78202011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7821
9c848d8a
SM
7822 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7823 funcall as well (bug#8712). Warn when performing those conversions.
7824 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7825
79106a44
SM
7826 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7827
88dfa756
GM
78282011-05-22 Glenn Morris <rgm@gnu.org>
7829
7830 * files.el (hack-local-variables-prop-line): Small simplifications.
7831 (hack-local-variables, hack-local-variables-prop-line):
7832 If MODE-ONLY, return the mode, rather than just `t'.
7833
b7cf2c79
SM
78342011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7835
7836 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7837
3f1a8558
GM
78382011-05-21 Glenn Morris <rgm@gnu.org>
7839
7e4ccca3
GM
7840 * files.el (hack-local-variables-prop-line, hack-local-variables):
7841 If only interested in the mode, don't bother doing the other stuff.
7842
637d46ca
GM
7843 * image-mode.el (image-after-revert-hook):
7844 Redraw all frames on which the image is visible. (Bug#8567)
7845
973d955b
GM
7846 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7847
3f1a8558
GM
7848 * wid-edit.el (widget-checklist-match-inline):
7849 Fix 2011-04-19 change. (Bug#8649)
7850
96479927
SM
78512011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7852
1dcf791f
SM
7853 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7854 Also allow singlespace after single-letter capitals followed by a dot.
7855
96479927
SM
7856 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7857 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7858
35fd0881
N
78592011-05-20 Nix <nix@esperi.org.uk>
7860
7861 * files.el (basic-save-buffer-2):
7862 Fix handling of break-hardlink-on-save with non-existent files.
7863
82745640
DD
78642011-05-19 Deniz Dogan <deniz@dogan.se>
7865
7866 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 7867 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 7868
4a720484
GM
78692011-05-19 Glenn Morris <rgm@gnu.org>
7870
d1f21341
GM
7871 * progmodes/f90.el (f90-type-def-re):
7872 Handle "type, bind(c)". (Bug#8691)
7873
4a720484
GM
7874 * emacs-lisp/autoload.el (batch-update-autoloads):
7875 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7876
2fb0a219
MA
78772011-05-18 Michael Albinus <michael.albinus@gmx.de>
7878
7879 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7880 property for the correct connection in case of multihops.
7881
e565dd37
GM
78822011-05-18 Glenn Morris <rgm@gnu.org>
7883
c2571358 7884 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
7885 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7886
e565dd37
GM
7887 Rationalize calendar handling of day and month abbrev-arrays.
7888 * calendar/calendar.el (calendar-customized-p): New function.
7889 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7890 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7891 Add :set function.
7892 (calendar-abbrev-length, calendar-day-abbrev-array)
7893 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7894 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7895 Elements may no longer be nil.
7896 (calendar-day-name, calendar-month-name):
7897 Update for changed nature of abbrev arrays.
7898 * calendar/diary-lib.el (diary-name-pattern):
7899 Update for changed nature of abbrev arrays.
7900 (diary-mark-entries-1): Update calendar-make-alist calls.
7901 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7902 * calendar/cal-html.el (cal-html-day-abbrev-array):
7903 Simply inherit from calendar-day-abbrev-array.
7904
1d99a745
SM
79052011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7906
7907 * progmodes/grep.el (grep-mode): Disable default
7908 compilation-directory-matcher setting (bug#8684).
7909
7c1d9aa0
MA
79102011-05-17 Michael Albinus <michael.albinus@gmx.de>
7911
7912 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7913 instead of "head" and "tail". There were problems with SunOS 5.9,
7914 and it performs better.
7915
3952e9d8
GM
79162011-05-17 Glenn Morris <rgm@gnu.org>
7917
2dd12e7f
GM
7918 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7919
e4157b9c
GM
7920 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7921 Replace obsolete function.
7922
8e249bbd
GM
7923 * shell.el (pcomplete-parse-arguments-function): Declare.
7924
3952e9d8
GM
7925 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7926 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7927 (appt-check): Doc fixes.
7928 (appt-disp-window-function, appt-delete-window-function):
7929 Remove needless special case in custom :type.
7930 (appt-display-count): Default to 0, not nil.
7931 (appt-check): Reset appt-display-count to 0, not nil.
7932
c71a0d48 79332011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 7934
c71a0d48
GM
7935 * progmodes/python.el (python-font-lock-keywords):
7936 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 7937
31d55be9
SM
79382011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7939
7940 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7941
3bfacb2f
KR
79422011-05-16 Kevin Ryde <user42@zip.com.au>
7943
7944 * info-look.el (makefile-automake-mode): New setups, looking in
7945 automake manual, then makefile-mode.
7946 (makefile-mode): Remove automake manual, have it just in
7947 makefile-automake-mode since there's various things different or
7948 not relevant to plain make.
7949 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7950 believe a hypothetical automake-mode would go to makefile-mode,
7951 not the other way around.
7952
c8e83751
CY
79532011-05-15 Chong Yidong <cyd@stupidchicken.com>
7954
5e9e35cd
CY
7955 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7956 hunk-end tags (Bug#8672).
7957
c8e83751
CY
7958 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7959 vc-annotate-show-diff-revision-at-line (Bug#8671).
7960
50b23e5a
GM
79612011-05-14 Glenn Morris <rgm@gnu.org>
7962
7210a739
GM
7963 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7964 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7965 (change-log-font-lock-keywords): Also handle multiple author lines
7966 with leading tabs. (Bug#8644)
7210a739 7967
4691905a
GM
7968 * calendar/appt.el (appt-check): Rename some local variables.
7969 Some simplification/reordering.
7970
50b23e5a
GM
7971 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7972 (feedmail-sendmail-f-doesnt-sell-me-out)
7973 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7974 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7975 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7976 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7977 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7978 (feedmail-binmail-gnulinuxish-template):
7979 Rename from feedmail-binmail-linuxish-template.
7980 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7981 Use insert-buffer-substring.
7982
215cda7c
BC
79832011-05-14 Bill Carpenter <bill@carpenter.org>
7984
7985 * mail/feedmail.el (feedmail-patch-level): Increase.
7986 (feedmail-debug): New custom group.
7987 (feedmail-confirm-outgoing-timeout)
7988 (feedmail-sendmail-f-doesnt-sell-me-out)
7989 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7990 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7991 (feedmail-sender-line, feedmail-from-line)
7992 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7993 (feedmail-spray-this-address)
215cda7c
BC
7994 (feedmail-spray-address-fiddle-plex-list)
7995 (feedmail-queue-use-send-time-for-date)
7996 (feedmail-queue-use-send-time-for-message-id)
7997 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7998 (feedmail-buffer-eating-function):
7999 Doc fixes.
8000 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8001 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8002 (feedmail-message-action-scroll-down): New functions.
8003 (feedmail-queue-directory, feedmail-queue-draft-directory):
8004 Use expand-file-name.
8005 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8006 Remove C-v help entry.
8007 (feedmail-queue-buffer-file-name): New variable.
8008 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8009 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8010 (feedmail-message-action-send-strong, feedmail-message-action-edit)
8011 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8012 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8013 (feedmail-message-action-toggle-spray)
8014 (feedmail-run-the-queue-no-prompts)
8015 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8016 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8017 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8018 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8019 (feedmail-envelope-deducer, feedmail-fiddle-from)
8020 (feedmail-fiddle-sender, feedmail-default-date-generator)
8021 (feedmail-fiddle-date, feedmail-fiddle-message-id)
8022 (feedmail-fiddle-spray-address)
8023 (feedmail-fiddle-list-of-spray-fiddle-plexes)
8024 (feedmail-fiddle-list-of-fiddle-plexes)
8025 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8026 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8027 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8028 Change default. Doc fix.
8029 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8030 (feedmail-binmail-linuxish-template): New constant.
8031 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
8032 Respect feedmail-sendmail-f-doesnt-sell-me-out.
8033 (feedmail-send-it): Add debug call.
8034 Use feedmail-queue-buffer-file-name, and
8035 feedmail-send-it-immediately-wrapper.
8036 (feedmail-message-action-send): Add debug call.
8037 Use feedmail-send-it-immediately-wrapper.
8038 (feedmail-queue-express-to-queue): Add debug call.
8039 Run feedmail-queue-express-hook.
8040 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
8041 (feedmail-message-action-help-blat):
8042 Rename from feedmail-queue-send-edit-prompt-help-first.
8043 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
8044 Check line-endings. Handle errors better.
8045 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
8046 Doc fix. Add debug call.
8047 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
8048 Use feedmail-queue-send-edit-prompt-inner.
8049 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
8050 (feedmail-queue-send-edit-prompt-inner): New function, extracted
8051 from feedmail-queue-send-edit-prompt.
8052 (feedmail-queue-send-edit-prompt-help)
8053 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
8054 (feedmail-tidy-up-slug): Add debug call.
8055 Respect feedmail-queue-slug-suspect-regexp.
8056 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
8057 (feedmail-dump-message-to-queue): Add debug call.
8058 Expand queue-directory.
8059 (feedmail-dump-message-to-queue): Change message slightly.
8060 Use feedmail-say-chatter.
8061 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
8062 (feedmail-send-it-immediately-wrapper): New function.
8063 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
8064 Insert empty string rather than newline. Handle full-frame case.
8065 Use catch/throw. Use feedmail-say-chatter.
8066 (feedmail-fiddle-from): Try mail-host-address.
8067 (feedmail-default-message-id-generator): Doc fix.
8068 Bind system-time-locale. Handle missing end.
8069 (feedmail-fiddle-x-mailer): Add debug call.
8070 Handle feedmail-x-mailer-line being nil.
8071 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
8072 Add debug call. Use buffer-substring-no-properties.
8073 (feedmail-say-debug, feedmail-say-chatter): New functions.
8074 (feedmail-find-eoh): Give an explicit error.
8075
42c7e61e
UJ
80762011-05-13 Ulf Jasper <ulf.jasper@web.de>
8077
c2571358 8078 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 8079 family from helvetica to sans.
c2571358 8080 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
8081 etc/images/newsticker.
8082
c2571358 8083 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
8084 family from helvetica to sans.
8085
8086 * net/newst-plainview.el (newsticker-new-item-face)
8087 (newsticker-old-item-face, newsticker-immortal-item-face)
8088 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 8089 (newsticker-statistics-face): Change default family from
42c7e61e 8090 helvetica to sans.
c2571358 8091 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
8092 etc/images/newsticker.
8093
8094 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
8095 (newsticker--process-auto-mark-filter-match): : Tell user about
8096 auto-marking.
8097
8497a297
DV
80982011-05-13 Didier Verna <didier@xemacs.org>
8099
8100 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
8101 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
8102 TODO entries.
8497a297
DV
8103 (lisp-lambda-list-keyword-parameter-indentation)
8104 (lisp-lambda-list-keyword-parameter-alignment)
8105 (lisp-lambda-list-keyword-alignment): New customizable user options.
8106 (lisp-indent-defun-method): Improve docstring.
8107 (extended-loop-p): Fix comment.
8108 (lisp-indent-lambda-list-keywords-regexp): New variable.
8109 (lisp-indent-lambda-list): New function.
8110 (lisp-indent-259): Use it.
8111 (lisp-indent-defmethod): Support for more than one
8112 method qualifier and properly indent methods lambda-lists.
8113 (defgeneric): Provide a missing common-lisp-indent-function property.
8114
f278f87f
SM
81152011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8116
8117 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
8118 bounds for the empty string (bug#8667).
8119
5233edd7
GM
81202011-05-13 Glenn Morris <rgm@gnu.org>
8121
5237a44f
GM
8122 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
8123
8340026c 8124 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 8125 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 8126
5233edd7 8127 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 8128 (appt-time-msg-list): Doc fix.
a5464014 8129 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 8130
92d10796
AS
81312011-05-12 Andreas Schwab <schwab@linux-m68k.org>
8132
8133 * progmodes/ld-script.el (ld-script-keywords)
8134 (ld-script-builtins): Update keywords list.
8135
914a0ae1
SM
81362011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8137
c89be45f
SM
8138 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
8139
914a0ae1
SM
8140 * shell.el (shell-completion-vars): New function.
8141 (shell-mode):
8142 * simple.el (read-shell-command): Use it.
8143 (blink-matching-open): No need for " [...]" in minibuffer-message.
8144
98dc3df3
GM
81452011-05-12 Glenn Morris <rgm@gnu.org>
8146
8147 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
8148 (appt-check): Simplify.
8149
d2fc7e3d 81502011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 8151
4d61f28d 8152 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
8153 literal "/dev/null".
8154
d2fc7e3d 81552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
8156
8157 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
8158 Fix typo.
8159
d2fc7e3d 81602011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 8161
3f254caa
SM
8162 * progmodes/which-func.el (which-function):
8163 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
8164 which might not be defined (Bug#8260).
8165
d45885f7
GM
81662011-05-12 Glenn Morris <rgm@gnu.org>
8167
8168 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
8169 Let byte-compile-initial-macro-environment always take precedence.
8170
488086f4
SM
81712011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8172
8173 * net/rcirc.el: Add support for SSL/TLS connections.
8174 (rcirc-server-alist): New field `encryption'.
8175 (rcirc): Check `encryption' settings.
8176 (rcirc-connect): New arg `encryption'. Use open-network-stream.
8177 Merge make-local-variable into `set'.
8178 (rcirc--connection-open-p): New function.
8179 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
8180 the process is not a network process (e.g. running gnutls-cli).
8181 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
8182 Make rcirc-(en|de)code-coding-system local here.
8183 (rcirc-mode): Merge make-local-variable into `set'.
8184 (rcirc-parent-buffer): Make permanent buffer-local.
8185 (rcirc-multiline-minor-mode): Don't do it here.
8186 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
8187 there's no server buffer.
8188
7d3b9d44
GM
81892011-05-11 Glenn Morris <rgm@gnu.org>
8190
f64049c6
GM
8191 * newcomment.el (comment-kill): Prefix "unused" local.
8192
93c9df73
GM
8193 * term/w32console.el (get-screen-color): Declare.
8194
7d3b9d44
GM
8195 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8196 Handle symbol elements of byte-compile-initial-macro-environment.
8197
9e2dd53f
LL
81982011-05-10 Leo Liu <sdl.web@gmail.com>
8199
488086f4
SM
8200 * bookmark.el (bookmark-bmenu-mode-map):
8201 Bind bookmark-bmenu-search to `/'.
8b340240 8202
9e2dd53f 8203 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
8204 (footnote-unicode-string, footnote-unicode-regexp): New variable.
8205 (Footnote-unicode): New function.
8206 (footnote-style-alist): Add unicode style to the list.
8207 (footnote-style): Doc fix.
9e2dd53f 8208
79b70037
GM
82092011-05-10 Jim Meyering <meyering@redhat.com>
8210
8211 Fix doubled-word typos.
8212 * international/quail.el (quail-insert-kbd-layout): and and -> and
8213 * kermit.el: and and -> and
8214 * net/ldap.el (ldap-search-internal): to to -> to
8215 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
8216 * progmodes/js.el (js-mode): and and -> and
8217 * textmodes/artist.el (artist-move-to-xy): at at -> at
8218 (artist-draw-region-trim-line-endings): if if -> if
8219 And Safetyc -> Safety.
8220 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
8221
b8f82dc1 82222011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 8223 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
8224
8225 * files.el (hack-one-local-variable-eval-safep):
8226 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
8227
4f99f44b
GM
82282011-05-10 Glenn Morris <rgm@gnu.org>
8229
8230 * calendar/diary-lib.el (diary-list-entries-hook)
8231 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
8232 (diary-nongregorian-marking-hook, diary-list-entries)
8233 (diary-include-other-diary-files, diary-mark-entries)
8234 (diary-mark-included-diary-files): Doc fixes.
8235
84f29e6b
JB
82362011-05-09 Juanma Barranquero <lekktu@gmail.com>
8237
8238 * misc.el: Require tabulated-list.el during compilation.
8239
9bedd73a
CY
82402011-05-09 Chong Yidong <cyd@stupidchicken.com>
8241
488086f4
SM
8242 * progmodes/compile.el (compilation-start):
8243 Run compilation-filter-hook for the async case too.
9bedd73a
CY
8244 (compilation-filter-hook): Doc fix.
8245
797c735c
DD
82462011-05-09 Deniz Dogan <deniz@dogan.se>
8247
8248 * wdired.el: Remove outdated installation comment. Fix usage
8249 comment.
8250
5f4b1dfe
JB
82512011-05-09 Juanma Barranquero <lekktu@gmail.com>
8252
8253 * misc.el: Implement new command `list-dynamic-libraries'.
8254 (list-dynamic-libraries--loaded-only-p): New variable.
8255 (list-dynamic-libraries--refresh): New function.
8256 (list-dynamic-libraries): New command.
8257
4c44026c
CY
82582011-05-09 Chong Yidong <cyd@stupidchicken.com>
8259
488086f4
SM
8260 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8261 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
8262 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
8263 higher priority to avoid clobbering by gnu.
8264
027f966d
CY
82652011-05-08 Chong Yidong <cyd@stupidchicken.com>
8266
8267 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
8268 if the face has existing theme settings (Bug#8454).
8269
085f5d7d
CY
82702011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
8271
488086f4
SM
8272 * progmodes/perl-mode.el (perl-imenu-generic-expression):
8273 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 8274
2a86a00c
RS
8275 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
8276 special file names `.' and `..' (Bug#8259).
8277
d9c54a06
CY
82782011-05-08 Chong Yidong <cyd@stupidchicken.com>
8279
488086f4
SM
8280 * progmodes/grep.el (grep-mode-font-lock-keywords):
8281 Remove buffer-changing entries.
d9c54a06
CY
8282 (grep-filter): New function.
8283 (grep-mode): Add it to compilation-filter-hook.
8284
8285 * progmodes/compile.el (compilation-filter-hook)
8286 (compilation-filter-start): New defvars.
8287 (compilation-filter): Call compilation-filter-hook prior to
8288 updating the process mark.
8289
c4662635
SM
82902011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8291
8292 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
8293
b0512a1d
EZ
82942011-05-07 Eli Zaretskii <eliz@gnu.org>
8295
605c9376
EZ
8296 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
8297 mailclient-send-it even if window-system is nil. (Bug#8595)
8298
c4662635
SM
8299 * term/w32console.el (terminal-init-w32console):
8300 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
8301 background-mode. (Bug#8597)
8302
d1dc2cc2
SM
83032011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8304
8305 Make bytecomp.el understand that defmethod defines funs (bug#8631).
8306 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
8307 New functions.
8308 (defgeneric, eieio--defmethod): Use them.
8309 (eieio-defgeneric): Remove.
8310 (defmethod): Call defgeneric in a way visible to the byte-compiler.
8311
915d1300
GM
83122011-05-07 Glenn Morris <rgm@gnu.org>
8313
a3961c3e
GM
8314 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
8315 Use let rather than let*.
8316 (timeclock-find-discrep): Remove unused local.
8317
314347b9
GM
8318 * calendar/diary-lib.el (diary-comment-start): Doc fix.
8319
915d1300
GM
8320 * calendar/appt.el (appt-time-msg-list): Doc fix.
8321
275b59b0
NF
83222011-05-06 Noah Friedman <friedman@splode.com>
8323
8324 * apropos.el (apropos-print-doc): Only use
8325 emacs-lisp-docstring-fill-column when it is bound to an integer,
8326 per that variable's documentation.
8327
6c19f744
SM
83282011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8329
8330 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 8331 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 8332
60f884b2
GM
83332011-05-06 Glenn Morris <rgm@gnu.org>
8334
5006e634
GM
8335 * calendar/appt.el (appt-message-warning-time): Doc fix.
8336 (appt-warning-time-regexp): New option.
8337 (appt-make-list): Respect appt-message-warning-time.
8338
548d0a63
GM
8339 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
8340 New options.
8341 (diary-add-to-list): Strip comments from the displayed string.
8342 (diary-mode): Set comment-start and comment-end.
8343
60f884b2
GM
8344 * vc/diff-mode.el (smerge-refine-subst): Declare.
8345 (diff-refine-hunk): Don't require smerge-mode when compiling.
8346
989681bb
JB
83472011-05-06 Juanma Barranquero <lekktu@gmail.com>
8348
8349 * simple.el (list-processes): Return nil as the docstring says.
8350
a6bc05e1
MA
83512011-05-05 Michael Albinus <michael.albinus@gmx.de>
8352
8353 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
8354 to "".
8355 (ange-ftp-write-region, ange-ftp-insert-file-contents)
8356 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
8357 determining of binary transfer. (Bug#7383)
8358
23c22e9a
MA
83592011-05-05 Michael Albinus <michael.albinus@gmx.de>
8360
c4662635
SM
8361 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8362 Fix port computation bug. (Bug#8618)
23c22e9a 8363
0bff894f
GM
83642011-05-05 Glenn Morris <rgm@gnu.org>
8365
b8296902
GM
8366 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
8367
1f522ce8
GM
8368 * simple.el (shell-dynamic-complete-functions)
8369 (comint-dynamic-complete-functions): Declare.
8370
cf5bee67
GM
8371 * net/network-stream.el (gnutls-negotiate):
8372 * simple.el (tabulated-list-print): Fix declarations.
8373
8374 * progmodes/gud.el (syntax-symbol, syntax-point):
8375 Remove unnecessary and incorrect declarations.
8376
0bff894f
GM
8377 * emacs-lisp/check-declare.el (check-declare-scan):
8378 Handle byte-compile-initial-macro-environment in bytecomp.el
8379
9869b3ae
SM
83802011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 Fix earlier half-done eieio-defmethod change (bug#8338).
8383 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
8384 Streamline and change calling convention.
8385 (defmethod): Adjust accordingly and simplify.
8386 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
8387 new eieio--defmethod.
8388 (slot-boundp): Minor CSE simplification.
8389
9c1d5ac5
MZ
83902011-05-05 Milan Zamazal <pdm@zamazal.org>
8391
8392 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
8393 (glasses-make-readable): Use glasses-separate-capital-groups.
8394
455c834e
JB
83952011-05-05 Juanma Barranquero <lekktu@gmail.com>
8396
8397 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
8398 (warning-series): Doc fix.
8399 (display-warning): Don't try to create the buffer if we just found it.
8400
9ed7c8cb
CY
84012011-05-04 Chong Yidong <cyd@stupidchicken.com>
8402
8403 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
8404 (autoload-find-generated-file): New function.
8405 (generate-file-autoloads): Bind generated-autoload-file to
8406 buffer-file-name.
9869b3ae
SM
8407 (update-file-autoloads, update-directory-autoloads):
8408 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
8409 output file (Bug#7989).
8410 (batch-update-autoloads): Doc fix.
8411
0898ca10
JB
84122011-05-04 Juanma Barranquero <lekktu@gmail.com>
8413
8414 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
8415
31dfb76c
GM
84162011-05-04 Glenn Morris <rgm@gnu.org>
8417
f330b642
GM
8418 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
8419 function, so it follows changes in calendar-date-style.
8420 (diary-fancy-date-matcher): New function.
8421 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
8422 (diary-fancy-font-lock-fontify-region-function):
8423 Use diary-fancy-date-pattern as a function.
8424
31dfb76c
GM
8425 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
8426 non-numbers for `year' etc pseudo-variables. (Bug#8583)
8427
48e79d6a
TZ
84282011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
8429
8430 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
8431 instead of positional arguments. Allow :keylist and :crlfiles
8432 arguments.
8433 (open-gnutls-stream): Call it.
8434
8435 * net/network-stream.el (network-stream-open-starttls): Adjust to
8436 call `gnutls-negotiate' with :process and :hostname arguments.
8437
dd5a5ee0
SM
84382011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8439
ef80fc09
SM
8440 * minibuffer.el (completion--message): New function.
8441 (completion--do-completion, minibuffer-complete)
8442 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8443 (completion--do-completion): Don't ignore completion-auto-help when in
8444 icomplete-mode.
8445
dd5a5ee0
SM
8446 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8447 internal encoding (e.g. tibetan zero is not whitespace).
8448 (global-whitespace-mode): Prefer save-current-buffer.
8449 (whitespace-trailing-regexp): Remove useless save-match-data.
8450 (whitespace-empty-at-bob-regexp): Minor simplification.
8451
b7d22a83
CY
84522011-05-03 Chong Yidong <cyd@stupidchicken.com>
8453
8454 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8455
5192af46
AM
84562011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8457
8458 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 8459 Use `concat' to create string for insertion.
5192af46 8460
5767d190
SM
84612011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8464 Avoid open-line which runs post-self-insert-hook.
8465 (bibtex-fill-entry): Remove unused `end' var.
8466
bf242939
AM
84672011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8468
5767d190
SM
8469 * textmodes/ispell.el (ispell-add-per-file-word-list):
8470 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 8471
25666126
LL
84722011-05-03 Leo Liu <sdl.web@gmail.com>
8473
8474 * isearch.el (isearch-yank-pop): New command.
5767d190 8475 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
8476 (isearch-forward): Mention it.
8477
52d3c2d0
SM
84782011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8479
1bcace58
SM
8480 * simple.el (minibuffer-complete-shell-command): Remove.
8481 (minibuffer-local-shell-command-map): Use completion-at-point.
8482 (read-shell-command): Setup completion vars here instead.
8483 (read-expression-map): Bind TAB to symbol completion.
8484
52d3c2d0
SM
8485 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8486 error directly rather via storing it into `results'.
8487
35813471
LL
84882011-05-02 Leo Liu <sdl.web@gmail.com>
8489
8490 * vc/diff.el: Fix description.
8491
e793a940
LMI
84922011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8493
8494 * server.el (server-eval-at): New function.
8495
8de66e05
LMI
84962011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8497
8498 * net/network-stream.el (open-network-stream): Take a :nowait
8499 parameter and pass it on to `make-network-process'.
8500 (network-stream-open-plain): Ditto.
8501
dcb79f20
AS
85022011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8503
8504 * faces.el (face-spec-set-match-display): Don't match toolkit
8505 options on terminal frames.
8506
14a7fbd8
SM
85072011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8508
7eabc1be
SM
8509 * progmodes/pascal.el: Use lexical binding.
8510 (pascal-mode-map): Remove author preferences.
8511
14a7fbd8
SM
8512 * pcomplete.el (pcomplete-std-complete): Don't abuse
8513 completion-at-point.
8514
50f84510
JB
85152011-04-28 Juanma Barranquero <lekktu@gmail.com>
8516
6e087a44
JB
8517 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8518 removing code that has been dead since 1991 or so.
8519
50f84510
JB
8520 * startup.el (command-line): When warning about "_emacs", use a
8521 delayed warning to allow the user to filter it out.
8522
0ba690bd
DD
85232011-04-28 Deniz Dogan <deniz@dogan.se>
8524
8525 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8526 user has not joined.
8527
08abfaad
SM
85282011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8529
8530 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8531 aren't any completions at point.
8532
638f053a
JB
85332011-04-28 Juanma Barranquero <lekktu@gmail.com>
8534
8535 * subr.el (display-delayed-warnings): New function.
8536 (delayed-warnings-hook): New variable.
8537
8fff8daa
SM
85382011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8539
08abfaad
SM
8540 * minibuffer.el (completion-at-point, completion-help-at-point):
8541 Don't presume that a given completion-at-point-function will always
8542 use the same calling convention.
8543
8fff8daa
SM
8544 * pcomplete.el (pcomplete-completions-at-point):
8545 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8546 pcomplete-seen is non-nil.
8547 (pcomplete-comint-setup): Also recognize the new comint/shell
8548 completion functions.
8549 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8550 pcomplete-seen is non-nil.
8551
841a1577 85522011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 8553
841a1577 8554 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 8555 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 8556 the first character in the entry. This allows for code to add its
211ec907
UJ
8557 own uid to the entry.
8558 (icalendar--convert-float-to-ical): Add export of
8559 `diary-float'-entries save for those with the optional DAY
8560 argument.
8561
2a782793
DC
85622011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8563
8564 * subr.el (shell-quote-argument): Use alternate escaping strategy
8565 when we spot a variable reference in a string.
8566
0438ce91
DC
85672011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8568
8569 * cus-start.el (all): Define customization for debug-on-event.
8570
841a1577 85712011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
8572
8573 * subr.el (shell-quote-argument): Escape correctly under Windows.
8574
d090ed6c
SM
85752011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8576
8577 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8578
bfd31217
MA
85792011-04-25 Michael Albinus <michael.albinus@gmx.de>
8580
d090ed6c
SM
8581 * net/tramp.el (tramp-process-actions): Add POS argument.
8582 Delete region between POS and (pos).
bfd31217 8583
d090ed6c
SM
8584 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8585 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
8586 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8587
8588 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8589 position in `tramp-process-actions' call.
8590
8591 * net/trampver.el: Update release number.
8592
e92f3bd3
SM
85932011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8594
850256b5
SM
8595 * custom.el (defcustom): Obey lexical-binding.
8596
e92f3bd3
SM
8597 Fix octave-inf completion problems reported by Alexander Klimov.
8598 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8599 Inherit from octave-mode-syntax-table.
8600 (inferior-octave-mode): Set info-lookup-mode.
8601 (inferior-octave-completion-at-point): New function.
8602 (inferior-octave-complete): Use it and completion-in-region.
8603 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8604 comint-filename-completion.
8605 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8606 symbol elements which shouldn't be word elements.
8607 (octave-font-lock-keywords, octave-beginning-of-defun)
8608 (octave-function-header-regexp): Adjust regexps accordingly.
8609 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8610
cd22b309
JB
86112011-04-25 Juanma Barranquero <lekktu@gmail.com>
8612
8613 * net/gnutls.el (gnutls-errorp): Declare before first use.
8614
8b492194
TZ
86152011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8616
8617 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8618 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 8619 default trustfile exists before going to use it. Add missing
5a5fa834 8620 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
8621 Reported by Claudio Bley <claudio.bley@gmail.com>.
8622 (open-gnutls-stream): Add usage example.
8623
8624 * net/network-stream.el (network-stream-open-starttls): Give host
8625 parameter to `gnutls-negotiate'.
8626 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 8627 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 8628
841a1577 86292011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 8630
cd22b309
JB
8631 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8632 Use correct match group (bug#8438).
05842630 8633
3ba7869c
CY
86342011-04-24 Chong Yidong <cyd@stupidchicken.com>
8635
512e3ae1
CY
8636 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8637 (package-menu--generate): New arg specifying packages to show.
8638 (package-menu-refresh, package-menu-execute, list-packages):
8639 Callers changed.
8640 (package-show-package-list): New function, replacing deleted
8641 package--list-packages (renamed because it is non-internal).
8642
8643 * finder.el (finder-list-matches): Use package-show-package-list
8644 instead of deleted package--list-packages.
8645
e92f3bd3
SM
8646 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8647 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
8648 (vc-annotate-mode-map): Bind it to RET.
8649
7031be6d
UR
86502011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8651
8652 * progmodes/etags.el (next-file): Don't use set-buffer to change
8653 buffers (Bug#8478).
8654
4ef177aa
CY
86552011-04-24 Chong Yidong <cyd@stupidchicken.com>
8656
c8d173eb
CY
8657 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8658
4ef177aa
CY
8659 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8660 (apropos-accumulator): Doc fix.
8661 (apropos-function, apropos-macro, apropos-command)
8662 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8663 (apropos-plist): Add face property.
8664 (apropos-symbols-internal): Fix indentation.
8665 (apropos-print): Simplify help, and recognize apropos-multi-type.
8666 (apropos-print-doc): Use button-type-get to extract the button's
8667 face property. Fill docstring (Bug#8352).
8668
4ffd0d6b 86692011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
8670
8671 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8672
c6c32125 8673 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 8674 (mpuz-mode-map): Use mapc.
c6c32125
JB
8675 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8676 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8677 Fix typos in docstrings.
8678
58d468b4
JB
8679 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8680 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8681
6470c3c6
JB
8682 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8683
4ffd0d6b 86842011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
8685
8686 * minibuffer.el (completion--do-completion): Avoid the "Next char
8687 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8688
3ad8bad0
CY
8689 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8690 mouse-2 into unread-command-events, it is interpreted correctly.
8691
71d73c9c 8692 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 8693 (image-toggle-display): Doc fix.
71d73c9c 8694
841a1577 86952011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 8696
4ffd0d6b
GM
8697 * textmodes/page.el (what-page): Use line-number-at-pos to
8698 calculate line number (Bug#6825).
6e1dbaa9 8699
c2fb1b60
JB
87002011-04-22 Juanma Barranquero <lekktu@gmail.com>
8701
8702 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8703 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8704 Pass argument NO-DEFAULT to `find-tag-interactive'.
8705
e02f48d7
JB
87062011-04-22 Juanma Barranquero <lekktu@gmail.com>
8707
8708 Lexical-binding cleanup.
8709
8710 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8711 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8712 * progmodes/ada-prj.el (ada-prj-initialize-values)
8713 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8714 (ada-prj-show-value):
8715 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8716 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8717 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8718 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8719 * progmodes/bug-reference.el (bug-reference-push-button):
8720 * progmodes/fortran.el (fortran-line-length):
8721 * progmodes/glasses.el (glasses-change):
8722 * progmodes/octave-mod.el (octave-fill-paragraph):
8723 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8724 (python-pdbtrack-grub-for-buffer, python-sentinel):
8725 * progmodes/sql.el (sql-save-connection):
8726 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8727 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8728 Mark unused parameters.
8729
8730 * progmodes/compile.el (compilation--flush-directory-cache)
8731 (compilation--flush-parse, compile-internal): Mark unused parameters.
8732 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8733 (compilation-next-error-function): Remove unused variable `timestamp'.
8734
8735 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8736 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8737
8738 * progmodes/dcl-mode.el (dcl-end-of-command):
8739 Remove unused variable `start'.
8740 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8741 (dcl-option-value-basic, dcl-option-value-offset)
8742 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8743 Mark unused parameters.
8744 (dcl-save-local-variable): Remove unused variable `val'.
8745 (mode): Declare.
8746
8747 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8748 Mark unused parameters.
8749 (delphi-ignore-changes): Move before first use.
8750 (delphi-charset-token-at): Remove unused variable `start'.
8751 (delphi-else-start): Remove unused variable `if-count'.
8752 (delphi-comment-block-start, delphi-comment-block-end):
8753 Remove unused variable `kind'.
8754 (delphi-indent-line): Remove unused variable `new-point'.
8755
8756 * progmodes/ebrowse.el (ebrowse-files-list)
8757 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8758 Mark unused parameters. Don't quote `lambda'.
8759 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8760 Don't quote `lambda'.
8761 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8762 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8763 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8764 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8765 Use `ignore-errors'.
8766 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8767 (ebrowse-view/find-file-and-search-pattern)
8768 (ebrowse-view/find-member-declaration/definition):
8769 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8770 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8771 Rename parameter PREFIX-ARG to PREFIX.
8772 (ebrowse-tags-read-name): Remove unused variables `start' and
8773 `member-info'.
8774 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8775 to `tags-file'.
8776
8777 * progmodes/etags.el (local-find-tag-hook): Declare.
8778 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8779 Mark unused parameters.
8780
8781 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8782 (executable-interpret): Mark unused parameter.
8783
8784 * progmodes/flymake.el (flymake-process-sentinel)
8785 (flymake-after-change-function)
8786 (flymake-create-temp-with-folder-structure)
8787 (flymake-get-include-dirs-dot): Mark unused parameters.
8788 (flymake-safe-delete-directory): Remove unused variable `err'.
8789
8790 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8791 (speedbar-timer-fn, speedbar-line-text)
8792 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8793 (speedbar-center-buffer-smartly): Declare functions.
8794 (gdb-find-watch-expression): Remove unused variable `array'.
8795 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8796 (gdb-starting): Mark unused parameters.
8797 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8798 (gdb-table-string): Remove unused variable `res'.
8799 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8800 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8801 (gdb-display-buffer): Remove unused variable `cur-size'.
8802
8803 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8804 allow lexical-binding compilation.
8805 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8806 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8807 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8808 Mark unused parameters.
8809 (gud-gdb-marker-filter): Remove unused variable `match'.
8810 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8811 lambda expressions and funcall them, instead of using `fset'.
8812
8813 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8814 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8815
8816 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8817 variable `header-beg'; use `let'.
8818
8819 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8820 `restart', `last-sexp' and `at-do'.
8821
8822 * progmodes/js.el (js--debug): Mark unused parameter.
8823 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8824 (js--splice-into-items): Remove unused variable `item'.
8825 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8826
8827 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8828 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8829 (makefile-complete): Remove unused variable `try'.
8830 (makefile-fill-paragraph, makefile-match-function-end):
8831 Mark unused parameters.
8832
8833 * progmodes/octave-inf.el (inferior-octave-complete):
8834 Remove unused variable `proc'.
8835 (inferior-octave-output-digest): Mark unused parameter.
8836
8837 * progmodes/perl-mode.el (perl-calculate-indent):
8838 Remove unused variable `err'.
8839
8840 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8841 (prolog-indent-line): Mark unused parameters.
8842 (prolog-indent-line): Remove unused variable `beg'.
8843
8844 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8845 (reporter-dont-compact-list): Declare.
8846
8847 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8848 Remove unused variable `char'.
8849 (sh-debug): Mark unused parameter.
8850 (sh-get-indent-info): Remove unused variable `start'.
8851 (sh-calculate-indent): Remove unused variable `var'.
8852
8853 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8854 (simula-electric-keyword): Remove unused variable `null'.
8855 (simula-search-backward, simula-search-forward): Remove unused
8856 variables `begin' and `end'.
8857
8858 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8859 Remove unused variable `pos'.
8860 (vera-electric-tab, vera-comment-uncomment-region):
8861 Mark unused parameters.
8862 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8863
7ede3b65
CY
88642011-04-22 Chong Yidong <cyd@stupidchicken.com>
8865
8866 * emacs-lisp/package.el (package--builtins, package-alist)
8867 (package-load-descriptor, package-built-in-p, package-activate)
8868 (define-package, package-installed-p)
8869 (package-compute-transaction, package-buffer-info)
8870 (package--push): Doc fix. Distinguish more clearly between
8871 version strings and version lists.
8872
121656e9
JB
88732011-04-21 Juanma Barranquero <lekktu@gmail.com>
8874
8875 Lexical-binding cleanup.
8876
8877 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8878 (5x5-make-mutate-best):
8879 * play/fortune.el (fortune-in-buffer):
8880 * play/gomoku.el (gomoku-init-display):
8881 * play/solitaire.el (solitaire, solitaire-do-check):
8882 * play/tetris.el (tetris-default-update-speed-function):
8883 Mark unused parameters.
8884
8885 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8886 (bubbles--shift): Remove unused variable `char-org'.
8887 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8888 (bubbles--show-images): Remove unused variable `char'.
8889
8890 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8891 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8892 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8893 (decipher-analyze-buffer): Use ?\s.
8894 (decipher-make-checkpoint): Remove unused variable `mapping'.
8895
8896 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8897
8898 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8899 Remove unused variable `result'; use `let'.
8900
8901 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8902 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8903 (gametree-children-shown-p, gametree-compute-reduced-score):
8904 Use `ignore-errors'.
8905
8906 * play/handwrite.el (ps-lpr-switches): Declare.
8907 (handwrite): Remove unused variables `pmin' and `lastp'.
8908
8909 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8910
8911 * play/landmark.el (landmark-init-display)
8912 (landmark-update-naught-weights): Mark unused parameters.
8913 (landmark-y): Remove unused variable `noise'. Simplify.
8914 (landmark-human-plays): Remove unused variable `score'.
8915
8916 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8917 (mpuz-try-proposal): Remove unused variable `game'.
8918
8919 * play/zone.el (life-patterns): Declare.
8920
80f499c7
JB
89212011-04-20 Juanma Barranquero <lekktu@gmail.com>
8922
8923 * vc/vc.el (ediff-vc-internal): Declare function.
8924
024ff170
SM
89252011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8926
c0a193ea
SM
8927 * shell.el: Use lexical-binding and std completion UI.
8928 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8929 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8930 comint-preoutput-filter-functions rather than on
8931 comint-output-filter-functions.
8932 (shell-command-completion, shell--command-completion-data)
8933 (shell-filename-completion, shell-environment-variable-completion)
8934 (shell-c-a-p-replace-by-expanded-directory): New functions.
8935 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8936 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8937 (shell-dynamic-complete-environment-variable): Use them.
8938 (shell-dynamic-complete-as-environment-variable)
8939 (shell-dynamic-complete-as-command): Remove.
8940 (shell-match-partial-variable): Match past point.
8941 * comint.el: Clean up use of completion-at-point-functions.
8942 (comint-completion-at-point): New function.
8943 (comint-mode): Use it completion-at-point-functions.
8944 (comint-dynamic-complete): Make it obsolete.
8945 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8946 (comint-c-a-p-replace-by-expanded-history): New function.
8947 (comint-dynamic-complete-functions)
8948 (comint-replace-by-expanded-history): Use it.
8949 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8950 termination strings. Try harder to avoid second try-completion.
8951 (completion-in-region-mode-map): Disable bindings that don't work yet.
8952
2dbaa080
SM
8953 * comint.el: Use lexical-binding. Require CL.
8954 (comint-dynamic-complete-functions): Use comint-filename-completion.
8955 (comint-completion-addsuffix): Tweak custom type.
8956 (comint-filename-completion, comint--common-suffix)
8957 (comint--common-quoted-suffix, comint--table-subvert)
8958 (comint--complete-file-name-data): New functions.
8959 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8960 (comint-dynamic-list-filename-completions): Use them.
8961 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8962
2dbaa080
SM
8963 * minibuffer.el (completion-in-region-mode):
8964 Keep completion-in-region-mode--predicate global.
8965 (completion-in-region--postch):
8966 Assume completion-in-region-mode--predicate is not null.
8967
c79a6f38
SM
8968 * progmodes/flymake.el (flymake-start-syntax-check-process):
8969 Obey `dir'. Simplify.
8970
024ff170
SM
8971 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8972 we're in VC after all.
8973
1c6c854e
CS
89742011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8975
8976 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8977 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8978 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8979
bed7f140
SM
89802011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8981
332e62ab
SM
8982 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8983 add sanity check.
8984
bed7f140
SM
8985 * obsolete/erc-hecomplete.el: Make obsolete.
8986 * obsolete/: Standardize obsolescence info in the header.
8987
f195c582
GM
89882011-04-20 Glenn Morris <rgm@gnu.org>
8989
8990 * calendar/solar.el (solar-horizontal-coordinates):
8991 Use the longitude argument rather than `calendar-longitude'.
8992 (solar-date-next-longitude): Remove unused locals.
8993
cb79b8c0
VJL
89942011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8995
8996 * whitespace.el: New version 13.2.1.
8997
89982011-04-20 felix <EmacsWiki> (tiny change)
8999
d8e4b68b 9000 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
9001 switching between major modes on a file.
9002
602ea69d
SM
90032011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9004
9005 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9006 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9007 multi-line comments as well.
9008
06b60517
JB
90092011-04-19 Juanma Barranquero <lekktu@gmail.com>
9010
9011 Lexical-binding cleanup.
9012
9013 * arc-mode.el (archive-mode-revert):
9014 * cmuscheme.el (scheme-interactively-start-process):
9015 * custom.el (custom-initialize-delay):
9016 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9017 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9018 * emacs-lock.el (emacs-lock-clear-sentinel):
9019 * ezimage.el (defezimage):
9020 * follow.el (follow-avoid-tail-recenter):
9021 * fringe.el (set-fringe-mode-1):
9022 * generic-x.el (bat-generic-mode-compile):
9023 * help-mode.el (help-info-variable, help-do-xref)
9024 (help-mode-revert-buffer):
9025 * help.el (view-emacs-todo):
9026 * iswitchb.el (iswitchb-completion-help):
9027 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9028 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9029 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9030 * locate.el (locate-update):
9031 * longlines.el (longlines-encode-region)
9032 (longlines-after-change-function):
9033 * outline.el (outline-isearch-open-invisible):
9034 * ps-def.el (declare-function, charset-dimension, char-width)
9035 (encode-char):
9036 * ps-mule.el (ps-mule-plot-string):
9037 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9038 (recentf-edit-list-select, recentf-edit-list-validate)
9039 (recentf-open-files-action):
9040 * rect.el (delete-whitespace-rectangle-line)
9041 (rectangle-number-line-callback):
9042 * register.el (window-configuration-to-register)
9043 (frame-configuration-to-register):
9044 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
9045 * select.el (xselect-convert-to-string, xselect-convert-to-length)
9046 (xselect-convert-to-targets, xselect-convert-to-delete)
9047 (xselect-convert-to-filename, xselect-convert-to-charpos)
9048 (xselect-convert-to-lineno, xselect-convert-to-colno)
9049 (xselect-convert-to-os, xselect-convert-to-host)
9050 (xselect-convert-to-user, xselect-convert-to-class)
9051 (xselect-convert-to-name, xselect-convert-to-integer)
9052 (xselect-convert-to-atom, xselect-convert-to-identity):
9053 * subr.el (declare, ignore, process-kill-without-query)
9054 (text-clone-maintain):
9055 * terminal.el (te-get-char, te-tic-sentinel):
9056 * tool-bar.el (tool-bar-make-keymap):
9057 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
9058 * type-break.el (type-break-mode, type-break-noninteractive-query):
9059 * view.el (View-back-to-mark):
9060 * wid-browse.el (widget-browse-action, widget-browse-widget)
9061 (widget-browse-widgets, widget-browse-sexp):
9062 * widget.el (define-widget-keywords):
9063 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
9064 Mark unused parameters.
9065
9066 * align.el (align-adjust-col-for-rule): Mark unused parameter.
9067 (align-areas): Remove unused variable `look'.
9068 (align-region): Remove unused variables `real-end' and `pos-list'.
9069
9070 * apropos.el (apropos-score-doc): Remove unused variable `i'.
9071
9072 * bindings.el (mode-line-modified, mode-line-remote):
9073 Mark unused parameters.
9074 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
9075
9076 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
9077 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
9078
9079 * comint.el (comint-history-isearch-pop-state)
9080 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
9081 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
9082 (comint-substitute-in-file-name): Doc fix.
9083
9084 * completion.el (cmpl-statistics-block): Mark unused parameter.
9085 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
9086 (save-completions-to-file, load-completions-from-file):
9087 Remove unused local variable `e'.
9088
9089 * composite.el (compose-chars): Remove unused variable `len'.
9090 (lgstring-insert-glyph): Remove unused variable `g'.
9091 (compose-glyph-string): Remove unused variables `ascent',
9092 `descent', `lbearing' and `rbearing'.
9093 (compose-glyph-string-relative): Remove unused variables
9094 `lbearing', `rbearing' and `wadjust'.
9095 (compose-gstring-for-graphic): Remove unused variables `header',
9096 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
9097 (compose-gstring-for-terminal): Remove unused variables `header'
9098 and `nchars'. Use `let', not `let*'.
9099
9100 * cus-edit.el (Custom-set, Custom-save, custom-reset)
9101 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
9102 (Custom-buffer-done, custom-buffer-create-internal)
9103 (custom-browse-visibility-action, custom-browse-group-tag-action)
9104 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
9105 (widget-magic-mouse-down-action, custom-toggle-parent)
9106 (custom-add-parent-links, custom-toggle-hide-variable)
9107 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
9108 (custom-toggle-hide-face, face, hook, custom-group-link-action)
9109 (custom-face-menu-create, custom-variable-menu-create, get)
9110 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
9111 (custom-reset-standard-save-and-update): Remove unused variable `value'.
9112 (customize-apropos): Remove unused variable `tests'.
9113 (custom-group-value-create): Remove unused variable `hidden-p'.
9114 (sort-fold-case): Declare.
9115
9116 * cus-theme.el (custom-reset-standard-faces-list)
9117 (custom-reset-standard-variables-list): Declare.
9118 (customize-create-theme, custom-theme-revert, custom-theme-write)
9119 (custom-theme-choose-mode, customize-themes, custom-theme-save):
9120 Mark unused parameters.
9121
9122 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
9123
9124 * delim-col.el (delimit-columns-max): Move defvar before first use.
9125
9126 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 9127 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
9128
9129 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
9130 (auto-insert): Declare.
9131 (desktop-restore-file-buffer): Rename desktop-* parameters;
9132 mark unused ones.
9133 (desktop-create-buffer): Rename desktop-* parameters and bind them.
9134 (desktop-buffer): Rename desktop-* parameters.
9135
9136 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9137 (dframe-reposition-frame-xemacs, dframe-help-echo)
9138 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
9139 Mark unused parameters.
9140
9141 * dired-aux.el (backup-extract-version-start, overwrite-query)
9142 (overwrite-backup-query, rename-regexp-query)
9143 (rename-non-directory-query): Declare.
9144 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
9145 (dired-add-entry): Remove unused variable `orig-file-name'.
9146 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
9147 Use parameter PRESERVE-TIME instead of accessing dynamic variable
9148 `dired-copy-preserve-time' directly.
9149 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
9150 (dired-insert-subdir-newpos): Rename unused variable `pos'.
9151
9152 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
9153 (dired-virtual-revert, dired-make-relative-symlink):
9154 Mark unused parameters.
9155 (manual-program): Declare.
9156 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
9157 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
9158 wrapped in `with-no-warnings' to avoid replacing one warning by another.
9159
9160 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
9161
9162 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
9163
9164 * echistory.el (electric-history-in-progress, Helper-return-blurb):
9165 Declare.
9166
9167 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
9168
9169 * electric.el (Electric-command-loop): Rename parameter
9170 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
9171
9172 * expand.el (expand-in-literal): Remove unused variable `here'.
9173
9174 * facemenu.el (facemenu-add-new-color):
9175 Remove unused variable `docstring'.
9176
9177 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
9178 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
9179 (face-attr-construct): Mark unused parameter. Doc fix.
9180 (read-color): Remove unused variable `hex-string'.
9181
9182 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
9183 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
9184 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
9185 (display-buffer-other-frame): Remove unused variable `old-window'.
9186 (kill-buffer-hook): Declare.
9187 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
9188 Mark unused parameters.
9189 (after-find-file): Pass 1 to `auto-save-mode', not t.
9190
9191 * files-x.el (auto-insert): Declare.
9192 (modify-file-local-variable-prop-line): Remove unused variable `val'.
9193
9194 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 9195 variable `buf'. Mark unused parameter.
06b60517
JB
9196 (find-lisp-insert-directory): Mark unused parameter.
9197
9198 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
9199 (format-encode-region): Remove unused variables `cur-buf' and `result'.
9200 (format-common-tail): Remove, unused.
9201 (format-deannotate-region): Remove unused variable `loc'.
9202 (format-annotate-region): Remove unused variable `p'.
9203 (format-annotate-single-property-change): Remove unused variables
9204 `default' and `tail'.
9205
9206 * forms.el (read-file-filter): Declare.
9207 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
9208
9209 * frame.el (frame-creation-function-alist): Mark unused parameter.
9210 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
9211
9212 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
9213 Remove unused parameters.
9214 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
9215 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
9216
9217 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
9218 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
9219 (hfy-prepare-tag-map): Mark unused parameters.
9220 (htmlfontify-buffer): Use `called-interactively-p'.
9221
9222 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
9223 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
9224 (ibuffer-do-occur): Mark unused parameters.
9225 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
9226 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
9227
9228 * ibuffer.el: Don't quote `lambda'.
9229 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
9230 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
9231 Mark unused parameters.
9232
9233 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
9234 (ido-completing-read): Mark unused parameters.
9235 (ido-copy-current-word): Mark unused parameters;
9236 remove unused variable `name'.
9237 (ido-sort-merged-list): Remove unused parameter `dirs'.
9238
9239 * ielm.el (ielm-input-sender): Mark unused parameter.
9240 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
9241 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
9242 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
9243 `ielm-string' as a dynamic variable accessible from the IELM prompt.
9244 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
9245
9246 * image-dired.el (image-dired-display-thumbs): Remove unused
9247 variables `curr-file' and `count'.
9248 (image-dired-remove-tag): Remove unused variable `start'.
9249 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
9250 variable `curr-file'
9251 (image-dired-rotate-original): Remove unused variable `temp-file'.
9252 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
9253 Remove unused variable `file'.
9254 (image-dired-gallery-generate): Remove unused variable `curr'.
9255 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
9256
9257 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
9258
9259 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
9260
9261 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
9262
9263 * isearch.el (minibuffer-history-symbol): Declare.
9264 (isearch-edit-string): Remove unused variable `err'.
9265 (isearch-message-prefix, isearch-message-suffix):
9266 Mark unused parameters.
9267
9268 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
9269
9270 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
9271
9272 * makesum.el (double-column): Remove unused variable `cnt'.
9273
9274 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
9275 (ido-ignore-item-temp-list): Declare.
9276
9277 * mouse-drag.el (mouse-drag-throw): Remove unused variables
9278 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
9279 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
9280 (mouse-drag-drag): Remove unused variables `mouse-delta' and
9281 `mouse-col-delta'.
9282
9283 * mouse-sel.el (mouse-extend-internal):
9284 Remove unused variable `orig-window-frame'.
9285
9286 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
9287 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
9288 Move declarations before first use.
9289 (pcomplete-opt): Mark unused parameters; doc fix.
9290
9291 * proced.el (proced-revert): Mark unused parameter.
9292 (proced-send-signal): Remove unused variable `err'.
9293
9294 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
9295 Rename parameter PREFIX-ARG to ARG.
9296 (ps-basic-plot-string, ps-basic-plot-whitespace):
9297 Mark unused parameters.
9298
9299 * replace.el (replace-count): Define.
9300 (occur-revert-function): Mark unused parameters.
9301 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
9302 (isearch-case-fold-search, isearch-string): Declare.
9303 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
9304 bind `case-fold-search'. Remove unused variables `beg' and `end',
9305 and simplify.
9306 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
9307 COUNT and bind `replace-count'.
9308 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
9309 to COUNT.
9310
9311 * savehist.el (print-readably, print-string-length): Declare.
9312
9313 * shadowfile.el (shadow-expand-cluster-in-file-name):
9314 Remove unused variable `cluster'.
9315 (shadow-copy-file): Remove unused variable `i'.
9316 (shadow-noquery, shadow-clusters, shadow-site-cluster)
9317 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
9318 (shadow-define-literal-group, shadow-define-regexp-group)
9319 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
9320
9321 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
9322 (shell): Use `called-interactively-p'.
9323 (shell-directory-tracker): Remove unused variable `chdir-failure'.
9324
9325 * simple.el (compilation-context-lines, comint-file-name-quote-list)
9326 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
9327 (delete-backward-char): Remove unused variable `ocol'.
9328 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
9329 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
9330 (event-apply-hyper-modifier, event-apply-shift-modifier)
9331 (event-apply-control-modifier, event-apply-meta-modifier):
9332 Mark unused parameters.
9333 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
9334 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
9335
9336 * speedbar.el (speedbar-ignored-directory-expressions)
9337 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
9338 (speedbar-find-file, speedbar-dir-follow)
9339 (speedbar-directory-buttons-follow, speedbar-tag-find)
9340 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
9341 (speedbar-buffers-line-directory, speedbar-buffer-click):
9342 Mark unused parameters.
9343 (speedbar-tag-file): Remove unused variable `mode'.
9344 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
9345
9346 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
9347
9348 * talk.el (talk): Remove unused variable `display'.
9349
9350 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
9351 (tar-write-region-annotate): Mark unused parameter.
9352
9353 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
9354 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
9355 Declare them, wrapped in `with-no-warnings' to avoid replacing one
9356 warning by another.
9357
9358 * time-stamp.el (time-stamp-string-preprocess):
9359 Remove unused variable `require-padding'.
9360
9361 * tree-widget.el (widget-glyph-enable): Declare.
9362 (tree-widget-action): Mark unused parameter.
9363
9364 * w32-fns.el (x-get-selection): Mark unused parameter.
9365 (autoload-make-program, generated-autoload-file): Declare.
9366
9367 * wdired.el (wdired-revert): Mark unused parameters.
9368 (wdired-xcase-word): Remove unused variable `err'.
9369
9370 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
9371 (whitespace-help-scroll): Remove unused variable `data-help'.
9372
9373 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
9374 (widget-image-insert, widget-after-change, default)
9375 (widget-default-format-handler, widget-default-notify)
9376 (widget-default-prompt-value, widget-info-link-action)
9377 (widget-url-link-action, widget-function-link-action)
9378 (widget-variable-link-action, widget-file-link-action)
9379 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
9380 (widget-field-prompt-internal, widget-field-action, widget-field-match)
9381 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
9382 (widget-insert-button-action, widget-delete-button-action, visibility)
9383 (widget-documentation-link-action, widget-documentation-string-action)
9384 (widget-const-prompt-value, widget-regexp-match, symbol)
9385 (widget-coding-system-prompt-value)
9386 (widget-key-sequence-value-to-external, sexp)
9387 (widget-sexp-value-to-internal, character, vector, cons)
9388 (widget-choice-prompt-value, widget-boolean-prompt-value)
9389 (widget-color--choose-action): Mark unused parameters.
9390 (widget-item-match-inline, widget-choice-match-inline)
9391 (widget-checklist-match, widget-checklist-match-inline)
9392 (widget-group-match): Rename parameter VALUES to VALS.
9393 (widget-field-value-set): Remove unused variable `size'.
9394 (widget-color-action): Remove unused variables `value' and `start'.
9395
9396 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 9397 variable `dir'. Doc fix.
06b60517
JB
9398 (windmove-find-other-window): Don't pass it.
9399
9400 * window.el (count-windows): Mark unused parameter.
9401 (bw-adjust-window): Remove unused variable `err'.
9402
9403 * woman.el (woman-file-name): Remove unused variable `default'.
9404 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
9405 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
9406 (global-font-lock-mode): Declare.
9407 (woman-decode-region): Mark unused parameter.
9408 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
9409
9410 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
9411 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
9412 (x-dnd-handle-moz-url): Remove unused variable `title'.
9413 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
9414
9415 * xml.el (xml-parse-tag, xml-parse-attlist):
9416 Remove unused variable `pos'.
9417
bc4f7f3d
GM
94182011-04-19 Glenn Morris <rgm@gnu.org>
9419
9420 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
9421 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
9422 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9423 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
9424 * calendar/cal-html.el (cal-html-insert-minical):
9425 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
9426 (calendar-mark-date-pattern):
9427 Prefix "unused" locals.
9428
9429 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
9430 optional argument `style'.
9431
9432 * calendar/appt.el (appt-make-list):
9433 * calendar/cal-china.el (calendar-chinese-date-string):
9434 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9435 (diary-hebrew-yahrzeit):
9436 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9437 * calendar/calendar.el (calendar-generate-window):
9438 * calendar/time-date.el (time-to-days):
9439 Remove unused local variables.
9440
16a43933
CY
94412011-04-18 Chong Yidong <cyd@stupidchicken.com>
9442
9443 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9444 glyphless-char-display table.
9445 (tabulated-list-glyphless-char-display): New var.
9446
7eed1860
SS
94472011-04-18 Sam Steingold <sds@gnu.org>
9448
9449 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9450 to acknowledgments.
9451
4d2d1ccd
GM
94522011-04-17 Glenn Morris <rgm@gnu.org>
9453
9454 * calendar/diary-lib.el (diary-sexp-entry):
9455 * calendar/holidays.el (holiday-sexp):
9456 Set debug-on-error rather than the removed stack-trace-on-error.
9457
239da61d
GM
94582011-04-16 Glenn Morris <rgm@gnu.org>
9459
9460 * progmodes/f90.el: Use lexical-binding.
9461 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9462
8b05752a
SM
94632011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9464
daca8ba5
SM
9465 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9466 (mail-mode): Setup mailalias completion here instead.
9467 * mail/mailalias.el: Use lexical-binding.
9468 (pattern, mailalias-done): Declare dynamic.
9469 (mail-completion-at-point-function): New function, from mail-complete.
9470 (mail-complete): Use it.
9471 (mail-completion-expand): New function.
9472 (mail-get-names): Use it.
9473 (mail-directory, mail-directory-process, mail-directory-stream):
9474 Don't use `pattern' for lexically bound arg.
9475
6f542485
SM
9476 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9477
037e7c3f
SM
9478 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9479 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9480 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9481
8b05752a
SM
9482 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9483 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9484 (byte-interactive-p): Define them again, for use when inlining
9485 old code.
9486
49093f60
JB
94872011-04-15 Juanma Barranquero <lekktu@gmail.com>
9488
9489 * loadup.el: Use `string-to-number', not `string-to-int'.
9490
b5b8e7de
SM
94912011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9492
9493 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9494 gud-gdb-complete-command.
9495 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9496 (gud-gdb-completion-at-point): New function.
9497 (gud-gdb-completions): Remove.
9498
f42efeb5
MA
94992011-04-14 Michael Albinus <michael.albinus@gmx.de>
9500
49093f60
JB
9501 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9502 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9503 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9504 whether `executable-find' is bound.
f42efeb5
MA
9505
9506 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9507
e240cc21
SM
95082011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9509
9510 * minibuffer.el (completion-in-region-mode-predicate)
9511 (completion-in-region-mode--predicate): New vars.
9512 (completion-in-region, completion-in-region--postch)
9513 (completion-in-region-mode): Use them.
9514 (completion--capf-wrapper): Also return the hook function.
9515 (completion-at-point, completion-help-at-point):
9516 Adjust and provide a predicate.
c2bd2ab0
SM
9517
9518 Preserve arg names for advice of subr and lexical functions (bug#8457).
9519 * help-fns.el (help-function-arglist): Consolidate the subr and
9520 new-byte-code cases. Add argument `preserve-names' to extract names
9521 from the docstring when needed.
9522 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9523 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9524 (ad-arglist): Use help-function-arglist's new arg.
9525 (ad-definition-type): Use cond.
9526
c183f693
JB
95272011-04-13 Juanma Barranquero <lekktu@gmail.com>
9528
06641a47
JB
9529 * autorevert.el (auto-revert-handler):
9530 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9531 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9532 Don't quote lambda.
9533
c183f693
JB
9534 * image-mode.el (image-transform-set-scale):
9535 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9536
1e3b6001
G
95372011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9538
9539 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 9540 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
9541 Upgrades via gnutls-cli are too slow to be done opportunistically.
9542
2d6af8dd
JB
95432011-04-12 Juanma Barranquero <lekktu@gmail.com>
9544
9545 * dframe.el (dframe-current-frame): Remove spurious quote.
9546
c0749a51
GM
95472011-04-12 Glenn Morris <rgm@gnu.org>
9548
088d0d61
GM
9549 * calendar/cal-tex.el (cal-tex-end-document):
9550 Try to automatically use latin1 input if needed.
9551
c0749a51
GM
9552 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9553 Don't try to cons a mark onto an empty element.
9554
5c90fde0
LL
95552011-04-11 Leo Liu <sdl.web@gmail.com>
9556
9557 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9558 buffers.
9559 (ido-kill-buffer-at-head): Support killing virtual buffers.
9560
369e974d
CY
95612011-04-10 Chong Yidong <cyd@stupidchicken.com>
9562
9563 * minibuffer.el (completion-show-inline-help): New var.
9564 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
9565 (minibuffer-force-complete, minibuffer-complete-word):
9566 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
9567
9568 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9569 to avoid interference from inline help (Bug#5849).
9570
37f1c930
LL
95712011-04-10 Leo Liu <sdl.web@gmail.com>
9572
099c39a4
JB
9573 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9574 Fix typo.
37f1c930 9575
a32d4040
CY
95762011-04-09 Chong Yidong <cyd@stupidchicken.com>
9577
9578 * image-mode.el (image-toggle-display-image): Signal an error if
9579 not in Image mode.
9580 (image-transform-mode, image-transform-resize)
9581 (image-transform-set-rotation): Doc fix.
daca8ba5 9582 (image-transform-set-resize): Delete.
a32d4040
CY
9583 (image-transform-set-scale, image-transform-fit-to-height)
9584 (image-transform-fit-to-width): Handle image-toggle-display-image
9585 and image-transform-resize directly.
9586
099c39a4 95872011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
9588
9589 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
9590 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9591 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
9592 (doc-view-mode-map): Add bindings for the new functions.
9593
099c39a4 95942011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 9595
4d61f28d 9596 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
9597 Fix typo in docstring.
9598
3726838a
EZ
95992011-04-08 Eli Zaretskii <eliz@gnu.org>
9600
04f33f1e
EZ
9601 * files.el (file-size-human-readable): Produce one digit after
9602 decimal, like "ls -lh" does.
9603
9604 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9605 the file size representation.
9606
3726838a
EZ
9607 * simple.el (list-processes): If async subprocesses are not
9608 available, error out with a clear error message.
9609
cbb59342
CY
96102011-04-08 Chong Yidong <cyd@stupidchicken.com>
9611
9612 * help.el (help-form-show): New function, to be called from C.
9613 Put help-form output in a buffer named differently than *Help*.
9614
e3971c44
EZ
96152011-04-08 Eli Zaretskii <eliz@gnu.org>
9616
9617 * files.el (file-size-human-readable): New function.
9618
9619 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9620 computing the representation inline. Don't require `cl'.
9621
12544bbe
GM
96222011-04-08 Glenn Morris <rgm@gnu.org>
9623
a1de6c6a
GM
9624 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9625
3c4671f4
GM
9626 * net/browse-url.el (browse-url-firefox):
9627 Test system-type, not system-configuration.
9628
b605679c
GM
9629 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9630 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9631 Use log-edit-empty-buffer-p. (Bug#7598)
9632
56442f0c
GM
9633 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9634 (rlogin-mode-map): Initialize in the defvar.
9635 (rlogin): Use ignore-errors.
9636
12544bbe
GM
9637 * replace.el (occur-mode-map): Some fixes for menu items.
9638
eb237b0f
AH
96392011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9640
9641 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9642
7d668f2c
CY
96432011-04-06 Chong Yidong <cyd@stupidchicken.com>
9644
e67a13ab
CY
9645 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9646 issuing unused warnings.
9647
9648 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9649 macro directly.
9650
7d668f2c
CY
9651 * simple.el: Lisp reimplement of list-processes. Based on an
9652 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9653 (process-menu-mode): New major mode.
9654 (list-processes--refresh, list-processes):
9655 (process-menu-visit-buffer): New functions.
9656
9657 * files.el (save-buffers-kill-emacs): Don't assume any return
9658 value of list-processes, which is undocumented anyway.
9659
a83ec3c9
CY
96602011-04-06 Chong Yidong <cyd@stupidchicken.com>
9661
9662 * emacs-lisp/tabulated-list.el: New file.
9663
e91a96fe
CY
9664 * emacs-lisp/package.el: Use Tabulated List mode.
9665 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9666 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9667 table format using Tabulated List mode variables.
9668 (package--push): New macro, replacing package-list-maybe-add.
9669 (package-menu--generate): Use package--push. Renamed from
9670 package--generate-package-list.
9671 (package-menu-refresh, list-packages): Use it.
daca8ba5 9672 (package-menu--print-info): Rename from package-print-package.
e91a96fe 9673 Return insertion data instead of inserting it directly.
099c39a4
JB
9674 (package-menu-describe-package, package-menu-execute):
9675 Use tabulated-list-get-id.
e91a96fe
CY
9676 (package-menu-mark-delete, package-menu-mark-install)
9677 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
9678 (package-menu-mark-obsolete-for-deletion):
9679 Use tabulated-list-put-tag.
e91a96fe
CY
9680 (package--list-packages, package-menu-revert)
9681 (package-menu-get-package, package-menu-get-version)
9682 (package-menu-sort-by-column): Functions deleted.
9683 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9684 (package-menu--status-predicate, package-menu--version-predicate)
9685 (package-menu--name-predicate)
9686 (package-menu--description-predicate): Handle arguments in the
9687 Tabulated List format.
9688 (package-list-packages-no-fetch): Call list-packages.
9689
3e214b50
JB
96902011-04-06 Juanma Barranquero <lekktu@gmail.com>
9691
9692 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 9693 (after-find-file): Don't bind it.
3e214b50
JB
9694 (revert-buffer-in-progress-p): New variable.
9695 (revert-buffer): Bind it.
9696 Pass nil for `after-find-file-from-revert-buffer'.
9697
9698 * saveplace.el (save-place-find-file-hook): Use new variable
9699 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9700
3f0f1700
GM
97012011-04-06 Glenn Morris <rgm@gnu.org>
9702
c0274801
GM
9703 * Makefile.in (AUTOGEN_VCS): New variable.
9704 (autoloads): Use $AUTOGEN_VCS.
9705
3f0f1700
GM
9706 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9707 * calendar/calendar.el (calendar-mode-map):
9708 Check for toolkit scroll bars. (Bug#8305)
9709
41ea9e48
CY
97102011-04-05 Chong Yidong <cyd@stupidchicken.com>
9711
9712 * minibuffer.el (completion-in-region--postch)
9713 (completion-in-region-mode): Remove unnecessary messages.
9714
6194c800
JB
97152011-04-05 Juanma Barranquero <lekktu@gmail.com>
9716
33256f14
JB
9717 * font-lock.el (font-lock-refresh-defaults):
9718 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9719 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9720
6194c800
JB
9721 * info.el (Info-directory-list, Info-read-node-name-2)
9722 (Info-split-parameter-string): Doc fixes.
9723 (Info-virtual-nodes): Reflow docstring.
9724 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9725 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9726 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9727 Fix typos in docstrings.
9728 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9729 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9730 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9731 (Info-restore-desktop-buffer): Mark unused parameters.
9732 (Info-directory-find-file, Info-directory-find-node)
9733 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9734 (Info-virtual-index-find-node, Info-apropos-find-file)
9735 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 9736 Mark unused parameters; fix typos in docstrings.
6194c800
JB
9737 (Info-virtual-index): Remove unused local variable `nodename'.
9738
b87a8200 97392011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 9740
b87a8200
DD
9741 * net/rcirc.el: Update my e-mail address.
9742 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 9743
3b2ff876
CY
97442011-04-05 Chong Yidong <cyd@stupidchicken.com>
9745
9746 * startup.el (command-line): Save the cursor's theme-face
9747 directly, instead of using face-override-spec.
9748
9749 * custom.el (load-theme): Minor optimization in assigning faces.
9750
8d17e7ca
JB
97512011-04-04 Juanma Barranquero <lekktu@gmail.com>
9752
9753 * help-fns.el (describe-variable): Complete all variables having
9754 documentation, including keywords.
9755 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9756
2fbc1934
JB
97572011-04-04 Juanma Barranquero <lekktu@gmail.com>
9758
9759 Convert to lexical-binding.
9760
9761 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9762 (bs--get-marked-string, bs--get-modified-string)
9763 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9764 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9765 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9766
9767 * ehelp.el (electric-help-execute-extended)
9768 (electric-help-ctrl-x-prefix):
9769 * hexl.el (hexl-revert-buffer-function):
9770 * linum.el (linum-after-change, linum-after-scroll):
9771 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9772
9773 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9774
74f50695
DU
97752011-04-04 Daiki Ueno <ueno@unixuser.org>
9776
9777 * epa-dired.el:
9778 * epa-mail.el:
9779 * epa-hook.el:
9780 * epa-file.el:
9781 * epa.el:
9782 * epg.el: Use lexical binding.
9783
c11325f7
CY
97842011-04-03 Chong Yidong <cyd@stupidchicken.com>
9785
0d9e9a12
CY
9786 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9787
c11325f7 9788 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
9789 dictionary case for flyspell-mark-duplications-exceptions.
9790 Use regexp matching for languages.
c11325f7
CY
9791 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9792 default dictionary (Bug#7926).
9793
da91b5f2
CY
97942011-04-02 Chong Yidong <cyd@stupidchicken.com>
9795
099c39a4
JB
9796 * emacs-lisp/package.el (package--with-work-buffer):
9797 Recognize https URLs.
da91b5f2 9798
099c39a4
JB
9799 * net/network-stream.el: Move from gnus/proto-stream.el.
9800 Change prefix to network-stream throughout.
da91b5f2
CY
9801 (open-protocol-stream): Merge into open-network-stream, leaving
9802 open-protocol-stream as an alias. Handle nil BUFFER args.
9803
9804 * subr.el (open-network-stream): Move to net/network-stream.el.
9805
afa8e9f6
GM
98062011-04-02 Glenn Morris <rgm@gnu.org>
9807
1d2e369d
GM
9808 * find-dired.el (find-exec-terminator): New option.
9809 (find-ls-option): Test for -ls support.
9810 (find-ls-subdir-switches): Test for -b in find-ls-option.
9811 (find-dired, find-grep-dired): Doc fixes.
9812 (find-dired): Use find-exec-terminator.
9813
8abb7da8 9814 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
9815 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9816 (find-name-arg): Remove purecopy.
8abb7da8 9817
f3ca7378
GM
9818 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9819 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9820 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9821 accordingly. Don't add the null-device if not needed.
9822
afa8e9f6
GM
9823 * files.el (save-some-buffers): Doc fix.
9824
35eae264
EZ
98252011-04-02 Eli Zaretskii <eliz@gnu.org>
9826
9827 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9828
26b51db5
JB
98292011-04-01 Juanma Barranquero <lekktu@gmail.com>
9830
9831 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9832 Use `dolist' rather than `mapcar'.
9833
7200d79c
SM
98342011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9835
03408648 9836 Add lexical binding.
7200d79c 9837
03408648
SM
9838 * subr.el (apply-partially): Use new closures rather than CL.
9839 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9840 (dolist, dotimes): Use slightly different expansion for lexical code.
9841 (functionp): Move to C.
9842 (letrec): New macro.
9843 (with-wrapper-hook): Use it and apply-partially instead of CL.
9844 (eval-after-load): Preserve lexical-binding.
9845 (save-window-excursion, with-output-to-temp-buffer): Turn them
9846 into macros.
7200d79c 9847
03408648
SM
9848 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9849
9850 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9851 than the arglist.
9852 (help-add-fundoc-usage): Don't add `Not documented'.
9853 (help-function-arglist): Handle closures, subroutines, and new
9854 byte-code-functions.
9855 (help-make-usage): Remove leading underscores.
9856 (describe-function-1): Handle closures.
9857 (describe-variable): Use special-variable-p for completion.
9858
9859 * files.el (lexical-binding): Declare safe.
f488fb65 9860
03408648
SM
9861 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9862 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9863 (pcase): Add `let' pattern.
9864 Change memoization so it actually works.
9865 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9866 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9867 <let>: New case.
f488fb65 9868
03408648
SM
9869 * emacs-lisp/macroexp.el: Use lexical binding.
9870 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9871 Don't convert ' to #' without checking that it's indeed quoting
9872 a lambda.
9873
9874 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 9875 Use eval-sexp-add-defvars.
03408648
SM
9876 (eval-sexp-add-defvars): New fun.
9877
9878 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9879
9880 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9881 Don't autoload.
9882 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9883 than the internal `byte-compile-lambda'.
9884 (defmethod): Don't hide code under quotes.
9885 (eieio-defmethod): New `code' argument.
9886
9887 * emacs-lisp/eieio-comp.el: Remove.
9888
9889 * emacs-lisp/edebug.el (edebug-eval-defun)
9890 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9891 (edebug-toggle): Avoid `eval'.
9892
9893 * emacs-lisp/disass.el (disassemble-internal): Handle new
9894 `closure' objects.
9895 (disassemble-1): Handle new byte codes.
9896
9897 * emacs-lisp/cl.el (pushnew): Silence warning.
9898
9899 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9900 (cl-byte-compile-throw): Remove.
9901 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9902
9903 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9904 closures.
9905
9906 * emacs-lisp/cconv.el: New file.
9907
9908 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9909 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9910 (byte-compile-initial-macro-environment):
9911 Handle declare-function here.
9912 (byte-compile--lexical-environment): New var.
9913 (byte-stack-ref, byte-stack-set, byte-discardN)
9914 (byte-discardN-preserve-tos): New lap codes.
9915 (byte-interactive-p): Don't use any more.
9916 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9917 New macros.
9918 (byte-compile-lapcode): Use them and handle new lap codes.
9919 (byte-compile-obsolete): Remove.
9920 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9921 (byte-compile-arglist-warn): Check late def of inlinable funs.
9922 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9923 since they should have been expanded by now.
9924 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9925 (byte-compile-from-buffer): Remove unused second arg.
9926 (byte-compile-preprocess): New function.
9927 (byte-compile-toplevel-file-form): New function to distinguish
9928 file-form calls from outside from file-form calls from hunk-handlers.
9929 (byte-compile-file-form): Simplify.
9930 (byte-compile-file-form-defsubst): Remove.
9931 (byte-compile-file-form-defmumble): Simplify now that
9932 byte-compile-lambda always returns a byte-code-function.
9933 (byte-compile): Preprocess.
9934 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9935 Remove, not used any more.
9936 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9937 (byte-compile-make-args-desc): New funs.
9938 (byte-compile-lambda): Handle lexical functions. Always return
9939 a byte-code-function.
9940 (byte-compile-reserved-constants): New var, to make up room for
9941 closed-over variables.
9942 (byte-compile-constants-vector): Obey it.
9943 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9944 (byte-compile-macroexpand-declare-function): New function.
9945 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9946 byte-code-functions.
9947 (byte-compile-form): Check obsolescence here.
9948 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9949 (byte-compile-variable-ref): Remove.
9950 (byte-compile-dynamic-variable-op): New fun.
9951 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9952 (byte-compile-variable-set): New funs.
9953 (byte-compile-discard): Add 2 args.
9954 (byte-compile-stack-ref, byte-compile-stack-set)
9955 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9956 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9957 macroexpand-all instead.
9958 (byte-compile-quote-form): Remove.
9959 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9960 (byte-compile-bind, byte-compile-unbind): New funs.
9961 (byte-compile-let): Handle let* and lexical binding.
9962 (byte-compile-let*): Remove.
9963 (byte-compile-catch, byte-compile-unwind-protect)
9964 (byte-compile-track-mouse, byte-compile-condition-case):
9965 Handle a new :fun-body form, used for lexical scoping.
9966 (byte-compile-save-window-excursion)
9967 (byte-compile-with-output-to-temp-buffer): Remove.
9968 (byte-compile-defun): Simplify.
9969 (byte-compile-stack-adjustment): New fun.
9970 (byte-compile-out): Use it.
9971 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9972
9973 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9974 handler any more.
9975
9976 * emacs-lisp/byte-opt.el: Use lexical binding.
9977 (byte-inline-lapcode): Remove (to bytecomp).
9978 (byte-compile-inline-expand): Pay attention to inlining to/from
9979 lexically bound code.
9980 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9981 any more.
9982 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9983 any more and don't call compiler-macros.
9984 (byte-compile-splice-in-already-compiled-code): Remove.
9985 (byte-code): Don't inline any more.
9986 (disassemble-offset): Receive `bytes' as argument rather than via
9987 dynamic scoping.
9988 (byte-compile-tag-number): Declare before first use.
9989 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9990 `return' even if make-spliceable.
9991 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9992 obsolete interactive-p.
9993 (byte-optimize-lapcode): Optimize new lap-codes.
9994 Don't trip up on new form of `byte-constant' lap code.
9995
9996 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9997
9998 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9999
10000 * custom.el (custom-initialize-default, custom-declare-variable):
10001 Use `defvar'.
10002
10003 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10004 New variables.
10005 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10006 (COMPILE_FIRST): Add macroexp and cconv.
10007 * makefile.w32-in: Mirror changes in Makefile.in.
10008
10009 * vc/cvs-status.el:
10010 * vc/diff-mode.el:
10011 * vc/log-edit.el:
10012 * vc/log-view.el:
10013 * vc/smerge-mode.el:
10014 * textmodes/bibtex-style.el:
10015 * textmodes/css.el:
10016 * startup.el:
10017 * uniquify.el:
da91b5f2
CY
10018 * minibuffer.el:
10019 * newcomment.el:
10020 * reveal.el:
10021 * server.el:
10022 * mpc.el:
10023 * emacs-lisp/smie.el:
10024 * doc-view.el:
10025 * dired.el:
03408648
SM
10026 * abbrev.el: Use lexical binding.
10027
0f0c1f27
EZ
100282011-04-01 Eli Zaretskii <eliz@gnu.org>
10029
10030 * info.el (info-display-manual): New function.
10031
c82b2579
SM
100322011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10033
10034 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10035
221ddf68
TH
100362011-03-31 Tassilo Horn <tassilo@member.fsf.org>
10037
10038 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 10039 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 10040
cba6e77e
GM
100412011-03-31 Glenn Morris <rgm@gnu.org>
10042
e040639f
GM
10043 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
10044
cba6e77e
GM
10045 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
10046
6d0f1c9e
CS
100472011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
10048
10049 * progmodes/python.el (python-default-interpreter)
10050 (python-python-command-args, python-jython-command-args)
10051 (python-which-shell, python-which-args, python-which-bufname)
10052 (python-file-queue, python-comint-output-filter-function)
10053 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
10054 variables and functions.
10055
3e2d70fd
SM
100562011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10057
10058 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
10059 (completion-in-region-mode): New minor mode.
10060 (completion-in-region): Use it.
10061 (completion-in-region--data, completion-in-region-mode-map): New vars.
10062 (completion-in-region--postch): New function.
10063 (completion--capf-misbehave-funs, completion--capf-safe-funs):
10064 New vars.
10065 (completion--capf-wrapper): New function.
10066 (completion-at-point): Use it to track well-behavedness of
10067 hook functions.
10068 (completion-help-at-point): New command.
10069
f3e4086c
JM
100702011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
10071
10072 * vc/add-log.el (add-change-log-entry): Don't use whitespace
10073 syntax class to search for whitespace on a single line
10074 (Message-ID: <4D938140.4030905@redhat.com>).
10075
eb7ffc14
LL
100762011-03-30 Leo Liu <sdl.web@gmail.com>
10077
10078 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
10079 New commands.
10080 (edit-abbrevs-map): Bind them here.
10081 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
10082
d806ab68
KM
100832011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
10084
10085 * allout.el (allout-hide-by-annotation, allout-flag-region):
10086 Reduce possibility of overlay leakage by making them volatile.
10087
10088 * allout-widgets.el (allout-widgets-tally): Define as nil so the
10089 hash is not shared between buffers. Mode initialization is
10090 responsible for giving it a useful starting value.
10091 (allout-item-span): Reduce possibility of overlay leakage by
10092 making them volatile.
10093 (allout-widgets-count-buttons-in-region): Add diagnostic function
10094 for tracking down button overlay leaks.
10095
ea622834
LL
100962011-03-29 Leo Liu <sdl.web@gmail.com>
10097
10098 * ido.el (ido-read-internal): Use the default history var
10099 minibuffer-history if no HISTORY is specified.
10100
b62f8267
G
101012011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
10102
03408648
SM
10103 * net/imap.el (imap-shell-open, imap-process-connection-type):
10104 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
10105 Kerberos, SSL, other subprocesses.
10106
947b6566
LL
101072011-03-28 Leo Liu <sdl.web@gmail.com>
10108
10109 * abbrev.el (abbrev-table-empty-p): New function.
10110 (prepare-abbrev-list-buffer): Place empty abbrev tables after
10111 nonempty ones. (Bug#5937)
10112
5ffb62aa
JD
101132011-03-27 Jan Djärv <jan.h.d@swipnet.se>
10114
10115 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
10116
7a097943
LL
101172011-03-27 Leo Liu <sdl.web@gmail.com>
10118
10119 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
10120 for foreground and background colors.
10121 (ansi-color-make-color-map): Adapt.
10122
c5b40130
LL
101232011-03-25 Leo Liu <sdl.web@gmail.com>
10124
1f48f7d2
LL
10125 * midnight.el (midnight-time-float): Remove. Note it calculates
10126 the microsecond component incorrectly and seconds-to-time does the
10127 same job.
625897ec 10128 Remove redundant (require 'timer).
1f48f7d2 10129
c5b40130
LL
10130 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
10131 (ido-completions): Remove unused arguments. (Bug#8329)
10132
d86d2721
SM
101332011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10134
10135 * minibuffer.el (completion--flush-all-sorted-completions):
10136 Remove itself from hook.
10137 (completion-at-point): Let the functions perform the completion
10138 immediately and return nil or t.
10139 * comint.el (comint-dynamic-complete-functions): Now identical to
10140 completion-at-point-functions.
10141 (comint-dynamic-list-input-ring): Remove unused var `index'.
10142 (comint--match-partial-filename, comint--unquote&expand-filename):
10143 New funs, split from comint-match-partial-filename.
10144 (comint-dynamic-complete): Use completion-at-point.
10145 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
10146
e8974c48
DA
101472011-03-24 Drew Adams <drew.adams@oracle.com>
10148
10149 * thingatpt.el: Support `defun'.
10150
def71b5e
LL
101512011-03-23 Leo Liu <sdl.web@gmail.com>
10152
cb5af48e
LL
10153 * abbrevlist.el: Move to obsolete/abbrevlist.el.
10154
def71b5e
LL
10155 * help-mode.el (help-mode-finish): Tweak regexp.
10156
927c53e7
GM
101572011-03-23 Glenn Morris <rgm@gnu.org>
10158
18d05bed
GM
10159 * eshell/esh-opt.el (eshell-eval-using-options):
10160 Do not bind unused local variable `eshell-option-stub'.
10161
927c53e7
GM
10162 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
10163
9d0da923
JB
101642011-03-22 Juanma Barranquero <lekktu@gmail.com>
10165
10166 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
10167 keymap variable in `with-no-warnings' to avoid a warning when the
10168 keymap has been already `defconst'ed.
10169
4b978a67
LL
101702011-03-22 Leo Liu <sdl.web@gmail.com>
10171
10172 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
10173 encode all chars in abbrevs; otherwise use emacs-mule or
10174 utf-8-emacs. (Bug#8308)
10175
5fd62452
JB
101762011-03-22 Juanma Barranquero <lekktu@gmail.com>
10177
0b1596c6
JB
10178 * simple.el (backward-delete-char-untabify):
10179 Avoid warning about using `delete-backward-char'.
10180
5fd62452
JB
10181 * image.el (image-type-file-name-regexps): Make it variable.
10182 `imagemagick-register-types' modifies it, and the user may want
10183 to add new extensions for known image types.
10184 (imagemagick-register-types): Throw error if not using ImageMagick.
10185
0b4e93f1
LL
101862011-03-22 Leo Liu <sdl.web@gmail.com>
10187
10188 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
10189 located before rcirc-prompt-end-marker.
10190 (rcirc-complete): Error if point is not after rcirc prompt.
10191 Handle the case when table is nil.
9882e214 10192 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 10193
fccee4ab
CY
101942011-03-22 Chong Yidong <cyd@stupidchicken.com>
10195
10196 * custom.el (custom--inhibit-theme-enable): Make it affect only
10197 custom-theme-set-variables and custom-theme-set-faces.
10198 (provide-theme): Ignore custom--inhibit-theme-enable.
10199 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
10200 (custom-enabling-themes): Delete variable.
d86d2721
SM
10201 (enable-theme): Accept only loaded themes as arguments.
10202 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
10203 (custom-enabled-themes): Forbid themes from setting this.
10204 Eliminate use of custom-enabling-themes.
10205 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 10206
af896da6
LL
102072011-03-21 Leo Liu <sdl.web@gmail.com>
10208
10209 * ido.el (ido-read-internal): Add ido-selected to history instead
10210 of user input.
10211
78f64af0
SM
102122011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10213
10214 * subr.el (deferred-action-list, deferred-action-function):
10215 Mark obsolete.
10216
b16ac1ec
LL
102172011-03-21 Leo Liu <sdl.web@gmail.com>
10218
810f7698
LL
10219 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
10220 change on 2011-02-13 (bug#8309).
10221
b16ac1ec
LL
10222 * minibuffer.el (read-file-name-function): Change default value.
10223 (read-file-name--defaults): Rename from read-file-name-defaults.
10224 (read-file-name-default): Rename from read-file-name.
10225 (read-file-name): Call read-file-name-function.
10226
4e05e67e
GM
102272011-03-21 Glenn Morris <rgm@gnu.org>
10228
10229 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
10230 Doc fixes.
10231
4359915b
CY
102322011-03-21 Chong Yidong <cyd@stupidchicken.com>
10233
10234 * cus-theme.el: Add missing provide statement.
10235 (customize-create-theme): Extract theme value correctly.
10236 (custom-theme-visit-theme): Autoload.
10237 (customize-create-theme): Prompt before inserting default faces.
10238
1fe275ee
JB
102392011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
10240
10241 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
10242 units and musical notes.
10243
cd394be1 102442011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
10245
10246 * ido.el (ido-read-internal): Use completing-read-default.
10247 (ido-completing-read): Fix compatibility with completing-read.
10248
7d476bde
CO
102492011-03-20 Christian Ohler <ohler@gnu.org>
10250
10251 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
10252 (ert-delete-all-tests): Use `called-interactively-p' rather than
10253 `interactive-p'.
10254 (ert--make-xrefs-region): Respect END.
10255
fe0fb33e
CY
102562011-03-19 Chong Yidong <cyd@stupidchicken.com>
10257
ff854b0b
CY
10258 * dired-aux.el (dired-create-directory): Signal an error if the
10259 directory already exists (Bug#8246).
10260
fe0fb33e
CY
10261 * facemenu.el (list-colors-display): Call list-faces-display
10262 inside with-help-window.
10263 (list-colors-print): Use display property to align the final
10264 column, instead of checking window-width.
10265
576bce32
EZ
102662011-03-19 Eli Zaretskii <eliz@gnu.org>
10267
4d61f28d 10268 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
10269 windows-nt systems.
10270 (emerge-protect-metachars): Quote correctly for ms-dos and
10271 windows-nt systems.
10272
89c41d68 102732011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
10274
10275 * info.el (info-initialize): Replace all uses of `:' with
10276 path-separator for compatibility with non-Unix systems.
10277 Cache quoting of path-separator. (Bug#8258)
10278
b14e3e21 102792011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
10280
10281 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
10282 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
10283 (mouse-avoidance-mode): Fix typos in docstrings.
10284
4525ce3e
CY
102852011-03-19 Chong Yidong <cyd@stupidchicken.com>
10286
10287 * startup.el (package-subdirectory-regexp): Move from package.el.
10288 Omit \\` and \\', and let callers add them.
10289
10290 * emacs-lisp/package.el (package-strip-version)
10291 (package-load-all-descriptors): Add \\` and \\' to
10292 package-subdirectory-regexp before using it.
10293 (package-untar-buffer): New arg DIR; ensure that file untars only
10294 into this expected directory. Remove superfluous delete-region.
10295 (package-unpack): Caller changed.
10296 (package-tar-file-info): Use package-subdirectory-regexp.
10297
a904a09a 102982011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 10299
a904a09a
SM
10300 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
10301 diff-mode-shared-map (bug#8284).
10302 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
10303
103042011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10305
10306 * calendar/time-date.el (format-seconds): Use assoc instead of
10307 assoc-string, since assoc-string doesn't exist in XEmacs.
10308
171fc304
JB
103092011-03-17 Juanma Barranquero <lekktu@gmail.com>
10310
10311 * custom.el (custom-known-themes): Reflow docstring.
10312 (custom-theme-load-path): Fix typo in docstring.
10313 (load-theme): Fix typo in error message.
10314 (custom-available-themes, custom-variable-theme-value):
10315 Use `let', not `let*'.
10316
d71990a1
JB
103172011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10318
10319 * calc/README: Mention inclusion of musical notes.
10320
10321 * calc/calc-units.el (calc-lu-quant): Rename from
10322 `calc-logunits-quantity'.
10323 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
10324 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
10325 (calc-db): Rename from `calc-dblevel'.
10326 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
10327 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
10328 (calc-np): Rename from `calc-nplevel'.
10329 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
10330 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
10331 (calc-lu-plus): Rename from `calc-logunits-add'.
10332 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
10333 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
10334 (calc-lu-minus): Rename from `calc-logunits-sub'.
10335 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
10336 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
10337 (calc-lu-times): Rename from `calc-logunits-mul'.
10338 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
10339 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
10340 (calc-lu-divide): Rename from `calc-logunits-div'.
10341 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
10342 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
10343
10344 * calc/calc-ext.el (calc-init-extensions): Update the names of the
10345 functions being autoloaded.
10346
10347 * calc/calc.el (calc-lu-power-reference): Rename from
10348 `calc-logunits-power-reference'.
10349 (calc-lu-field-reference): Rename from
10350 `calc-logunits-field-reference'.
10351
10352 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
10353
40c2934b
SM
103542011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10355
10356 * minibuffer.el (completion-all-sorted-completions):
10357 Use :completion-cycle-penalty text property if present.
10358
b0911414
KM
103592011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
10360
10361 * allout.el (allout-yank-processing): Adjust for new rebulleting
10362 regime so bullet being yanked is used without prompting the user
10363 for a choice.
10364
8a05b668
JB
103652011-03-16 Juanma Barranquero <lekktu@gmail.com>
10366
10367 * startup.el (command-line): Warn the user that _emacs is deprecated.
10368
5ba5fb81
JB
103692011-03-16 Juanma Barranquero <lekktu@gmail.com>
10370
10371 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
10372 (delphi-verbose, delphi-comment-face, delphi-string-face)
10373 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
10374 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
10375 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
10376 (delphi-new-comment-line, delphi-font-lock-defaults)
10377 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
10378 Fix typos in docstrings.
10379
2dab465b
KM
103802011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
10381
5ba5fb81 10382 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
10383 Invert the roles of character and string values for INSTEAD, so a
10384 string is used for the more common case of a defaulting prompt.
10385
0adf5618
SM
103862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10387
10388 * progmodes/ruby-mode.el (ruby-backward-sexp):
10389 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
10390 * play/gamegrid.el (gamegrid-make-face):
10391 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
10392 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
10393 * notifications.el (notifications-notify):
10394 * net/xesam.el (xesam-search-engines):
10395 * net/quickurl.el (quickurl-list-insert):
10396 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
10397
d72700e5
CY
103982011-03-15 Chong Yidong <cyd@stupidchicken.com>
10399
10400 * startup.el (command-line): Update package subdirectory regexp.
10401
49c5410a
SM
104022011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10403
c6eee9aa
SM
10404 * allout.el (allout-abbreviate-flattened-numbering)
10405 (allout-mode-deactivate-hook): Fix up obsolescence "date".
10406
49c5410a
SM
10407 * subr.el (read-char-choice): Only show the cursor after the prompt,
10408 not after the answer.
10409
047b2bb9
KR
104102011-03-15 Kevin Ryde <user42@zip.com.au>
10411
10412 * help-fns.el (variable-at-point): Skip leading quotes, if any
10413 (bug#8253).
10414
0a57d256
SM
104152011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
10418 warning message.
10419
77c992bc
MA
104202011-03-14 Michael Albinus <michael.albinus@gmx.de>
10421
10422 * shell.el (shell): When called interactively, offer to change the
10423 shell file name on remote hosts.
10424
eebc475d
TZ
104252011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
10426
10427 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
10428 integration for LDAP parameters. The host, base, user or binddn,
10429 and secret tokens can be specified in a netrc file, for instance.
10430 This is optional because an `auth-source' parameter must be
10431 specified in the search attributes.
10432
9d05d1ba
JB
104332011-03-13 Juanma Barranquero <lekktu@gmail.com>
10434
10435 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10436
09d9db2c
GM
104372011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10438
10439 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10440 into declaration. Remove redundant and harmful binding.
10441
104422011-03-12 Eli Zaretskii <eliz@gnu.org>
10443
10444 * files.el (file-ownership-preserved-p): Pass `integer' as an
10445 explicit 2nd argument to `file-attributes'. If the file's owner
10446 is the Administrators group on Windows, and the current user is
10447 Administrator, consider that a match.
10448
10449 * server.el (server-ensure-safe-dir): Consider server directory
10450 safe on MS-Windows if its owner is the Administrators group while
10451 the current Emacs user is Administrator. Use `=' to compare
10452 numerical UIDs, since they could be integers or floats.
10453
219bd536
JB
104542011-03-12 Juanma Barranquero <lekktu@gmail.com>
10455
10456 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10457
f3afd36b
MA
104582011-03-12 Michael Albinus <michael.albinus@gmx.de>
10459
10460 Sync with Tramp 2.2.1.
10461
10462 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10463
10464 * net/trampver.el: Update release number.
10465
3aaaa6f1
SM
104662011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10467
94642599
SM
10468 * progmodes/compile.el (compilation--previous-directory): Fix up
10469 various nil/dead-marker mismatches (bug#8014).
10470 (compilation-directory-properties, compilation-error-properties):
10471 Don't call it at a position past the one we're about to change.
10472
3aaaa6f1
SM
10473 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10474 Disable obsolescence warnings in the file that declares it.
10475
14239447
KM
104762011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10477
099c39a4
JB
10478 * allout-widgets.el (allout-widgets-tally):
10479 Initialize allout-widgets-tally as a hash table rather than nil to
10480 prevent mode-line redisplay warnings. Also, clarify the module
10481 description and fix a comment typo.
14239447 10482
135e287c
JB
104832011-03-11 Juanma Barranquero <lekktu@gmail.com>
10484
10485 * help-fns.el (describe-variable): Don't complete keywords.
10486 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10487
ffbf300e
CY
104882011-03-10 Chong Yidong <cyd@stupidchicken.com>
10489
ba08b241
CY
10490 * emacs-lisp/package.el (package-version-join): Impose a standard
10491 string representation for pre/alpha/beta version lists.
10492 (package-unpack-single): Standardize the directory name by passing
10493 it through package-version-join.
10494 (package-strip-rcs-id): Accept any version string that does not
10495 signal an error in version-to-list.
ffbf300e 10496
f346fd6b
MA
104972011-03-10 Michael Albinus <michael.albinus@gmx.de>
10498
10499 * simple.el (delete-trailing-whitespace): Return nil for the
10500 benefit of `write-file-functions'.
10501
ccb55d27
GM
105022011-03-10 Glenn Morris <rgm@gnu.org>
10503
5ceaac0c
GM
10504 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10505
02da65ff
GM
10506 * vc/vc-git.el (vc-git-program): New option.
10507 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10508 (vc-git--call): Use it.
10509
b2f603cc
GM
10510 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10511
5772caab
GM
10512 * cus-edit.el (Custom-newline): If no button at point, look
10513 for a subgroup button at start-of-line. (Bug#2298)
10514
ccb55d27
GM
10515 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10516
ec6ecaed
JD
105172011-03-10 Julien Danjou <julien@danjou.info>
10518
10519 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10520 `cursor-type' is nil.
10521
9d5aa01d
JB
105222011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10523
10524 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10525
b6a5875b
KM
105262011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10527
10528 * allout.el Summary: Change so yank of distinctive-bullet items
10529 preserves the existing header prefix, rebulleting it if necessary,
10530 rather than replacing it. This is necessary for proper operation
10531 of cooperative addons like allout-widgets.
1154d12e
JB
10532 (allout-make-topic-prefix, allout-rebullet-heading):
10533 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10534 value as alternate bullet to be used, instead of prompting the user
10535 for a bullet character.
b6a5875b 10536
ee545c35
MA
105372011-03-09 Michael Albinus <michael.albinus@gmx.de>
10538
d86d2721
SM
10539 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10540 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
10541 `tramp-default-port'.
10542
c47971d7
DD
105432011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10544
10545 * net/rcirc.el (rcirc-handler-001): Remove useless
10546 with-rcirc-process-buffer.
10547 (rcirc-check-auth-status): Swap arguments to string-match.
10548
13522cb4
GM
105492011-03-09 Glenn Morris <rgm@gnu.org>
10550
0be6f4f1
GM
10551 * shell.el (shell-mode):
10552 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10553
13522cb4
GM
10554 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10555 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10556
515de2e3
CY
105572011-03-08 Chong Yidong <cyd@stupidchicken.com>
10558
10559 * emacs-lisp/package.el (package-refresh-contents)
10560 (package-menu-execute): Use condition-case-no-debug.
10561
b511b994
MA
105622011-03-08 Michael Albinus <michael.albinus@gmx.de>
10563
10564 * simple.el (shell-command-to-string): Use `process-file'.
10565
10566 * emacs-lisp/package.el (package-tar-file-info): Handle also
10567 remote files.
10568
d86d2721
SM
10569 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10570 Use `equal' for upload base check.
b511b994 10571
25bbfb31
AM
105722011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10573
10574 * textmodes/texinfo.el (texinfo-environments):
10575 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10576
be996521
GM
105772011-03-08 Glenn Morris <rgm@gnu.org>
10578
e9c8529f
GM
10579 * cus-start.el (cursor-in-non-selected-windows):
10580 Fix :set quoting oddness. (Bug#8192)
10581
be996521
GM
10582 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10583 in some setf expressions. (Bug#2159)
10584
2bb5649e
CY
105852011-03-08 Chong Yidong <cyd@stupidchicken.com>
10586
10587 * custom.el (custom-available-themes): Return themes in
10588 alphabetical order.
10589
33383987 10590See ChangeLog.15 for earlier changes.
e3d51b27
MR
10591
10592;; Local Variables:
10593;; coding: utf-8
e3d51b27
MR
10594;; End:
10595
acaf905b 10596 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
10597
10598 This file is part of GNU Emacs.
10599
10600 GNU Emacs is free software: you can redistribute it and/or modify
10601 it under the terms of the GNU General Public License as published by
10602 the Free Software Foundation, either version 3 of the License, or
10603 (at your option) any later version.
10604
10605 GNU Emacs is distributed in the hope that it will be useful,
10606 but WITHOUT ANY WARRANTY; without even the implied warranty of
10607 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10608 GNU General Public License for more details.
10609
10610 You should have received a copy of the GNU General Public License
10611 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.