* progmodes/python.el Fixed defsubst warning.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2d79ec42
FEG
12012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2
3 * progmodes/python.el Fixed defsubst warning.
4 (python-syntax-context) Rename from python-info-ppss-context.
5 (python-syntax-context-type): Rename from
6 python-info-ppss-context-type.
7 (python-syntax-comment-or-string-p): Rename from
8 python-info-ppss-comment-or-string-p.
9
2bd255dd
JB
102012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
11
12 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
13
c395097f
AS
142012-08-07 Andreas Schwab <schwab@linux-m68k.org>
15
6125983e
AS
16 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
17 a defcustom that is quoted with backquote.
18
651eaf36
AS
19 * calc/calc-prog.el (math-do-defmath): Use backquote forms. Fix
20 handling of interactive spec when the body uses return.
21 (math-do-arg-check, math-define-function-body): Use backquote forms.
22 * calc/calc-ext.el (math-defcache): Likewise.
23 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
24 * allout.el (allout-new-exposure): Likewise.
25 * calc/calcalg2.el (math-tracing-integral): Likewise.
26 * info.el (Info-last-menu-item): Likewise.
27 * emulation/vip.el (vip-loop): Likewise.
28 * textmodes/artist.el (artist-funcall): Likewise.
29 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
30 Construct menu-item directly.
31
c395097f
AS
32 * progmodes/autoconf.el (font-lock-syntactic-keywords): Don't
33 declare.
34
5fb50dd3
CY
352012-08-07 Chong Yidong <cyd@gnu.org>
36
37 * simple.el (deactivate-mark): Preserve text properties when
38 saving the primary selection (Bug#8384).
39
54eea618
KR
402012-08-07 Kevin Ryde <user42@zip.com.au>
41
42 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
43 (woman-parse-numeric-value): On a bad .IP line, issue a warning
44 and continue processing (Bug#12110).
45
638eaeb9
SM
462012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
49 syntax-propertize-function (bug#10095).
50
ea376861
SM
512012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
52
f91b35be
SM
53 * help-fns.el (help-fns--key-bindings, help-fns--signature)
54 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
55 describe-function-1.
56 (describe-function-1): Use them. Move compiler macro after sig.
57 (help-fns--compiler-macro): Use function-get. Assume we're already in
58 standard-output. Adjust layout to new call order.
59
ea376861
SM
60 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
61 re-binding a symbol that has a symbol-macro (bug#12119).
62
d5be7bd0
MB
632012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
64
65 * language/persian.el: New file. (Bug#11812)
66 * loadup.el: Add language/persian.el.
67
90749b53
CY
682012-08-06 Chong Yidong <cyd@gnu.org>
69
70 * window.el (window--maybe-raise-frame): New function.
71 (window--display-buffer): Split off from here.
72 (display-buffer-reuse-window, display-buffer-pop-up-frame)
73 (display-buffer-pop-up-window, display-buffer-use-some-window):
74 Obey an inhibit-switch-frame action alist entry.
75 (display-buffer): Update doc.
76
77 * replace.el (occur-after-change-function): Avoid losing focus by
78 using the inhibit-switch-frame display parameter (Bug#12139).
79
ba7b0154
FEG
802012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
81
82 Make internal shell process buffer names start with space.
83 * progmodes/python.el (python-shell-make-comint): Add optional
84 argument INTERNAL.
85 (run-python-internal): Use it.
86 (python-shell-internal-get-or-create-process): Check for new
87 internal buffer names.
88
5eaeacb5
GM
892012-08-06 Glenn Morris <rgm@gnu.org>
90
e296d94b 91 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
92 Do less getting and setting of environment variables.
93
b7ccbdc2
CY
942012-08-05 Chong Yidong <cyd@gnu.org>
95
777fe95e
CY
96 * proced.el (proced): Add substitution string to docstring to
97 trigger autoloading of the proced library on C-h f (Bug#1768).
98
b7ccbdc2
CY
99 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
100 show defvars which have no second argument (Bug#8638).
101
102 * imenu.el (imenu-generic-expression): Move documentation here
103 from imenu--generic-function.
104 (imenu--generic-function): Refer to imenu-generic-expression.
105
9e3b7800 1062012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
107
108 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
109 indentation declaration.
110 (viper-loop): Add indentation declaration (Bug#7025).
111
e5d9c0d1
CY
1122012-08-05 Chong Yidong <cyd@gnu.org>
113
f0422feb
CY
114 * help-fns.el (describe-variable): Add hyperlink for
115 directory-local variables files. Improve buffer-local and
116 permanent-local reporting; suggested by MON KEY (Bug#6644).
117
118 * help-mode.el (help-dir-local-var-def): New button type.
119
e5d9c0d1
CY
120 * files.el (kill-buffer-hook): Provide a defvar.
121
a4f2deaa
GM
1222012-08-05 Glenn Morris <rgm@gnu.org>
123
124 * eshell/esh-ext.el (eshell/addpath):
125 Also update eshell-path-env. (Bug#12013)
126
a9dd5754
CY
1272012-08-05 Chong Yidong <cyd@gnu.org>
128
a4f2deaa 129 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 130
d014c740
CY
131 * fringe.el (fringe-styles): Add docstring.
132 (fringe--check-mode): New function.
133 (set-fringe-mode, set-fringe-style): Use it.
134 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
135
a9dd5754
CY
136 * files.el (set-auto-mode): Fix invalid setq call.
137
7c2dc8bd
SM
1382012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * isearch.el: Misc simplification; use defstruct.
141 (isearch-mode-map): Dense maps now work like sparse ones.
142 (isearch--state): New defstruct.
143 (isearch-string-state, isearch-message-state, isearch-point-state)
144 (isearch-success-state, isearch-forward-state)
145 (isearch-other-end-state, isearch-word-state, isearch-error-state)
146 (isearch-wrapped-state, isearch-barrier-state)
147 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
148 replaced by defstruct's accessors.
149 (isearch--set-state): Rename from isearch-top-state and change
150 calling convention.
151 (isearch-push-state): Use new isearch--get-state.
152 (isearch-toggle-word): Disable regexp when enabling word.
153 (isearch-message-prefix): Remove unused arg _c-q-hack.
154 (isearch-message-suffix): Remove unused arg _ellipsis.
155
7fcc0070
AS
1562012-08-04 Andreas Schwab <schwab@linux-m68k.org>
157
158 * simple.el (list-processes--refresh): For a server use :host or
159 :local as the address.
97ad0769 160 (list-processes): Doc fix.
7fcc0070 161
00340faf
MN
1622012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
163
164 * lisp/mpc.el: Support password in host argument.
165 (mpc--proc-connect): Parse and use new password element.
166 Set mpc-proc variable instead of returning process.
167 (mpc-proc): Adjust accordingly.
168
6dad7178
EZ
1692012-08-03 Eli Zaretskii <eliz@gnu.org>
170
18949c2f
EZ
171 * whitespace.el (whitespace-display-mappings): Use Unicode
172 codepoints, instead of emacs-mule codepoints. See
173 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
174 for the details.
175
6dad7178
EZ
176 * files.el (file-truename): Don't skip symlink-chasing part on
177 windows-nt. Incorporate the resolution of 8+3 short aliases on
178 Windows into the loop that recursively chases symlinks. Compare
179 directory and its parent case-insensitively on MS-Windows and
180 MS-DOS.
181
385b0198
CY
1822012-08-03 Chong Yidong <cyd@gnu.org>
183
6200f3c4
CY
184 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
185
385b0198
CY
186 * sort.el (sort-regexp-fields): Doc fix.
187
b9e74744
TH
1882012-08-03 Tassilo Horn <tsdh@gnu.org>
189
190 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
191 labels regex position point at the expected place.
192
41013cb4
MK
1932012-08-03 MON KEY <monkey@sandpframing.com>
194
195 * net/imap.el (imap-interactive-login, imap-authenticate)
196 (imap-mailbox-lsub, imap-mailbox-list)
197 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
198 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
199 (imap-parse-response): Doc fix.
200
0ffee616
JT
2012012-08-03 João Távora <joaotavora@gmail.com>
202
203 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
204 if sexp scanning does not move point (Bug#5734).
205
cfcc9cc8
TH
2062012-08-02 Tassilo Horn <tsdh@gnu.org>
207
208 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
209 Add listings, minted, and ctable packages.
210 (reftex-label-alist-builtin): Move listings, minted, and ctable
211 entries before LaTeX.
a01bbb84 212 (reftex-label-alist): Docfix.
cfcc9cc8 213
66ec2442
BG
2142012-08-02 Bastien Guerry <bzg@gnu.org>
215
216 * replace.el (occur): Fix docstring (bug#12122).
217
837b365b
GM
2182012-08-02 Glenn Morris <rgm@gnu.org>
219
220 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
221
e098de97
PE
2222012-08-02 Paul Eggert <eggert@cs.ucla.edu>
223
224 Obsolete alias inactivate-current-input-method-function (Bug#10150).
225 * international/mule-cmds.el: Create
226 inactivate-current-input-method-function as an obsolete alias for
227 deactivate-current-input-method-function. See Katsumi Yamaoka in
228 <http://bugs.gnu.org/10150#46>.
229
a0f95636
JB
2302012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
231
232 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
233 of nested `if's.
234
0d26d7c4
GM
2352012-08-01 Glenn Morris <rgm@gnu.org>
236
237 * progmodes/autoconf.el (autoconf-definition-regexp):
238 Add AH_TEMPLATE, adjust submatch numbering.
239 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
240 (autoconf-current-defun-function): Update for above change.
241 (autoconf-current-defun-function): First skip to end of current word.
242
b686ba06
RS
2432012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
244
245 * calendar/cal-html.el (cal-html-insert-agenda-days):
246 Fix typo. (Bug#12018)
247
0d49da68
FEG
2482012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
249
250 Shell processes: enhancements to startup and CEDET compatibility.
251 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
252 (python-shell-make-comint): accept-process-output at startup.
253 (run-python-internal): Set inferior-python-mode-hook to nil.
254 (python-shell-internal-get-or-create-process): call sit-for.
255 (python-preoutput-result): Add obsolete alias.
256 (python-shell-internal-send-string): Use it.
257 (python-shell-send-setup-code): Remove call to
258 accept-process-output.
259
f1a71c6e
AS
2602012-07-31 Andreas Schwab <schwab@linux-m68k.org>
261
262 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
263 (Bug#12108)
264
d2605269
JB
2652012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
266
267 * calc-mode.el (calc-basic-simplification-mode): Rename from
268 `calc-limited-simplification-mode'.
269 (calc-alg-simplification-mode): New function.
d66060f8 270 (calc-set-simplify-mode): Adjust message.
f1a71c6e 271
d2605269
JB
272 * calc.el (calc-set-mode-line): Adjust mode line display for
273 basic simplification mode.
274
275 * calc-help.el (calc-m-prefix-help): Update help message.
276
277 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
278 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
279
a3827a43
BG
2802012-07-31 Bastien Guerry <bzg@gnu.org>
281
282 * man.el (man): Fix comment. (bug#12101)
283
502e3f89
MR
2842012-07-31 Martin Rudalics <rudalics@gmx.at>
285
286 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
287 Don't return a non-nil value when no suitable buffer was found.
288
d7714961
FEG
2892012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
290
291 * progmodes/python.el (run-python-internal): Disable font lock for
292 internal shells.
293
1f45e27e
SM
2942012-07-30 Stefan Merten <smerten@oekonux.de>
295
296 * rst.el: Silence `checkdoc-ispell'.
297 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
298 (rst-official-version, rst-official-cvs-rev)
299 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
300 (rst-mode-map): New key binding.
301
0aee6912
PE
3022012-07-30 Paul Eggert <eggert@cs.ucla.edu>
303
304 Update .PHONY listings in makefiles.
305 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
306 autoloads, update-subdirs, updates, bzr-update, update-authors,
307 compile-onefile, compile-calc, backup-compiled-files,
308 compile-after-backup, compile-one-process, mh-autoloads,
309 bootstrap-clean, distclean, maintainer-clean.
310
9052f9f0
JB
3112012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
312
1823ac5a
JB
313 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
314 (calc-set-mode-line): Don't display "AlgSimp ".
315
316 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
317 (calc-lim-simplify-mode): New function.
318 (calc-set-simplify-mode): Default to 'alg.
319 (calc-default-simplify-mode): Make algebraic simplifications
320 the default.
321
322 * calc/calc-ext.el (calc-init-extensions): Remove binding for
323 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
324
8d7c7eed 325 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
326 indicate new simplification modes.
327
1823ac5a
JB
328 * calc/README: Mention new default simplification mode.
329
9052f9f0
JB
330 * calc/calc.el (math-normalize-error): New variable.
331 (math-normalize): Set `math-normalize-error' to t
332 when there's an error.
333
334 * calc/calc-alg.el (math-simplify): Don't simplify when
335 `math-normalize' returns an error.
336
20ba0cb4
EZ
3372012-07-29 Eli Zaretskii <eliz@gnu.org>
338
339 * international/mule-cmds.el (set-locale-environment): Revert last
340 change, since display-graphic-p returns nil when this function is
341 called during startup. Instead...
342
343 * term/w32console.el (terminal-init-w32console): ...setup the
344 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
345
a5dcc929
JL
3462012-07-29 Juri Linkov <juri@jurta.org>
347
348 * simple.el (goto-line): Don't display default line number in the
349 prompt because it should be displayed by `read-number' (bug#9952).
350 Add the current line number to the defaults of `goto-line' to
351 allow its easier modification by users with `M-n' (bug#9201).
352
353 * subr.el (read-number): Support multiple default values like in
354 other minibuffer reading functions. Replace `read' with
355 `string-to-number' for consistency with `number-to-string'.
356
72b255c7
PE
3572012-07-29 Paul Eggert <eggert@cs.ucla.edu>
358
359 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
360 * emulation/viper-init.el (viper-deactivate-input-method-action):
361 Rename from viper-inactivate-input-method-action.
362 (viper-deactivate-input-method):
363 Rename from viper-inactivate-input-method.
364 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
365 * international/mule-cmds.el (deactivate-input-method):
366 Rename from inactivate-input-method.
367 Also run input-method-deactivate-hook.
368 (deactivate-current-input-method-function):
369 Rename from inactivate-current-input-method-function.
370 (input-method-deactivate-hook): New hook.
371 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
372 (inactivate-input-method): Mark obsolete.
373
72b255c7
PE
374 * international/quail.el (quail-activate):
375 Also run quail-deactivate-hook.
376 (quail-deactivate): Rename from quail-inactivate.
377 * international/robin.el (robin-activate):
378 Also run robin-deactivate-hook.
379 (robin-deactivate): Rename from robin-inactivate.
380
2549c068
CY
3812012-07-29 Chong Yidong <cyd@gnu.org>
382
383 * simple.el (indicate-copied-region): New function.
384 (kill-ring-save): Split off from here.
385
386 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
387 (kill-rectangle): Set deactivate-mark to t on read-only error.
388
389 * register.el (copy-to-register, copy-rectangle-to-register):
390 Deactivate the mark, and use indicate-copied-region (Bug#10056).
391 (append-to-register, prepend-to-register): Call
392
17711ed9
JL
3932012-07-29 Juri Linkov <juri@jurta.org>
394
395 * simple.el (async-shell-command-buffer): New defcustom.
396 (shell-command): Use it. (Bug#4719)
397
01bd1b0d
EZ
3982012-07-28 Eli Zaretskii <eliz@gnu.org>
399
400 * international/mule-cmds.el (set-locale-environment): In a
401 console session on MS-Windows, set up keyboard and terminal
402 encoding from the OEM codepage, not the ANSI codepage.
403 (Bug#12055)
404
a55739d3
CY
4052012-07-28 Chong Yidong <cyd@gnu.org>
406
407 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
408 gdb-get-location.
409
9a0f8f2e
LL
4102012-07-25 Leo Liu <sdl.web@gmail.com>
411
412 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
413 the alist (bug#12029).
414
20329d73
EZ
4152012-07-28 Eli Zaretskii <eliz@gnu.org>
416
417 * makefile.w32-in (custom-deps, finder-data, updates, compile)
418 (compile-always, compile-first)
419 ($(lisp)/calendar/cal-loaddefs.el)
420 ($(lisp)/calendar/diary-loaddefs.el)
421 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
422 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
423 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
424 instead of on update-subdirs.
425 (bootstrap-clean): Delete $(lisp)/subdirs.el.
426
345a2258
CY
4272012-07-28 Chong Yidong <cyd@gnu.org>
428
1eee6341
CY
429 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
430 directory if vc-deduce-backend returns nil (Bug#7350).
431
345a2258
CY
432 * simple.el (delete-trailing-lines): New option.
433 (delete-trailing-whitespace): Obey it (Bug#11879).
434
049a0936
DE
4352012-07-28 David Engster <deng@randomsample.de>
436
437 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
438 Explanation of new 'symbol-qnames feature in doc-strings.
439 (xml-maybe-do-ns): Return expanded names as plain symbols if
440 'symbol-qnames was provided in XML-NS argument (Bug#11916).
441 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
442
aa81af71
FEG
4432012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
444
445 Consistent completion in inferior python with emacs -nw.
446 * progmodes/python.el (inferior-python-mode): replace "<tab>"
447 binding in inferior-python-mode-map with "\t".
448 (python-shell-completion-complete-at-point)
449 (python-completion-complete-at-point): Remove interactive spec.
450
e827b1eb
JB
4512012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
452
453 * calc/calccomp.el (math-compose-expr): Undo previous change.
454
a90dfb95
FEG
4552012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
456
457 * progmodes/python.el (python-mode-map): Added keybinding for
458 run-python.
459 (python-shell-make-comint): Fix pop-to-buffer call.
460 (run-python): Autoload. New arg SHOW.
461 (python-shell-get-or-create-process): Do not pop python process
462 buffer.
463
32770973 4642012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
465
466 * notifications.el (notifications-on-action-signal)
467 (notifications-on-closed-signal): Use also the bus address for the map.
468 (notifications-notify, notifications-close-notification)
469 (notifications-get-capabilities): Add optional argument BUS.
470
86332df2
TH
4712012-07-27 Tassilo Horn <tsdh@gnu.org>
472
473 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
474 support for the lstlisting and minted environments, and for the
475 ctable macro.
476 * textmodes/reftex.el (reftex-compile-variables): Also recognize
477 labels written in keyvals syntax.
478
ca1302a4
JB
4792012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
480
481 * calc/calccomp.el (math-compose-expr): Use parentheses when
482 there is a product in the denominator of a fraction.
483
f8b91036
EZ
4842012-07-26 Eli Zaretskii <eliz@gnu.org>
485
486 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
487 ($(lisp)/calendar/diary-loaddefs.el)
488 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
489 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
490 failures in parallel bootstrap because subdirs.el is being
491 rewritten while the autoload files are built at the same time,
492 which needs to load subdirs.el.
493
c8e5a42c
MR
4942012-07-26 Martin Rudalics <rudalics@gmx.at>
495
496 * mouse.el (popup-menu): Fix doc-string and re-indent code.
497 (mouse-drag-line): Don't exit tracking when a switch-frame or
498 switch-window event occurs (Bug#12006).
499
670d85ea
SM
5002012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * mouse.el (popup-menu): Fix last change.
503
7abaf5cc
SM
5042012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 Autoload from Lisp with more care. Follow aliases when looking for
507 function properties.
508 * subr.el (autoloadp): New function.
509 (symbol-file): Use it.
510 (function-get): New function.
511 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
512 autoload-do-load.
513 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
514 (lisp-indent-function):
515 * emacs-lisp/gv.el (gv-get):
516 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
517 * emacs-lisp/byte-opt.el (byte-optimize-form):
518 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
519 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
520 Use function-get.
521 * emacs-lisp/cl.el: Don't propagate function properties any more.
522
523 * speedbar.el (speedbar-add-localized-speedbar-support):
524 * emacs-lisp/disass.el (disassemble-internal):
525 * desktop.el (desktop-load-file):
526 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
527 (describe-function-1):
528 * emacs-lisp/find-func.el (find-function-noselect):
529 * emacs-lisp/elp.el (elp-instrument-function):
530 * emacs-lisp/advice.el (ad-has-proper-definition):
531 * apropos.el (apropos-safe-documentation, apropos-macrop):
532 * emacs-lisp/debug.el (debug-on-entry):
533 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
534 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
535 * calc/calc.el (name): Use autoloadp & autoload-do-load.
536
b1364986
AA
5372012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
538
539 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
540 function, not an obsolete variable (Bug#12046).
541
67ada220
AS
5422012-07-25 Andreas Schwab <schwab@linux-m68k.org>
543
544 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
545
f08088e3
CS
5462012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
547
548 * emacs-lisp/pp.el (pp-display-expression): Select old selected
549 window only if it is still live (Bug#12034).
550
8137e7b3
MR
5512012-07-25 Martin Rudalics <rudalics@gmx.at>
552
553 * subr.el (redirect-frame-focus): Add advertised calling
554 convention (Bug#12030).
555
09ae5da1
PE
5562012-07-25 Paul Eggert <eggert@cs.ucla.edu>
557
558 Prefer typical American spelling for "acknowledgment".
559 * vc/add-log.el (change-log-acknowledgment): Rename from
560 change-log-acknowledgement, with an alias for the old name.
561
3cc5a3a8
JB
5622012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
563
564 * calc-alg.el (math-simplify-divide): Don't cross multiply
565 in an equation when the lhs is a variable.
566
b7af7f62
JD
5672012-07-24 Julien Danjou <julien@danjou.info>
568
569 * net/netrc.el (netrc-find-service-number, netrc-store-data):
570 Remove, unused.
571
ec1b09b1
EZ
5722012-07-23 Eli Zaretskii <eliz@gnu.org>
573
574 * startup.el (command-line): Don't display an empty user name in
575 the error message about non-existent home directory, when
576 init-file-user was set to an empty string. See
577 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
578 for the details and context.
579
b525fd8a
VB
5802012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
581
582 * ses.el (ses-cell-formula-aset): New macro.
583 (ses-cell-references-aset): New macro.
584 (ses-cell-p): New function.
585 (ses-rename-cell): Do no longer rely on complex operations like
586 ses-cell-set-formula or ses-set-cell to change the cell and handle
587 the undo at the same time, but rather use lower level new macros
588 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
589 the undo directly. Refresh the mode line.
590
2c73e345
LL
5912012-07-21 Leo Liu <sdl.web@gmail.com>
592
670d85ea
SM
593 * progmodes/cc-cmds.el (c-defun-name):
594 Use match-string-no-properties instead for consistency.
2c73e345 595
542dfbde
LL
5962012-07-20 Leo Liu <sdl.web@gmail.com>
597
3646bcd6
LL
598 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
599 (Bug#7879)
600
542dfbde
LL
601 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
602
25721031
CY
6032012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
604
605 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
606 * progmodes/bug-reference.el, misearch.el: Provide themselves
607 (bug#11915).
608
609 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
610 of narrowed buffer (bug#11966).
611
316e68a7
VB
6122012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
613
614 * ses.el (ses-rename-cell): Set new name also in reference list of
615 cells of which the renamed cell depends.
616
bbf0e7d9
MY
6172012-07-20 Masatake YAMATO <yamato@redhat.com>
618
619 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
620 to check whether menu-bar is shown or not. If not shown,
621 show the menu-bar as a popup menu instead of using tmm.
622 * mouse.el (popup-menu): Accept `point' as `position' argument.
623
c28662a8
DG
6242012-07-20 Dmitry Gutov <dgutov@yandex.ru>
625
626 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
627 up inside string symbol literal (bug#11923).
628
87ab808f
EZ
6292012-07-20 Eli Zaretskii <eliz@gnu.org>
630
631 * startup.el (fancy-startup-text): Read the whole tutorial, not
632 just its first 256 bytes. Prevents gibberish in display of the
633 tutorial title.
634
89dea803
DA
6352012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
636
637 Drop idle buffer compaction due to an absence of the
638 proved efficiency.
639 * compact.el: Remove.
640
8a4e6db8
SS
6412012-07-19 Sam Steingold <sds@gnu.org>
642
643 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
644 vc-bzr-pull & vc-bzr-merge-branch.
645 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
646 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
647 for consistency with compilation-error-regexp-alist.
648 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
649 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
650 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
651 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
652
5db81e33
SM
6532012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
654
655 * emacs-lisp/chart.el: Use lexical-binding.
656 (chart-emacs-storage): Don't hardcode the list of entries.
657
5b835e1d
DA
6582012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
659
660 Next round of tweaks caused by Fgarbage_collect changes.
661 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
662
9cd47b72
DA
6632012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
664
665 Compact buffers when idle.
666 * compact.el: New file.
667
1d6fc0df
SM
6682012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
669
670 * subr.el (eventp): Presume that if it looks vaguely like an event,
671 it's an event (bug#10190).
672
1d29cc7d
FEG
6732012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
674
675 Enhancements to ppss related code (thanks Stefan).
676 * progmodes/python.el (python-indent-context)
677 (python-indent-calculate-indentation, python-indent-dedent-line)
678 (python-indent-electric-colon, python-nav-forward-block)
679 (python-mode-abbrev-table)
1d6fc0df 680 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
681 for ppss context.
682 (python-info-continuation-line-p): Cleanup.
683 (python-info-ppss-context): Do not catch 'quote.
684 (python-info-ppss-context-type)
685 (python-info-ppss-comment-or-string-p): Simplify.
686
d583cbe6
FEG
6872012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
688
689 * progmodes/python.el: Enhancements to eldoc support.
690 (python-info-current-symbol): New function.
691 (python-eldoc-at-point): Use python-info-current-symbol.
692 (python-info-current-defun): Fix cornercase on first defun scan.
693 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
694 and signal error when no inferior python process is available.
695
eceb6feb
DG
6962012-07-18 Dmitry Gutov <dgutov@yandex.ru>
697
698 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
699 assume it's always t.
700 (vc-git-registered): Remove caching, the function is only called
701 once.
702 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
703
4c8ff0fe
CY
7042012-07-18 Chong Yidong <cyd@gnu.org>
705
19fb7186
CY
706 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
707
9587c688
CY
708 * simple.el (count-words): Report on narrowing (Bug#9959).
709
0fe776a1
CY
710 * bindings.el: Bind M-= to count-words.
711
4c8ff0fe
CY
712 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
713
7f5331cc
MY
7142012-07-18 Masatake YAMATO <yamato@redhat.com>
715
716 * progmodes/sh-script.el (sh-imenu-generic-expression):
717 Capture a function with `function' keyword and without parentheses
718 like "function FOO" (bug#11856).
719
2dc2a609
TH
7202012-07-18 Tassilo Horn <tassilo@member.fsf.org>
721
722 * window.el (split-window-sensibly): Make WINDOW argument
723 optional.
724
439f7677
CY
7252012-07-18 Chong Yidong <cyd@gnu.org>
726
9aeb25a6
CY
727 * subr.el (keyboard-translate): Doc fix (Bug#7261).
728
439f7677
CY
729 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
730 and make C-x 8 RET exit isearch (Bug#11439).
731
732 * international/iso-transl.el: Move isearch-mode-map key
733 definitions to isearch.el.
734
12999ea8
SM
7352012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
736
737 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
738 (eieio-defclass): Use gv-define-setter when possible.
739
3ab6e069
DA
7402012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
741
742 Reflect recent changes in Fgarbage_collect.
743 * emacs-lisp/chart.el (chart-emacs-storage): Change to
744 reflect new format of data returned by Fgarbage_collect.
745
0a60bc10
FEG
7462012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
747
748 New utility functions + python-info-ppss-context fix (Bug#11910).
749 * progmodes/python.el (python-info-beginning-of-block-statement-p)
750 (python-info-ppss-comment-or-string-p): New functions.
751 (python-info-ppss-context): Small fix for string check.
752
6dafa0d5
JL
7532012-07-17 Juri Linkov <juri@jurta.org>
754
755 * dired-aux.el (dired-do-async-shell-command): Doc fix.
756 (dired-do-async-shell-command): Don't add `*' at the end of the
757 command (Bug#11815).
758 (dired-do-shell-command): Doc fix.
759 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
760 Join the individual commands using either "&" or ";" as the
761 separator depending on the values of these trailing characters.
762 At the end re-add the trailing "&". (Bug#10598)
763
764 * simple.el (async-shell-command): Sync the interactive spec with
765 `shell-command'. Doc fix.
766 (shell-command): Doc fix.
767
b19dd9d1
JL
7682012-07-17 Juri Linkov <juri@jurta.org>
769
770 * descr-text.el (describe-char): Fix format args. (Bug#10129)
771
bcdc27d7 7722012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 773
bcdc27d7 774 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
775 * progmodes/python.el (python-nav-beginning-of-statement):
776 Rename from python-nav-statement-start.
bcdc27d7
FEG
777 (python-nav-end-of-statement): Rename from
778 python-nav-statement-end.
779 (python-nav-beginning-of-block): Rename from
780 python-nav-block-start.
781 (python-nav-end-of-block): Rename from python-nav-block-end.
782
191da00e
FEG
7832012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
784
7f5331cc
MY
785 * progmodes/python.el (python-shell-send-string-no-output):
786 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
787 future interactions (Bug#11868).
788
4dc7c8d5 7892012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 790
88ecaf8f
SM
791 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
792
ef501ef0
SM
793 * emacs-lisp/elint.el (elint-find-args-in-code):
794 Use help-function-arglist, so as to handle lexical byte-code.
795
aa7aaf8f
SM
796 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
797 change (bug#11826).
798
45fd731c
SM
7992012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
800
2143fa32
SM
801 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
802 Avoid spuriously marking the buffer as modified because of c-is-sws.
803
efc26dbe
SM
804 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
805 as not-a-comment (bug#11946).
806
f5695c9a
SM
807 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
808 for uninterned vars.
809
810 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
811 Use read-event since we don't really want to read chars but bytes.
812
45fd731c
SM
813 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
814 $$..$$ but also $..$ using regexps (bug#11953).
815 Use tex-verbatim for \url and \path.
816 (tex-font-lock-keywords): Define as defconst like the others.
817 (tex-common-initialization): Don't use font-lock-syntax-table any more.
818
ddfc8813
RK
8192012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
820
821 * international/mule-cmds.el (ucs-insert): Make it an obsolete
822 alias for insert-char.
823
758e556a
FEG
8242012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
825
826 * progmodes/python.el: Simplified imenu implementation.
827 (python-nav-jump-to-defun): Remove command.
828 (python-mode-map): Use `imenu' instead.
829 (python-nav-list-defun-positions-cache)
830 (python-imenu-include-defun-type, python-imenu-make-tree)
831 (python-imenu-subtree-root-label, python-imenu-index-alist):
832 Remove vars.
833 (python-nav-list-defun-positions, python-nav-read-defun)
834 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
835 (python-imenu-make-tree, python-imenu-create-index):
836 Remove functions.
758e556a
FEG
837 (python-mode): Update to interact with imenu by setting
838 `imenu-extract-index-name-function' only.
839
032d23ab
FEG
8402012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
841
842 * progmodes/python.el: Enhancements to navigation commands.
843 (python-nav-backward-sentence)
844 (python-nav-forward-sentence): Remove.
845 (python-nav-backward-statement, python-nav-forward-statement)
846 (python-nav-statement-start, python-nav-statement-end)
847 (python-nav-backward-block, python-nav-forward-block)
848 (python-nav-block-start, python-nav-block-end)
849 (python-nav-forward-sexp-function)
850 (python-info-current-line-comment-p)
851 (python-info-current-line-empty-p): New functions.
852 (python-indent-context): Use `python-nav-statement-start'.
853
01795a1b
MA
8542012-07-16 Michael Albinus <michael.albinus@gmx.de>
855
9328d9aa
MA
856 * eshell/em-ls.el (eshell/ls): Use `apply'.
857
858 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
859 multi-hops, instead of Tramp internals.
860
01795a1b
MA
861 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
862
863 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
864 when F1 and F2 are located on different hosts.
865
63408057
CY
8662012-07-14 Chong Yidong <cyd@gnu.org>
867
868 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
869 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
870 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
871 (xterm-mouse--read-event-sequence-1000)
872 (xterm-mouse--read-event-sequence-1006): New functions. For old
873 mouse protocol, handle M-mouse-X events correctly.
874 (xterm-mouse-event): New arg specifying mouse protocol.
875 (turn-on-xterm-mouse-tracking-on-terminal)
876 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
877 sequence to toggle extended coordinates on newer XTerms.
878 This appears to be harmless on terminals which do not support this.
63408057 879
cd276f6e
LL
8802012-07-14 Leo Liu <sdl.web@gmail.com>
881
28ca98ac
LL
882 Add fringe bitmap indicators for flymake. (Bug#11253)
883 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
884 (flymake-make-overlay): New arg BITMAP.
885 (flymake-error-bitmap, flymake-warning-bitmap)
886 (flymake-fringe-indicator-position): New user variables.
887
cd276f6e
LL
888 * fringe.el: New bitmap exclamation-mark.
889
04408072
JD
8902012-07-14 Jan Djärv <jan.h.d@swipnet.se>
891
892 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
893 also (Bug#7879).
894
b5cf7fc4
CY
8952012-07-14 Chong Yidong <cyd@gnu.org>
896
897 * electric.el (electric-pair-post-self-insert-function): Fix pair
898 insertion in empty-region case (Bug#11520).
899
be755c79
RT
9002012-07-14 Chong Yidong <cyd@gnu.org>
901
45fd731c
SM
902 * bindings.el: Consolidate ctl-x-r-map bindings.
903 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
904
905 * rect.el, register.el: Move bindings to bindings.el.
906
9072012-07-14 Reuben Thomas <rrt@sc3d.org>
908
909 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
910
7f5b3198
AS
9112012-07-13 Andreas Schwab <schwab@linux-m68k.org>
912
913 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
914
97662200
JB
9152012-07-13 Juanma Barranquero <lekktu@gmail.com>
916
80185fed
JB
917 * bindings.el (top): Use `mapc' instead of `mapcar'.
918
97662200
JB
919 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
920
2bb1ae55
MA
9212012-07-13 Michael Albinus <michael.albinus@gmx.de>
922
923 * progmodes/sql.el (sql-comint): Suppress the check for program on
924 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
925 (Bug#11908)
926
dea31bd3
CY
9272012-07-13 Chong Yidong <cyd@gnu.org>
928
929 * bindings.el: Assign a non-nil permanent-local property to
930 per-buffer variables which lack a default value (Bug#11930).
931
932 * help-fns.el (describe-variable): In the "automatically becomes
933 local" notice, take note of permanent-local variables.
934
b68b3337
CY
9352012-07-13 Chong Yidong <cyd@gnu.org>
936
937 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
938 to allow printing the message when called from Lisp.
939
940 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
941 Remove toggle-read-only.
942
943 * bs.el (bs-toggle-readonly):
45fd731c
SM
944 * buff-menu.el (Buffer-menu-toggle-read-only):
945 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
946
947 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
948 Remove with-no-warnings around toggle-read-only.
949 (ffap-read-only, ffap-read-only-other-window)
950 (ffap-read-only-other-frame): Callers changed.
951
952 * help-mode.el: Don't require view package.
953 (help-mode-finish): Set buffer-read-only instead of calling
954 toggle-read-only.
955
956 * bindings.el (mode-line-toggle-read-only):
957 * dired.el (dired-toggle-read-only):
958 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
959 with non-nil second arg.
960
961 * emacs-lisp/eieio-custom.el (eieio-customize-object):
962 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
963 directly.
964
56bc1586
EZ
9652012-07-12 Eli Zaretskii <eliz@gnu.org>
966
967 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
968 not incf.
969
a464a6c7
SM
9702012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
971
972 More CL cleanups and reduction of use of cl.el.
973 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
974 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
975 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
976 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
977 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
978 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
979 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
980 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
981 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
982 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
983 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
984 * eshell/em-cmpl.el, eshell/em-banner.el:
985 * calendar/parse-time.el: Use cl-lib.
986 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
987 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
988 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
989 * term/ns-win.el, term.el, shell.el, ps-samp.el:
990 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
991 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
992 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
993 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
994 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
995 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
996 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
997 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
998 `lambda' rather than with `quote'.
999 (eshell-do-opt): Adjust accordingly.
1000 (eshell-process-option): Simplify.
1001 * eshell/esh-var.el:
1002 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1003 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1004 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1005 to `pcase--dontcare'.
1006 * emacs-lisp/cl.el (labels): Mark obsolete.
1007 (cl--letf, letf): Move to cl-lib.
1008 (cl--letf*, letf*): Remove.
1009 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1010 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1011 (cl-progv): Rewrite.
1012 (cl--letf, cl-letf): Move from cl.el.
1013 (cl-letf*): New macro.
1014 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1015
7ad4afe1
MA
10162012-07-11 Michael Albinus <michael.albinus@gmx.de>
1017
1018 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1019
9af57756
CY
10202012-07-11 Chong Yidong <cyd@gnu.org>
1021
1022 * vc/log-edit.el (log-edit-vc-backend): New variable.
1023 (log-edit): Doc fix.
1024
1025 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1026 argument of log-edit to set up all local variables.
1027 (vc-start-logentry): New optional arg specifying VC backend.
1028
1029 * vc/vc.el (vc-checkin): Use it.
1030 (vc-deduce-fileset): Handle Log Edit buffers.
1031 (vc-diff): Make first argument optional too.
1032
1033 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1034
8477cc7a
MA
10352012-07-10 Michael Albinus <michael.albinus@gmx.de>
1036
1037 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1038 command, just in case. The function is not needed anymore.
1039 (eshell-external-command): Do not call `eshell-remote-command'.
1040
19faa8e8
SM
10412012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1042
f58e0fd5
SM
1043 Reduce use of (require 'cl).
1044 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1045 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1046 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1047 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1048 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1049 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1050 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1051 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1052 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1053 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1054 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1055 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1056 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1057 (byte-compile-unfold-bcf, byte-compile-check-variable):
1058 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1059 (byte-compile-nilconstp):
1060 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1061 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1062
2519d43a
SM
1063 * emacs-lisp/gv.el (cond): Make it a valid place.
1064 (if): Simplify slightly.
1065
19faa8e8
SM
1066 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1067 (pcase--self-quoting-p): New function.
1068 (pcase--u1): Use it.
1069
c4907a5e
GM
10702012-07-10 Glenn Morris <rgm@gnu.org>
1071
1072 * emacs-lisp/authors.el (authors-fixed-entries):
1073 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1074
c4444d16
PE
10752012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1076
1077 Rename configure.in to configure.ac (Bug#11603).
1078 * emacs-lisp/authors.el (authors-canonical-file-name):
1079 * progmodes/autoconf.el (autoconf-mode):
1080 Prefer configure.ac to configure.in.
1081
d75be97d
CY
10822012-07-08 Chong Yidong <cyd@gnu.org>
1083
01ac65bd
CY
1084 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1085 Implement the mouse-1-click-follows-link handling properly.
1086
1087 * info.el (Info-link-keymap): Use follow-link mechanism for
1088 header-line links (Bug#374).
1089
d75be97d
CY
1090 * simple.el (deactivate-mark): Do not set the primary selection
1091 if another program has acquired it (Bug#11772).
1092
87a92845 10932012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1094
1095 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1096 (woman-decode-region): Replace escaped-escapes without destroying
1097 bold or underline (Bug#11552).
87a92845 1098 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1099
621b9d6c
CY
11002012-07-07 Chong Yidong <cyd@gnu.org>
1101
1102 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1103 (interprogram-cut-function, interprogram-paste-function):
1104 Mention that we typically mean the clipboard.
621b9d6c 1105
133a11fc
GM
11062012-07-06 Glenn Morris <rgm@gnu.org>
1107
0d27a45e
GM
1108 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1109
133a11fc
GM
1110 * files.el (toggle-read-only): Restrict message to interactive use.
1111
07b151f1
MA
11122012-07-06 Michael Albinus <michael.albinus@gmx.de>
1113
1114 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1115
1116 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1117
211b896b
GM
11182012-07-06 Glenn Morris <rgm@gnu.org>
1119
50394322
GM
1120 * Makefile.in (compile-one-process): Rename from "recompile".
1121
211b896b
GM
1122 * Makefile.in (bzr-update): "compile" is the same as "recompile
1123 autoloads", but parallelizable, so use that instead.
1124
4737eec9
DG
11252012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1126
1127 * window.el (quit-window): Always restore window height when
8137e7b3 1128 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1129
226c3633 11302012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1131
1132 * simple.el (kill-whole-line): Doc tweak.
1133
226c3633 11342012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1135
1136 * files.el (file-relative-name): Compare file names
1137 case-insensitively if on MS-Windows or MS-DOS, or if
1138 read-file-name-completion-ignore-case is non-nil. Don't use
1139 case-fold-search for this purpose. (Bug#11827)
1140
4dc7c8d5
SM
11412012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1142
1143 * calendar/cal-dst.el (calendar-current-time-zone):
1144 Return calendar-current-time-zone-cache if non-nil.
1145
11462012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 11472012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1148
19faa8e8
SM
1149 * calendar/cal-dst.el (calendar-current-time-zone):
1150 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1151
60198fc9
GM
11522012-07-06 Glenn Morris <rgm@gnu.org>
1153
1154 * Makefile.in (cvs-update): Remove old alias.
1155
957b3189
MA
11562012-07-05 Michael Albinus <michael.albinus@gmx.de>
1157
1158 Sync with Tramp 2.2.6-pre.
1159
1160 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1161 compatible declaration.
1162
19faa8e8
SM
1163 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1164 Protect `list-load-path-shadows' call.
957b3189
MA
1165
1166 * net/tramp-compat.el (top): Require packages, which aren't
1167 autoloaded anymore for XEmacs. Protect call of
1168 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1169 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1170 it hurts at least for SXEmacs.
1171 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1172 standard-value for `temporary-file-directory'.
1173
1174 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1175 Redirect stderr to /dev/null.
1176 (tramp-sh-handle-write-region): uid and gid can be floats.
1177 Reported by Russell Sim <russell.sim@gmail.com>.
1178 (tramp-sh-handle-vc-registered): Hide errors.
1179 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1180 and `start-file-process'.
1181 (tramp-maybe-open-connection): Check also whether `non-essential'
1182 is bound.
1183
566df3fc
CY
11842012-07-04 Chong Yidong <cyd@gnu.org>
1185
1186 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1187 (xml-parse-tag): Likewise, and avoid changing entity tables.
1188 (xml-syntax-table): Define from scratch, making sure not to give
1189 x2000 and other Unicode spaces whitespace syntax, since those are
1190 not spaces in XML.
1191 (xml-parse-fragment): Delete unused function.
1192 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1193 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1194 (xml-entity-ref, xml-pe-reference-re)
1195 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1196 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1197 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1198 (xml-entity-value-re): Use syntax references in regexps where
1199 possible; no need to define inside a let-binding.
1200 (xml-parse-dtd): Use xml-pe-reference-re.
1201 (xml-entity-or-char-ref-re): New defconst.
1202 (xml-parse-string, xml-substitute-special): Use it.
1203
30eabd7a
SM
12042012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1205
0781098a
SM
1206 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1207 (find-file--read-only): New function.
1208 (find-file-read-only, find-file-read-only-other-window)
1209 (find-file-read-only-other-frame): Use it.
1210 (insert-file-contents-literally): Don't `fset'.
1211 (get-free-disk-space): Use locate-dominating-file.
1212
b5771c0d
SM
1213 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1214 function is already compiled.
1215
30eabd7a
SM
1216 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1217
b4886f6e
MA
12182012-07-03 Michael Albinus <michael.albinus@gmx.de>
1219
1220 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1221 files on the same host.
1222
b9d82339
AS
12232012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1224
1225 * help-fns.el (describe-function-1): Only call
1226 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1227
a76e6535
CY
12282012-07-03 Chong Yidong <cyd@gnu.org>
1229
1230 * xml.el: Protect parser against XML bombs.
1231 (xml-entity-expansion-limit): New variable.
1232 (xml-parse-string, xml-substitute-special): Use it.
1233 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1234
b544fef2
GM
12352012-07-03 Glenn Morris <rgm@gnu.org>
1236
1237 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1238 Allow linking to specific messages in debbugs reports (eg 123#5).
1239
a7aef6f5
CY
12402012-07-02 Chong Yidong <cyd@gnu.org>
1241
1242 * xml.el: Fix entity and character reference expansion, allowing
1243 them to expand into markup as per XML spec.
1244 (xml-default-ns): New variable.
1245 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1246 (xml-parse-region): Make first two arguments optional.
1247 Discard text properties.
1248 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1249 All callers changed.
a7aef6f5
CY
1250 (xml-parse-tag): Call xml-parse-tag-1. For backward
1251 compatibility, this function should not modify buffer contents.
1252 (xml-parse-tag-1): Fix opening-tag regexp.
1253 (xml-parse-string): Rewrite, handling entity and character
1254 references properly.
1255 (xml--entity-replacement-text): Signal an error if a parameter
1256 entity is undefined.
1257
3df31c9f
SM
12582012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1259
2b5208f1
SM
1260 * comint.el (comint-output-filter): Filter out repeated prompts.
1261
3df31c9f
SM
1262 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1263 and file-name-absolute-p.
1264 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1265 internal calls.
1266
e3ac1281
PE
12672012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1268
1269 Spelling fixes.
1270 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1271 Rename from byte-compile--refiy-function. All uses changed.
1272
fbf2e7ad
CY
12732012-07-01 Chong Yidong <cyd@gnu.org>
1274
1275 * xml.el (xml--parse-buffer): New function. Move most of
1276 xml-parse-region here.
1277 (xml-parse-region): Copy region into a temporary buffer, since
1278 parameter entity substitution requires changing buffer contents.
1279 Use xml--parse-buffer.
1280 (xml-parse-file): Use xml--parse-buffer.
1281 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1282 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1283
9bf0aa15
GM
12842012-06-30 Glenn Morris <rgm@gnu.org>
1285
bbce2853
GM
1286 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1287
9bf0aa15
GM
1288 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1289 Remove outdated and unnecessary dbus declarations.
1290
0d23c240
EZ
12912012-06-30 Eli Zaretskii <eliz@gnu.org>
1292
1293 * emacs-lisp/timer.el (timer-until): Subtract results of
1294 float-time, instead of taking float-time of the result of
1295 time-subtract, since float-time signals an error for negative time
1296 arguments.
1297
b3218de1
CY
12982012-06-30 Chong Yidong <cyd@gnu.org>
1299
1300 * xml.el (xml-*-re): Convert defvars into defconsts, and
1301 eval-and-compile them so eval-and-compile works on derivatives.
1302 (xml--entity-replacement-text): Use eval-and-comple.
1303
a40c87a0
MA
13042012-06-30 Michael Albinus <michael.albinus@gmx.de>
1305
1306 * vc/vc-git.el (vc-git-registered): Use cache property
1307 `git-registered'.
1308 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1309 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1310 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1311
ac87de97
DG
13122012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1313
1314 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1315 removed (likely outside Emacs). (Bug#11757)
ac87de97 1316
ac10fe06
SM
13172012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1318
3df31c9f 1319 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1320
7f3fbd5d
CY
13212012-06-30 Chong Yidong <cyd@gnu.org>
1322
1323 * xml.el: Implement XML parameter entities.
1324 (xml-parameter-entity-alist): New variable.
1325 (xml-parse-region, xml-parse-fragment): Preserve previous values
1326 of xml-entity-alist and xml-parameter-entity-alist, so that
1327 repeated calls on different documents do not change them.
1328 (xml-parse-tag): Fix doctype regexp.
1329 (xml--entity-replacement-text): New function.
1330 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1331 properly requires url retrieval which is unimplemented.
1332 (xml-escape-string): Doc fix.
1333
3cfbebba
SM
13342012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1335
1336 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1337
2af3565e
DA
13382012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1339
1340 * fringe.el (fringe-mode): Doc fix.
1341
929df0e7
MA
13422012-06-29 Michael Albinus <michael.albinus@gmx.de>
1343
1344 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1345 is non-nil.
1346 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1347 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1348
c8d3a25c 13492012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1350
c8d3a25c
GM
1351 * calendar/cal-dst.el (calendar-current-time-zone):
1352 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1353
c8d3a25c 13542012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1355
1356 * progmodes/which-func.el (which-func-format):
1357 Add mouse-face. (Bug#11698)
1358
c8d3a25c
GM
13592012-06-29 Leo Liu <sdl.web@gmail.com>
1360
1361 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1362
13632012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * minibuffer.el (minibuffer-confirm-exit-commands):
1366 Add completion-at-point (bug#11725).
1367
13682012-06-29 Glenn Morris <rgm@gnu.org>
1369
1370 * progmodes/f90.el (f90-font-lock-keywords-2):
1371 Add some preprocessor elements. (Bug#10499)
1372
13732012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1374
1375 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1376 Use syntax-propertize (bug#11739).
1377
2badeec4
JB
13782012-06-28 Juanma Barranquero <lekktu@gmail.com>
1379
1380 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1381
ae4969c2
JD
13822012-06-28 Julien Danjou <julien@danjou.info>
1383
1384 * term.el (term-handle-colors-array): Use a set of new faces to
1385 color the terminal. Also uses :inverse-video property.
1386 (term-default-fg-color): Set to nil by default, deprecate in favor
1387 of `term-face'.
1388 (term-default-bg-color): Set to nil by default, deprecate in favor
1389 of `term-face'.
1390 (term-current-face): Use `term-face' by default.
1391 (term-bold-attribute): Variable deleted.
1392
1c9bd870
GM
13932012-06-28 Glenn Morris <rgm@gnu.org>
1394
1395 * simple.el (completion-list-mode-finish):
1396 Don't use toggle-read-only. (Since completion-list-mode has
1397 a special mode-class, it wasn't doing anything extra anyway.)
1398
c207708c
SM
13992012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1400
1401 Make inlining of other-mode interpreted functions work (bug#11799).
1402 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1403 (byte-compile): Use it to fix compilation of lexical-binding closures.
1404 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1405 function, if needed.
1406
3fd56834
SM
14072012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1408
04901786
SM
1409 * help-mode.el (help-make-xrefs): Don't just withstand
1410 cyclic-variable-indirection but any error in documentation-property.
1411
1ec4b7b2
SM
1412 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1413 memory use.
1414 * bindings.el (bindings--define-key): New function.
1415 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1416 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1417 * bindings.el: Use it to purecopy define-key bindings.
1418
e309e2a5
SM
1419 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1420
d5c6faf9
SM
1421 * emacs-lisp/cl.el (flet): Mark obsolete.
1422 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1423 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1424 * progmodes/js.el (js-c-fill-paragraph):
1425 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1426 (ebrowse-switch-member-buffer-to-derived-class):
1427 * play/5x5.el (5x5-solver): Use cl-flet.
1428
6e9590e2
SM
1429 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1430 (cl--symbol-function): New macro.
1431 (cl--letf, cl--letf*): Use it.
1432
3fd56834
SM
1433 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1434 Strip "toggle-" if any.
1435
35ff222c
GM
14362012-06-27 Glenn Morris <rgm@gnu.org>
1437
1ba6038a
GM
1438 * info.el (Info-default-directory-list): Move here from paths.el.
1439 * paths.el: Remove file, which is now empty.
1440 * loadup.el: No longer load "paths".
1441
0ea0e51b
GM
1442 * custom.el (custom-initialize-delay): Doc fix.
1443
35ff222c
GM
1444 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1445 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1446 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1447 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1448 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1449 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1450 * eshell/eshell.el (eshell-defgroup): Remove alias.
1451
c89926a5
CY
14522012-06-27 Chong Yidong <cyd@gnu.org>
1453
1454 * help.el (help-enable-auto-load): New variable.
1455
1456 * help-fns.el (help-fns--autoloaded-p): New function.
1457 (describe-function-1): Refer to a function as "autoloaded" if it
1458 was autoloaded at any time in the past. Perform autoloading if
1459 help-enable-auto-load is non-nil.
1460
cc06e7e7
EZ
14612012-06-26 Eli Zaretskii <eliz@gnu.org>
1462
1463 * makefile.w32-in (compile, compile-always): Depend on
1464 update-subdirs, not on subdirs.el. Otherwise, several different
1465 sub-targets of 'bootstrap' running in parallel could
1466 simultaneously write to subdirs.el, producing a garbled file.
1467
d2c32364
SS
14682012-06-26 Sam Steingold <sds@gnu.org>
1469
1470 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1471 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1472 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1473 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1474 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1475 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1476 * textmodes/tex-mode.el: Use it.
1477 Did not touch cedet and org because they are maintained elsewhere.
1478
5cf983b2
MR
14792012-06-26 Martin Rudalics <rudalics@gmx.at>
1480
1481 * calendar/calendar.el (calendar-exit): Don't try to delete or
1482 iconify last frame. See:
1483 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1484
8c4f2952
JD
14852012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1486
1487 * server.el (server-process-filter): Remember dir in the
1488 process's `server-client-directory' properties.
1489
772b2e2c
CY
14902012-06-24 Chong Yidong <cyd@gnu.org>
1491
1492 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1493 non-tag text.
1494
711b11e1
JB
14952012-06-23 Juanma Barranquero <lekktu@gmail.com>
1496
1497 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1498
dc5d230c
SM
14992012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * help-fns.el (describe-variable): Don't croak when doc is not found.
1502 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1503 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1504 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1505 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1506 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1507 ((lambda ..) ..).
1508 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1509
136e1c1d
CY
15102012-06-23 Chong Yidong <cyd@gnu.org>
1511
e8c1cabf
CY
1512 * info.el (Info-mouse-follow-link): Accept symbol values of
1513 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1514 (Info-fontify-node): Use Info-link-keymap for all navigation
1515 buttons, with link-args property to perform the desired action.
1516 (Info-link-keymap): Doc fix.
1517 (Info-next-link-keymap, Info-prev-link-keymap)
1518 (Info-up-link-keymap): Delete now-unused keymaps.
1519
0e9e6c6a
CY
15202012-06-23 Chong Yidong <cyd@gnu.org>
1521
05e89fea
CY
1522 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1523
0e9e6c6a
CY
1524 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1525 system abbrevs.
1526
1527 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1528
e33c6771
SM
15292012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1530
b68581e2
SM
1531 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1532 (bug#11719).
1533
e33c6771
SM
1534 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1535 the requote function doesn't work properly (bug#11714).
1536
7117e105
GM
15372012-06-23 Glenn Morris <rgm@gnu.org>
1538
1539 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1540
36cec983
SM
15412012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 Further GV/CL cleanups.
1544 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1545 gv-expander.
1546 (gv--defun-declaration): New function.
1547 (defun-declarations-alist): Use it.
1548 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1549 (gv-place): Autoload.
1550 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1551 original definition of dotimes and dolist.
1552 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1553 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1554 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1555 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1556 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1557 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1558 to the function's definition.
1559 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1560 * window.el:
1561 * files.el:
1562 * faces.el:
1563 * env.el: Don't use CL.
1564
d35af63c
PE
15652012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1566
1567 Support higher-resolution time stamps (Bug#9000).
1568
1569 * calendar/time-date.el (with-decoded-time-value): New arg
1570 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1571 (encode-time-value): New optional arg PICO. New type 3.
1572 (time-to-seconds) [!float-time]: Support the new picoseconds
1573 component if it's used.
1574 (seconds-to-time, time-subtract, time-add):
1575 Support ps-resolution time stamps as well.
1576
1577 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1578 (timerp): Timer vectors now have length 9, not 8.
1579 (timer--time): Support new-style (4-part) time stamps.
1580 (timer-next-integral-multiple-of-time): Time stamps now have
1581 picosecond resolution, so take a bit more care about rounding.
1582 (timer-relative-time, timer-inc-time): New optional arg psecs.
1583 (timer-set-time-with-usecs): Set psecs to 0.
1584 (timer--activate): Check psecs component, too.
1585
1586 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1587
ac77b21a
SM
15882012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1589
f143bfe3
SM
1590 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1591 Move the non-essential binding to the post/pre-command-hook where it is
1592 more obviously correct.
1593
ac77b21a
SM
1594 * subr.el (read-passwd): Don't use a history at all.
1595 * savehist.el (savehist-save): Remove password saved accidentally
1596 because of the above bug.
1597
76386c5a
BG
15982012-06-22 Bastien Guerry <bzg@gnu.org>
1599
1600 * files.el (toggle-read-only): Display a message telling whether
1601 the buffer is read-only or not (bug#11726).
1602
2ee3d7f0
SM
16032012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1604
1605 * emacs-lisp/gv.el: New file.
1606 * subr.el (push, pop): Extend to generalized variables.
1607 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1608 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1609 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1610 gv-define-simple-setter, and gv-define-expander.
1611 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1612 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1613 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1614 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1615 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1616 gv-letplace.
1617 (cl-defstruct): Don't define setf-method any more.
1618 * emacs-lisp/cl.el (flet): Don't autoload.
1619 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1620 (define-setf-expander, defsetf, define-modify-macro)
1621 (cl-struct-setf-expander): Move from cl-lib.el.
1622 * emacs-lisp/syntax.el:
1623 * emacs-lisp/ewoc.el:
1624 * emacs-lisp/smie.el:
1625 * emacs-lisp/cconv.el:
1626 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1627 (timer--time): Use gv-define-simple-setter.
1628 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1629 to avoid coding-system problems in subr.el. Adjust all users.
1630 (macroexp--maxsize, macroexp-small-p): New functions.
1631 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1632 * scroll-bar.el (scroll-bar-mode):
1633 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1634 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1635 * winner.el (winner-configuration, winner-make-point-alist)
1636 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1637 * files.el (locate-file-completion-table): Avoid list*.
1638
c5695d1d
CY
16392012-06-22 Chong Yidong <cyd@gnu.org>
1640
1641 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1642 (dired-create-files): Doc fix (Bug#11329).
1643 (dired-do-copy): Doc fix (Bug#11334).
1644 (dired-mark-read-string): Doc fix (Bug#11553).
1645
2ee3d7f0
SM
1646 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1647 Doc fix (Bug#11326).
c5695d1d
CY
1648 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1649 (dired-dwim-target): Doc fix.
1650
1651 * wdired.el (wdired-mode): Doc fix.
1652
89b5595a
GM
16532012-06-22 Glenn Morris <rgm@gnu.org>
1654
575db3f1
GM
1655 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1656 (pcmpl-rpm-cache-stamp-file): New constant.
1657 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1658 (pcmpl-rpm-packages): Optionally cache list of packages.
1659
a4c8dd51
GM
1660 * pcmpl-rpm.el (pcmpl-rpm): New group.
1661 (pcmpl-rpm-query-options): New option.
1662 (pcmpl-rpm-packages): No need to inline it.
1663 Use pcmpl-rpm-query-options.
1664
89b5595a
GM
1665 * calendar/calendar.el (calendar-in-read-only-buffer):
1666 Avoid some needless mode changes.
1667
e76f0800
CY
16682012-06-21 Chong Yidong <cyd@gnu.org>
1669
1670 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1671 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1672 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1673
297a8f1d
CY
16742012-06-20 Chong Yidong <cyd@gnu.org>
1675
1676 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1677
d34c18b1
DR
16782012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1679
1680 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1681 (bug#11201).
1682
32f7f28e
CY
16832012-06-20 Chong Yidong <cyd@gnu.org>
1684
1685 * term.el (term-window-width): Handle the case of a missing right
1686 fringe (Bug#8837).
1687 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1688 (term-mode): Use define-derived-mode. Minor cleanups.
1689 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1690 (term-move-columns, term-insert-char, term-emulate-terminal)
1691 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1692
493c6688
MA
16932012-06-20 Michael Albinus <michael.albinus@gmx.de>
1694
d34c18b1
DR
1695 * net/ange-ftp.el (ange-ftp-get-passwd):
1696 Bind `enable-recursive-minibuffers'.
493c6688
MA
1697 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1698
3f06ecf4
DR
16992012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1700
1701 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1702
68f12411
GM
17032012-06-19 Glenn Morris <rgm@gnu.org>
1704
1705 * progmodes/python.el (python-mode): Derive from prog-mode.
1706
b3820318
KG
17072012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1708
1709 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1710 (edt-user-menu-bar-update-buffers): New functions.
1711 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1712
c6bf3022
CY
17132012-06-19 Chong Yidong <cyd@gnu.org>
1714
1715 * subr.el (with-selected-window): Preserve the selected window's
1716 terminal's top-frame (Bug#4702).
1717
1718 * window.el (save-selected-window): Likewise.
1719
25f09295
SM
17202012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1721
1722 * progmodes/python.el (python-rx-constituents): Move backquote.
1723 (python-skeleton-define, python-define-auxiliary-skeleton):
1724 Use `declare'.
1725
6b11952a
MA
17262012-06-18 Michael Albinus <michael.albinus@gmx.de>
1727
1728 * minibuffer.el (read-file-name-default): Revert the patch from
1729 2012-06-17.
1730
ee4b1330
SM
17312012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1732
1733 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1734 (pcase--u1, pcase--q1): Don't use apply-partially.
1735
35647f79
GM
17362012-06-18 Glenn Morris <rgm@gnu.org>
1737
1738 * progmodes/python.el (python-proc, python-buffer)
1739 (python-send-receive, python-send-string): Fix obsolete versions.
1740
24b0cff0
MR
17412012-06-18 Martin Rudalics <rudalics@gmx.at>
1742
1743 * window.el (special-display-p): Completely remove stringp
1744 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1745
29855149
MA
17462012-06-17 Michael Albinus <michael.albinus@gmx.de>
1747
1748 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1749
1750 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1751
1752 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1753 * net/tramp-sh.el (tramp-maybe-open-connection):
1754 Throw if `non-essential' is non-nil.
1755
07463363
MR
17562012-06-17 Martin Rudalics <rudalics@gmx.at>
1757
1758 * window.el (special-display-p): Signal an error if BUFFER-NAME
1759 is not a string (Bug#11713).
1760
48d1354e
PE
17612012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1762
1763 * progmodes/python.el (python-info-beginning-of-backslash):
1764 Rename from python-info-beginning-of-backlash, as a spelling fix.
1765
eb4a8a9a
CY
17662012-06-17 Chong Yidong <cyd@gnu.org>
1767
1768 * term.el (term-emulate-terminal): If term-check-size is called,
1769 move point to the process mark without resetting point (Bug#4635).
1770
ddfbf826 17712012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1772
1773 * international/mule-cmds.el (mule-menu-keymap)
1774 (set-language-environment, set-locale-environment): Doc tweaks.
1775
9b0e3eba
AA
17762012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1777
1778 * cus-face.el (custom-face-attributes): Add wave-style underline
1779 attribute.
1780 * faces.el (set-face-attribute): Update docstring to describe
1781 wave-style underline attribute.
1782
771e3eae
CY
17832012-06-16 Chong Yidong <cyd@gnu.org>
1784
1785 * term/xterm.el (terminal-init-xterm): Discard input before
1786 querying background mode (Bug#10959).
1787
7ae2ea10
SM
17882012-06-16 Stefan Merten <smerten@oekonux.de>
1789
1790 * textmodes/rst.el: Added and corrected some comments.
1791 (rst-re-alist-def): Improve symbol syntax.
1792 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1793 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1794 (rst-official-version, rst-official-cvs-rev): Update version
1795 information.
7ae2ea10 1796
b6974efa
JB
17972012-06-15 Juanma Barranquero <lekktu@gmail.com>
1798
1799 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1800 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1801
8826d473
GM
18022012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1803
1804 * progmodes/python.el: New python.el merge.
1805 (python-guess-indent): Obsolete var.
1806 (python-indent-guess-indent-offset): New defcustom.
1807 (python-indent): Obsolete var.
1808 (python-indent-offset): New defcustom.
1809 (python-python-command, python-jython-command): Delete var.
1810 (python-shell-interpreter): New defcustom.
1811 (python-pdbtrack-do-tracking-p): Delete var.
1812 (python-pdbtrack-activate): New defcustom.
1813 (python-use-skeletons): Obsolete var.
1814 (python-skeleton-autoinsert): New defcustom.
1815 (inferior-python-filter-regexp, python-continuation-offset)
1816 (python-honour-comment-indentation, python-indent-string-contents)
1817 (python-jython-packages, python-mode-hook)
1818 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1819 (python-shell-prompt-alist)
1820 (python-source-modes): Delete defcustoms.
1821 (python-check-buffer-name, python-eldoc-setup-code)
1822 (python-eldoc-string-code, python-ffap-setup-code)
1823 (python-ffap-string-code, python-fill-comment-function)
1824 (python-fill-decorator-function, python-fill-paren-function)
1825 (python-fill-string-function, python-imenu-include-defun-type)
1826 (python-imenu-make-tree, python-imenu-subtree-root-label)
1827 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1828 (python-shell-compilation-regexp-alist)
1829 (python-shell-completion-module-string-code)
1830 (python-shell-completion-pdb-string-code)
1831 (python-shell-completion-setup-code)
1832 (python-shell-completion-string-code)
1833 (python-shell-enable-font-lock, python-shell-exec-path)
1834 (python-shell-extra-pythonpaths)
1835 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1836 (python-shell-process-environment)
1837 (python-shell-prompt-block-regexp)
1838 (python-shell-prompt-output-regexp)
1839 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1840 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1841 (python-shell-virtualenv-path): New defcustoms.
1842 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1843 (inferior-python-mode-syntax-table, python--prompt-regexp)
1844 (python-buffer, python-command python-python-command)
1845 (python-default-template, python-imports, python-indent-index)
1846 (python-indent-list, python-indent-list-length)
1847 (python-mode-running, python-pdbtrack-is-tracking-p)
1848 (python-preoutput-continuation, python-preoutput-leftover)
1849 (python-preoutput-result, python-preoutput-skip-next-prompt)
1850 (python-prev-dir/file, python-recursing)
1851 (python-saved-check-command, python-version-checked)
1852 (python-which-func-length-limit)
1853 (view-return-to-alist): Delete vars.
1854 (python-check-custom-command, python-dotty-syntax-table)
1855 (python-imenu-index-alist, python-indent-current-level)
1856 (python-indent-dedenters, python-indent-levels)
1857 (python-nav-beginning-of-defun-regexp)
1858 (python-nav-list-defun-positions-cache)
1859 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1860 (python-shell-internal-buffer)
1861 (python-skeleton-available): New vars.
1862 (def-python-skeleton): Delete macro.
1863 (python-skeleton-define): New macro.
1864 (python-define-auxiliary-skeleton, python-rx): New macros.
1865 (python-insert-class): Delete command.
1866 (python-skeleton-class): New command.
1867 (python-insert-def): Delete command.
1868 (python-skeleton-def): New command.
1869 (python-insert-for): Delete command.
1870 (python-skeleton-for): New command.
1871 (python-insert-if): Delete command.
1872 (python-skeleton-if): New command.
1873 (python-insert-try/except, python-insert-try/finally): Delete commands.
1874 (python-skeleton-try): New command.
1875 (python-insert-while): Delete command.
1876 (python-skeleton-while): New command.
1877 (python-backspace): Delete command.
1878 (python-indent-dedent-line-backspace): New command.
1879 (python-electric-colon): Delete command.
1880 (python-indent-electric-colon): New command.
1881 (python-guess-indent): Delete command.
1882 (python-indent-guess-indent-offset): New command.
1883 (python-shift-left): Delete command.
1884 (python-indent-shift-left): New command.
1885 (python-shift-right): Delete command.
1886 (python-indent-shift-right): New command.
1887 (python-find-function): Delete command.
1888 (python-nav-jump-to-defun): New command.
1889 (python-next-statement): Delete command.
1890 (python-nav-forward-sentence): New command.
1891 (python-previous-statement): Delete command.
1892 (python-nav-backward-sentence): New command.
1893 (python-fill-paragraph): Delete command.
1894 (python-fill-paragraph-function): New command.
1895 (python-send-buffer): Delete command.
1896 (python-shell-send-buffer): New command.
1897 (python-send-defun): Delete command.
1898 (python-shell-send-defun): New command.
1899 (python-send-region, python-send-region-and-go): Delete commands.
1900 (python-shell-send-region)
1901 (python-shell-switch-to-shell): New commands.
1902 (python-send-string): Delete command.
1903 (python-shell-send-string): New command.
1904 (python-switch-to-python): Delete command.
1905 (python-shell-switch-to-shell): New command.
1906 (python-describe-symbol): Delete command.
1907 (python-eldoc-at-point): New command.
1908 (python--set-prompt-regexp, python-args-to-list)
1909 (python-after-info-look, python-check-version)
1910 (python-check-comint-prompt, python-find-imports)
1911 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1912 (python-unload-function, python-expand-template)
1913 (python-maybe-jython, python-preoutput-filter)
1914 (python-pdbtrack-get-source-buffer)
1915 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1916 (python-pdbtrack-toggle-stack-tracking)
1917 (python-pdbtrack-track-stack-file, python-initial-text)
1918 (python-first-word, python-comment-line-p, python-send-command)
1919 (python-setup-brm, python-sentinel, python-set-proc)
1920 (python-skip-out, python-input-filter, python-outdent-p)
1921 (python-outline-level, python-backslash-continuation-line-p)
1922 (python-end-of-block, python-end-of-statement, python-mark-block)
1923 (python-beginning-of-block, python-beginning-of-statement)
1924 (python-blank-line-p, python-beginning-of-string)
1925 (python-open-block-statement-p): Delete functions.
1926 (python-indent-line, python-indent-line-1): Delete functions.
1927 (python-indent-line): New function.
1928 (python-indentation-levels): Delete function.
1929 (python-indent-calculate-levels): New function.
1930 (python-proc): Delete function.
1931 (python-shell-get-process): New function.
1932 (python-send-receive): Delete function.
1933 (python-shell-send-string-no-output): New function.
1934 (python-module-path): Delete function.
1935 (python-ffap-module-path): New function.
1936 (python-completion-at-point)
1937 (python-symbol-completions): Delete functions.
1938 (python-completion-complete-at-point): New function.
1939 (python-load-file): Delete function.
1940 (python-shell-send-file): New function.
1941 (python-calculate-indentation): Delete function.
1942 (python-indent-calculate-indentation): New function.
1943 (python-skip-comments/blanks): Delete function.
1944 (python-util-forward-comment): New function.
1945 (python-continuation-line-p): Delete function.
1946 (python-info-continuation-line-p): New function.
1947 (python-which-func, python-current-defun): Delete function.
1948 (python-info-current-defun): New function.
1949 (python-beginning-of-defun): Delete function.
1950 (python-nav-beginning-of-defun): New function.
1951 (python-close-block-statement-p)
1952 (python-block-end-p): Delete function.
1953 (python-info-closing-block): New function.
1954 (python-comint-output-filter-function)
1955 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1956 (python-fill-comment, python-fill-decorator, python-fill-paren)
1957 (python-fill-string, python-imenu-make-element-tree)
1958 (python-imenu-make-tree, python-imenu-tree-assoc)
1959 (python-indent-context, python-indent-dedent-line)
1960 (python-indent-line-function)
1961 (python-indent-post-self-insert-function)
1962 (python-indent-toggle-levels)
1963 (python-info-assignment-continuation-line-p)
1964 (python-info-beginning-of-backlash)
1965 (python-info-block-continuation-line-p)
1966 (python-info-closing-block-message)
1967 (python-info-line-ends-backslash-p)
1968 (python-info-looking-at-beginning-of-defun)
1969 (python-info-ppss-context, python-info-ppss-context-type)
1970 (python-nav-list-defun-positions, python-nav-read-defun)
1971 (python-nav-sentence-end, python-nav-sentence-start)
1972 (python-pdbtrack-comint-output-filter-function)
1973 (python-pdbtrack-set-tracked-buffer)
1974 (python-shell-calculate-exec-path)
1975 (python-shell-calculate-process-environment)
1976 (python-shell-completion--do-completion-at-point)
1977 (python-shell-completion--get-completions)
1978 (python-shell-completion-complete-at-point)
1979 (python-shell-completion-complete-or-indent)
1980 (python-shell-get-or-create-process)
1981 (python-shell-get-process-name)
1982 (python-shell-internal-get-or-create-process)
1983 (python-shell-internal-get-process-name)
1984 (python-shell-internal-send-string, python-shell-make-comint)
1985 (python-shell-parse-command, python-shell-send-setup-code)
1986 (python-skeleton-add-menu-items)
1987 (python-util-clone-local-variables, python-util-position)
1988 (run-python-internal, python-indentation-levels)
1989 (python-nav-beginning-of-defun)
1990 (python-completion-complete-at-point): New functions.
1991 (run-python): Change arguments. New API requirements.
1992
4302f5ba
SM
19932012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1994
f38ea36d
SM
1995 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1996 (bug#11649).
1997
1998 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1999 (macroexp--expand-all): Use it.
2000
4302f5ba
SM
2001 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2002 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2003 Use `cl-function' instead.
2004
33377562
JB
20052012-06-14 Juanma Barranquero <lekktu@gmail.com>
2006
2007 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2008 Suggested by Stefan Monnier while discussing bug#11657.
2009
54c5ba1a
SS
20102012-06-14 Sam Steingold <sds@gnu.org>
2011
2012 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2013
f9f1b1fe
AS
20142012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2015
2016 * play/doctor.el (doctor-doc): Remove parameter and use
2017 doctor-sent instead of sent.
2018 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2019
a81068ba
SM
20202012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2021
5a315f9c
SM
2022 * files.el: Require cl-lib.
2023 (file-name-non-special): Replace case -> cl-case.
2024
2025 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2026
a81068ba
SM
2027 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2028 mapping from #' to function*.
2029
8cca9703
CY
20302012-06-13 Chong Yidong <cyd@gnu.org>
2031
2032 * mouse.el (mouse-drag-track): Do not set the mark if the user
2033 releases the mouse without selecting anything (Bug#11588).
2034
a12ac9d7
SM
20352012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2036
ccf1dc18
SM
2037 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2038 as well (bug#11646).
2039
ef62b23d
SM
2040 * loadup.el: Count byte-code functions as well.
2041
c4c8444a
SM
2042 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2043 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2044
a12ac9d7
SM
2045 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2046 (bug#11649). Add cl-defun and cl-defmacro.
2047
87e6e64f
DA
20482012-06-13 Drew Adams <drew.adams@oracle.com>
2049
2050 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2051 Fix last change.
2052
682cefaf
MA
20532012-06-13 Michael Albinus <michael.albinus@gmx.de>
2054
2055 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2056 Otherwise, it blocks in batch mode.
2057
773e1f08
JB
20582012-06-13 Juanma Barranquero <lekktu@gmail.com>
2059
2060 * help-mode.el (bookmark-make-record-default): Declare.
2061
60057926
CY
20622012-06-13 Chong Yidong <cyd@gnu.org>
2063
2064 * emacs-lisp/package.el (list-packages): Compute a list of
2065 packages that are newly-available since the last list-packages
2066 invocation.
2067 (package-menu--new-package-list): New var.
2068 (package-menu--generate, package-menu--print-info)
2069 (package-menu--status-predicate, package-menu-mark-install):
2070 Handle new status label "new".
2071
ad4d226c
SM
20722012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2073
2074 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2075 conversion to backquotes.
2076
f1a4e679
CY
20772012-06-12 Chong Yidong <cyd@gnu.org>
2078
2079 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2080 Rename from gud-inhibit-global-bindings.
2081
2082 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2083
2084 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2085 hook from nxml-glyph-set-hook.
2086
2087 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2088 declaration.
2089
2090 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2091
2092 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2093 Convert to defcustom.
2094
0c9e42b5
DA
20952012-06-12 Drew Adams <drew.adams@oracle.com>
2096
2097 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2098 New functions.
2099 (help-mode): Use them.
2100
09e06855
GM
21012012-06-11 Glenn Morris <rgm@gnu.org>
2102
2103 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2104 Use preprocessor face for directives.
2105 (fortran-directive-re): Doc fix.
2106
71adb94b
SM
21072012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2eb87922
SM
2109 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2110 conversion to backquotes (bug#11652).
2111
71adb94b
SM
2112 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2113 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2114 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2115 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2116 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2117 (cl-ninth, cl-tenth): Mark them as inlinable.
2118 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2119 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2120 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2121 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2122 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2123 (cl-list*, cl-adjoin): Don't put an autoload manually.
2124 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2125 (cl--compiler-macro-list*): Add autoload cookie.
2126 (cl--compiler-macro-cXXr): New function.
2eb87922 2127
71adb94b
SM
2128 * help-fns.el (help-fns--compiler-macro): New function extracted from
2129 describe-function-1; follow aliases and use `compiler-macro' property.
2130 (describe-function-1): Use it.
2131
a6674402
CY
21322012-06-11 Chong Yidong <cyd@gnu.org>
2133
2134 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2135 is uninstalled, if imagemagick is installed.
2136
bb3faf5b
SM
21372012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2138
2139 * emacs-lisp/cl-lib.el: Use lexical-binding.
2140 (cl-map-extents, cl-maclisp-member): Remove.
2141 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2142 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2143 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2144 * emacs-lisp/cl-extra.el: Use lexical-binding.
2145 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2146 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2147 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2148 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2149 * emacs-lisp/cl-seq.el: Use lexical-binding.
2150 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2151 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2152 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2153 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2154 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2155 CL's internals.
2156
2fe4b125
MA
21572012-06-11 Michael Albinus <michael.albinus@gmx.de>
2158
2159 Sync with Tramp 2.2.6-pre.
2160
2161 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2162 `print-length' and `print-level' to nil, in order to avoid
2163 truncation. Reported by Christopher Schmidt
2164 <christopher@ristopher.com>.
2165
2166 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2167
2168 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2169 New defmacro.
2170 (tramp-compat-copy-directory): Add optional argument
2171 COPY-CONTENTS. It is not handled yet.
2172
2173 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2174 (tramp-ftp-file-name-p): Simplify.
2175
2176 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2177 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2178 connection vector.
2179
2180 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2181 (tramp-methods): Do not use `tramp-password-end-of-line'.
2182 (tramp-completion-function-alist-putty): Handle UNIX case.
2183 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2184 (tramp-do-file-attributes-with-stat)
2185 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2186 gid as real numbers. They could run out of integer range on cygwin.
2187 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2188 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2189 (tramp-open-connection-setup-interactive-shell):
2190 Use `tramp-cleanup'. Move check for busyboxes ...
2191 (tramp-find-shell): ... here. Simplify implementation.
2192 Set "remote-shell" property also for alternative shells.
2193 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2194 If failing, a regular file would be written otherwise.
2195 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2196 (tramp-find-inline-encoding): Cache the coding commands in the
2197 process cache. Apply test command on the remote side, if defined.
2198 (tramp-find-inline-compress): Cache the compress commands in the
2199 process cache.
2200 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2201 when requested. Handle hops.
2202 (tramp-current-connection): New defvar.
87e6e64f
DA
2203 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2204 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2205 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2206 (tramp-get-inline-compress, tramp-get-inline-coding):
2207 Read connection properties from the process cache.
2fe4b125
MA
2208
2209 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2210 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2211 New defconsts.
2fe4b125
MA
2212 (tramp-smb-prompt): Extend for powershell prompt.
2213 (tramp-smb-file-name-handler-alist): Add handlers for
2214 `process-file', `shell-command' and `start-file-process'.
2215 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2216 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2217 (tramp-smb-file-name-p): Simplify.
2218 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2219 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2220 (tramp-smb-shell-quote-argument): New defuns.
2221 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2222 Implement using "tar". By this, time-stamps are preserved.
2223 (tramp-smb-handle-copy-file): Handle also the case of directories.
2224 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2225 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2226 Use `tramp-get-connection-buffer').
2fe4b125
MA
2227 (tramp-smb-handle-rename-file): Use "rename", when source and
2228 target are on the same share.
87e6e64f
DA
2229 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2230 Use `tramp-smb-server-version'.
2fe4b125
MA
2231 (tramp-smb-wait-for-output): Remove prompt.
2232
2233 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2234 (tramp-methods, tramp-rsh-end-of-line):
2235 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2236 (tramp-save-ad-hoc-proxies): New defcustom.
2237 (tramp-completion-function-alist): Adapt docstring.
2238 (tramp-default-password-end-of-line): Remove defcustom.
2239 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2240 (tramp-user-regexp, tramp-file-name-regexp-unified)
2241 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2242 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2243 (tramp-remote-file-name-spec-regexp): New defconst.
2244 (tramp-file-name-structure): Extend structure for hops.
2245 (tramp-get-method-parameter): Move up.
2246 (tramp-file-name-p, tramp-dissect-file-name)
2247 (with-parsed-tramp-file-name): Handle hops.
2248 (tramp-file-name-hop): New defun.
2249 (tramp-make-tramp-file-name): New optional arg HOP.
2250 (tramp-message-show-progress-reporter-message): New defvar.
2251 (tramp-with-progress-reporter): Use it. We cannot use
2252 `tramp-message-show-message' here, because this suppresses also
2253 error buffers.
2254 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2255 `tramp-message-show-message' is nil.
2256 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2257 (tramp-cleanup): New defun.
2258 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2259 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2260 an error unchanged.
2261 (tramp-completion-handle-file-name-all-completions): Handle hops.
2262 Fix an error when called from ido.
2263 (tramp-completion-dissect-file-name): Use better local variable
2264 name. Add hop to the vector.
2265 (tramp-handle-insert-file-contents): Use progress-reporter for the
2266 whole scenario.
2267 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2268 to `t'.
2269 (tramp-check-for-regexp): Simplify search.
2270 (tramp-enter-password): Remove it. Move implementation ...
2271 (tramp-action-password): ... here.
2272 (tramp-mode-string-to-int, tramp-local-host-p)
2273 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2274 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2275 Set tramp-autoload cookie.
2fe4b125
MA
2276
2277 * net/trampver.el: Update release number.
2278
22792012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2280 Michael Albinus <michael.albinus@gmx.de>
2281
2282 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2283 (tramp-parse-group, tramp-parse-file)
2284 (tramp-parse-shostkeys-sknownhosts): New defuns.
2285 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2286 (tramp-parse-shosts-group, tramp-parse-sconfig)
2287 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2288 (tramp-parse-sknownhosts, tramp-parse-hosts)
2289 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2290 Use them.
2291 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2292 (tramp-parse-putty-group): Don't narrow.
2293 (tramp-parse-putty): Make a loop.
2294 (tramp-file-name-handler): Catch the `suppress' signal.
2295
72834e10
CY
22962012-06-11 Chong Yidong <cyd@gnu.org>
2297
2298 * image.el (imagemagick-register-types): Put the ImageMagick entry
2299 at the end of image-type-file-name-regexps.
2300
a4712e11
JB
23012012-06-11 Johan Bockgård <bojohan@gnu.org>
2302
2303 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2304 (pcase, pcase-let*, pcase-dolist): Use them.
2305
82ad98e3
SM
23062012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * emacs-lisp/pcase.el (pcase--let*): New function.
2309 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2310 (pcase--expand): Use macroexp-let².
2311
f80efb86
SM
23122012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2313
2314 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2315 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2316 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2317 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2318 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2319 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2320
31ca4639 23212012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2322
31ca4639
CY
2323 * mail/rmail.el (rmail-yank-current-message): Leave point at
2324 correct position. (Bug#11660)
94f0aa34 2325
31ca4639 23262012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2327
31ca4639 2328 * allout-widgets.el: Fix code header.
9e1b8ec4 2329
31ca4639 23302012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2331
f80efb86
SM
2332 * cus-edit.el (customize-changed-options-previous-release):
2333 Bump to 24.1.
31ca4639 2334
642b6d30
AS
23352012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2336
2337 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2338
4f5d2ba1
CY
23392012-06-09 Chong Yidong <cyd@gnu.org>
2340
2341 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2342
e75852fd
MR
23432012-06-09 Martin Rudalics <rudalics@gmx.at>
2344
2345 * window.el (special-display-popup-frame): Don't use
2346 window--display-buffer (Bug#11651).
2347
1e48e282
EZ
23482012-06-09 Eli Zaretskii <eliz@gnu.org>
2349
8a26b487
EZ
2350 Fix parallel builds: make sure loaddefs.el is not being written
2351 while Lisp files are compiled.
2352 (compile): Don't depend on 'mh-autoloads'.
2353 (compile-CMD, compile-SH): Depend on 'autoloads'.
2354 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2355
1e48e282
EZ
2356 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2357
6175e34b
CY
23582012-06-09 Chong Yidong <cyd@gnu.org>
2359
2360 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2361 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2362 Doc fixes (Bug#11225).
2363
d9857e53
SM
23642012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2366 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2367 a function if there's a clear indication that it has a compiler-macro.
2368 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2369 (macro-declarations-alist): Add arglist to declaration functions.
2370 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2371 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2372 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2373 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2374 Also add autoload to find the compiler macro.
2375 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2376 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2377 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2378 (cl--compiler-macro-get): New functions, replacing calls to
2379 cl-define-compiler-macro.
2380 (cl-typep) [compiler-macro]: Use macroexp-let².
2381
f81298f8 23822012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2383
2384 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2385 string properly, fixes Bug#11473.
2386
4b56d0fe
CY
23872012-06-08 Chong Yidong <cyd@gnu.org>
2388
2389 * faces.el (set-face-attribute): Doc fix.
2390 (modify-face): Don't use :bold and :italic.
2391 (error, warning, success): Tweak definitions.
2392
2393 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2394 (custom-modified, custom-set, custom-changed, custom-themed)
2395 (custom-saved, custom-button, custom-button-mouse)
2396 (custom-button-pressed, custom-state, custom-comment-tag)
2397 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2398 (custom-group-subtitle): Use new-style face specs.
2399 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2400 (custom-set-face, custom-changed-face, custom-saved-face)
2401 (custom-button-face, custom-button-pressed-face)
2402 (custom-documentation-face, custom-state-face)
2403 (custom-comment-face, custom-comment-tag-face)
2404 (custom-variable-tag-face, custom-variable-button-face)
2405 (custom-face-tag-face, custom-group-tag-face-1)
2406 (custom-group-tag-face): Remove obsolete face alias.
2407
2408 * epa.el (epa-validity-high, epa-validity-medium)
2409 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2410 (epa-field-name, epa-field-body):
2411 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2412 (font-lock-keyword-face, font-lock-builtin-face)
2413 (font-lock-function-name-face, font-lock-variable-name-face)
2414 (font-lock-type-face, font-lock-constant-face):
2415 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2416 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2417 * speedbar.el (speedbar-button-face, speedbar-file-face)
2418 (speedbar-directory-face, speedbar-tag-face)
2419 (speedbar-selected-face, speedbar-highlight-face)
2420 (speedbar-separator-face):
2421 * whitespace.el (whitespace-newline, whitespace-space)
2422 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2423 (whitespace-line, whitespace-space-before-tab)
2424 (whitespace-space-after-tab, whitespace-indentation)
2425 (whitespace-empty):
2426 * emulation/cua-base.el (cua-global-mark):
2427 * eshell/em-prompt.el (eshell-prompt):
2428 * net/newst-plainview.el (newsticker-new-item-face)
2429 (newsticker-old-item-face, newsticker-immortal-item-face)
2430 (newsticker-obsolete-item-face, newsticker-date-face)
2431 (newsticker-statistics-face, newsticker-default-face):
2432 * net/newst-reader.el (newsticker-feed-face)
2433 (newsticker-extra-face, newsticker-enclosure-face):
2434 * net/newst-treeview.el (newsticker-treeview-face)
2435 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2436 (newsticker-treeview-immortal-face)
2437 (newsticker-treeview-obsolete-face)
2438 (newsticker-treeview-selection-face):
2439 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2440 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2441 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2442 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2443 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2444 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2445 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2446 (mpuz-text):
2447 * progmodes/vera-mode.el (vera-font-lock-number)
2448 (vera-font-lock-function, vera-font-lock-interface):
2449 * textmodes/table.el (table-cell): Use new-style face specs, and
2450 don't use the old :bold and :italic attributes.
2451
2452 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2453 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2454 (ebrowse-member-class, ebrowse-progress): Likewise.
2455 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2456 (ebrowse-file-name-face, ebrowse-default-face)
2457 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2458 (ebrowse-progress-face): Remove obsolete faces.
2459
2460 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2461 Inherit from error and warning faces respectively.
2462
2463 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2464 Likewise.
f80efb86
SM
2465 (flyspell-incorrect-face, flyspell-duplicate-face):
2466 Remove obsolete aliases.
4b56d0fe 2467
03310646
MA
24682012-06-08 Michael Albinus <michael.albinus@gmx.de>
2469
2470 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2471 Avoid infloop.
2472
513749ee
SM
24732012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2474
2475 * startup.el (argv, argi): Make lexically scoped.
2476 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2477 * emacs-lisp/cl-macs.el: Use lexical-binding.
2478 Rename cl-bind-* to cl--bind-*.
2479 * files.el: Don't require `cl' since it doesn't use it.
2480 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2481
595ef4ad
JB
24822012-06-08 Juanma Barranquero <lekktu@gmail.com>
2483
2484 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2485 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2486 instead of calling external sort utility.
2487 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2488
e9f66fcb
EZ
24892012-06-08 Eli Zaretskii <eliz@gnu.org>
2490
2491 * descr-text.el (describe-char): Mention how to insert the
2492 character, if the current input method doesn't support it.
2493 See the discussion in this thread for the details:
2494 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2495
3d10db47
SS
24962012-06-08 Sam Steingold <sds@gnu.org>
2497
2498 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2499 XF86Back to previous-buffer.
2500 (minibuffer-local-map): Bind them to next-history-element and
2501 previous-history-element respectively.
2502 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2503 help-go-back respectively.
2504 * info.el (Info-mode-map): Bind them to Info-history-forward and
2505 Info-history-back respectively.
2506 These are the keys next to Up on the ThinkPad keyboard.
2507
de7e2b36
SM
25082012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2511 * emacs-lisp/cl-macs.el: Provide itself.
2512 (cl--labels-convert-cache): New var.
2513 (cl--labels-convert): New function.
2514 (cl-flet, cl-labels): New implementation with new semantics, relying on
2515 lexical-binding.
2516 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2517 (cl-closure-vars, cl--function-convert-cache)
2518 (cl--function-convert): Move from cl-macs.el.
2519 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2520 rename by removing the "cl-" prefix.
2521 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2522
6fa6c4ae
SM
25232012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2526 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2527 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2528 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2529 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2530 (cl-hash-table-count): Add old compatibility aliases.
2531
2532 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2533 Use macroexpand-all-environment instead.
2534 (cl--old-macroexpand): New var.
2535 (cl--sm-macroexpand): New function.
2536 (cl-symbol-macrolet): Use it during macro expansion.
2537 (cl--function-convert-cache): New var.
2538 (cl--function-convert): New function, extracted from
2539 cl-macroexpand-all.
2540 (cl-lexical-let): Use it.
2541
2542 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2543 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2544 (cl-member): Remove old alias.
2545
2546 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2547 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2548 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2549 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2550 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2551 (cl-macroexpand-cmacs): Remove var.
2552 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2553 Use macroexpand-all instead.
2554
4dd1c416
SM
25552012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2556
2557 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2558 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2559 (macroexp-copyable-p): New functions and macros.
2560 * emacs-lisp/edebug.el (edebug-unwrap):
2561 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2562 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2563 (pcase--let*): Remove.
2564 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2565 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2566 macroexp-const-p instead.
2567 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2568
2569 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2570 instead of "cl-" for internal definitions. Use macroexp-const-p.
2571 (cl-old-bc-file-form): Remove var.
2572 (cl-const-exprs-p): Remove fun.
2573 (cl-labels, cl-macrolet): Use backquote.
2574 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2575 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2576 (cl-define-setf-expander): Rename from cl-define-setf-method.
2577 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2578
2579 * international/mule-cmds.el: Don't require CL.
2580 (view-hello-file): Don't use `letf'.
2581
ed8bd4d7
SM
25822012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2583
7287f2f3
SM
2584 * tmm.el (tmm-prompt): Use string-prefix-p.
2585 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2586 (tmm-add-prompt): Use minibuffer-completion-help.
2587 (tmm-delete-map): Remove.
2588
ed8bd4d7
SM
2589 * subr.el (kbd): Make it its own function.
2590
7b4cdbf4
SM
25912012-06-07 Stefan Merten <smerten@oekonux.de>
2592
2593 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2594 Silence compiler warnings. Fix versions.
ed8bd4d7 2595 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2596 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2597 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2598 (rst-package-emacs-version-alist): Correct Emacs version to
2599 represent major merge with upstream.
ed8bd4d7 2600 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2601
2b48d721
GM
26022012-06-06 Glenn Morris <rgm@gnu.org>
2603
2604 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2605 Only print environment variables if set.
2606
fa779ab0
SM
26072012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2610 (macroexp--cons): Rename from maybe-cons.
2611 (macroexp--accumulate): Rename from macroexp-accumulate.
2612 (macroexp--all-forms): Rename from macroexpand-all-forms.
2613 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2614 (macroexp--expand-all): Rename from macroexpand-all-1.
2615
628299e0
SS
26162012-06-06 Sam Steingold <sds@gnu.org>
2617
2618 * calendar/calendar.el (calendar-in-read-only-buffer):
2619 Call `special-mode' to enable the standard read-only keybindings.
2620
b7bb5838
SM
26212012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2622
2623 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2624 with "loading" messages (bug#11635).
2625
dfb308ba
MA
26262012-06-06 Michael Albinus <michael.albinus@gmx.de>
2627
2628 * files.el (enable-remote-dir-locals): New option.
2629 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2630
0372ee92
MA
2631 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2632 Ensure, that the temp directory is local.
2633
2634 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2635 `temporary-file-directory'.
2636
eed0bb91
MA
2637 * progmodes/python.el (python-send-region): Ensure, that the
2638 temporary file is created also in the remote case.
2639
7a58f64d
GM
26402012-06-06 Glenn Morris <rgm@gnu.org>
2641
f7dd4e98
GM
2642 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2643 (vc-rcs-update-changelog): Use it.
2644
090bd7cb 2645 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2646
7a58f64d
GM
2647 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2648 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2649 (vc-sccs-diff): Replace use of the external vcdiff script.
2650
daed4003
GM
26512012-06-05 Glenn Morris <rgm@gnu.org>
2652
2653 * ledit.el: Move to obsolete/.
2654
48c455c7
SS
26552012-06-05 Sam Steingold <sds@gnu.org>
2656
ed9265fc 2657 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2658 patch (Bug#11140).
2659
57a7d507
SM
26602012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2661
090bd7cb 2662 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2663
53aacf21
SM
2664 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2665 compiler-macro expansion.
2666
57a7d507
SM
2667 Add native compiler-macro support.
2668 * emacs-lisp/macroexp.el (macroexpand-all-1):
2669 Support compiler-macros directly. Properly follow aliases and apply
2670 the compiler macros more thoroughly.
2671 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2672 macroexpand now properly follows aliases.
2673 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2674 (cl-compiler-macroexpand): Use new prop.
2675 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2676
2677 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2678
51a5f9d8
MR
26792012-06-05 Martin Rudalics <rudalics@gmx.at>
2680
2681 * window.el (get-lru-window, get-mru-window, get-largest-window):
2682 New argument NOT-SELECTED to avoid picking the selected window.
2683 (window--display-buffer-1, window--display-buffer-2): Replace by
2684 new function window--display-buffer
2685 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2686 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2687 Use window--display-buffer.
51a5f9d8
MR
2688 (display-buffer-use-some-window): Remove temporary dedication
2689 hack by calling get-lru-window and get-largest-window with
2690 NOT-SELECTED argument non-nil. Call window--display-buffer.
2691
08f9f738
GM
26922012-06-05 Glenn Morris <rgm@gnu.org>
2693
2694 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2695 Replace external vcdiff script.
2696
e364a2b7
SM
26972012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2698
2699 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2700
041df390
CY
27012012-06-04 Chong Yidong <cyd@gnu.org>
2702
e364a2b7
SM
2703 * image.el (imagemagick-types-inhibit): Revert last change.
2704 Add INFO and M.
47b36b94 2705 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2706
7c1898a7
SM
27072012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * emacs-lisp/cl-lib.el: Rename from cl.el.
2710 * emacs-lisp/cl.el: New compatibility file.
2711 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2712 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2713 to obey the "cl-" prefix.
2714 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2715
0c3461de
GM
27162012-06-03 Glenn Morris <rgm@gnu.org>
2717
1e266c88
GM
2718 * emacs-lisp/authors.el (authors-aliases): Addition.
2719
0c3461de
GM
2720 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2721 Fix :version.
2722
d8a52e15
SM
27232012-06-03 Stefan Merten <smerten@oekonux.de>
2724
2725 * textmodes/rst.el: Add comments.
2726 (rst-transition, rst-adornment): New faces.
2727 (rst-adornment-faces-alist): Make default safe to reevaluate.
2728 Fixes
2729 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2730 Improve customization tags.
2731 (rst-define-level-faces): Clarify meaning.
2732
5205d6f6
CY
27332012-06-03 Chong Yidong <cyd@gnu.org>
2734
2735 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2736 (compilation-mode-line-run, compilation-mode-line-exit):
2737 New faces.
5205d6f6
CY
2738 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2739
757ee657
JD
27402012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2741
7c1898a7
SM
2742 * progmodes/which-func.el (which-func-update-ediff-windows):
2743 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2744
5f2c76c6
CY
27452012-06-03 Chong Yidong <cyd@gnu.org>
2746
2747 * bindings.el: Remove explicit help text from format-mode-line.
2748 It is now supplied by mode-line-default-help-echo.
2749 (mode-line-front-space, mode-line-end-spaces)
2750 (mode-line-misc-info): New variables.
2751 (mode-line-modes, mode-line-position): Move the default value to
2752 the variable definition.
2753 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2754 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2755 (mode-line-modified-help-echo): New functions.
2756 (mode-line-mule-info, mode-line-modified): Use them.
2757 (mode-line-eol-desc, propertized-buffer-identification):
2758 Consistency fixes for help text.
cbe46e5f
CY
2759 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2760 set-buffer-file-coding-system (Bug#289).
2761 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2762
f2d6a3df
SM
27632012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2764
2765 * simple.el (execute-extended-command): Set real-this-command
2766 (bug#11506).
2767
37269466
CY
27682012-06-02 Chong Yidong <cyd@gnu.org>
2769
2770 Remove incorrect uses of "modeline" in comments, docstrings, and
2771 function/variable names (Bug#10329).
2772
2773 * cus-edit.el (mode-line):
2774 * dframe.el (dframe-mouse-hscroll):
2775 * emacs-lisp/re-builder.el:
2776 * emacs-lisp/easy-mmode.el (define-minor-mode):
2777 * frame.el (set-frame-name):
2778 * help.el (lookup-minor-mode-from-indicator):
2779 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2780 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2781 (c-toggle-hungry-state):
2782 * progmodes/antlr-mode.el (antlr-language-alist):
2783 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2784 * progmodes/vhdl-mode.el (vhdl-mode):
2785 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2786 * term/ns-win.el (ns-face-at-pos):
2787 * term/sup-mouse.el (sup-mouse-report):
2788 * textmodes/flyspell.el (flyspell-mode-line-string):
2789 * textmodes/ispell.el (ispell-highlight-face):
2790 * textmodes/reftex-global.el:
2791 * vc/vc-arch.el (vc-arch-mode-line-string):
2792 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2793 * vc/vc-git.el (vc-git-mode-line-string):
2794 * vc/vc-hooks.el (vc-display-status)
2795 (vc-default-mode-line-string):
2796 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2797
2798 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2799
2800 * dired.el (dired-sort-set-mode-line): Rename from
2801 dired-sort-set-modeline. All callers changed.
2802
2803 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2804 eshell-status-in-modeline.
2805
2806 * foldout.el (foldout-mode-line-string): Rename from
2807 foldout-modeline-string. All callers changed.
2808 (foldout-update-mode-line): Rename from foldout-update-modeline.
2809
2810 * subr.el (redraw-modeline): Make into obsolete alias.
2811
2812 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2813 timeclock-modeline-display. Make old name an alias.
2814 (timeclock-update-mode-line): Likewise. All callers changed.
2815 (timeclock-mode-line-display): No need to check before using
2816 add-hook.
2817 (timeclock-relative, timeclock-day-over-hook)
2818 (timeclock-use-elapsed, timeclock-mode-string)
2819 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2820
2821 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2822 crisp-mode-modeline-string.
2823
2824 * play/solitaire.el (solitaire-build-mode-line): Rename from
2825 solitaire-build-modeline. All callers changed.
2826
2827 * play/zone.el (zone-hiding-mode-line): Rename from
2828 zone-hiding-modeline. All callers changed.
2829 (zone): Remove unusued `modeline-hidden-level' property.
2830
2831 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2832 xscheme-modeline-initialize. All callers changed.
2833
2834 * strokes.el (strokes-lighter): Rename from
2835 strokes-modeline-string.
2836
2837 * textmodes/sgml-mode.el (html-face-tag-alist)
2838 (html-tag-face-alist): Use mode-line face instead of obsolete
2839 alias modeline.
2840
42152ee4
SM
28412012-06-02 Stefan Merten <smerten@oekonux.de>
2842
2843 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2844 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2845
95f520b5
CY
28462012-06-02 Chong Yidong <cyd@gnu.org>
2847
2848 * image.el (imagemagick-enabled-types): Rename from
2849 imagemagick-types-enable. Add many more types.
2850 (imagemagick-types-inhibit): Change default to nil.
2851 (imagemagick-filter-types): Caller changed.
2852
4a5f187a
SM
28532012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2854
03fef3e6
SM
2855 * emacs-lisp/cl-macs.el: Use backquotes.
2856 (cl-transform-function-property): Use eval-and-compile rather than
2857 abusing `require'.
2858 (defstruct): Use declare-function instead of with-no-warnings.
2859
4a5f187a
SM
2860 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2861 (byte-compile-output-docform): Re-add the print-circle bindings.
2862 (byte-compile-fix-header): Use #$ just because it's shorter.
2863 (byte-compile-output-file-form): Remove defun/defmacro.
2864
bd56924f
MR
28652012-06-01 Martin Rudalics <rudalics@gmx.at>
2866
2867 * simple.el (choose-completion): Remove now obsolete binding for
2868 owindow.
2869
046e38ce
MA
28702012-06-01 Michael Albinus <michael.albinus@gmx.de>
2871
2872 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2873 in order to avoid "Stack overflow in regexp matcher".
2874
32d72c2f
GM
28752012-05-31 Glenn Morris <rgm@gnu.org>
2876
2877 * image.el: For clarity, call imagemagick-register-types at
2878 top-level, rather than relying on a custom :initialize.
2879 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2880 (imagemagick-filter-types): New function. (Bug#7406)
2881 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2882 If disabling support, remove elements altogether rather
2883 than using an impossible regexp.
2884 (imagemagick-types-inhibit): Give it the default init function.
2885
dd41169b
SM
28862012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2887
4a5f187a
SM
2888 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2889 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2890
efc00ab1 28912012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2892
2893 * desktop.el (desktop-read): Clear previous and next buffers for
2894 all windows and bury *Messages* buffer (bug#11556).
2895
500fcedc
SM
28962012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2897
2898 Add `declare' for `defun'. Align `defmacro's with it.
2899 * emacs-lisp/easy-mmode.el (define-minor-mode)
2900 (define-globalized-minor-mode): Don't autoload the var definitions.
2901 * emacs-lisp/byte-run.el: Use lexical-binding.
2902 (defun-declarations-alist, macro-declarations-alist): New vars.
2903 (defmacro, defun): Use them.
2904 (make-obsolete, define-obsolete-function-alias)
2905 (make-obsolete-variable, define-obsolete-variable-alias):
2906 Use `declare'.
2907 (macro-declaration-function): Mark obsolete.
2908 * emacs-lisp/autoload.el: Use lexical-binding.
2909 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2910
6e8a1786
AM
29112012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2912
2913 * textmodes/ispell.el (ispell-with-no-warnings):
2914 Define as a macro.
500fcedc
SM
2915 (ispell-kill-ispell, ispell-change-dictionary):
2916 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2917 `interactive-p'.
2918
61b108cc
SM
29192012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2920
2921 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2922 (macro-declaration-function): Move var from C code.
2923 (macro-declaration-function): Define function with defalias.
2924 * emacs-lisp/macroexp.el (macroexpand-all-1):
2925 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2926 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2927 defun/defmacro any more.
2928 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2929 Provide fallback for unknown arglist.
2930 (byte-compile-arglist-warn): Change calling convention.
2931 (byte-compile-output-file-form): Move print-vars binding.
2932 (byte-compile-output-docform): Simplify accordingly.
2933 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2934 (byte-compile-defmacro-declaration): Remove.
2935 (byte-compile-file-form-defmumble): Generalize to defalias.
2936 (byte-compile-output-as-comment): Return byte-positions.
2937 Simplify callers accordingly.
2938 (byte-compile-lambda): Use `assert'.
2939 (byte-compile-defun, byte-compile-defmacro): Remove.
2940 (byte-compile-file-form-defalias):
2941 Use byte-compile-file-form-defmumble.
2942 (byte-compile-defalias-warn): Remove.
2943
6d3f7c2f
SM
29442012-05-29 Stefan Merten <smerten@oekonux.de>
2945
2946 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2947 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2948
2949 (rst-mode-abbrev-table): Merge definition.
2950 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2951 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2952
6dbaa1c7
UJ
29532012-05-29 Ulf Jasper <ulf.jasper@web.de>
2954
2955 * calendar/icalendar.el
2956 (icalendar-export-region): Export UID properly.
2957
d209e2fb 29582012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2959 * calendar/icalendar.el (icalendar-import-format):
2960 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2961 (icalendar-import-format-uid): New.
2962 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2963 Export UID.
2964
6876a58d
SM
29652012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2968 different alternative patterns.
2969 (pcase-codegen): Be more careful to preserve identity.
2970 (pcase--u1): Don't forget to mark vars as used.
2971
2972 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2973 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2974 (byte-compile-from-buffer): ...rather than here.
2975
2976 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2977 functions from byte-compile-function-environment.
2978
46b7967e
TN
29792012-05-29 Troels Nielsen <bn.troels@gmail.com>
2980
2981 * window.el (window-deletable-p): Avoid deleting the root window
2982 of a frame with an active minibuffer.
2983
69d565e2
MR
29842012-05-29 Martin Rudalics <rudalics@gmx.at>
2985
2986 * simple.el (choose-completion): Use quit-window (Bug#11567).
2987
a149fa51
CY
29882012-05-29 Chong Yidong <cyd@gnu.org>
2989
2990 * whitespace.el (whitespace-cleanup): Fix usage of
2991 whitespace-empty-at-bob-regexp (Bug#11492).
2992
2b311310
AH
29932012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2994
2995 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2996 revert (Bug#11488).
2997
b9cb2387
JL
29982012-05-29 Juri Linkov <juri@jurta.org>
2999
3000 * isearch.el (isearch-mode-map): Bind `M-s _' to
3001 `isearch-toggle-symbol'. Bind `M-s c' to
3002 `isearch-toggle-case-fold'.
3003 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3004 (isearch-forward): Add `M-s _' to the docstring.
3005 (isearch-forward-symbol, isearch-toggle-case-fold)
3006 (isearch-symbol-regexp): New functions. (Bug#11381)
3007
d5e61c1c
JL
30082012-05-29 Juri Linkov <juri@jurta.org>
3009
3010 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3011 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3012 a function, call it to get the regexp.
3013 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3014 property `isearch-message-prefix' instead of the string "word ".
3015 (isearch-search-fun-default): For the case of `isearch-word',
3016 return a lambda that calls re-search-forward/re-search-backward
3017 with a regexp returned by `word-search-regexp' or by the function
3018 in `isearch-word'.
3019
8cbd80f7
JL
30202012-05-29 Juri Linkov <juri@jurta.org>
3021
3022 * isearch.el (isearch-search-fun-default): New function.
3023 (isearch-search-fun): Move default part to the new function
3024 `isearch-search-fun-default'.
3025 (isearch-search-fun-function): Set the default value to
3026 `isearch-search-fun-default'. (Bug#11381)
3027
3028 * comint.el (comint-history-isearch-end):
3029 Use `isearch-search-fun-default'.
3030 (comint-history-isearch-search): Use `isearch-search-fun-default'
3031 and remove spacial case for `isearch-word'.
3032 (comint-history-isearch-wrap): Remove spacial case for
3033 `isearch-word'.
3034
3035 * hexl.el (hexl-isearch-search-function):
3036 Use `isearch-search-fun-default'.
3037
3038 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3039 Use `word-search-regexp' for `isearch-word'.
3040
3041 * misearch.el (multi-isearch-search-fun):
3042 Use `isearch-search-fun-default'.
3043
3044 * simple.el (minibuffer-history-isearch-search):
3045 Use `isearch-search-fun-default' and remove spacial case for
3046 `isearch-word'.
3047 (minibuffer-history-isearch-wrap): Remove spacial case for
3048 `isearch-word'.
3049
3050 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3051 Remove spacial case for `isearch-word'.
3052 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3053
85c8c5b6
AM
30542012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3055
3056 Decrease XEmacs incompatibilities.
3057 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3058 Use `string-match'.
3059 (flyspell-delete-region-overlays): Use alternative definition for
3060 XEmacs.
3061 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3062 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3063 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3064 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3065 `define-obsolete-face-alias' under XEmacs, but old method.
3066
3067 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3068 `with-no-warnings' definition or Emacs alias.
3069 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3070 (ispell-word): Do not use `region-p' if XEmacs.
3071
8cab9efc
AM
30722012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3073
3074 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3075 Check for `ispell-dictionary-base-alist' instead of full
3076 `ispell-dictionary-alist'.
3077 (ispell-init-process): Show spellchecker when starting new Ispell
3078 process.
3079
fda91268
RZ
30802012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3081
3082 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3083 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3084
694ea8e3
JB
30852012-05-27 Juanma Barranquero <lekktu@gmail.com>
3086
3087 * version.el (motif-version-string, gtk-version-string)
3088 (ns-version-string): Declare.
3089
e4d4f539
JL
30902012-05-27 Juri Linkov <juri@jurta.org>
3091
3092 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3093 after the `eval-defun-1' specialcaseing
3094 like in `edebug-eval-defun' (bug#10181).
3095
3096 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3097 like in `eval-defun-1'.
3098
33017faf 30992012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3100
fda91268
RZ
3101 * mail/sendmail.el (mail-yank-region):
3102 Recognize rmail-yank-current-message in addition to insert-buffer.
3103 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3104 a *mail* buffer created through rmail-start-mail with sendmail as
3105 mail-user-agent.
3106
33017faf
GM
31072012-05-27 Chong Yidong <cyd@gnu.org>
3108
3109 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3110 Default to 256 (Bug#11267).
3111
3112 * help.el (describe-mode): Doc fix.
3113
04188bb9
GM
31142012-05-26 Glenn Morris <rgm@gnu.org>
3115
38264cc9
GM
3116 * w32-fns.el (w32-init-info): Remove.
3117 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3118
eb7afdad
GM
3119 * info.el (info-initialize): For self-contained NS builds, put the
3120 included info/ directory at the front. (Bug#2791)
3121
04188bb9
GM
3122 * paths.el (Info-default-directory-list): Make it a defcustom,
3123 mainly so that we can use custom-initialize-delay.
3124
a179e3f7
SM
31252012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3126
43416392
SM
3127 * subr.el (buffer-has-markers-at): Mark obsolete.
3128
a179e3f7 3129 * subr.el (lambda): Use declare.
43416392 3130
a179e3f7
SM
3131 * emacs-lisp/lisp-mode.el (lambda):
3132 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3133
34a008d9
AH
31342012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3135
3136 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3137
0a3b289f
GM
31382012-05-26 Glenn Morris <rgm@gnu.org>
3139
3140 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3141
758c81e8
GM
31422012-05-25 Glenn Morris <rgm@gnu.org>
3143
f9f334f0
GM
3144 * paths.el: Remove no-byte-compile.
3145 * loadup.el: No need to load paths.el uncompiled.
3146
87eb79c2
GM
3147 * image.el (imagemagick-types-inhibit): Doc fix.
3148
758c81e8
GM
3149 * version.el: Remove no-byte-compile and associated formatting.
3150 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3151 is ancient code from when there was an "inc-vers.el".
3152
e7e85dc0
SM
31532012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * progmodes/gdb-mi.el: Minor style changes.
3156 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3157 Turn into minor modes.
3158 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3159 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3160 (gdb-shell): Remove unneeded let-binding.
3161 (gdb-get-many-fields): Eliminate O(n²) behavior.
3162
f31237a4
EZ
31632012-05-25 Eli Zaretskii <eliz@gnu.org>
3164
3165 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3166 platforms that don't link in fontset.c.
3167
bc1b21bb
JL
31682012-05-25 Juri Linkov <juri@jurta.org>
3169
3170 Use the same diff color scheme as in modern VCSes (bug#10181).
3171
3172 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3173 to avoid confusion with `diff-added' that now uses green colors.
3174 (diff-removed): Use shades of red.
3175 (diff-added): Use shades of green.
3176 (diff-changed): Leave just the yellow color.
3177 (diff-use-changed-face): New variable.
3178 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3179 how to highlight context diff changes.
3180 (diff-refine-change): Use shades of yellow.
3181 (diff-refine-removed): New face that uses shades of red.
3182 (diff-refine-added): New face that uses shades of green.
3183 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3184 `diff-refine-removed' in the call to `smerge-refine-subst'
3185 depending on the value of `diff-use-changed-face'.
3186
3187 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3188 (smerge-other): Use shades of green.
3189 (smerge-base): Use shades of yellow.
3190 (smerge-refined-change): Empty face.
3191 (smerge-refined-removed): New face that uses shades of red.
3192 (smerge-refined-added): New face that uses shades of green.
3193 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3194 args `props-r' and `props-a', and use them. Doc fix.
3195 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3196 on its value use different faces `smerge-refined-change',
3197 `smerge-refined-removed', `smerge-refined-added' in the call to
3198 `smerge-refine-subst'.
3199
3200 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3201 Add face condition `min-colors 88' with shades of red.
3202 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3203 `min-colors 88' with shades of green.
3204 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3205 `min-colors 88' with shades of yellow.
3206
6df9112c
GM
32072012-05-24 Glenn Morris <rgm@gnu.org>
3208
ead5edc0
GM
3209 * paths.el (prune-directory-list, remote-shell-program): Move to...
3210 * files.el (prune-directory-list, remote-shell-program): ...here.
3211 For the latter, delay initialization, prefer ssh, just search PATH.
3212
f18b81e6
GM
3213 * paths.el (term-file-prefix): Move to faces.el (the only user).
3214 * faces.el (term-file-prefix): Move here, make it a defcustom.
3215
ee2f89a6
GM
3216 * paths.el (news-directory, news-path, news-inews-program):
3217 Move to gnus/nnspool.el.
61a583ca 3218
f8815e4c
GM
3219 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3220
c8f3b42c
GM
3221 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3222 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3223 Make the latter a defcustom, with a delayed initialization.
3224
6df9112c
GM
3225 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3226 These were deleted from Gnus itself late 2010.
3227
5dadff36
JB
32282012-05-22 Juanma Barranquero <lekktu@gmail.com>
3229
9e1701c6
JB
3230 * progmodes/which-func.el (which-func-ff-hook):
3231 Check against user-error, not error.
3232
bd7239f5 3233 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3234 cl-specs.el, which no longer exists.
3235
3290526d
GM
32362012-05-22 Glenn Morris <rgm@gnu.org>
3237
3238 * info.el (info-emacs-bug): New command.
3239 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3240 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3241
ff0c3cfb
GM
32422012-05-21 Glenn Morris <rgm@gnu.org>
3243
3244 * makefile.w32-in (update-subdirs-SH):
3245 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3246
5814f126
SM
32472012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3248
a52c0aa0
SM
3249 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3250
5814f126
SM
3251 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3252 Simplify Maven regexp, and make sure the file can't start with a space
3253 (bug#11517).
3254
b847032c
GM
32552012-05-21 Glenn Morris <rgm@gnu.org>
3256
3257 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3258 Scrap superfluous subshells.
3259
3858bfe7
SM
32602012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3261
3262 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3263 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3264
d14b0029
JB
32652012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3266
3267 * calc/calc.el (calc-ensure-consistent-units): New variable.
3268
a52c0aa0
SM
3269 * calc/calc-units.el (math-consistent-units-p)
3270 (math-check-unit-consistency): New functions.
3271 (calc-quick-units, calc-convert-units):
3272 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3273 is non-nil.
d14b0029
JB
3274 (calc-extract-units): Fix typo.
3275
60c4db3a
SM
32762012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3277
77f3b62e
SM
3278 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3279
60c4db3a
SM
3280 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3281 (flyspell-default-deplacement-commands): Don't spell check after
3282 repeated window/frame switches (e.g. triggered by mouse-movement).
3283 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3284 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3285 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3286 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3287 Remove unused vars.
3288 (flyspell-get-casechars, flyspell-get-not-casechars):
3289 Simplify; Don't bother removing a ] just to add it back.
3290 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3291
d209e2fb 32922012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3293
3294 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3295 New functions.
bd7239f5 3296 (math-function-table): Add support for more C functions.
b1a10716 3297
3f1b25b5
AM
32982012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3299
090bd7cb
JB
3300 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3301 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3302 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3303
b581bb5c
SM
33042012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3305
3306 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3307 their respective macro declarations.
3308 * skeleton.el (define-skeleton):
3309 * progmodes/compile.el (define-compilation-mode):
3310 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3311 (define-ibuffer-filter):
3312 * emacs-lisp/generic.el (define-generic-mode):
3313 * emacs-lisp/easy-mmode.el (define-minor-mode)
3314 (define-globalized-minor-mode):
3315 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3316 * emacs-lisp/byte-run.el (defsubst):
3317 * custom.el (deftheme): Add doc-string metadata.
3318
70b8ef8f
SM
33192012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3320
3321 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3322
b1198e17
SM
33232012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3324
9abdc45d
SM
3325 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3326
b1198e17
SM
3327 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3328 * emacs-lisp/cl-macs.el: Idem.
3329 * emacs-lisp/cl-specs.el: Remove.
3330
4735906a
SM
33312012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3332
3333 Minor renaming of internal CL functions and variables.
3334 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3335 (cl--position): Rename from cl-position.
3336 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3337 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3338 (cl--random-state): Rename from *random-state*.
3339
ac348012
SM
33402012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3343 parens around the arg list (bug#11499).
3344
a0a79cde
JL
33452012-05-17 Juri Linkov <juri@jurta.org>
3346
3347 * isearch.el (word-search-regexp, word-search-backward)
3348 (word-search-forward, word-search-backward-lax)
3349 (word-search-forward-lax): Move functions from search.c
3350 (bug#10145, bug#11381).
3351
65034a51
AM
33522012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3353
090bd7cb
JB
3354 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3355 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3356 Delay for otherchars as for normal word components.
65034a51 3357
1a72a195
SM
33582012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3359
3360 * minibuffer.el (completion--sifn-requote): Fix last change.
3361 (minibuffer-local-must-match-filename-map):
3362 Move define-obsolete-variable-alias before its var.
3363
fdb058c2
SM
33642012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3365
c41045e6
SM
3366 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3367
036dfb8b
SM
3368 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3369 behavior.
3370 (completion--string-equal-p): New function.
3371 (completion--twq-all): Use it to get better assertion failure data.
3372
2473256d
SM
3373 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3374 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3375 (shell--requote-argument): New functions.
3376 (shell-completion-vars): Use them.
3377 (shell--parse-pcomplete-arguments): Rename from
3378 shell-parse-pcomplete-arguments.
3379 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3380 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3381 Obey comint-file-name-quote-list.
3382
fdb058c2
SM
3383 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3384 (smie-indent-keyword): Use it.
3385
51fa99f1
SM
33862012-05-14 Stefan Merten <smerten@oekonux.de>
3387
3388 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3389
e18afed7 33902012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3391
3392 * net/rlogin.el (rlogin-mode-map): Fix last change.
3393
e18afed7 33942012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3395
3396 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3397 the following \r\n using a single `process-send-string', since the
3398 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3399 with two `process-send-string's (Bug#11444).
8633b1f4 3400
e18afed7 34012012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3402
fdb058c2
SM
3403 * shell.el (shell-parse-pcomplete-arguments):
3404 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3405
2d21d7f6
WJ
34062012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3407
e18afed7 3408 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3409 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3410 (image-transform-width, image-transform-fit-width): New functions.
3411 (image-transform-properties): Use them.
3412 (image-transform-check-size): New function.
3413 (image-toggle-display-image): Use it (for testing).
3414 (image-transform-set-rotation): Reduce angle mod 360.
3415 Delete obsolete comment.
3416
7102e6d0
WJ
34172012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3418
3419 * image-mode.el: Fix scaling (bug#11399).
3420 (image-transform-resize): Doc fix.
3421 (image-transform-properties): Default scale is 1 and height should
3422 be an integer.
3423
06bc5e6e
SM
34242012-05-13 Johan Bockgård <bojohan@gnu.org>
3425
3426 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3427 than hard-coding `car', to fix misbehavior when moving forward.
3428
0ae03b6a
CY
34292012-05-13 Chong Yidong <cyd@gnu.org>
3430
3431 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3432 (tabulated-list-entries, tabulated-list-padding)
3433 (tabulated-list-sort-key): Make permanent-local.
3434
3435 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3436 (electric-buffer-list): Put electric buffer menu
3437 command descriptions in this docstring, instead of the docstring
3438 of electric-buffer-menu-mode. Code cleanups.
3439 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3440 Electric-buffer-menu-mode.
3441 (electric-buffer-update-highlight): Minor code cleanup.
3442
205a7391
MA
34432012-05-13 Michael Albinus <michael.albinus@gmx.de>
3444
3445 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3446 (Bug#11447)
3447
e5bd0a28
SM
34482012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 Move define-obsolete-variable-alias before the var's definition.
3451 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3452 * tooltip.el (tooltip-hook):
3453 * textmodes/reftex-toc.el (reftex-toc-map):
3454 * textmodes/reftex-sel.el (reftex-select-label-map)
3455 (reftex-select-bib-map):
3456 * textmodes/reftex-index.el (reftex-index-map)
3457 (reftex-index-phrases-map):
3458 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3459 * progmodes/meta-mode.el (meta-mode-map):
3460 * novice.el (disabled-command-hook):
3461 * loadhist.el (unload-hook-features-list):
3462 * frame.el (blink-cursor):
3463 * files.el (find-file-not-found-hooks, write-file-hooks)
3464 (write-contents-hooks):
3465 * emulation/tpu-edt.el (GOLD-map):
3466 * emacs-lock.el (emacs-lock-from-exiting):
3467 * emacs-lisp/generic.el (generic-font-lock-defaults):
3468 * emacs-lisp/chart.el (chart-map):
3469 * dos-fns.el (register-name-alist):
3470 * dired-x.el (dired-omit-files-p):
3471 * desktop.el (desktop-enable):
3472 * cus-edit.el (custom-mode-hook):
3473 * buff-menu.el (buffer-menu-mode-hook):
3474 * bookmark.el (bookmark-read-annotation-text-func)
3475 (bookmark-exit-hooks):
3476 * allout.el (allout-mode-deactivate-hook)
3477 (allout-exposure-change-hook, allout-structure-added-hook)
3478 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3479 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3480 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3481 comes before the corresponding variable's definition.
3482
ac59c2f6
CY
34832012-05-12 Chong Yidong <cyd@gnu.org>
3484
3485 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3486 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3487 (Buffer-menu-mode-map): Bind it.
3488 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3489
dee6c9a3
SM
34902012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3491
2171cea5
SM
3492 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3493 (prolog-upper-case-string, prolog-lower-case-string)
3494 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3495 (prolog-use-smie, prolog-smie-grammar): New vars.
3496 (prolog-smie-forward-token, prolog-smie-backward-token)
3497 (prolog-smie-rules): New funs.
3498 (prolog-comment-indent): Remove.
3499 (prolog-mode-variables): Use default comment indentation instead.
3500 Setup SMIE.
3501 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3502 (prolog-mode): Don't call them any more.
3503 (prolog-electric-colon, prolog-electric-dash)
3504 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3505
aa0382bd
SM
3506 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3507
dbacb4bd
SM
3508 * minibuffer.el (completion--twq-all): Again, allow case differences.
3509
13bdd94c
SM
3510 * term.el: Move keymap initialization code to be more idiomatic.
3511 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3512 (term-terminal-menu): Move initialization into declaration.
3513 (term-escape-char): Let the user set it in her .emacs.
3514
ff46c759
SM
3515 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3516 Provide SMIE-based indentation (not enabled by default yet).
3517 (sh-mode-map): Don't bind electric keys.
3518 Use electric-pair-mode instead of skeleton-pair.
3519 (sh-assignment-regexp): Fit within 80 columns.
3520 (sh-indent-supported): Specify actual shell name instead of boolean.
3521 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3522 (sh-maybe-here-document): Use it. Make obsolete.
3523 (sh-electric-here-document-mode) New minor mode.
3524 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3525 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3526 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3527 (sh-smie-rc-grammar, sh-use-smie): New vars.
3528 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3529 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3530 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3531 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3532 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3533 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3534 (sh-set-shell): Use smie-setup if requested.
3535
dee6c9a3
SM
3536 * term.el (term-set-escape-char): Properly set term-escape-char.
3537 See http://stackoverflow.com/questions/10524656.
3538
9f9aa044
CY
35392012-05-10 Chong Yidong <cyd@gnu.org>
3540
3541 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3542 Use url-generic-parse-url, and handle host names and Windows
3543 filenames properly.
3544 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3545 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3546 URL schemes to work on.
3547 (ffap--toggle-read-only): New function.
3548 (ffap-read-only, ffap-read-only-other-window)
3549 (ffap-read-only-other-frame): Use it.
3550 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3551 necessary for ffap-url-unwrap-remote.
3552
836d29b3
DA
35532012-05-10 Dave Abrahams <dave@boostpro.com>
3554
3555 * cus-start.el (create-lockfiles): Add it.
3556
00fd78ed
CY
35572012-05-09 Chong Yidong <cyd@gnu.org>
3558
3559 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3560 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3561
666b903b 35622012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3563
3564 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3565
666b903b 35662012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3567
3568 * ansi-color.el (ansi-color-process-output): Check for validity of
3569 comint-last-output-start before using it. This avoids a bad
3570 interaction with gdb-mi's input/output buffer.
3571
666b903b 35722012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3573
3574 * files.el (dir-locals-read-from-file):
3575 Mention dir-locals in any error message.
3576
666b903b 35772012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3578
3579 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3580 package (Bug#11410).
3581
f677562b
CY
3582 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3583 variables into description.
3584
666b903b 35852012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3586
3587 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3588 shell-delimiter-argument-list (bug#11348).
3589 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3590
b499d8d0
JB
35912012-05-09 Juanma Barranquero <lekktu@gmail.com>
3592
8f6b6da8
JB
3593 * textmodes/rst.el: Silence byte-compiler warnings.
3594 (rst-re-alist, rst-reset-section-caches): Move around.
3595 (rst-re): Use `characterp', not `char-valid-p'.
3596 (font-lock-beg, font-lock-end): Declare.
3597
4824146a
JB
3598 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3599 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3600
b499d8d0
JB
3601 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3602
ad89bb83
GM
36032012-05-08 Glenn Morris <rgm@gnu.org>
3604
3605 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3606
8bba5a75
SM
36072012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3608
49ed9c8e
SM
3609 * vc/log-edit.el: Add GNU coding standards highlighting.
3610 (log-edit-font-lock-gnu-style)
3611 (log-edit-font-lock-gnu-keywords): New vars.
3612 (log-edit-font-lock-keywords): New fun.
3613 (log-edit-mode): Don't fold case in font-lock.
3614 (log-edit-font-lock-keywords): Do not assume case-folding.
3615
07d00b56
SM
3616 * imenu.el: Misc cleanup. Make docstrings out of comments.
3617 Use lexical-binding.
3618 (imenu--index-alist, imenu--last-menubar-index-alist)
3619 (imenu-menubar-modified-tick): Use defvar-local.
3620 (imenu--split-menu): Remove unused var.
3621 (imenu--cleanup-seen): Declare as global.
3622 (imenu--cleanup): Use dolist.
3623
8bba5a75
SM
3624 * subr.el (defvar-local): Add debug spec and doc-string position.
3625
5075bdb5
GM
36262012-05-08 Glenn Morris <rgm@gnu.org>
3627
090bd7cb 3628 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3629 * language/english.el, language/georgian.el, language/greek.el:
3630 * language/japanese.el, language/khmer.el, language/korean.el:
3631 * language/lao.el, language/misc-lang.el, language/romanian.el:
3632 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3633 * language/thai.el, language/utf-8-lang.el:
3634 Remove no-byte-compile setting.
3635
5075bdb5
GM
3636 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3637
06f679a7
AH
36382012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3639
3640 * progmodes/make-mode.el (makefile-browse):
3641 Remove unnecessary interactive. (Bug#11324)
3642
03794570
GM
36432012-05-07 Glenn Morris <rgm@gnu.org>
3644
af8630f4
GM
3645 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3646
03794570
GM
3647 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3648
f0809a9d
SM
36492012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3650
28be5ce7
SM
3651 * loadup.el: Preload newcomment.el.
3652 * newcomment.el: Move autoload-only code to toplevel.
3653
f0809a9d
SM
3654 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3655 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3656 Handle new :right-align column property.
3657 (tabulated-list-print-col): Idem, plus use `display' text-property to
3658 try and preserve alignment for variable pitch fonts.
3659
1241b724
CY
36602012-05-07 Chong Yidong <cyd@gnu.org>
3661
3662 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3663 (tabulated-list-use-header-line): New var.
3664 (tabulated-list-init-header): Use it.
3665 (tabulated-list-print-fake-header): New function.
3666 (tabulated-list-print): Use it.
3667 (tabulated-list-sort-button-map): Add non-header-line commands.
3668 (tabulated-list-init-header): Add column name property to basic
3669 labels as well.
3670 (tabulated-list-col-sort): Handle non-header-line button case.
3671 (tabulated-list--sort-by-column-name): Fix a corner case.
3672
f0809a9d
SM
3673 * buff-menu.el (list-buffers--refresh):
3674 Handle Buffer-menu-use-header-line.
1241b724 3675
e5f9458f
CY
36762012-05-06 Chong Yidong <cyd@gnu.org>
3677
3678 * buff-menu.el: Convert to Tabulated List mode.
3679 (Buffer-menu-buffer+size-width): Make obsolete.
3680 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3681 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3682 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3683 documentation into docstring of buffer-menu.
3684 (Buffer-menu-toggle-files-only): Add an informative message.
3685 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3686 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3687 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3688 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3689 (Buffer-menu-execute, Buffer-menu-select)
3690 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3691 (Buffer-menu-bury): Use Tabulated List machinery.
3692 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3693 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3694 Delete.
e5f9458f
CY
3695 (list-buffers--refresh): New function.
3696 (list-buffers-noselect): Use it.
3697 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3698 (Buffer-menu--pretty-file-name): New helper functions.
3699
3700 * loadup.el: Preload tabulated-list.
3701
3702 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3703 tabulated-list-sort-column.
3704 (tabulated-list-init-header): Add the initial aligning space even
3705 if tabulated-list-padding is zero.
3706
e129292c
CS
37072012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3708
3709 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3710 whose cdr is not a cons cell correctly (bug#11038).
3711
6632d361
CY
37122012-05-06 Chong Yidong <cyd@gnu.org>
3713
e129292c
CS
3714 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3715 Accept additional plist in column descriptors.
6632d361
CY
3716 (tabulated-list-init-header): Obey it.
3717 (tabulated-list-get-entry): New function.
3718 (tabulated-list-put-tag): Use it. Use string-width instead of
3719 length.
3720 (tabulated-list--column-number): New function.
3721 (tabulated-list-print): Use it.
e129292c
CS
3722 (tabulated-list-print-col): New function.
3723 Set `tabulated-list-column-name' property on each column's text.
6632d361 3724 (tabulated-list-print-entry): Use it.
e129292c
CS
3725 (tabulated-list-delete-entry, tabulated-list-set-col):
3726 New functions.
6632d361
CY
3727 (tabulated-list-sort-column): New command (Bug#11337).
3728
3cc99f68
CY
3729 * buff-menu.el (list-buffers): Move C-x C-b binding from
3730 buff-menu.el to bindings.el.
3731
3732 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3733 :advertised-binding feature.
3734
52b61776
TN
37352012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3736
3737 * progmodes/compile.el (compilation-internal-error-properties):
3738 Calculate start position correctly when end-col is set but
3739 end-line is not (Bug#11382).
3740
ebfe2597
WJ
37412012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3742
3743 * man.el (Man-unindent): Use text-property-default-nonsticky to
3744 prevent untabify from inheriting face properties (Bug#11408).
3745
6d3f7c2f
SM
37462012-05-05 Stefan Merten <smerten@oekonux.de>
3747
3748 * textmodes/rst.el: Major merge with upstream development up to
3749 Docutils SVN r7399 / rst.el V1.2.1.
3750
3751 Clarify maintainership and authors.
3752
3753 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3754 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3755 (rst-official-version, rst-official-cvs-rev, rst-version)
3756 (rst-package-emacs-version-alist): New functions and variables
3757 for version information.
3758
3759 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3760 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3761 (rst-mode-syntax-table, rst-mode): New and corrected functions
3762 and variables representing reStructuredText features.
3763
3764 (rst-re): New function for reStructuredText regexes. Use in
3765 many places.
3766
3767 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3768 (rst-mode-map): Rebind keys.
3769
3770 (rst-mode-lazy, rst-font-lock-keywords)
3771 (rst-font-lock-extend-region)
3772 (rst-font-lock-extend-region-internal)
3773 (rst-font-lock-extend-region-extend)
3774 (rst-font-lock-find-unindented-line-limit)
3775 (rst-font-lock-find-unindented-line-match)
3776 (rst-adornment-level, rst-font-lock-adornment-level)
3777 (rst-font-lock-adornment-match)
3778 (rst-font-lock-handle-adornment-pre-match-form)
3779 (rst-font-lock-handle-adornment-matcher): Major revision of
3780 font-locking. Integrate with other code. Use `jit-lock-mode'.
3781
3782 (rst-preferred-adornments, rst-adjust-hook)
3783 (rst-new-adornment-down, rst-preferred-bullets)
3784 (rst-preferred-bullets, rst-indent, rst-indent-width)
3785 (rst-indent-field, rst-indent-literal-normal)
3786 (rst-indent-literal-minimized, rst-indent-comment): Change,
3787 extend and improve customization.
3788
3789 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3790 (rst-normalize-cursor-position, rst-get-decoration)
3791 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3792 (rst-rstrip, rst-toc-insert-find-delete-contents)
3793 (rst-shift-fill-region, rst-compute-bullet-tabs)
3794 (rst-debug-print-tabs, rst-debug-mark-found)
3795 (rst-shift-region-guts, rst-shift-region-right)
3796 (rst-shift-region-left, rst-use-char-classes)
3797 (rst-font-lock-keywords-function)
3798 (rst-font-lock-indentation-point)
3799 (rst-font-lock-find-unindented-line-begin)
3800 (rst-font-lock-find-unindented-line-end)
3801 (rst-font-lock-find-unindented-line)
3802 (rst-font-lock-adornment-point, rst-font-lock-level)
3803 (rst-adornment-level-alist): Remove functions and variables.
3804
3805 (rst-compare-adornments, rst-get-adornment-match)
3806 (rst-suggest-new-adornment, rst-get-adornments-around)
3807 (rst-adornment-complete-p, rst-get-next-adornment)
3808 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3809 (rst-straighten-adornments): Standardize function names to
3810 use "adornment" instead of "decoration". Correct callers.
3811 Similar standardizing in many places.
3812
3813 (rst-update-section, rst-adjust, rst-promote-region)
3814 (rst-enumerate-region, rst-bullet-list-region)
3815 (rst-repeat-last-character): Correct use of `interactive'.
3816
3817 (rst-classify-adornment, rst-find-all-adornments)
3818 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3819 (rst-find-leftmost-column, rst-repeat-last-character):
3820 Refactor functions.
3821
3822 (rst-find-title-line, rst-reset-section-caches)
3823 (rst-get-adornments-around, rst-adjust-adornment-work)
3824 (rst-arabic-to-roman, rst-roman-to-arabic)
3825 (rst-insert-list-pos, rst-insert-list-new-item)
3826 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3827 New functions.
3828
3829 (rst-all-sections, rst-section-hierarchy)
3830 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3831 New variables.
3832
3833 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3834 configuration instead of only buffer. Change where necessary.
3835
3836 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3837 (rst-shift-region, rst-adaptive-fill): New functions for
3838 indentation and filling.
3839
3840 (rst-comment-line-break, rst-comment-indent)
3841 (rst-comment-insert-comment, rst-comment-region)
3842 (rst-uncomment-region): New functions for handling comments.
3843
3844 (rst-compile): Quote shell arguments.
3845
3846 (rst-compile-pdf-preview, rst-compile-slides-preview):
3847 Delete temporary files after use.
3848
a43f98b3
GM
38492012-05-05 Glenn Morris <rgm@gnu.org>
3850
48176e8b
GM
3851 * calendar/cal-html.el: Optionally include holidays in the output.
3852 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3853 (cal-html-holidays): New option.
3854 (cal-html-css-default): Add holiday entry.
3855 (holiday-in-range): Autoload it.
3856 (cal-html-htmlify-entry): Add optional class argument.
3857 (cal-html-htmlify-list): Add optional holidays argument.
3858 (cal-html-insert-agenda-days): Include holidays in the output.
3859 (cal-html-one-month): Maybe include holidays.
3860
a43f98b3
GM
3861 * calendar/holidays.el (holiday-in-range):
3862 Move here from cal-tex-list-holidays.
3863 * calendar/cal-tex.el (cal-tex-list-holidays):
3864 Make it an obsolete alias for holiday-in-range. Update all callers.
3865
fef9d149 38662012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3867
3868 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3869 Nextstep.
3870
248da2f4
RW
38712012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3872
3873 * files.el (file-auto-mode-skip): New var.
3874 (set-auto-mode-1): Use it.
3875
f95e9344
SM
38762012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3877
df96ab1e
SM
3878 * repeat.el: Use lexical-binding.
3879 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3880 (repeat-undo-count): Remove.
3881 (repeat):
3882 * progmodes/octave-mod.el (octave-abbrev-start):
3883 * progmodes/f90.el (f90-abbrev-start):
3884 * face-remap.el (text-scale-adjust):
3885 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3886
5342bb06
SM
3887 * emacs-lisp/pcase.el (pcase--let*): New function.
3888 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3889 a bit more.
3890 (pcase--split-pred): Be more clever about ruling out overlap between
3891 a predicate and some constant pattern.
3892 (pcase--q1): Use `null' instead of (eq foo nil).
3893
f95e9344
SM
3894 * subr.el (setq-local, defvar-local): New macros.
3895 (kbd): Redefine as an alias.
3896 (with-selected-window): Leave unrelated frames alone.
3897 (set-temporary-overlay-map): New function.
3898
71873e2b
SM
38992012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3900
3901 * subr.el (user-error): New function.
3902 * window.el (switch-to-buffer):
3903 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3904 (smerge-match-conflict):
3905 * simple.el (previous-matching-history-element)
3906 (next-matching-history-element, goto-history-element, undo-more)
3907 (undo-start):
3908 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3909 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3910 (next-file, tags-loop-scan, list-tags, complete-tag):
3911 * progmodes/compile.el (compilation-loop):
3912 * mouse.el (mouse-minibuffer-check):
3913 * man.el (Man-bgproc-sentinel, Man-goto-page):
3914 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3915 (Info-history-forward, Info-follow-reference, Info-menu)
3916 (Info-extract-menu-item, Info-extract-menu-counting)
3917 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3918 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3919 (Info-next-reference, Info-prev-reference, Info-index)
3920 (Info-index-next, Info-follow-nearest-node)
3921 (Info-copy-current-node-name):
3922 * imenu.el (imenu--make-index-alist)
3923 (imenu-default-create-index-function, imenu-add-to-menubar):
3924 * files.el (basic-save-buffer, recover-file):
3925 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3926 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3927 (checkdoc-message-text, checkdoc-defun):
3928 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3929 * cus-edit.el (customize-changed-options, customize-rogue)
3930 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3931 (custom-variable-mark-to-reset-standard)
3932 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3933 (custom-file):
3934 * completion.el (check-completion-length):
3935 * comint.el (comint-search-arg)
3936 (comint-previous-matching-input-string-position)
3937 (comint-previous-matching-input)
3938 (comint-replace-by-expanded-history-before-point, comint-send-input)
3939 (comint-copy-old-input, comint-backward-matching-input)
3940 (comint-goto-process-mark, comint-set-process-mark):
3941 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3942 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3943
8a61ee22
SM
39442012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3945
66408d1e
SM
3946 * dabbrev.el (dabbrev--ignore-case-p): New function.
3947 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3948 Use it.
3949
8a61ee22
SM
3950 * files.el (automount-dir-prefix): Mark as obsolete.
3951
3c74813a
GM
39522012-05-04 Glenn Morris <rgm@gnu.org>
3953
3954 * patcomp.el, play/bruce.el: Move to obsolete/.
3955
0bfcf5c5
PE
39562012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3957
3958 Fix minor Y10k bugs.
3959 * arc-mode.el (archive-unixdate):
3960 * autoinsert.el (auto-insert-alist):
3961 * calc/calc-forms.el (math-this-year):
3962 * emacs-lisp/copyright.el (copyright-current-year)
3963 (copyright-update-year, copyright):
3964 * tar-mode.el (tar-clip-time-string):
3965 * time.el (display-time-update):
3966 Don't assume years have 4 digits.
3967
78f3273a
CY
39682012-05-04 Chong Yidong <cyd@gnu.org>
3969
3970 * dos-w32.el (file-name-buffer-file-type-alist)
3971 (direct-print-region-use-command-dot-com):
3972 * ffap.el (ffap-menu-regexp):
3973 * find-file.el (ff-special-constructs):
3974 * follow.el (follow-debug):
3975 * forms.el (forms--debug):
3976 * iswitchb.el (iswitchb-all-frames):
3977 * ido.el (ido-all-frames):
3978 * emacs-lisp/timer.el (timer-max-repeats):
3979 * mail/feedmail.el (feedmail-mail-send-hook)
3980 (feedmail-mail-send-hook-queued):
3981 * mail/footnote.el (footnote-signature-separator):
3982 * mail/mailabbrev.el (mail-alias-separator-string)
3983 (mail-abbrev-mode-regexp):
3984 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3985 * progmodes/idlwave.el (idlwave-libinfo-file)
3986 (idlwave-default-completion-case-is-down)
3987 (idlwave-library-routines): Convert defvars to defcustoms.
3988
3989 * mail/rmail.el (rmail-decode-mime-charset):
3990 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3991 (idlwave-shell-fix-inserted-breaks)
3992 (idlwave-shell-activate-alt-keybindings)
3993 (idlwave-shell-use-breakpoint-glyph):
3994 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3995
f7ae6719
SM
39962012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3998 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3999
47086495
WS
40002012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4001
4002 * progmodes/verilog-mode.el (font-lock-keywords):
4003 Fix mis-highligting auto. Reported by Craig Barner.
4004 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4005 defines from global name space. Reported by Dan Dever.
4006 (verilog-auto-reset, verilog-auto-reset-widths)
4007 (verilog-auto-tieoff): Support using unbased numbers for
4008 AUTORESET and AUTOTIEOFF.
4009 (verilog-submit-bug-report): Update variable list.
4010 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4011 parenthesis from not matching. Reported by Michael Rytting.
4012 (verilog-auto-template-lint): Fix hash error when linting modules
4013 with no used templates.
4014 (verilog-warn, verilog-warn-error)
4015 (verilog-warn-fatal): When non-interactive report multiple
4016 warnings before exiting. Suggested by Brad Dobbie.
4017 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4018 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4019 to report unused template errors. Reported by Brad Dobbie.
4020 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4021 nets, bug438. Reported by Vns Blore.
4022 (verilog-auto-inout-module, verilog-auto-reg)
4023 (verilog-read-decls, verilog-read-sub-decls-sig)
4024 (verilog-signals-edit-wire-reg, verilog-signals-with):
4025 Fix passing of Verilog data types in ANSI input/output ports
4026 such as "output logic" into the AUTOs. Special case "wire" and
4027 "reg" for backwards compatibility presuming Verilog 2001.
4028 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4029 (verilog-preprocess): Fix replication of preprocess output.
4030 Reported by Brad Dobbie.
4031 (verilog-auto-inst-interfaced-ports):
4032 Create verilog-auto-inst-interfaced-ports, bug429.
4033 Reported by Julian Gorfajn.
4034 (verilog-after-save-font-hook)
4035 (verilog-before-save-font-hook): New variable.
4036 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4037 (verilog-save-font-mods): Wrap disabling fontification, reported
4038 by David Rogoff.
4039 (verilog-do-indent, verilog-pretty-declarations-auto)
4040 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4041 Reported by Pierre-David Pfister.
4042 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4043 of class declarations, bug292. Reported by Kevin Heilman.
4044 (verilog-read-decls): Fix 'parameter type' not appearing in
4045 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4046 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4047 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4048 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4049 Reported by David Kravitz.
4050
40512012-05-03 Michael McNamara <mac@mail.brushroad.com>
4052
4053 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4054 assignment with tests in ifs and for loops.
4055 (verilog-extended-complete-re, verilog-complete-reg): Change so
4056 that DPI inport functions don't look like fuction declarations.
4057 (verilog-pretty-expr): Don't line up assignment
4058 operations to the test and increment in if and for loops
4059 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4060 that DPI inport functions don't look like fuction declarations.
47086495 4061
2e51d4b5
KH
40622012-05-03 Kenichi Handa <handa@m17n.org>
4063
4064 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4065 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4066 (Bug#11282).
4067
2bd785a2
SM
40682012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4069
4070 * emacs-lisp/bytecomp.el
4071 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4072 since cconv.el might have introduced :fun-body, internal-make-closure,
4073 and friends for bytecomp to handle (bug#11391).
4074 * custom.el (defcustom): Avoid ((λ ..) ..).
4075
99d27583
SM
40762012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4077
4078 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4079
55a71479
JB
40802012-05-02 Juanma Barranquero <lekktu@gmail.com>
4081
4082 * notifications.el (dbus-debug):
4083 * term/linux.el (gpm-mouse-enable):
4084 * term/screen.el (xterm-register-default-colors): Declare.
4085
7b97c764
CY
40862012-05-02 Chong Yidong <cyd@gnu.org>
4087
2bc356d7
CY
4088 * cus-start.el (gc-cons-percentage, exec-suffixes)
4089 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4090 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4091 (make-cursor-line-fully-visible, void-text-area-pointer)
4092 (font-list-limit): Add customization data.
4093
7b97c764
CY
4094 * allout.el (allout-exposure-change-functions)
4095 (allout-structure-added-functions)
4096 (allout-structure-deleted-functions)
4097 (allout-structure-shifted-functions): Rename abnormal hooks from
4098 *-hook, and convert to defcustoms.
5d3385a0
JB
4099 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4100 Convert to defcustoms.
7b97c764
CY
4101 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4102
4103 * allout-widgets.el: Hook callers changed.
4104
90207a15 41052012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4106
4107 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4108 the yanked message in preference to the default value of
4109 buffer-file-coding-system.
4110
90207a15 41112012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4112
5d3385a0
JB
4113 * window.el (display-buffer--action-function-custom-type):
4114 Fix entry.
d9558cad 4115
90207a15 41162012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4117
4118 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4119
d80ac57b
GM
41202012-05-01 Glenn Morris <rgm@gnu.org>
4121
976f7668
GM
4122 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4123
beb83b5a
GM
4124 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4125
d80ac57b
GM
4126 * cus-edit.el (custom-variable-documentation): Simplify with format.
4127
b593d6a9 41282012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4129 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4130
4131 * simple.el (suggest-key-bindings, execute-extended-command):
4132 Move from keyboard.c.
4133
782fbf2a
CY
41342012-05-01 Chong Yidong <cyd@gnu.org>
4135
4136 * follow.el: Eliminate advice.
4137 (set-process-filter, process-filter, sit-for): Advice deleted.
4138 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4139 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4140 Vars deleted.
782fbf2a
CY
4141 (follow-auto): Use a :set function.
4142 (follow-mode): Rewritten. Don't advise process filters.
4143 (follow-switch-to-current-buffer-all, follow-scroll-up)
4144 (follow-scroll-down): Assume follow-mode is bound.
4145 (follow-comint-scroll-to-bottom)
4146 (follow-align-compilation-windows): New functions.
4147 (follow--window-sorter): New function.
4148 (follow-all-followers): Use it to explicitly sort windows by their
4149 positions; don't make assumptions about next-window order.
4150 (follow-windows-start-end, follow-delete-other-windows-and-split)
4151 (follow-calc-win-start): Doc fix.
4152 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4153 vertical-motion unnecessarily.
4154 (follow-adjust-window): New function.
4155 (follow-post-command-hook): Use it.
4156 (follow-call-set-process-filter, follow-call-process-filter)
4157 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4158 (follow-stop-intercept-process-output, follow-generic-filter):
4159 Functions deleted.
4160 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4161 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4162 New functions, replacing advice on scroll-bar-* commands.
87233a14 4163 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4164
4165 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4166 (comint-postoutput-scroll-to-bottom): Use it.
4167 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4168
290af740
GM
41692012-05-01 Glenn Morris <rgm@gnu.org>
4170
4171 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4172 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4173 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4174 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4175 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4176 Remove no-byte-compile setting.
4177
6eac8dc9
SM
41782012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4179
4180 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4181 all-completions code to not return a number in the last cdr.
4182
9cc7819c
LL
41832012-04-30 Leo Liu <sdl.web@gmail.com>
4184
4185 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4186 read-only error.
4187
c93b886f
CY
41882012-04-29 Chong Yidong <cyd@gnu.org>
4189
4190 * follow.el (follow-calc-win-end): Rewrite to handle partial
4191 screen lines correctly (Bug#8390).
4192 (follow-avoid-tail-recenter): Minor cleanup.
4193
8b6c19f4
SM
41942012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4195
4196 Avoid the obsolete `assoc' package.
4197 * speedbar.el (speedbar-refresh): Avoid adelete.
4198 (speedbar-file-lists): Simplify and avoid aput.
4199 * man.el (Man--sections, Man--refpages): New vars, replacing
4200 Man-sections-alist and Man-refpages-alist.
4201 (Man-build-section-alist, Man-build-references-alist):
4202 Use them; avoid aput.
4203 (Man--last-section, Man--last-refpage): New vars.
4204 (Man-follow-manual-reference): Use them.
4205 Use the `default' arg of completing-read.
4206 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4207
c5bb7569
CY
42082012-04-27 Chong Yidong <cyd@gnu.org>
4209
d1d2e2e8
CY
4210 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4211
15cd8efd
CY
4212 * startup.el (x-apply-session-resources): New function.
4213
4214 * term/ns-win.el (ns-initialize-window-system):
4215 * term/w32-win.el (w32-initialize-window-system):
4216 * term/x-win.el (x-initialize-window-system): Use it to properly
4217 set menu-bar-mode and other vars from X resources, even if the
4218 initial frame is not a window-system frame (Bug#2299).
4219
c5bb7569
CY
4220 * subr.el (read-key): Avoid running filter function when setting
4221 up temporary tool bar entries (Bug#9922).
4222
a8e7d6d7 42232012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4224
4225 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4226 (Bug#11344)
4227
a8e7d6d7 42282012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4229
4230 * select.el (xselect--encode-string): New function, split from
4231 xselect-convert-to-string.
4232 (xselect-convert-to-string): Use it.
4233 (xselect-convert-to-filename, xselect-convert-to-os)
4234 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4235 returned strings are properly encoded (Bug#11315).
4236
a8e7d6d7 42372012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4238
4239 * simple.el (delete-active-region): Move to killing custom group.
4240
a8e7d6d7 42412012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4242
4243 * progmodes/which-func.el (which-func-current): Quote %
4244 characters for mode-line processing.
4245
578c1d4b 42462012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4247
4248 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4249 reaching eob (Bug#11286).
4250
a8e7d6d7 42512012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4252
4253 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4254 (gdb): Make it buffer-local and init to zero.
4255 (gdb-control-commands-regexp): New variable.
4256 (gdb-send): Don't wrap in "-interpreter-exec console" if
4257 gdb-control-level is positive. Increment gdb-control-level
4258 whenever the command matches gdb-control-commands-regexp, and
4259 decrement it each time the command is "end". (Bug#11279)
4260
a8e7d6d7 42612012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4262
4263 * window.el (adjust-window-trailing-edge, enlarge-window)
4264 (shrink-window, window-resize):
4265 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4266 windows (Bug#11276).
4267
b3608390
CY
42682012-04-27 Chong Yidong <cyd@gnu.org>
4269
4270 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4271 fix "missing prefix" warning. All callers changed.
b3608390 4272
797e6e88
SM
42732012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4274
4275 * emacs-lisp/assoc.el: Move to obsolete/.
4276
e95a67dc
SM
42772012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4278
657c21e4 4279 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4280
4281 * term/ns-win.el (ns-define-service):
4282 * progmodes/pascal.el (pascal-goto-defun):
4283 * progmodes/js.el (js--read-tab):
4284 * progmodes/etags.el (tags-lazy-completion-table):
4285 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4286 * emacs-lisp/ewoc.el (ewoc--wrap):
4287 * emacs-lisp/assoc.el (aput, adelete, amake):
4288 * doc-view.el (doc-view-convert-current-doc):
4289 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4290
cb3e7ae0
CY
42912012-04-26 Chong Yidong <cyd@gnu.org>
4292
dce04f7f
CY
4293 * image.el (image-type-from-buffer): Only return supported image
4294 type (Bug#9045).
4295
cb3e7ae0
CY
4296 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4297 value, for symmetry with diff-end-of-hunk.
4298 (diff-split-hunk, diff-find-source-location)
4299 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4300 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4301 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4302 compute the relevant hunk or file properly (Bug#6005).
4303 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4304
0d42eb3e
SM
43052012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * vc/vc-mtn.el:
4308 * vc/vc-hg.el:
4309 * vc/vc-git.el:
4310 * vc/vc-dir.el:
4311 * vc/vc-cvs.el:
4312 * vc/vc-bzr.el:
4313 * vc/vc-arch.el:
4314 * vc/vc.el: Replace lexical-let by lexical-binding.
4315 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4316 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4317 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4318
f08ae1c9
CY
43192012-04-26 Chong Yidong <cyd@gnu.org>
4320
8b71081d
CY
4321 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4322 (diff-mode-shared-map): Bind it to / and [remap undo].
4323
f08ae1c9
CY
4324 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4325 (ediff-window-setup-function): Use it as the default, to set up
4326 windows based on whether the current frame is graphical (Bug#2138).
4327 (ediff-choose-window-setup-function-automatically): Make obsolete.
4328
4329 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4330
ef24141c
SM
43312012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4332
cc356a5d
SM
4333 * ffap.el: Remove old code for obsolete package.
4334 (ffap-complete-as-file-p): Remove.
4335
b4ff4f1f
SM
4336 Use completion-table-with-quoting for comint and pcomplete.
4337 * comint.el (comint--unquote&requote-argument)
4338 (comint--unquote-argument, comint--requote-argument): New functions.
4339 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4340 (comint-quote-filename): Use regexp-opt-charset.
4341 (comint--common-suffix, comint--common-quoted-suffix)
4342 (comint--table-subvert): Remove.
4343 (comint-unquote-function, comint-requote-function): New vars.
4344 (comint--complete-file-name-data): Use them with
4345 completion-table-with-quoting.
4346 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4347 * pcomplete.el (pcomplete-arg-quote-list)
4348 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4349 (pcomplete-unquote-argument-function): Default to non-nil.
4350 (pcomplete-unquote-argument): Simplify.
4351 (pcomplete--common-quoted-suffix): Remove.
4352 (pcomplete-requote-argument-function): New var.
4353 (pcomplete--common-suffix): New function.
4354 (pcomplete-completions-at-point): Use completion-table-with-quoting
4355 and completion-table-subvert.
4356
79c4eeb4
SM
4357 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4358 (minibuffer--double-dollars): Preserve properties.
4359 (completion--sifn-requote): New function.
4360 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4361
ef24141c
SM
4362 * minibuffer.el: Add support for completion of quoted/escaped data.
4363 (completion-table-with-quoting, completion-table-subvert): New funs.
4364 (completion--twq-try, completion--twq-all): New functions.
4365 (completion--nth-completion): New function.
4366 (completion-try-completion, completion-all-completions): Use it.
4367
784e7d6e
LL
43682012-04-25 Leo Liu <sdl.web@gmail.com>
4369
dd2ac746
SM
4370 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4371 Use compilation-message if available to find real filename.
784e7d6e 4372
07875ee7
CY
43732012-04-25 Chong Yidong <cyd@gnu.org>
4374
4375 * vc/diff-mode.el (diff-setup-whitespace): New function.
4376 (diff-mode): Use it.
4377
4378 * vc/diff.el (diff-sentinel):
4379 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4380 Whitespace mode variables based on diff style (Bug#8612).
4381
5055880d
LL
43822012-04-25 Leo Liu <sdl.web@gmail.com>
4383
daf75653
LL
4384 * progmodes/python.el (python-send-region): Add suffix .py to the
4385 temp file.
4386
5055880d
LL
4387 * files.el (auto-mode-alist): Use javascript-mode instead.
4388
db9b177b
AH
43892012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4390
ef24141c 4391 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4392
090bd7cb 4393 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4394 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4395 references, see Bug#9.
ef24141c 4396 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4397 when receiving a fault reply.
ef24141c 4398 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4399
090bd7cb 4400 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4401 (soap-inspect-simple-type): New function.
db9b177b 4402
090bd7cb 4403 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4404 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4405 (soap-decode-basic-type, soap-encode-basic-type):
4406 support unsignedInt and double basic types.
db9b177b 4407 (soap-resolve-references-for-simple-type)
ef24141c
SM
4408 (soap-parse-simple-type, soap-encode-simple-type): New function.
4409 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4410
090bd7cb 4411 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4412 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4413 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4414 the local name of "soapenc:Array".
4415 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4416 decoding integer, byte and anyURI xsd types.
4417
1fc6097b
CY
44182012-04-25 Chong Yidong <cyd@gnu.org>
4419
4420 * cus-edit.el (custom-buffer-create-internal): Update header text.
4421
afc6df87
EZ
44222012-04-25 Eli Zaretskii <eliz@gnu.org>
4423
4424 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4425 settings on 'system-type', not on 'window-system'. On MS-Windows,
4426 set interactive-mode on in GDB.
4427
dfbd787f
SM
44282012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4431 (ruby-syntax-propertize-regexp): Remove.
4432 (ruby-syntax-propertize-function): Split regexp into chunks.
4433 Match following code directly.
4434
85222d44
DG
44352012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4436
51a8ea2a
DG
4437 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4438 (ruby-syntax-propertize-regexp): New function.
4439 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4440 by a special keyword.
4441
85222d44
DG
4442 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4443 (ruby-syntax-general-delimiters-goto-beg)
4444 (ruby-syntax-propertize-general-delimiters): New functions.
4445 (ruby-syntax-propertize-function): Use them to handle GDL.
4446 (ruby-font-lock-keywords): Move old handling of GDL...
4447 (ruby-font-lock-syntactic-keywords): .. to here.
4448 (ruby-calculate-indent): Adjust indentation for GDL.
4449
b613912b
MA
44502012-04-24 Michael Albinus <michael.albinus@gmx.de>
4451
b5380639
MA
4452 * notifications.el (top): Remove unneeded declarations.
4453 (notifications-specification-version): Change to "1.2".
e43042fe 4454 (notifications-interface, notifications-notify-method)
b613912b
MA
4455 (notifications-close-notification-method): Fix docstring.
4456 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4457 (notifications-notify): Add :action-items, :resident and
4458 :transient hints. Change "image_data" to "image-data" and
4459 "image_path" to "image-path".
b613912b
MA
4460 (notifications-get-capabilities): New defun.
4461
257440aa
LL
44622012-04-24 Leo Liu <sdl.web@gmail.com>
4463
4464 * progmodes/python.el: Move hideshow setup to the end.
4465
b1bac16e
MR
44662012-04-24 Martin Rudalics <rudalics@gmx.at>
4467
4468 * window.el (handle-select-window): Clear echo area since this is
4469 no more done by read_char (Bug#11304).
4470
d81bd059
SM
44712012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4472
4473 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4474 and `/ M' to filter-derived-mode.
4475 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4476 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4477 (ibuffer-mark-by-mode): Use default rather than initial-input.
4478 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4479
c4cf6d91
IA
44802012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4481
4482 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4483 (ibuffer-filter-by-derived-mode): New filter.
4484 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4485
7511ded8
CY
44862012-04-23 Andreas Politz <politza@fh-trier.de>
4487
4488 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4489
775c916b
CY
44902012-04-23 Chong Yidong <cyd@gnu.org>
4491
4492 * cus-edit.el (customize-apropos, customize-apropos-options):
4493 Disable matching of non-option variables (Bug#11176).
4494 (customize-option, customize-option-other-window)
4495 (customize-changed-options): Doc fix.
4496 (customize-apropos-options, customize-apropos-faces)
4497 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4498
4499 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4500 Fix word list splitting (Bug#11132).
46c71e23
CY
4501 (apropos-symbol, apropos-keybinding, apropos-label)
4502 (apropos-property, apropos-function-button)
4503 (apropos-variable-button, apropos-misc-button): New faces.
4504 (apropos-symbol-face, apropos-keybinding-face)
4505 (apropos-label-face, apropos-property-face, apropos-match-face):
4506 Variables removed (Bug#8396).
4507 (apropos-library-button, apropos-format-plist, apropos-print)
4508 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4509
2df41f9c
MA
45102012-04-23 Michael Albinus <michael.albinus@gmx.de>
4511
4512 * net/xesam.el (xesam-mode-map): Use let-bound map in
4513 initialization. (Bug#11292)
4514
da00640a
AM
45152012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4516
4517 Preserve ispell session localwords when switching back to
4518 original buffer.
4519
090bd7cb
JB
4520 * textmodes/ispell.el (ispell-buffer-session-localwords):
4521 New buffer-local variable to hold buffer session localwords.
ed9265fc 4522 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4523 localwords.
4524 (ispell-command-loop, ispell-change-dictionary)
4525 (ispell-buffer-local-words): Preserve session localwords when
4526 needed.
4527
090bd7cb
JB
4528 * textmodes/flyspell.el (flyspell-process-localwords)
4529 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4530
f621ccf5
AM
45312012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4532
090bd7cb
JB
4533 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4534 using obsolete `translation-table-for-input'.
ef24141c
SM
4535 (ispell-word, ispell-process-line, ispell-complete-word):
4536 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4537
c2d1019e
CY
45382012-04-22 Chong Yidong <cyd@gnu.org>
4539
4540 * cus-edit.el (custom-variable-menu)
4541 (custom-variable-reset-saved, custom-face-menu)
4542 (custom-face-reset-saved): If there is no saved value, make the
4543 "reset-saved" operation bring back the default (Bug#9509).
4544 (custom-face-state): Properly detect themed faces.
4545
eeddc531
CY
4546 * faces.el (face-spec-set): Stop supporting deprecated form of
4547 third arg.
4548
dcbf5805
MA
45492012-04-22 Michael Albinus <michael.albinus@gmx.de>
4550
4551 Move functions from C to Lisp. Make non-blocking method calls
4552 the default. Implement further D-Bus standard interfaces.
4553
ef24141c
SM
4554 * net/dbus.el (dbus-message-internal): Declare function.
4555 Remove unneeded function declarations.
dcbf5805
MA
4556 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4557 (dbus-message-type-method-return, dbus-message-type-error)
4558 (dbus-message-type-signal): Declare variables. Remove local
4559 definitions.
4560 (dbus-interface-dbus, dbus-interface-peer)
4561 (dbus-interface-introspectable, dbus-interface-properties)
4562 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4563 Adapt docstring.
4564 (dbus-interface-objectmanager): New defconst.
4565 (dbus-call-method, dbus-call-method-asynchronously)
4566 (dbus-send-signal, dbus-method-return-internal)
4567 (dbus-method-error-internal, dbus-register-service)
4568 (dbus-register-signal, dbus-register-method): New defuns, moved
4569 from dbusbind.c
4570 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4571 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4572 New defuns.
dcbf5805
MA
4573 (dbus-call-method-non-blocking): Make it an obsolete function.
4574 (dbus-unregister-object, dbus-unregister-service)
4575 (dbus-handle-event, dbus-register-property)
4576 (dbus-property-handler): Obey the new structure of
4577 `bus-registered-objects'.
4578 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4579 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4580 Use `dbus-call-method'.
4581
cf20dee0
CY
45822012-04-22 Chong Yidong <cyd@gnu.org>
4583
4584 * cus-edit.el (custom-commands, custom-reset-menu)
4585 (Custom-reset-standard): Tweak labels.
4586 (custom-reset-button-menu): Change default to t.
4587 (custom-buffer-create-internal): For the custom-reset-button-menu
4588 case, put the revert button first.
4589 (custom-group-subtitle): New face.
4590 (custom-group-value-create): Align docstring to a specific column.
4591
4592 * wid-edit.el (widget-documentation-link-add): Don't handle
4593 indentation in this function.
4594 (widget-documentation-string-indent-to): New function.
4595 (widget-documentation-string-value-create): Use it.
4596
4597 * autorevert.el (auto-revert):
4598 * epg-config.el (epg):
4599 * ibuffer.el (ibuffer):
4600 * mpc.el (mpc):
4601 * ses.el (ses):
4602 * eshell/eshell.el (eshell):
4603 * net/ange-ftp.el (ange-ftp):
4604 * progmodes/ebnf2ps.el (postscript):
4605 * progmodes/flymake.el (flymake):
4606 * progmodes/prolog.el (prolog):
4607 * progmodes/verilog-mode.el (verilog-mode):
4608 * progmodes/which-func.el (which-func):
4609 * term/xterm.el (xterm):
4610 * textmodes/picture.el (picture):
4611 * textmodes/tildify.el (tildify):
4612 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4613 customization buffers.
4614
583e23bd
AM
46152012-04-22 Alan Mackenzie <acm@muc.de>
4616
4617 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4618 Adding a ) can hide the resulting (..) from searches. Fix it.
4619 Bound the backward search to the position of the existing (.
4620
7dd51bf1
JB
46212012-04-21 Juanma Barranquero <lekktu@gmail.com>
4622
4623 * progmodes/verilog-mode.el (verilog-mode): Check whether
4624 which-func-modes is t before adding verilog-mode.
4625 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4626
d64a438f
LL
46272012-04-21 Leo Liu <sdl.web@gmail.com>
4628
7dd51bf1 4629 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4630
081e8d65
MV
46312012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4632
4633 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4634 filling of the last column of a table (Bug#5635).
4635 (woman-find-next-control-line): New arg, specifying an additional
4636 regexp component for the control line.
4637 (woman2-roff-buffer): Use it.
4638 (woman-break-table): New function.
4639 (woman2-TS): Use it.
4640
46412012-04-21 Chong Yidong <cyd@gnu.org>
4642
4643 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4644 (woman-horizontal-escapes, woman-negative-vertical-space)
4645 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4646 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4647
ed571ccb
SM
46482012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4649
4650 * minibuffer.el (completion-file-name-table): Complete user names.
4651
39773899
LL
46522012-04-20 Leo Liu <sdl.web@gmail.com>
4653
4654 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4655 and pcase-let*.
4656
de6ff46d
CY
46572012-04-20 Chong Yidong <cyd@gnu.org>
4658
4659 * server.el (server-execute): Respect initial-buffer-choice if it
4660 is a string and there are no files to open (Bug#2825).
4661 (server-create-window-system-frame, server-create-tty-frame):
4662 Don't switch buffers here.
2d0e8e61
CY
4663 (server-process-filter): Only try to open a window system frame if
4664 compiled with graphical support (Bug#8314).
de6ff46d 4665
54071013
DN
46662012-04-20 Dan Nicolaescu <dann@gnu.org>
4667
4668 * battery.el (battery-echo-area-format): Display remaining time
4669 for sysfs backend too (Bug#11269).
4670 (battery-linux-sysfs): Fix conditional for the charge.
4671
f30d612a
CY
46722012-04-20 Chong Yidong <cyd@gnu.org>
4673
c07a4c0b 4674 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4675 (gdb-inferior-io--init-proc): New function.
4676 (gdb-init-1): Use it.
4677 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4678 responsible for allocating a new pty and hooking it to gdb when
4679 the old pty gets an EIO due to process exit.
4680 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4681 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4682 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4683
2116e93c
EZ
46842012-04-20 Eli Zaretskii <eliz@gnu.org>
4685
4686 * window.el (window-min-size, window-sizable, window-min-delta)
4687 (window-max-delta, window--resizable, window-resizable)
4688 (window-total-size, window-full-height-p, window-full-width-p)
4689 (window-in-direction, window--resize-mini-window, window-resize)
4690 (window--resize-child-windows-normal)
4691 (window--resize-child-windows, window--resize-siblings)
4692 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4693 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4694
c07a4c0b 46952012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4696
ef24141c
SM
4697 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4698 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4699 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4700 pty process (Bug#11273).
4701 (gdb-update): New arg to suppress talking to the gdb process.
4702 (gdb-done-or-error): Use it.
4703 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4704 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4705 sentinel not being called.
4706
4707 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4708
d02766ab
CY
4709 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4710
c07a4c0b 47112012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4712
4713 * net/network-stream.el (open-network-stream): Doc fix.
4714
c07a4c0b 47152012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4716
4717 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4718
c07a4c0b 47192012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4720
4721 Ensure searching for keywords is case sensitive.
4722
4723 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4724 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4725 (c-defun-name, c-mark-function, c-cpp-define-name)
4726 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4727 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4728
ef24141c
SM
4729 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4730 Bind case-fold-search to nil.
f0f6bc35 4731
c07a4c0b 47322012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4733
4734 * mail/sendmail.el (mail-bury): Call return action with the right
4735 Rmail buffer (Bug#11242).
4736
9a864fa2
CY
4737 * server.el (server-process-filter): Handle corner case where both
4738 tty and nowait options are present (Bug#11102).
4739
539aa513
EZ
47402012-04-20 Eli Zaretskii <eliz@gnu.org>
4741
4742 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4743 (top level): Put into the executable the ident-style '$Id:' tag on
4744 windows-nt as well.
539aa513 4745
cfc7d5da
SM
47462012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * electric.el (electric-indent-post-self-insert-function): Check that
4749 electric-indent-mode is enabled in current buffer.
4750
5b01685c
JB
47512012-04-19 Juanma Barranquero <lekktu@gmail.com>
4752
4753 * imenu.el (imenu-progress-message): Restore; it is "used" in
4754 erc/erc-imenu.el and net/snmp-mode.el.
4755
4d6769e1
JB
47562012-04-19 Juanma Barranquero <lekktu@gmail.com>
4757
4758 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4759 (mouse-avoidance-nudge-mouse): Remove unused binding.
4760
4761 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4762
4763 * descr-text.el (describe-char):
4764 * progmodes/python.el (python-describe-symbol):
4765 Don't call `toggle-read-only', set `buffer-read-only'.
4766
4767 * imenu.el (imenu-default-goto-function): Mark unused args.
4768 (imenu-progress-message): Remove obsolete macro; all callers changed.
4769
4770 * subr.el (keymap-canonicalize): Remove unused binding.
4771 (read-passwd): Mark unused arg.
4772
4773 * tutorial.el (tutorial--display-changes): Remove unused binding.
4774 (tutorial--save-tutorial-to): Remove unused variable.
4775
4776 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4777 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4778 (package-generate-autoloads, package-menu--generate)
4779 (package-menu--find-upgrades): Remove unused bindings.
4780
4781 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4782 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4783 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4784 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4785 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4786 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4787 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4788 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4789 (cua-delete-char-rectangle): Mark unused args.
4790 (cua-align-rectangle): Remove unused binding.
4791
4792 * mail/rmail.el (compilation--message->loc)
4793 (epa--find-coding-system-for-mime-charset): Declare.
4794
4795 * net/dbus.el (dbus-register-service): Declare.
4796 (dbus-name-owner-changed-handler): Remove unused binding.
4797
4798 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4799 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4800 (nxml-scan-backward-within): Mark unused arg.
4801 (nxml-dynamic-markup-word): Remove unused binding.
4802
4803 * mouse.el (mouse-menu-major-mode-map):
4804 * emacs-lisp/authors.el (authors-scan-change-log)
4805 (authors-add-to-author-list):
4806 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4807 * emacs-lisp/smie.el (smie-auto-fill):
4808 * mail/sendmail.el (mail-bury):
4809 * mail/unrmail.el (unrmail):
4810 * net/tls.el (open-tls-stream):
4811 * textmodes/picture.el (picture-mouse-set-point):
4812 Remove unused bindings.
4813
8c8fc5df
MA
48142012-04-19 Michael Albinus <michael.albinus@gmx.de>
4815
4816 * net/tramp.el (tramp-action-password): Let-bind
4817 `enable-recursive-minibuffers' to t.
4818
a77b0ac9
SS
48192012-04-18 Sam Steingold <sds@gnu.org>
4820
4821 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4822 instead of 'string to accommodate values like [f11].
4823 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4824 * progmodes/gdb-mi.el: Likewise.
4825
12a106a9
LL
48262012-04-18 Leo Liu <sdl.web@gmail.com>
4827
4828 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4829 current buffer.
4830 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4831 LOCAL is nil.
4832
bc6494ef
CY
48332012-04-18 Chong Yidong <cyd@gnu.org>
4834
4835 * simple.el (line-move): Use forward-line if in batch mode
4836 (Bug#11053).
4837
c09c46b2
CS
48382012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4839
4840 * files.el (after-find-file): Do not try to add a final newline if
4841 the buffer is read-only (Bug#11156).
4842
5f6530ea
RS
48432012-04-17 Richard Stallman <rms@gnu.org>
4844
4845 * mail/rmail.el (rmail-start-mail):
4846 Pass (rmail-mail-return...) for the return-action.
4847 Pass (rmail-yank-current-message...) for the yank-action.
4848 (rmail-yank-current-message): New function.
4849 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4850 (rmail-reply): Likewise.
4851 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4852
4853 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4854 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4855 buffer, not newbuf.
4856
197b6f3c
JB
48572012-04-17 Juanma Barranquero <lekktu@gmail.com>
4858
4859 * server.el (server-ensure-safe-dir): Simplify.
4860
2311d8e5 48612012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4862
2311d8e5
GM
4863 * emacs-lisp/smie.el: Provide smarter auto-filling.
4864 (smie-auto-fill): New function.
4865 (smie-setup): Use it.
98fb480e 4866
2311d8e5
GM
4867 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4868
48692012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4870
4871 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4872 (comment-indent): Use it.
4873
2311d8e5 48742012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4875
4876 * ses.el: The overall change is to add cell renaming, that is
4877 setting fancy names for cell symbols other than name matching
4878 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4879 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4880 (ses-create-cell-variable): New defun.
2311d8e5 4881 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4882 (ses-relocate-formula): Relocate formulas only for cells the
4883 symbols of which are not renamed, i.e. symbols whose names do not
4884 match regexp "\\`[A-Z]+[0-9]+\\'".
4885 (ses-relocate-all): Relocate values only for cells the symbols of
4886 which are not renamed.
4887 (ses-load): Create cells variables as the (ses-cell ...) are read,
4888 in order to check row col consistency with cell symbol name only
4889 for cells that are not renamed.
4890 (ses-replace-name-in-formula): New defun.
4891 (ses-rename-cell): New defun.
4bdf2ad2 4892
fc72b15c
PO
48932012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4894
4895 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4896 New option (bug#11118).
4897 (perl-calculate-indent): Respect it.
4898
12e10e61
GM
48992012-04-17 Glenn Morris <rgm@gnu.org>
4900
4901 * dired-aux.el (dired-mark-read-string): Doc fix.
4902
30009afd
DA
49032012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4904
4905 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4906 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4907
41f03f4d
GM
49082012-04-17 Glenn Morris <rgm@gnu.org>
4909
4910 * mouse.el (mouse-drag-track):
4911 * speedbar.el (speedbar-frame-mode):
4912 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4913
f45f90f3
LL
49142012-04-16 Leo Liu <sdl.web@gmail.com>
4915
4916 * progmodes/python.el: Trivial cleanup.
4917
94ee8db5
GM
49182012-04-16 Glenn Morris <rgm@gnu.org>
4919
121b8917
GM
4920 * vc/vc.el (vc-string-prefix-p):
4921 * vc/pcvs-util.el (cvs-string-prefix-p):
4922 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4923 * mpc.el (mpc-string-prefix-p):
4924 Make all of these into obsolete aliases for string-prefix-p.
4925 Update callers.
4926 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4927
1197ecfa
GM
4928 * textmodes/two-column.el: Move custom options to the start.
4929 (frame-width): Remove compat definition.
4930 (2C-associate-buffer, 2C-dissociate):
4931 Use with-current-buffer rather than save-excursion.
4932 (2C-dissociate): Force a mode-line update.
4933 (2C-autoscroll): Use ignore-errors.
4934
099e7202
GM
4935 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4936 Autoload trivia.
4937
bf350d6a
GM
4938 * emacs-lisp/cl-extra.el (*random-state*):
4939 Remove unnecessary declaration.
4940
0e829eab
GM
4941 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4942
e3ad7552
GM
4943 * play/cookie1.el (cookie-snarf):
4944 Give an explicit error if input file cannot be read.
4945
68892d27
GM
4946 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4947
20f0c46d
GM
4948 * progmodes/perl-mode.el (c-macro-expand):
4949 Remove unnecessary autoload (it is in loaddefs.el).
4950
5a0978ce
GM
4951 * textmodes/picture.el (picture-desired-column)
4952 (picture-update-desired-column): Convert comments to doc-strings.
4953 (picture-substitute): Remove function.
4954 (picture-mode-map): Initialize in the defvar.
4955
6b955486
GM
4956 * woman.el: Remove eval-after-load for tar-mode.
4957 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4958 (woman-tar-extract-file): Autoload it.
4959
94ee8db5
GM
4960 * frame.el (automatic-hscrolling): Make this alias obsolete.
4961
177eca34
AM
49622012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4963
090bd7cb 4964 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4965 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4966 (ispell-dictionary-base-alist): Revert to original XEmacs
4967 friendly version for default. [:alpha:] will be added in
090bd7cb 4968 `ispell-set-spellchecker-params' if needed.
177eca34 4969
c505aaeb
CY
49702012-04-16 Chong Yidong <cyd@gnu.org>
4971
b19dd9d1 4972 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4973 (imagemagick-register-types): Use it.
4974 (imagemagick-types-inhibit): Add :set function. Allow new value
4975 of t to inhibit all types.
4976
4977 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4978 so we can preload it.
4979
4980 * loadup.el (fboundp): Preload regexp-opt, needed by
4981 imagemagick-register-types.
4982
60efac0f
CY
49832012-04-15 Chong Yidong <cyd@gnu.org>
4984
4985 * frame.el (scrolling): Remove nearly unused customization group.
4986
4987 * scroll-all.el (scroll-all-mode): Move to windows group.
4988
5dd1713e
CY
49892012-04-15 Chong Yidong <cyd@gnu.org>
4990
4991 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4992
e6fd457e
CY
49932012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4994
4995 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4996 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4997
e153c136
GM
49982012-04-15 Glenn Morris <rgm@gnu.org>
4999
5000 * simple.el (process-file-side-effects): Doc fix.
5001
e6fd457e 50022012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5003
5004 * international/mule-cmds.el (set-language-environment): Doc fix.
5005
3603c3b1
JB
50062012-04-14 Juanma Barranquero <lekktu@gmail.com>
5007
5008 * server.el (server-auth-key, server-generate-key): Doc fixes.
5009 (server-get-auth-key): Doc fix. Use `string-match-p'.
5010 (server-start): Reflow docstring.
5011
e6de100c
LI
50122012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5013
5014 * server.el (server-generate-key): `called-interactively-p'
5015 requires a parameter.
5016
29734c21
MN
50172012-04-14 Michal Nazarewicz <mina86@mina86.com>
5018
5019 * server.el (server-auth-key): New variable.
75f1671a 5020 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5021 (server-start): Use the new variable and functions to allow
5022 setting a permanent server key (bug#9423).
5023
d65c9521
LL
50242012-04-14 Leo Liu <sdl.web@gmail.com>
5025
5026 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5027
5ae255c7
PE
50282012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5029
5030 Spelling fixes.
5031 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5032 Emacs uses American spelling.
5033
d5e6342e
JB
50342012-04-14 Juanma Barranquero <lekktu@gmail.com>
5035
5036 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5037 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5038 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5039 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5040
ab036cd7
SM
50412012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5042
5043 * progmodes/which-func.el (which-func-modes): Change default.
5044
35dc09a1 50452012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5046
5047 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5048 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5049
35dc09a1 50502012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5051
5052 * custom.el (custom-theme-set-variables): Doc fix.
5053
35dc09a1 50542012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5055
5056 * international/mule.el (set-auto-coding-for-load): Doc fix.
5057
35dc09a1 50582012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5059
35dc09a1
GM
5060 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5061 imenu work again for Objective C Mode. Correct the *-index values,
5062 these having been disturbed by a previous change in 2011-08.
57f845ee 5063
0de3da9f
AM
5064 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5065 Correct two search limits.
5066
35dc09a1 50672012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5068
5069 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5070
35dc09a1 50712012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5072
5073 * international/characters.el: Fix sorting.
5074
35dc09a1 50752012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5076
5077 * international/characters.el: Add more missing Latin case pairs.
5078
35dc09a1 50792012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5080
5081 * files.el (dir-locals-set-class-variables): Doc fix.
5082
35dc09a1 50832012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5084
3f1b5bf8
EZ
5085 * international/characters.el: Add set-case-syntax-pair call for
5086 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5087 counterpart. (Bug#11209)
5088
9f847f41
EZ
5089 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5090
35dc09a1 50912012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5092
5093 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5094
35dc09a1 50952012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5096
35dc09a1
GM
5097 * textmodes/ispell.el (ispell-dictionary-base-alist):
5098 Add data for Hebrew.
e2627d21 5099
35dc09a1 51002012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5101
35dc09a1
GM
5102 * net/rcirc.el (rcirc-cmd-quit):
5103 Revert 2012-03-18 change (Bug#11192).
5c14e333 5104
35dc09a1 51052012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5106
5107 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5108
35dc09a1 51092012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5110
4517fe3a
SM
5111 * minibuffer.el (completion-in-region-mode-map):
5112 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5113
b472a594
VD
51142012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5115
5116 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5117
09b95ce3
MY
51182012-04-13 Masatake YAMATO <yamato@redhat.com>
5119
5120 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5121 to allow `C-M-f' and `C-M-b' to move to the nearest path
5122 separator (bug#9511).
5123
4b63a9ca
LI
51242012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5125
5126 * avoid.el: Require cl when compiling. And also move the
5127 `provide' to the end.
5128
7b55b8bf
TV
51292012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5130
5131 * avoid.el (mouse-avoidance-banish-position): New variable.
5132 (mouse-avoidance-banish-destination): Use it (bug#10165).
5133
adedaa1f
LL
51342012-04-13 Leo Liu <sdl.web@gmail.com>
5135
5136 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5137
70e74021
KB
51382012-04-13 Ken Brown <kbrown@cornell.edu>
5139
5140 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5141 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5142 (browse-url-filename-alist): For the same reason, don't modify
5143 file:// URLs on Cygwin.
5144
e75e89ba
SM
51452012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5146
5147 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5148 the region on shift if the binding is already shifted (bug#11221).
5149
82f289a4
GM
51502012-04-12 Glenn Morris <rgm@gnu.org>
5151
5152 * mail/mailpost.el: Move to obsolete/.
5153
d333dc4c
DA
51542012-04-12 Drew Adams <drew.adams@oracle.com>
5155
5156 * imenu.el (imenu--generic-function): Ignore invisible definitions
5157 (bug#10123).
5158
0d15b5ba
VD
51592012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5160
5161 * hexl.el (hexl-bits): New variable.
5162 (hexl-options): Mention the variable in the doc string.
75f1671a 5163 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5164 (hexl-mode): Mention the new variable.
75f1671a
JB
5165 (hexl-mode, hexl-current-address, hexl-current-address):
5166 Use the displen.
0d15b5ba
VD
5167 (hexl-ascii-start-column): New function.
5168 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5169 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5170
64a440db
AM
51712012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5172
5173 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5174 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5175 the encoding, as expected by hunspell.
5176
6decb6c2
SM
51772012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * battery.el (battery--linux-sysfs-regexp): New const.
5180 (battery-status-function): Use it. Remove yeeloong special case.
5181 (battery-yeeloong-sysfs): Remove.
5182 (battery-echo-area-format): Remove yeeloong special case.
5183
088be6fb
SM
51842012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5185
6622e416
SM
5186 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5187 Reported by Noah Friedman.
5188
088be6fb
SM
5189 * subr.el (read-passwd): Use read-string.
5190
b49f886e
LMI
51912012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5192
5193 * vcursor.el (vcursor-move): Increase the priority of the overlay
5194 (bug#9663).
5195
a63067fc
DD
51962012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5197
5198 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5199 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5200
ac3cf14a
WS
52012012-04-11 William Stevenson <yhvh2000@gmail.com>
5202
5203 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5204 define-minor-mode (bug#10760).
5205
c4fc691b 52062012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5207
4d6769e1 5208 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5209 that directories matching `grep-find-ignored-files' won't be
5210 pruned (bug#10351).
5211
af23e2e5
CY
52122012-04-11 Chong Yidong <cyd@gnu.org>
5213
5214 * startup.el (command-line): Remove support for long-obsolete
5215 variable font-lock-face-attributes.
5216
ab7ce8c1
GM
52172012-04-11 Glenn Morris <rgm@gnu.org>
5218
5219 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5220
de8c03dc
SM
52212012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5222
5223 * window.el (window--state-get-1): Obey window-point-insertion-type.
5224
050cc68b
LB
52252012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5226
5227 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5228 to previous function when point is on the first character of a
75f1671a 5229 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5230
a38c310c
GM
52312012-04-11 Glenn Morris <rgm@gnu.org>
5232
effed0c2
GM
5233 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5234 not just file-errors.
5235
a38c310c
GM
5236 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5237 (vc-bzr-sha1): Use internal sha1.
5238
0221e323
SM
52392012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5240
5241 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5242
43956923
SG
52432012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5244
5245 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5246 that start in the middle of the line (bug#10496).
5247
6a8c9eaf
DN
52482012-04-10 Dan Nicolaescu <dann@gnu.org>
5249
5250 * battery.el (battery-linux-proc-acpi): Only one battery is
5251 discharged at a time, but that seems to confuse battery.el when
5252 computing `rate-type' for the battery not being discharged
5253 (bug#10332).
5254
1930bf5d
SM
52552012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5256
2a718f6f
SM
5257 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5258
599430d0
SM
5259 * international/quail.el: Use dolist and simplify.
5260 (quail-define-package, quail-update-keyboard-layout)
5261 (quail-define-rules): Use dolist.
5262 (quail-insert-kbd-layout, quail-get-translation): CSE.
5263
a2754b6c
SM
5264 * tmm.el: Use dolist, remove left over hook.
5265 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5266 Use dolist.
5267 (calendar-load-hook): Don't mess with it.
5268
1930bf5d
SM
5269 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5270 Use derived-mode-p. Run the diff asynchronously.
5271
9f67961c
LMI
52722012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5273
5274 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5275
2a8ce227
JB
52762012-04-10 Juanma Barranquero <lekktu@gmail.com>
5277
5278 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5279 (list-dynamic-libraries--loaded): New function.
5280 (list-dynamic-libraries--refresh): Use it.
5281
8f33b5f8
NW
52822012-04-10 Nathan Weizenbaum <nweiz@google.com>
5283
1930bf5d
SM
5284 * progmodes/python.el (python-fill-paragraph):
5285 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5286 disabled (bug#7018).
5287
b12f0439
L
52882012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5289
1930bf5d 5290 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5291 DOS/MS Windows for the Baltic languages. There are still plenty
5292 of texts written in this encoding/codepage (bug#6519).
b12f0439 5293
57c3bd01
GM
52942012-04-10 Glenn Morris <rgm@gnu.org>
5295
5296 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5297 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5298
6c3eab30
FA
52992012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5300
1930bf5d 5301 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5302 next-line "n" and previous-line "p" in order to make recentf more
5303 consistent with ibuffer, dired or org-mode (bug#9387).
5304
24d78a88
LMI
53052012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5306
bc72b5d9
LMI
5307 * image.el (put-image): Return the overlay created instead of the
5308 optional input string (bug#7834). Note that this may break code
5309 that is (for some reason or other) depending on `put-image'
5310 returning the string.
5311
bd2dba5a
LMI
5312 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5313
74beb59f
LMI
5314 * simple.el (zap-to-char): Allow zapping using input methods
5315 (bug#1580).
5316
24d78a88
LMI
5317 * textmodes/fill.el (fill-region): Leave point and mark where they
5318 were before filling (bug#5399).
5319
263f20cd
GM
53202012-04-09 Glenn Morris <rgm@gnu.org>
5321
5322 * version.el (emacs-bzr-get-version):
5323 Handle lightweight checkouts of local branches.
5324
58d1f797
AS
53252012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5326
263f20cd 5327 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5328
b4d3bc10
CY
53292012-04-09 Chong Yidong <cyd@gnu.org>
5330
5331 * custom.el (custom-variable-p): Return nil for non-symbol
5332 arguments instead of signaling an error.
5333 (user-variable-p): Obsolete alias for custom-variable-p.
5334
5335 * apropos.el (apropos-variable):
5336 * files-x.el (read-file-local-variable):
5337 * simple.el (set-variable):
5338 * woman.el (woman-mini-help):
5339 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5340
fd06db5d
GM
53412012-04-09 Glenn Morris <rgm@gnu.org>
5342
e5fcdb5e
GM
5343 * startup.el (normal-top-level): Don't look for leim-list.el
5344 in places where it will not be found. (Bug#910)
5345
fd06db5d
GM
5346 * international/mule-cmds.el (set-default-coding-systems):
5347 * files.el (normal-mode):
5348 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5349 This function was removed with ucs-tables.el in 2008.
5350
b39bb7e1
EZ
53512012-04-08 Eli Zaretskii <eliz@gnu.org>
5352
5353 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5354 ispell-encoding8-command to "-i", without a trailing space.
5355 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5356 separate command-line arguments, to specify the encoding, since
5357 that's how hunspell expects it.
5358
5c5b8e23
GM
53592012-04-08 Glenn Morris <rgm@gnu.org>
5360
5361 * loadup.el: Load bindings before cus-start.
5362 This reduces somewhat the number of "rogue" settings in emacs -Q.
5363
a1ed8b05
GM
53642012-04-07 Glenn Morris <rgm@gnu.org>
5365
5366 * version.el (emacs-bzr-get-version): New function.
dfae128a 5367 (emacs-bzr-version): New variable.
a1ed8b05
GM
5368 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5369 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5370
b142f158
EZ
53712012-04-07 Eli Zaretskii <eliz@gnu.org>
5372
dfae128a
GM
5373 * international/uni-bidi.el, international/uni-category.el:
5374 * international/uni-combining.el, international/uni-decimal.el:
5375 * international/uni-decomposition.el, international/uni-digit.el:
5376 * international/uni-lowercase.el, international/uni-mirrored.el:
5377 * international/uni-name.el, international/uni-numeric.el:
5378 * international/uni-titlecase.el, international/uni-uppercase.el:
5379 Update for Unicode 6.1.
b142f158 5380
9078ead6
EZ
53812012-04-07 Eli Zaretskii <eliz@gnu.org>
5382
5383 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5384
f23d2c7d
LMI
53852012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5386
5387 * window.el (shrink-window): Mention the `window-min-height'
5388 variable in the doc string.
5389
0a0a3573
BG
53902012-04-05 Bastien Guerry <bzg@altern.org>
5391
5392 * color.el (color-lighten-name): Fix typo.
5393
e5248ac9
SM
53942012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5395
5396 * server.el (server--on-display-p): New function.
5397 (server--on-display-p): Use it.
5398
b4243e22
GV
53992012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5400
5401 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5402 (bug#11145).
5403
305d9f44
SM
54042012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5405
5406 * comint.el (comint--common-quoted-suffix): Check string boundary
5407 before comparing (bug#11158).
5408 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5409
3d439cd1
CY
54102012-04-04 Chong Yidong <cyd@gnu.org>
5411
321cc491
CY
5412 * minibuffer.el (completion-extra-properties): Doc fix.
5413
3d439cd1
CY
5414 * subr.el (delayed-warnings-hook): Doc fix.
5415
2d562c0f
DU
54162012-04-04 Daiki Ueno <ueno@unixuser.org>
5417
5418 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5419 selection (Bug#11159).
5420 (epa-insert-keys): Inform that the default public key will be
5421 exported if no key is selected.
5422
4443f204
RS
54232012-04-04 Richard Stallman <rms@gnu.org>
5424
5425 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5426
529c06b6
CY
54272012-04-03 Chong Yidong <cyd@gnu.org>
5428
5429 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5430 mail-insert-file, not its obsolete alias mail-attach-file.
5431
66b907dc
MA
54322012-04-03 Michael Albinus <michael.albinus@gmx.de>
5433
5434 * notifications.el (notifications-notify): Fix docstring.
5435
c0ea195d
GM
54362012-04-02 Glenn Morris <rgm@gnu.org>
5437
5438 * emacs-lisp/authors.el (authors-aliases): Another addition.
5439
5ca64e00
MA
54402012-04-02 Michael Albinus <michael.albinus@gmx.de>
5441
5442 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5443 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5444 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5445
42ee526b
CY
54462012-04-01 Chong Yidong <cyd@gnu.org>
5447
5448 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5449 Handle root directory properly.
5450 (copy-directory): Caller changed.
5451
5452 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5453 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5454
0b021094
GM
54552012-03-31 Glenn Morris <rgm@gnu.org>
5456
40f86458
GM
5457 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5458
7019c177
GM
5459 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5460
a1daddd6
GM
5461 * calendar/calendar.el (calendar-window-list)
5462 (calendar-hide-window): Restore. (Bug#11140)
5463 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5464
0b021094
GM
5465 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5466
40311efc
TV
54672012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5468
5469 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5470 Check if file is a symlink (Bug#10489).
5471
5472 * files.el (copy-directory): Likewise.
5473
5319014e
CY
54742012-03-30 Chong Yidong <cyd@gnu.org>
5475
5476 * image.el (imagemagick-types-inhibit)
5477 (imagemagick-register-types): Doc fix.
5478
935d1290
AM
54792012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5480
090bd7cb 5481 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5482 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5483 and treats ~word as ordinary words in pipe mode.
935d1290 5484
61c6e8fd
GM
54852012-03-30 Glenn Morris <rgm@gnu.org>
5486
5487 * tutorial.el (help-with-tutorial): Ensure local variables don't
5488 happen to make the buffer read-only. (Bug#11127)
5489
81fdff00
SM
54902012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5493 (perl-calculate-indent): Return `noindent' in strings.
5494
6e7a6ec0
SS
54952012-03-28 Sam Steingold <sds@gnu.org>
5496
5497 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5498 instead of the broken adhockery which does not prevent calendar
5499 buffers from being displayed at random after exit.
5500 (calendar-window-list, calendar-hide-window): Remove the broken
5501 adhockery.
5502
fee88ca0
GM
55032012-03-28 Glenn Morris <rgm@gnu.org>
5504
5505 * replace.el (query-replace-map): Doc fix.
5506
38de3354
AS
55072012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5508
5509 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5510 contents. (Bug#11109)
5511
b973155e
SM
55122012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5515 (bug#11077).
5516 (avl-tree--check, avl-tree--check-node): New funs.
5517
dcb6e7b3
MR
55182012-03-27 Martin Rudalics <rudalics@gmx.at>
5519
5520 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5521 (switch-to-prev-buffer, switch-to-next-buffer):
5522 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5523 showing a buffer already is done on the same frame.
5524
b4fa35fa
GM
55252012-03-27 Glenn Morris <rgm@gnu.org>
5526
5527 * startup.el (mail-host-address): Doc fix.
5528
f9210e18
SM
55292012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5530
5531 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5532 than 197 variables.
5533
c0bf7753
AF
55342012-03-26 Ami Fischman <ami@fischman.org>
5535
5536 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5537
33da7b16
GM
55382012-03-26 Glenn Morris <rgm@gnu.org>
5539
02243d9d
GM
5540 * files.el (save-buffers-kill-emacs): Doc fix.
5541
33da7b16
GM
5542 * startup.el (normal-top-level, command-line, command-line-1):
5543 Give them doc strings.
5544
e5a69fd0
EZ
55452012-03-25 Eli Zaretskii <eliz@gnu.org>
5546
5547 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5548 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5549
9a69676a
CY
55502012-03-25 Chong Yidong <cyd@gnu.org>
5551
4125cb8b
CY
5552 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5553 theme if it was previously enabled before (Bug#11031).
5554
dd470960
CY
5555 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5556 spec with custom-face-get-current-spec if its :shown-value is not
5557 determined yet (Bug#9337).
4125cb8b 5558 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5559
9a69676a
CY
5560 * button.el (button-at): Minor addition to docstring.
5561
6e7e90fa
SL
55622012-03-24 Simon Leinen <simon.leinen@gmail.com>
5563
5564 * vc/vc.el (vc-merge): Fix a prompt.
5565
f06e2758
CY
55662012-03-24 Chong Yidong <cyd@gnu.org>
5567
5568 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5569 point (Bug#9623).
5570
6e7e90fa
SL
5571 * button.el (button-at): Minor addition to docstring.
5572
b9d0879b
SM
55732012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 * newcomment.el (comment-choose-indent): No space after BOL.
5576
e71cebb3
SS
55772012-03-22 Sam Steingold <sds@gnu.org>
5578
5579 * window.el (switch-to-prev-buffer): Revert last patch because the
5580 bug turned out to be an advertised feature (Elisp manual 28.14).
5581
335aff35
GM
55822012-03-22 Glenn Morris <rgm@gnu.org>
5583
5584 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5585 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5586
c676576a
LMI
55872012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5588
5589 * net/network-stream.el (network-stream-open-starttls): Make error
5590 message under Windows be less misleading.
5591
126f3d39
LW
55922012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5593
5594 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5595 understands (bug#9942).
5596
64fee311
CY
55972012-03-22 Chong Yidong <cyd@gnu.org>
5598
5599 * simple.el (end-of-visible-line): Handle return value of
5600 next-single-property-change properly (Bug#9371).
5601
a640d29a
KH
56022012-03-22 Kenichi Handa <handa@m17n.org>
5603
5604 * international/quail.el (quail-insert-kbd-layout): Fix previous
5605 change. To avoid unwanted bidi reordering, use
5606 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5607
39675016
DG
56082012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5609
5610 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5611 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5612 (ruby-beginning-of-indent): Be more careful with the difference
5613 between word-boundary and symbol boundary.
5614 (ruby-mode-syntax-table): Make : a symbol constituent.
5615
0a6934fc 56162012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5617
3d008e4f
SM
5618 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5619
0a6934fc
SM
56202012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5621
af67c9d7
SM
5622 * progmodes/etags.el (tags-completion-at-point-function):
5623 Improve last fix.
5624
1acad97c
SM
5625 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5626
e298b5da
SS
56272012-03-21 Sam Steingold <sds@gnu.org>
5628
5629 * progmodes/etags.el (tags-completion-at-point-function):
5630 Avoid the error when point is inside the pattern.
5631
91d82a70
JY
56322012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5633
5634 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5635 line (Bug#10855).
5636
69188b79
CY
56372012-03-21 Drew Adams <drew.adams@oracle.com>
5638
5639 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5640
99fc91fe
AK
56412012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5642
5643 * ido.el (ido-set-current-directory, ido-read-internal)
5644 (ido-choose-completion-string, ido-completion-help): Handle nil
5645 value of ido-completion-buffer (Bug#11008).
5646
087bbb4c
SS
56472012-03-21 Sam Steingold <sds@gnu.org>
5648
5649 * window.el (switch-to-prev-buffer): Do not switch to a visible
5650 window previous buffer, just like with the frame previous buffers.
5651
fb5b8aca
CY
56522012-03-21 Chong Yidong <cyd@gnu.org>
5653
5654 * faces.el (make-face, make-empty-face, copy-face):
5655 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5656 Doc fixes.
5657
dc9924b8
SM
56582012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5661 (widget-complete): Remove broken use of it.
5662
f0bcceb9
CY
56632012-03-20 Chong Yidong <cyd@gnu.org>
5664
dc9924b8
SM
5665 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5666 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5667 characters.
5668
ee52ebf3
TH
56692012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5670
5671 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5672 to draw rectangles, not squares. (Regression introduced by revno
5673 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5674
4c5779ab
CY
56752012-03-18 Chong Yidong <cyd@gnu.org>
5676
5677 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5678 it is not yet defined (for temacs).
5679
15360934
LL
56802012-03-18 Leo Liu <sdl.web@gmail.com>
5681
dc9924b8 5682 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5683
d9a8eb66
EZ
56842012-03-17 Eli Zaretskii <eliz@gnu.org>
5685
5686 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5687 (ispell-choices-win-default-height, ispell-silently-savep)
5688 (ispell-dictionary-alist, ispell-encoding8-command)
5689 (ispell-check-version, ispell-aspell-find-dictionary)
5690 (ispell-valid-dictionary-list, ispell-words-keyword)
5691 (ispell-get-word, ispell-internal-change-dictionary)
5692 (ispell-region, ispell-skip-region-list)
5693 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5694 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5695 (ispell-message-text-end, ispell-message)
5696 (ispell-buffer-local-parsing): Doc fix.
5697
f02ff80d
J
56982012-03-13 Jambunathan K <kjambunathan@gmail.com>
5699
5700 * htmlfontify.el: Add support for code block fontification for ODT
5701 export (Bug #9914).
5702 (hfy-optimisations): Define new option
5703 `body-text-only'
5704 (hfy-fontify-buffer): Honor above setting.
5705 (hfy-begin-span, hfy-end-span): New routines factored out form
5706 `hfy-fontify-buffer'.
5707 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5708 that permit insertion of custom tags.
5709 (hfy-fontify-buffer): Use above handlers.
5710 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5711 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5712 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5713 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5714 bind a special variable `hfy-user-sheet-assoc'.
5715 (htmlfontify-string): New defun.
5716 (hfy-compile-face-map): Make sure that the last char in the
5717 buffer is correctly fontified.
5718 (hfy-face-resolve-face): Whitespace only change.
5719
9ac7a13f
EZ
57202012-03-17 Eli Zaretskii <eliz@gnu.org>
5721
5722 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5723 message more clear.
5724
e2b5bdd7
LL
57252012-03-16 Leo Liu <sdl.web@gmail.com>
5726
5727 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5728
2e492df3
AM
57292012-03-16 Alan Mackenzie <acm@muc.de>
5730
5731 Further optimise the handling of large macros.
5732
5733 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5734 limit to a call of `c-literal-limits'.
5735 (c-determine-+ve-limit): New function.
dc9924b8
SM
5736 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5737 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5738 In CASE 5B, restrict a search limit to 500.
5739 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5740
5741 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5742 Restrict macro bounds to +-500 from after-change's BEG END.
5743
50e94f0c
LL
57442012-03-16 Leo Liu <sdl.web@gmail.com>
5745
5746 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5747
6f09f6ed
AH
57482012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5749
5750 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5751 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5752
c7e73d51
GM
57532012-03-16 Glenn Morris <rgm@gnu.org>
5754
da986230
GM
5755 * view.el (view-buffer, view-buffer-other-window)
5756 (view-buffer-other-frame): Doc fixes re special mode-class.
5757
0835f01e
GM
5758 * subr.el (eval-after-load): If named feature is provided not from
5759 a file, run after-load forms. (Bug#10946)
5760
c7e73d51
GM
5761 * calendar/calendar.el (calendar-insert-at-column):
5762 Handle non-unit-width characters a bit better. (Bug#10978)
5763
3f2eafd1
CY
57642012-03-15 Chong Yidong <cyd@gnu.org>
5765
5766 * emacs-lisp/ring.el (ring-extend): New function.
5767 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5768
5769 * comint.el (comint-read-input-ring)
5770 (comint-add-to-input-history): Grow comint-input-ring lazily.
5771
103af3fe
SM
57722012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5773
663b1677
SM
5774 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5775 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5776
103af3fe
SM
5777 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5778 (imenu-add-to-menubar): Don't add a redundant index.
5779 (imenu-update-menubar): Handle a dynamically composed keymap.
5780
899cb7cb
KY
57812012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5782
5783 * mail/sendmail.el (mail-encode-header):
5784 Bind rfc2047-encode-encoded-words to nil.
5785
3809f91d
GM
57862012-03-13 Glenn Morris <rgm@gnu.org>
5787
5788 * calendar/calendar.el (calendar-string-spread):
5789 Handle non-unit-width characters a bit better. (Bug#10978)
5790
9e345a01
LL
57912012-03-13 Leo Liu <sdl.web@gmail.com>
5792
5793 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5794 directory and file as argument (Bug#10822).
5795
4a07df36
KS
57962012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5797
5798 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5799 For dynamically generated code, follow $PC.
5800 (gdb-disassembly-handler-custom): Handle no function name case.
5801
4aaa9356
TL
58022012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5803
5804 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5805 * emulation/ws-mode.el (ws-query-replace):
5806 * sort.el (sort-regexp-fields):
5807 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5808
225979da
SM
58092012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5810
5811 * dabbrev.el: Fix cycle completion order (bug#10963).
5812 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5813 (dabbrev-completion): Don't use an obarray; provide
5814 a cycle-sort-function.
5815
e2f1fdab
LL
58162012-03-12 Leo Liu <sdl.web@gmail.com>
5817
dc9924b8 5818 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5819 (kill-do-not-save-duplicates): Doc fix.
5820
b19490ed
SM
58212012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5822
5823 * dabbrev.el: Fix cycle completion (bug#10963).
5824 Use lexical binding and wrap to 80 columns.
5825 (dabbrev-completion): Delay computing the list of completions.
5826
4b05d722
KH
58272012-03-12 Kenichi Handa <handa@m17n.org>
5828
5829 * international/quail.el (quail-insert-kbd-layout): Surround each
5830 row by LRO and PDF instead of inserting many LRMs. Pad the left
5831 and right of each non-spacing marks. Insert invisible space
5832 between lower and upper characters to prevent composition.
5833
dbbc2e69
SM
58342012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 * minibuffer.el (minibuffer-complete): Don't get confused when the
5837 function is run twice via different commands (bug#10958).
5838 (complete-with-action): Fix docstring.
5839
292112ed
CY
58402012-03-12 Chong Yidong <cyd@gnu.org>
5841
5d1ac394
CY
5842 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5843 (nxml-completion-at-point-function): New function.
5844 (nxml-mode): Use it.
5845 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5846
292112ed
CY
5847 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5848 Load generated autoloads file before byte compiling (Bug#10970).
5849 (package--make-autoloads-and-compile): New helper fun.
5850
4098f8f7
CS
58512012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5852
5853 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5854
8f754691
MA
58552012-03-11 Michael Albinus <michael.albinus@gmx.de>
5856
5857 * autorevert.el (auto-revert-handler): Ensure, that
5858 file-readable-p is applied only for local files or in
5859 auto-revert-tail-mode.
5860
e29ab36b
AS
58612012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5862
dbbc2e69
SM
5863 * server.el (server-eval-at): Handle non-tcp connections.
5864 Decode result string.
ad0bf5b6 5865
e29ab36b
AS
5866 * server.el (server-msg-size): New constant.
5867 (server-reply-print): New function.
5868 (server-eval-and-print): Use it.
5869 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5870 Handle -print-nonl.
5871
de5939ba
CS
58722012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5873
5874 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5875 (Bug#10987).
5876
0c93eabf
CY
58772012-03-11 Chong Yidong <cyd@gnu.org>
5878
397a688f
CY
5879 * simple.el (goto-line): Doc fix (Bug#9938).
5880
2cc775f9
CY
5881 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5882
0c93eabf
CY
5883 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5884 when finished (Bug#10963).
5885
c491fa41
MR
58862012-03-11 Martin Rudalics <rudalics@gmx.at>
5887
5888 * window.el (split-window-below): Fix bug in case where
5889 split-window-keep-point is nil (Bug#10971).
5890
300e8fa5
JL
58912012-03-11 Juri Linkov <juri@jurta.org>
5892
5893 * replace.el (replace-highlight): Set isearch-word to nil
5894 unconditionally. (Bug#10887)
5895
dbf6c5a1
EZ
58962012-03-10 Eli Zaretskii <eliz@gnu.org>
5897
5898 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5899 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5900 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5901 (mairix-widget-create-query): Add usage information about mairix
5902 search forms: negating words, searching for substrings, etc.
5903
b9e501de
JP
59042012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5905
5906 * international/fontset.el (font-encoding-alist): Add an entry for
5907 ksx1001 (Bug#5667).
5908
92795c91
RS
59092012-03-10 Richard Stallman <rms@gnu.org>
5910
1694e6c1
RS
5911 * mail/sendmail.el (mail-encode-header):
5912 Set rfc2047-encode-encoded-words.
5913
607e8555
RS
5914 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5915
de3bc99a
RS
5916 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5917 view buffer means not swapped.
5918 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5919 (rmail-write-region-annotate): Error if real text has disappeared.
5920
92795c91
RS
5921 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5922
699bd04e
CY
59232012-03-10 Chong Yidong <cyd@gnu.org>
5924
5925 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5926 * emulation/cua-base.el (cua--init-keymaps):
5927 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5928
570a1714
MR
59292012-03-10 Martin Rudalics <rudalics@gmx.at>
5930
dbbc2e69
SM
5931 * speedbar.el (speedbar-unhighlight-one-tag-line):
5932 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5933
82dcf4e4
CY
59342012-03-10 Chong Yidong <cyd@gnu.org>
5935
7a2c7ca7
CY
5936 * minibuffer.el (completion-in-region, completion-help-at-point):
5937 Give the completion field overlay a high priority (Bug#6830).
5938
82dcf4e4
CY
5939 * dired.el (dired-goto-file): Recognize absolute file name
5940 listings (Bug#7126).
5941 (dired-goto-file-1): New helper function.
5942 (dired-toggle-read-only): Inhibit warnings.
5943
052e28ac
MA
59442012-03-09 Michael Albinus <michael.albinus@gmx.de>
5945
75f1671a 5946 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5947 there are no properties.
5948
95d5e396
LL
59492012-03-09 Leo Liu <sdl.web@gmail.com>
5950
5951 * savehist.el (savehist-printable): Stricter check for string
5952 value (Bug#10937).
5953
3f018d6d
EZ
59542012-03-09 Eli Zaretskii <eliz@gnu.org>
5955
dbbc2e69
SM
5956 * mail/smtpmail.el (smtpmail-send-it):
5957 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5958 valid mbox format.
5959
f7fd3d79
GM
59602012-03-09 Glenn Morris <rgm@gnu.org>
5961
5962 * files.el (dir-locals-find-file):
5963 Don't check result is regular, readable.
5964 (dir-locals-read-from-file): Demote errors.
5965
6ff6e72f
EZ
59662012-03-08 Eli Zaretskii <eliz@gnu.org>
5967
dbbc2e69
SM
5968 * international/quail.el (quail-insert-kbd-layout):
5969 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5970 layout cell, to prevent their reordering by bidi display engine.
5971 For details, see the discussion in
5972 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5973
9cec7834
AM
59742012-03-08 Alan Mackenzie <acm@muc.de>
5975
5976 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5977 the starting position; make it extend the marked region when
5978 invoked repeatedly - all under appropriate circumstances.
5979 Fixes bugs #5525, #10906.
5980
9a40b8d4
GM
59812012-03-08 Glenn Morris <rgm@gnu.org>
5982
5983 * files.el (locate-dominating-file, dir-locals-find-file):
5984 Undo 2012-03-06 change.
5985
7a08ed35
EZ
59862012-03-07 Eli Zaretskii <eliz@gnu.org>
5987
dbbc2e69
SM
5988 * international/quail.el (quail-help):
5989 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5990 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5991 for the reason.
5992
5aca4f71 59932012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5994
5995 Avoid superfluous registering of signals. (Bug#10807)
5996
5997 * notifications.el (notifications-on-action-object)
5998 (notifications-on-close-object): New defvars.
5999 (notifications-on-action-signal, notifications-on-closed-signal):
6000 Unregister the signal if not needed any longer.
6001 (notifications-notify): Register `notifications-action-signal' or
6002 `notifications-closed-signal', if :on-action or :on-close has been
6003 passed as argument.
6004
78e8b10a
CY
60052012-03-07 Chong Yidong <cyd@gnu.org>
6006
6007 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6008 non-X platforms.
6009
69481eb8
GM
60102012-03-06 Glenn Morris <rgm@gnu.org>
6011
6012 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6013 (x-disown-selection-internal, x-get-selection-internal):
6014 Doc fix (add arglist signatures). (Bug#10783)
6015
133b8e11
KS
60162012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6017
6018 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6019 Handle breakpoints with no "type".
6020
99a83064
GM
60212012-03-06 Glenn Morris <rgm@gnu.org>
6022
6023 * files.el (locate-dominating-file): Add optional predicate argument.
6024 (dir-locals-find-file): Make use of above change.
6025
17798e78
TTN
60262012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6027
6028 * info.el (Info-insert-dir): Also try "dir.gz".
6029
eb182446
GM
60302012-03-06 Glenn Morris <rgm@gnu.org>
6031
8f2114ee
GM
6032 * files.el (dir-locals-find-file):
6033 Ignore non-readable or non-regular files. (Bug#10928)
6034
eb182446
GM
6035 * files.el (locate-dominating-file): Doc fix.
6036
24679323
AS
60372012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6038
6039 * calendar/calendar.el (calendar-set-mode-line):
6040 `getenv' returns a string. (Bug#10951)
6041
01d972a9
LL
60422012-03-05 Leo Liu <sdl.web@gmail.com>
6043
109aa8a9
LL
6044 * simple.el (backward-delete-char-untabify): Constrain point to
6045 field (Bug#10939).
6046
01d972a9
LL
6047 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6048
10607bea
CY
60492012-03-05 Chong Yidong <cyd@gnu.org>
6050
6051 * simple.el (count-words): If called from Lisp, return the word
6052 count, for symmetry with `count-lines'. Arglist changed.
6053 (count-words--message): Args changed. Consolidate counting code
6054 from count-words and count-words-region.
6055 (count-words-region): Caller changed.
6056 (count-lines-region): Make it an obsolete alias.
6057
5dd11cfe
TH
60582012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6059
6060 * saveplace.el (save-place-to-alist)
6061 (save-place-ignore-files-regexp): Allow value nil to disable this
6062 feature.
6063
c349f4e6
CY
60642012-03-04 Chong Yidong <cyd@gnu.org>
6065
6066 * faces.el (face-spec-reset-face): For the default face, reset the
6067 attributes to default values (Bug#10748).
6068
e627be4c
LMI
60692012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6070
6071 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6072 previous patch: Check `message-send-mail-function', and not the
6073 default function (bug#10897).
6074
ebeabff4
MA
60752012-03-04 Michael Albinus <michael.albinus@gmx.de>
6076
a41a6cf4
MA
6077 * notifications.el (notifications-on-action-signal)
6078 (notifications-on-closed-signal): Check for unique service name of
6079 incoming event. Fix error in removing entry.
ebeabff4 6080 (top): Register for signals with wildcard service name.
a41a6cf4 6081 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6082
c1ca42b4
CY
60832012-03-04 Chong Yidong <cyd@gnu.org>
6084
dc9924b8 6085 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6086
ea16568d
GM
60872012-03-04 Glenn Morris <rgm@gnu.org>
6088
6089 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6090 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6091 (expand-abbrev, define-abbrev-table): Doc fixes.
6092
fbae4637
LMI
60932012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6094
6095 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6096 `message-default-send-mail-function' and not `send-mail-function'
6097 when doing the prompting for `sendmail-query-once' before sending
6098 in Message buffers (bug#10897).
6099
a1e7225c
LMI
6100 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6101 This is inconsistent with all the other stream functions, which leave
6102 the setting up to the higher levels (if so wanted) (bug#10931).
6103
56d093a9
AM
61042012-03-02 Alan Mackenzie <acm@muc.de>
6105
6106 Depessimize the handling of very large macros.
6107
6108 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6109 (c-macro-cache-syntactic): New variables to implement a one
6110 element macro cache.
6111 (c-invalidate-macro-cache): New function.
6112 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6113 Adapt to use the new cache.
6114 (c-state-safe-place): Use better the cache of safe positions.
6115 (c-state-semi-nonlit-pos-cache)
6116 (c-state-semi-nonlit-pos-cache-limit):
6117 New variables for...
6118 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6119 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6120 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6121 Use c-state-semi-safe-place.
56d093a9 6122
dbbc2e69
SM
6123 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6124 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6125
817e5c3d
MA
61262012-03-02 Michael Albinus <michael.albinus@gmx.de>
6127
dbbc2e69
SM
6128 * jka-compr.el (jka-compr-call-process):
6129 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6130 not remote.
6131
a032a702
MA
61322012-03-01 Michael Albinus <michael.albinus@gmx.de>
6133
6134 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6135 access of FILE2, if FILE1 does not exist.
6136
99a54f21
MA
6137 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6138 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6139
6140 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6141 Add "PAGER=" to `process-environment'.
6142
f6561e1f
MM
61432012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6144
6145 * progmodes/sql.el: Bug fix
6146 (sql-get-login-ext): Save login values in globals.
6147 (sql-get-login): Use new version of `sql-get-login-ext'.
6148 (sql-interactive-mode): Set global `sql-connection' to nil.
6149 (sql-connect): Set global values for connection.
6150 (sql-product-interactive): Save global values as buffer local.
6151
2d44d9cc
LL
61522012-02-29 Leo Liu <sdl.web@gmail.com>
6153
6154 * abbrev.el (define-abbrevs): Reset sys to nil.
6155
96b49301 61562012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6157
bf7f9bc5
JB
6158 * files.el (file-equal-p): Rename from `files-equal-p'.
6159 Return nil when one or both files don't exist.
96b49301 6160 (file-subdir-of-p): Now only top directory must exists,
6161 return nil if it doesn't.
bf7f9bc5
JB
6162 (copy-directory): No need to test with `file-subdir-of-p' after
6163 creating dir.
6164 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6165 to `file-equal-p'.
96b49301 6166
44e97401
GM
61672012-02-28 Glenn Morris <rgm@gnu.org>
6168
6169 * shell.el (shell-mode):
6170 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6171 * play/landmark.el (landmark-font-lock-face-O):
6172 * play/handwrite.el (handwrite):
6173 * play/gomoku.el (gomoku-O):
6174 * net/browse-url.el (browse-url-browser-display):
6175 * international/mule.el (define-charset):
6176 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6177 * filesets.el (filesets-find-file-delay):
6178 * eshell/em-xtra.el (eshell-xtra):
6179 * eshell/em-unix.el (eshell-grep):
6180 * emulation/viper.el (viper-mode):
6181 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6182 * emacs-lisp/easymenu.el (easy-menu-define):
6183 * calendar/timeclock.el (timeclock-use-display-time):
6184 * bs.el (bs-mode):
6185 * bookmark.el (bookmark-save-flag):
6186 Doc fix (standardize possessive apostrophe usage).
6187
c98c6276
CY
61882012-02-27 Chong Yidong <cyd@gnu.org>
6189
bf7f9bc5
JB
6190 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6191 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6192
c98c6276
CY
6193 * font-lock.el (font-lock-specified-p): Rename from
6194 font-lock-spec-present. Callers changed.
6195
9c62cd04 61962012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6197
bf7f9bc5
JB
6198 * emacs-lisp/package.el (package-compute-transaction):
6199 Handle holding a package version to t in package-load-list.
8ac9e529 6200
530739c9
MA
62012012-02-26 Michael Albinus <michael.albinus@gmx.de>
6202
6203 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6204 (tramp-get-inode, tramp-get-device): Use cached values.
6205
487915d7
AM
62062012-02-26 Alan Mackenzie <acm@muc.de>
6207
6208 Check there is a font-lock specification before doing initial
6209 fontification.
6210
6211 * font-core.el (font-lock-mode): Move the conditional from
6212 :after-hook to font-lock-initial-fontify.
6213 (font-lock-default-function): Move the check for a specification
6214 to font-lock-spec-present.
6215
dc9924b8 6216 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6217 (font-lock-spec-present): New function.
6218
4fd96557
JB
62192012-02-26 Jim Blandy <jimb@red-bean.com>
6220
6221 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6222 (gdb-send): Apply it to the operand of the '-interpreter-exec
6223 console' command, so that we can pass arguments with (say) quotes
6224 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6225
9a4888c0
CY
62262012-02-26 Chong Yidong <cyd@gnu.org>
6227
07498861
CY
6228 * help-fns.el (describe-function-1): Clarify description of
6229 remapping (Bug#10844).
6230
9a4888c0
CY
6231 * files.el (files-equal-p): Doc fix.
6232 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6233 and quit the loop once a mismatch is found.
6234
ea8fb88d
JB
62352012-02-25 Juanma Barranquero <lekktu@gmail.com>
6236
6237 * bs.el (bs--show-with-configuration): Don't throw an error
6238 if the window cannot be split; otherwise, subsequent calls to
6239 bs-show fail, restoring a stale window config. (Bug#10882)
6240
525795c1
JD
62412012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6242
6243 * term/ns-win.el (global-map): Bind ns-drag-file to
6244 ns-find-file (Bug#5855, Bug#10050).
6245
f008086f
AS
62462012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6247
6248 * calendar/parse-time.el (parse-time-string): Allow extractor to
6249 return nil.
6250
a3fcfa99
MA
62512012-02-25 Michael Albinus <michael.albinus@gmx.de>
6252
91027d08
JB
6253 * net/tramp.el (tramp-file-name-for-operation):
6254 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6255
6256 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6257 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6258 Add COPY-CONTENTS argument.
a3fcfa99 6259
67b0de11
CY
62602012-02-25 Chong Yidong <cyd@gnu.org>
6261
6262 Add custom groups for VC backends, for consistency with vc-bzr.
6263
6264 * vc/vc-arch.el (vc-arch):
6265 * vc/vc-cvs.el (vc-cvs):
6266 * vc/vc-git.el (vc-git):
6267 * vc/vc-hg.el (vc-hg):
6268 * vc/vc-mtn.el (vc-mtn):
6269 * vc/vc-rcs.el (vc-rcs):
6270 * vc/vc-sccs.el (vc-sccs):
6271 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6272 All relevant defcustoms reassigned.
6273
3c9dfce6
CY
62742012-02-25 Chong Yidong <cyd@gnu.org>
6275
1339bf43
CY
6276 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6277
3c9dfce6
CY
6278 * term/x-win.el (x-initialize-window-system): Reduce default for
6279 x-selection-timeout to 5 seconds (Bug#8869).
6280
25b2e303 62812012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6282
ec70a47d
GM
6283 * files.el (files-equal-p, file-subdir-of-p): New functions.
6284 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6285 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6286 * dired-aux.el (dired-copy-file-recursive): Same.
6287 (dired-create-files): Modify destination when source is equal to
6288 dest when copying files.
53a46cd0 6289 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6290
914260cd
MA
62912012-02-24 Michael Albinus <michael.albinus@gmx.de>
6292
6293 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6294 (Bug#10874)
6295
2cb228f7
AM
62962012-02-23 Alan Mackenzie <acm@muc.de>
6297
6298 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6299 parameter "after-hook:" to allow the expansion to run code after
6300 the execution of the mode hooks.
6301
6302 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6303 from font-lock-mode-internal.
2cb228f7 6304
91027d08 6305 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6306 :after-hook.
6307
8f0fde21
SM
63082012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6309
3e88618b
SM
6310 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6311 (completion--cache-all-sorted-completions): New function.
6312 (completion-all-sorted-completions): Use it.
6313 (completion--do-completion, minibuffer-force-complete):
6314 Use it to re-instate the flush hook.
6315
8f0fde21
SM
6316 * icomplete.el (icomplete-completions): Replace last fix with a better
6317 one (bug#10850).
6318
8e911f6f
DG
63192012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6320
6321 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6322 when it might call us back infinitely (bug#10797).
6323
49fe4321
GM
63242012-02-23 Glenn Morris <rgm@gnu.org>
6325
6326 * minibuffer.el (completion-category-overrides): Doc fix.
6327
b291b572
SM
63282012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6329
6330 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6331 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6332
31a9ef2e
GM
63332012-02-23 Glenn Morris <rgm@gnu.org>
6334
5e6e6794 6335 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6336 (authors-obsolete-files-regexps, authors-ignored-files)
6337 (authors-ambiguous-files, authors-renamed-files-alist):
6338 Add more entries.
6339
0bd1e074
JL
63402012-02-23 Juri Linkov <juri@jurta.org>
6341
6342 * isearch.el (isearch-occur): Sync interactive spec with occur's
6343 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6344
b617673c
JL
6345 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6346
19e9789e
JL
63472012-02-22 Juri Linkov <juri@jurta.org>
6348
6349 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6350 (ucs-insert): Doc fix. Check for hex digits in the string.
6351 Don't display `nil' in the error message. (Bug#10857)
6352
f41ce09d
AM
63532012-02-22 Alan Mackenzie <acm@muc.de>
6354
7a71b18d 6355 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6356
ac2eceee
GM
63572012-02-22 Glenn Morris <rgm@gnu.org>
6358
6359 * ffap.el (ffap-c-path):
6360 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6361
abd1f678
CY
63622012-02-22 Chong Yidong <cyd@gnu.org>
6363
6364 * custom.el (load-theme): Doc fix.
6365
f25aef2e
GM
63662012-02-22 Glenn Morris <rgm@gnu.org>
6367
6368 * dired-x.el (dired-guess-shell-alist-default):
6369 Remove escape sequences from nroff output. (Bug#172)
6370
5f8dc2ca
GM
63712012-02-21 Glenn Morris <rgm@gnu.org>
6372
6ff86ec4
GM
6373 * vc/emerge.el (emerge-defvar-local):
6374 Set `permanent-local' property rather than unused `preserved'.
6375
be3223a3 6376 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6377 (picture-mode-map): Use it. (Bug#10860)
6378 (picture-mode): Doc fix.
6379
3fe58f4f
JB
63802012-02-21 Juanma Barranquero <lekktu@gmail.com>
6381
6382 * newcomment.el (uncomment-region-default): Remove unused binding.
6383
f9a998c3
GM
63842012-02-21 Glenn Morris <rgm@gnu.org>
6385
6386 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6387 (picture-self-insert, picture-tab-chars): Doc fix.
6388 (picture-mode-map): Fix C-a, C-e.
6389
c6029348
GM
63902012-02-20 Glenn Morris <rgm@gnu.org>
6391
6392 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6393
ab1ce9d7
LL
63942012-02-20 Leo Liu <sdl.web@gmail.com>
6395
6396 * icomplete.el (icomplete-completions): Check FROM arg before
6397 passing to substring (Bug#10850).
6398
0fd40f89
CY
63992012-02-19 Chong Yidong <cyd@gnu.org>
6400
6401 * comint.el: Require ansi-color.
6402 (comint-output-filter-functions): Add ansi-color-process-output.
6403
6404 * ansi-color.el: Don't set comint-output-filter-functions; it is
6405 now in the initial value defined in comint.el.
6406 (ansi-color-apply-face-function): New variable.
6407 (ansi-color-apply-on-region): Use it.
6408 (ansi-color-apply-overlay-face): New function.
6409
6410 * shell.el (shell): No need to require ansi-color.
6411 (shell-mode): Use ansi-color-apply-face-function to highlight
6412 color escapes using font-lock-face property (Bug#10835).
6413
20af2394
CY
64142012-02-19 Chong Yidong <cyd@gnu.org>
6415
6416 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6417 mode-line formats (Bug#10839).
6418
e23a3fbe
GM
64192012-02-18 Glenn Morris <rgm@gnu.org>
6420
b474519e
GM
6421 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6422
6423 * mail/undigest.el (unforward-rmail-message): Doc fix.
6424
e23a3fbe
GM
6425 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6426
57939ff4
EZ
64272012-02-18 Eli Zaretskii <eliz@gnu.org>
6428
6429 * international/characters.el (script-list): Sync with the latest
6430 Unicode Character Database.
6431
0c23686e
AS
64322012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6433
6434 * international/titdic-cnv.el: Remove duplicate coding tag.
6435 * language/cham.el: Likewise.
6436 * language/tai-viet.el: Likewise.
6437
6818b449
GM
64382012-02-18 Glenn Morris <rgm@gnu.org>
6439
6440 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6441 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6442 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6443 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6444 * calendar/holidays.el (holiday-bahai-holidays)
6445 (calendar-holidays, list-holidays):
6446 Use utf-8 Bahá'í in doc-strings, menus, etc.
6447
0311a3fc
TH
64482012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6449
6450 * saveplace.el (save-place-ignore-files-regexp): New variable
6451 allowing for excluding files from saving their location of point.
6452 The default value matches the temporary commit message editing
6453 files from Git, SVN, Bazaar, and Mercurial.
6454 (save-place-to-alist): Use it.
6455
d209e2fb 64562012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6457 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6458
6459 * newcomment.el (uncomment-region-default): Don't leave extra space
6460 when an arg is provided (bug#8150).
6461
ee0ce425
TZ
64622012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6463
eb864a71 6464 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6465
95ddf442
GM
64662012-02-17 Glenn Morris <rgm@gnu.org>
6467
6468 * net/socks.el: Require network-stream. (Bug#10599)
6469
48dd1e39 64702012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6471
6472 * international/charprop.el:
6473 * international/uni-name.el:
6474 * international/uni-old-name.el:
6475 * international/uni-comment.el: Regenerate.
6476
d68cd087
GM
64772012-02-16 Glenn Morris <rgm@gnu.org>
6478
6479 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6480 Interactively in calendar buffer, give an error if not on a date.
6481
13932042
GM
64822012-02-15 Glenn Morris <rgm@gnu.org>
6483
6484 * shell.el (shell-delimiter-argument-list):
6485 Revert 2011-02-17 change. (Bug#8027)
6486
c3a70e2b
CY
64872012-02-15 Chong Yidong <cyd@gnu.org>
6488
60236b0d
CY
6489 * minibuffer.el (completion-at-point-functions): Doc fix.
6490
c3a70e2b
CY
6491 * custom.el (defcustom): Doc fix; note use of defvar.
6492
9f26dc24
GM
64932012-02-15 Glenn Morris <rgm@gnu.org>
6494
6495 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6496 Doc fixes.
6497
6546b134
GM
64982012-02-14 Glenn Morris <rgm@gnu.org>
6499
6500 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6501
d29b2b4c
LI
65022012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6503
6504 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6505 way the ports list is computed.
835bdcba
LI
6506 (smtpmail-query-smtp-server): Prompt the user for a port number if
6507 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6508
08dcdbc9
TZ
65092012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6510
6511 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6512
2605051a
GM
65132012-02-13 Glenn Morris <rgm@gnu.org>
6514
6515 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6516
7ee99f32
TZ
65172012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6518
6519 * net/gnutls.el (gnutls-trustfiles): New variable.
6520 (gnutls-negotiate): Use it.
6521
5f0af64f
LI
65222012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6523
6524 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6525 does its stuff if Gnus is running.
6526
c14fcc95
AM
65272012-02-13 Alan Mackenzie <acm@muc.de>
6528
6529 Fix a loop in c-set-fl-decl-start.
6530
7a71b18d 6531 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6532 c-backward-syntactic-ws actually moves backwards.
6533
142b4d90
LL
65342012-02-13 Leo Liu <sdl.web@gmail.com>
6535
6536 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6537 beginning so that all \C-o chars are removed.
6538
fa9958a6
TZ
65392012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6540
dc9924b8 6541 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6542
0bc5886a
AM
65432012-02-12 Alan Mackenzie <acm@muc.de>
6544
6545 Fix infinite loop with long macros.
4d6769e1 6546 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6547
d4bd55e7
CY
65482012-02-12 Chong Yidong <cyd@gnu.org>
6549
6550 * window.el (display-buffer): Doc fix (Bug#10785).
6551
66f3fe22
GM
65522012-02-12 Glenn Morris <rgm@gnu.org>
6553
bd7da63e
GM
6554 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6555 (x-disown-selection-internal, x-get-selection-internal):
6556 Sync docs with the xselect.c versions.
6557
66f3fe22
GM
6558 * allout-widgets.el: Add missing license notice.
6559
3e0d2fa7
GM
65602012-02-11 Glenn Morris <rgm@gnu.org>
6561
cfecdf09
GM
6562 * select.el (x-get-selection-internal, x-own-selection-internal)
6563 (x-disown-selection-internal):
6564 * x-dnd.el (x-get-selection-internal): Update declarations.
6565
6d216d7f
GM
6566 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6567
2bed3f04
GM
6568 * window.el (window-sides-slots):
6569 * tool-bar.el (tool-bar-position):
6570 * term/xterm.el (xterm-extra-capabilities):
6571 * ses.el (ses-self-reference-early-detection):
6572 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6573 (verilog-auto-wire-type)
6574 (verilog-auto-delete-trailing-whitespace)
6575 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6576 (verilog-auto-tieoff-declaration):
6577 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6578 (sql-oracle-statement-starters, sql-oracle-scan-on):
6579 * progmodes/prolog.el (prolog-align-comments-flag)
6580 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6581 (prolog-left-indent-regexp, prolog-paren-indent-p)
6582 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6583 (prolog-types, prolog-mode-specificators)
6584 (prolog-determinism-specificators, prolog-directives)
6585 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6586 (prolog-electric-dot-flag)
6587 (prolog-electric-dot-full-predicate-template)
6588 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6589 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6590 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6591 (prolog-program-switches, prolog-prompt-regexp)
6592 (prolog-debug-on-string, prolog-debug-off-string)
6593 (prolog-trace-on-string, prolog-trace-off-string)
6594 (prolog-zip-on-string, prolog-zip-off-string)
6595 (prolog-use-standard-consult-compile-method-flag)
6596 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6597 (prolog-imenu-max-lines, prolog-info-predicate-index)
6598 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6599 (prolog-char-quote-workaround):
6600 * progmodes/cc-vars.el (c-defun-tactic):
6601 * net/tramp.el (tramp-encoding-command-interactive)
6602 (tramp-local-end-of-line):
6603 * net/soap-client.el (soap-client):
6604 * net/netrc.el (netrc-file):
6605 * net/gnutls.el (gnutls):
6606 * minibuffer.el (completion-category-overrides)
6607 (completion-cycle-threshold)
6608 (completion-pcm-complete-word-inserts-delimiters):
6609 * man.el (Man-name-local-regexp):
6610 * mail/feedmail.el (feedmail-display-full-frame):
6611 * international/characters.el (glyphless-char-display-control):
6612 * eshell/em-ls.el (eshell-ls-date-format):
6613 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6614 (lisp-lambda-list-keyword-parameter-indentation)
6615 (lisp-lambda-list-keyword-parameter-alignment):
6616 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6617 * dired-x.el (dired-omit-verbose):
6618 * cus-theme.el (custom-theme-allow-multiple-selections):
6619 * calc/calc.el (calc-highlight-selections-with-faces)
6620 (calc-lu-field-reference, calc-lu-power-reference)
6621 (calc-note-threshold):
6622 * battery.el (battery-mode-line-limit):
6623 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6624 (archive-7z-update):
6625 * allout.el (allout-prefixed-keybindings)
6626 (allout-unprefixed-keybindings)
6627 (allout-inhibit-auto-fill-on-headline)
6628 (allout-flattened-numbering-abbreviation):
6629 * allout-widgets.el (allout-widgets-auto-activation)
6630 (allout-widgets-icons-dark-subdir)
6631 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6632 (allout-widgets-theme-dark-background)
6633 (allout-widgets-theme-light-background)
6634 (allout-widgets-item-image-properties-emacs)
6635 (allout-widgets-item-image-properties-xemacs)
6636 (allout-widgets-run-unit-tests-on-load)
6637 (allout-widgets-time-decoration-activity)
6638 (allout-widgets-hook-error-post-time)
6639 (allout-widgets-track-decoration):
6640 Add missing :version tags to new defcustoms and defgroups.
6641
5fec1b8e
GM
6642 * progmodes/sql.el (sql-ansi-statement-starters)
6643 (sql-oracle-statement-starters): Add custom type.
6644
3e0d2fa7
GM
6645 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6646 (prolog-system-version): Give it a type.
6647
90b671e2
EZ
66482012-02-11 Eli Zaretskii <eliz@gnu.org>
6649
6650 * term/pc-win.el (x-select-text, x-selection-owner-p)
6651 (x-own-selection-internal, x-disown-selection-internal)
6652 (x-get-selection-internal): Sync doc strings and argument lists
6653 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6654
5eac0c02
LL
66552012-02-11 Leo Liu <sdl.web@gmail.com>
6656
6657 * progmodes/python.el (python-end-of-statement): Fix infinite
6658 loop. (Bug#10788)
6659
f82cb659
GM
66602012-02-10 Glenn Morris <rgm@gnu.org>
6661
6662 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6663 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6664
cc26d239
LI
66652012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6666
6667 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6668 about SMTP before checking the From header.
6669
91027d08 6670 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6671 into own function for reuse by emacsbug.el.
6672
1be3ca5a
LL
66732012-02-10 Leo Liu <sdl.web@gmail.com>
6674
6675 * subr.el (condition-case-unless-debug): Rename from
6676 condition-case-no-debug. All callers changed.
6677 (with-demoted-errors): Fix caller.
6678
6679 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6680 * nxml/rng-valid.el (rng-do-some-validation):
6681 * emacs-lisp/package.el (package-refresh-contents)
6682 (package-menu-execute):
6683 * desktop.el (desktop-create-buffer):
91027d08 6684 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6685
b011fbfe
GM
66862012-02-10 Glenn Morris <rgm@gnu.org>
6687
b2096d72
GM
6688 * textmodes/bibtex.el:
6689 Add missing :version tags for new/changed defcustoms.
6690
b011fbfe
GM
6691 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6692
4c7e65bf
LI
66932012-02-09 Lars Ingebrigtsen <larsi@rusty>
6694
6695 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6696 (smtpmail-via-smtp): Use it, or fall back on the From address.
6697 (smtpmail-send-it): Ditto.
6698
f3934f6f
SM
66992012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6702 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6703 (byte-compile-tmp-var): New const.
6704 (byte-compile-defvar): Use it to minimize .elc size.
6705 Just use `defvar' rather than simulate it (bug#10761).
6706
a075a2c5
GM
67072012-02-09 Glenn Morris <rgm@gnu.org>
6708
cf3aa21b
GM
6709 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6710
354998cd
GM
6711 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6712 Add :version tags.
6713
dc9924b8
SM
6714 * progmodes/compile.el (compilation-error-screen-columns)
6715 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6716
dab3703d
GM
6717 * vc/log-view.el (log-view-toggle-entry-display):
6718 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6719
3f88cd72
GM
6720 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6721 (report-emacs-bug-can-use-xdg-email):
6722 (report-emacs-bug-insert-to-mailer): Doc fixes.
6723 (report-emacs-bug): Message fix.
6724
d95b247d
GM
6725 * net/browse-url.el (browse-url-can-use-xdg-open)
6726 (browse-url-xdg-open): Doc fixes.
6727
a075a2c5
GM
6728 * electric.el (electric-indent-mode, electric-pair-mode)
6729 (electric-layout-rules, electric-layout-mode): Doc fixes.
6730 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6731
ffb6157e
MR
67322012-02-08 Martin Rudalics <rudalics@gmx.at>
6733
6734 * server.el (server-unselect-display): Don't inadvertently kill
6735 the current buffer. (Bug#10729)
6736
e1ac4066
GM
67372012-02-08 Glenn Morris <rgm@gnu.org>
6738
34e8a2da
GM
6739 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6740 (sql-list-table): Doc fixes.
6741
b4ac6e8c
GM
6742 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6743 Comment out (does nothing).
6744
e1ac4066
GM
6745 * completion.el (dynamic-completion-mode):
6746 * dirtrack.el (dirtrack-debug-mode):
6747 * electric.el (electric-layout-mode):
6748 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6749 * face-remap.el (text-scale-mode, buffer-face-mode):
6750 * iimage.el (iimage-mode):
6751 * image-mode.el (image-transform-mode):
6752 * minibuffer.el (completion-in-region-mode):
6753 * scroll-lock.el (scroll-lock-mode):
6754 * simple.el (next-error-follow-minor-mode):
6755 * tar-mode.el (tar-subfile-mode):
6756 * tooltip.el (tooltip-mode):
6757 * vcursor.el (vcursor-use-vcursor-map):
6758 * wid-browse.el (widget-minor-mode):
6759 * emulation/tpu-edt.el (tpu-edt-mode):
6760 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6761 * international/iso-ascii.el (iso-ascii-mode):
6762 * language/thai-util.el (thai-word-mode):
6763 * mail/supercite.el (sc-minor-mode):
6764 * net/goto-addr.el (goto-address-mode):
6765 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6766 * progmodes/cwarn.el (cwarn-mode):
6767 * progmodes/flymake.el (flymake-mode):
6768 * progmodes/glasses.el (glasses-mode):
6769 * progmodes/hideshow.el (hs-minor-mode):
6770 * progmodes/pascal.el (pascal-outline-mode):
6771 * textmodes/enriched.el (enriched-mode):
6772 * vc/smerge-mode.el (smerge-mode):
6773 Doc fixes (minor mode argument).
6774
5e0d957f
EZ
67752012-02-07 Eli Zaretskii <eliz@gnu.org>
6776
6777 * ls-lisp.el (ls-lisp-sanitize): New function.
6778 (ls-lisp-insert-directory): Use it to fix or remove any elements
6779 in file-alist with missing attributes. (Bug#4673)
6780
98d7371e
AM
67812012-02-07 Alan Mackenzie <acm@muc.de>
6782
6783 Fix spurious recognition of c-in-knr-argdecl.
6784
6785 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6786 putative K&R region.
6787
667ced3a
AM
67882012-02-07 Alan Mackenzie <acm@muc.de>
6789
eb864a71
LM
6790 * progmodes/cc-engine.el (c-forward-objc-directive):
6791 Prevent looping in "#pragma mark @implementation".
667ced3a 6792
5b77774d
MA
67932012-02-07 Michael Albinus <michael.albinus@gmx.de>
6794
6795 * notifications.el (notifications-on-closed-signal): Make `reason'
6796 optional. (Bug#10744)
6797
af008560
GM
67982012-02-07 Glenn Morris <rgm@gnu.org>
6799
60d47423
GM
6800 * emacs-lisp/easy-mmode.el (define-minor-mode):
6801 Doc fixes for the macro and the mode it defines.
6802
dd605cc4
GM
6803 * image.el (imagemagick-types-inhibit): Doc fix.
6804
af008560
GM
6805 * cus-start.el (imagemagick-render-type): Add it.
6806
5cc59a37
LI
68072012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6808
4d6769e1
JB
6809 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6810 Set the default at load time, too, so that `font-lock-fontify-buffer'
6811 can be called without setting up the entire mode first. This fixes
6812 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6813
9a6dd747
CY
68142012-02-06 Chong Yidong <cyd@gnu.org>
6815
2d16b285
CY
6816 * simple.el (list-processes--refresh): Delete exited processes
6817 (Bug#8094).
6818
171e9b6e
CY
6819 * comint.el (comint-next-prompt): next-single-char-property-change
6820 and prev-single-char-property-change never return nil (Bug#8657).
6821
9a6dd747
CY
6822 * custom.el (defcustom): Doc fix (Bug#9711).
6823
aa4589a7
CY
68242012-02-05 Chong Yidong <cyd@gnu.org>
6825
5c2a252f
CY
6826 * cus-edit.el (custom-variable-reset-backup): Quote the value
6827 before storing it in the customized-value property (Bug#6712).
4aab9006 6828 (custom-display): Add a customization type tag.
983b9602 6829 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6830
aa4589a7
CY
6831 * wid-edit.el (widget-field-value-get): New optional arg to
6832 suppress trailing whitespace truncation.
6833 (character): Use it (Bug#2689).
6834
1ff980ae
AS
68352012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6836
6837 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6838 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6839
03988c98
CY
68402012-02-05 Chong Yidong <cyd@gnu.org>
6841
eeb6cc88
CY
6842 * cus-edit.el (custom-variable-value-create): For mismatched
6843 types, show the current value (Bug#7600).
6844
03988c98
CY
6845 * custom.el (defcustom): Doc fix.
6846
f8cdeef0
GM
68472012-02-05 Glenn Morris <rgm@gnu.org>
6848
6849 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6850
0696d255
JB
68512012-02-05 Juanma Barranquero <lekktu@gmail.com>
6852
6853 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6854 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6855 (pp-last-sexp): Use `looking-at-p'.
6856
34c99998
GM
68572012-02-04 Glenn Morris <rgm@gnu.org>
6858
8f05da42
GM
6859 * files.el (revert-buffer):
6860 Doc fix (mention revert-buffer-in-progress-p).
6861
f160676e
GM
6862 * emacs-lisp/ert-x.el (ert-simulate-command):
6863 Check deferred-action-list (which is obsolete) is bound.
6864
c7291ad9
GM
6865 * subr.el (with-wrapper-hook): Doc fixes.
6866
34c99998
GM
6867 * simple.el (filter-buffer-substring-functions)
6868 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6869
6283a7d3
LL
68702012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6871
6872 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6873 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6874
e96e3013
LL
68752012-02-04 Leo Liu <sdl.web@gmail.com>
6876
6877 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6878
8ded50f2
GM
68792012-02-04 Glenn Morris <rgm@gnu.org>
6880
82ff1d13
GM
6881 * image.el (image-extension-data): Add obsolete alias.
6882
987a0a16
GM
6883 * isearch.el (isearch-update): Doc fix.
6884
ea32ef46
GM
6885 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6886
8ded50f2
GM
6887 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6888
eea14f31
GM
68892012-02-03 Glenn Morris <rgm@gnu.org>
6890
6891 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6892 (image-animate-timeout): Doc fix.
6893
6894 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6895
12f381b7
GM
68962012-02-02 Glenn Morris <rgm@gnu.org>
6897
953cebf5
GM
6898 * server.el (server-auth-dir): Doc fix.
6899 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6900
12f381b7
GM
6901 * subr.el (run-mode-hooks): Doc fix.
6902
953a8c3b
JL
69032012-02-02 Juri Linkov <juri@jurta.org>
6904
6905 * image-mode.el (image-toggle-display-image): Remove tautological
6906 `major-mode' from the `derived-mode-p' test.
6907
c5d3843c
KH
69082012-02-02 Kenichi Handa <handa@m17n.org>
6909
9f6e692e 6910 * composite.el (compose-region): Cancel previous change.
c5d3843c 6911
159462d4 69122012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6913
6914 * composite.el (compose-region, compose-string): Signal error for
6915 a null string component (Bug#6988).
6916
9f562668
CY
69172012-02-01 Chong Yidong <cyd@gnu.org>
6918
e2cef717
CY
6919 * view.el (view-buffer-other-window, view-buffer-other-frame):
6920 Handle special modes like view-buffer (Bug#10650).
6921 (view-buffer): Simplify.
6922
9f562668
CY
6923 * frame.el (set-frame-font): Tweak meaning of third argument.
6924
9f6e692e
JB
6925 * dynamic-setting.el (font-setting-change-default-font):
6926 Use set-frame-font (Bug#9982).
9f562668 6927
781acb9f
GM
69282012-02-01 Glenn Morris <rgm@gnu.org>
6929
6035be52
GM
6930 * progmodes/compile.el (compilation-internal-error-properties):
6931 Respect compilation-first-column in the "*compilation*" buffer.
6932
781acb9f
GM
6933 * emacs-lisp/easy-mmode.el (define-minor-mode):
6934 Relax :variable's test for a named function.
6935
abbceb00
AM
69362012-01-31 Alan Mackenzie <acm@muc.de>
6937
6938 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6939 off by one error.
6940
fce3fdeb
CY
69412012-01-31 Chong Yidong <cyd@gnu.org>
6942
6943 * frame.el (set-frame-font): New arg ALL-FRAMES.
6944
6945 * menu-bar.el (menu-set-font): Use set-frame-font.
6946
6947 * faces.el (face-spec-reset-face): Don't apply unspecified
6948 attribute values to the default face.
6949
47893581
JB
69502012-01-31 Juanma Barranquero <lekktu@gmail.com>
6951
6952 * progmodes/cwarn.el (cwarn): Remove dead link.
6953 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6954 Remove * from defcustom docstrings.
6955 (turn-on-cwarn-mode): Make obsolete.
6956 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6957 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6958
e58e988a
GM
69592012-01-31 Glenn Morris <rgm@gnu.org>
6960
60dc2671 6961 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6962 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6963 Allow named functions to be used as the cdr of :variable.
e58e988a 6964
7a3f511d
GM
69652012-01-30 Glenn Morris <rgm@gnu.org>
6966
6967 * emacs-lisp/authors.el (authors-fixed-entries):
6968 Remove reference to deleted file rnewspost.el.
6969
cb882333
JB
69702012-01-29 Juanma Barranquero <lekktu@gmail.com>
6971
6972 * window.el (window-with-parameter): Remove unused variable `windows'.
6973 (window--side-check): Remove unused variable `code'.
6974 (window--resize-siblings): Remove unused variable `first'.
6975 (adjust-window-trailing-edge): Remove unused variable `failed'.
6976 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6977 Use `let', not `let*'.
6978 (balance-windows-2): Remove unused variable `found'.
6979 (window--state-put-2): Remove unused variable `splits'.
6980 (window-state-put): Remove unused variable `selected'.
6981 (same-window-p): Use `string-match-p'.
6982 (display-buffer-assq-regexp): Remove unused variable `value'.
6983 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6984 Mark argument ALIST as ignored.
6985 (pop-to-buffer): Remove unused variable `old-window'.
6986
907201af
EZ
69872012-01-29 Eli Zaretskii <eliz@gnu.org>
6988
6989 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6990 and .lzma compressed files.
6991
ea162670
CY
69922012-01-29 Chong Yidong <cyd@gnu.org>
6993
5b95ee8a
CY
6994 * frame.el (window-system-default-frame-alist): Doc fix.
6995
ea162670
CY
6996 * dynamic-setting.el (font-setting-change-default-font): Don't
6997 change the default face if SET-FONT argument is non-nil (Bug#9982).
6998
d6e6f4b1
SB
69992012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7000
7001 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7002
0f29fa41 70032012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7004
7005 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7006 breakpoints in files outside current directory (Bug#6098).
7007
db174434
CY
70082012-01-29 Chong Yidong <cyd@gnu.org>
7009
6b25e4e2
SE
7010 * progmodes/python.el: Require ansi-color at top-level.
7011
6df6ae42
JB
7012 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7013 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7014 (lisp-mode-abbrev-table): Add doc.
7015 (lisp-mode-variables): Don't set local-abbrev-table.
7016 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7017
e70ee681
RW
70182012-01-28 Roland Winkler <winkler@gnu.org>
7019
7020 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7021
ace88aa2
RW
70222012-01-28 Roland Winkler <winkler@gnu.org>
7023
7024 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7025 (bibtex-set-dialect): Use it. Either set global values of
7026 dialect-dependent variables or bind these variables buffer-locally
7027 (Bug#10254).
7028 (bibtex-mode): Call bibtex-set-dialect via
7029 hack-local-variables-hook.
eb864a71
LM
7030 (bibtex-dialect): Update docstring.
7031 Add safe-local-variable predicate.
ace88aa2
RW
7032 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7033 bibtex-set-dialect.
7034 (bibtex-mode-map): Define menu for each dialect.
7035 (bibtex-entry): Fix docstring.
7036
93376c5b
CY
70372012-01-28 Chong Yidong <cyd@gnu.org>
7038
7039 * eshell/esh-arg.el (eshell-quote-argument): New function.
7040
7041 * eshell/esh-ext.el (eshell-invoke-batch-file):
7042 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7043 first arg to eshell-parse-command (Bug#10523).
7044
4372494f
DA
70452012-01-28 Drew Adams <drew.adams@oracle.com>
7046
7047 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7048 `default-directory' is non-nil.
7049
4d4ec1f8
EZ
70502012-01-28 Eli Zaretskii <eliz@gnu.org>
7051
7052 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7053 line that displays system-configuration-options. (Bug#9924)
7054
7c188927
DA
70552012-01-28 Drew Adams <drew.adams@oracle.com>
7056
7057 * descr-text.el (describe-char): Show information about POS, in
7058 addition to information about the character at POS. Improve and
7059 update the doc string. Change "code point" to "code point in
7060 charset", to avoid confusion with the character's Unicode code
7061 point shown above that. (Bug#10129)
7062
e0da685a
EZ
70632012-01-28 Eli Zaretskii <eliz@gnu.org>
7064
7065 * descr-text.el (describe-char): Show the raw character, not only
7066 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7067 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7068 for the reasons.
7069
70550acf
PH
70702012-01-28 Phil Hagelberg <phil@hagelb.org>
7071
eb864a71
LM
7072 * emacs-lisp/package.el (package-install):
7073 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7074
0ce8e868
CY
70752012-01-28 Chong Yidong <cyd@gnu.org>
7076
cb882333
JB
7077 * emacs-lisp/package.el (package-maybe-load-descriptor):
7078 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7079 (package-maybe-load-descriptor): Use it.
7080 (package-download-transaction): Fully load required packages
7081 inside the loop, so that `require' calls work (Bug#10593).
7082 (package-install): No need to call package-initialize now.
7083
2e7f3bea
CY
70842012-01-28 Chong Yidong <cyd@gnu.org>
7085
6e9bad14
CY
7086 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7087
f823b8ca
CY
7088 * tooltip.el (tooltip-mode): Doc fix.
7089 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7090
2680c309
CY
7091 * frame.el (set-cursor-color): Doc fix (Bug#352).
7092
d7a9e63b
CY
7093 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7094 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7095
2e7f3bea
CY
7096 * cus-edit.el (custom-buffer-create-internal): Fix search button
7097 action (Bug#10542).
2ae01800 7098 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7099
fc4f7a23
EW
71002012-01-27 Eduard Wiebe <usenet@pusto.de>
7101
7102 * dired.el (dired-mark-files-regexp):
7103 Include any subdirectory components. (Bug#10445)
7104
7dd37071
ML
71052012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7106
7107 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7108 Handle [host]:port syntax. (Bug#10533)
7109
a268160b
AH
71102012-01-27 Alex Harsanyi <harsanyi@mac.com>
7111
7112 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7113
e43273ef
GM
71142012-01-26 Glenn Morris <rgm@gnu.org>
7115
7116 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7117 * term.el (term-raw-escape-map): Use Control-X-prefix.
7118 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7119
1edf595d
MR
71202012-01-25 Martin Rudalics <rudalics@gmx.at>
7121
7122 * window.el (window-state-get, window--state-get-1): Don't deal
7123 with fixed-sizeness of windows. Simplify code.
7124
fa8eafef
JC
71252012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7126
6df6ae42
JB
7127 * window.el (window--state-get-1, window--state-put-2):
7128 Don't save and restore the mark.
fa8eafef 7129
0b21c100
CY
71302012-01-25 Chong Yidong <cyd@gnu.org>
7131
7132 * custom.el (custom-variable-p): Doc fix.
7133
5ae1a6c8
GM
71342012-01-25 Glenn Morris <rgm@gnu.org>
7135
40047858
GM
7136 * dired.el (dired-goto-file): Handle some of the more common
7137 characters that `ls -b' escapes. (Bug#10596)
7138
5ddce96c
GM
7139 * progmodes/compile.el (compilation-next-error-function):
7140 Respect compilation-first-column in the "*compilation*" buffer.
7141 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7142
5ae1a6c8
GM
7143 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7144
b559f1a9
GM
71452012-01-24 Glenn Morris <rgm@gnu.org>
7146
7147 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7148
6725d21a
JD
71492012-01-24 Julien Danjou <julien@danjou.info>
7150
7151 * color.el (color-rgb-to-hsl): Fix value computing.
7152 (color-hue-to-rgb): New function.
7153 (color-hsl-to-rgb): New function.
7154 (color-clamp, color-saturate-hsl, color-saturate-name)
7155 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7156 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7157
70df4bbe
GM
71582012-01-24 Glenn Morris <rgm@gnu.org>
7159
7160 * vc/vc-rcs.el (vc-rcs-create-tag):
7161 * vc/vc-sccs.el (vc-sccs-create-tag):
7162 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7163
802a2ae2
ML
71642012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7165
7166 * eshell/esh-util.el (eshell-read-hosts-file):
7167 Skip comment lines. (Bug#10549)
7168
d7128bb1
ML
7169 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7170
d1a5c3b4
JB
71712012-01-23 Juanma Barranquero <lekktu@gmail.com>
7172
2724d9c7
JB
7173 * subr.el (display-delayed-warnings): Doc fix.
7174 (collapse-delayed-warnings): New function to collapse identical
7175 adjacent warnings.
7176 (delayed-warnings-hook): Add it.
d1a5c3b4 7177
a5509865
MA
71782012-01-22 Michael Albinus <michael.albinus@gmx.de>
7179
7180 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7181
a5509865
MA
7182 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7183 (tramp-default-user-alist): Don't add "pscp".
7184 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7185 property "login-as", if set. (Bug#10530)
7186
cc6d5805
MA
71872012-01-21 Michael Albinus <michael.albinus@gmx.de>
7188
7189 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7190 "plink1" and "psftp". (Bug#10530)
7191
71922012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7193
7194 * international/mule-cmds.el (prefer-coding-system): Show a
7195 warning message if the default value of file-name-coding-system
7196 was not changed.
7197
f0960428
JC
71982012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7199
cb882333
JB
7200 * windmove.el (windmove-reference-loc):
7201 Fix windmove-reference-loc miscalculation.
f0960428 7202
dd6f2a63
JB
72032012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7204
7205 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7206 default unit.
7207
7b447e9b
GM
72082012-01-21 Glenn Morris <rgm@gnu.org>
7209
117a9ea1
GM
7210 * international/mule.el (auto-coding-alist): Add .tbz.
7211
7b447e9b
GM
7212 * files.el (local-enable-local-variables): Doc fix.
7213 (inhibit-local-variables-regexps): Rename from
7214 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7215 Doc fix. Add some extensions from auto-coding-alist.
7216 (inhibit-local-variables-suffixes):
7217 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7218 (inhibit-local-variables-p):
7219 New function, extracted from set-auto-mode-1.
7220 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7221 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7222 (hack-local-variables): Doc fix. Make the mode-only case
7223 respect enable-local-variables and friends.
7224 Respect inhibit-local-variables-regexps for file-locals, but
7225 not for directory-locals.
7226 (set-visited-file-name):
7227 Take account of inhibit-local-variables-regexps.
7228 Whether it applies may change as the file name is changed.
7229 * jka-cmpr-hook.el (jka-compr-install):
7230 * jka-compr.el (jka-compr-uninstall):
7231 Update for inhibit-first-line-modes-suffixes name change.
7232
dd6e3cdd
MR
72332012-01-20 Martin Rudalics <rudalics@gmx.at>
7234
7235 * help-macro.el (make-help-screen): Temporarily restore original
7236 binding for minor-mode-map-alist (Bug#10454).
7237
0d0deb38
JD
72382012-01-19 Julien Danjou <julien@danjou.info>
7239
7240 * color.el (color-name-to-rgb): Use the white color to find the max
7241 color component value and return correctly computed values.
7242 (color-name-to-rgb): Add missing float conversion for max value.
7243
34a02f46
MR
72442012-01-19 Martin Rudalics <rudalics@gmx.at>
7245
7246 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7247 special state value for window-persistent-parameters.
7248 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7249 (window--state-put-2): Reset all window parameters to nil before
7250 assigning values of persistent parameters.
7251
606c44c4
AM
72522012-01-18 Alan Mackenzie <acm@muc.de>
7253
7254 Eliminate sluggishness and hangs in fontification of "semicolon
7255 deserts".
7256
cb882333
JB
7257 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7258 Change value 10000 -> 3000.
606c44c4
AM
7259 (c-state-safe-place): Reformulate so it doesn't stack up an
7260 infinite number of wrong entries in c-state-nonlit-pos-cache.
7261 (c-determine-limit-get-base, c-determine-limit): New functions to
7262 determine backward search limits disregarding literals.
7263 (c-find-decl-spots): Amend commenting.
7264 (c-cheap-inside-bracelist-p): New function which detects "={".
7265
7266 * progmodes/cc-fonts.el
7267 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7268 backward search.
7269 (c-font-lock-declarations): Fix an occurrence of point being
7270 undefined. Check additionally for point being in a bracelist or
7271 near a macro invocation without a semicolon so as to avoid a
7272 fruitless time consuming search for a declarator. Give a more
7273 precise search limit for declarators using the new
7274 c-determine-limit.
7275
f3860cea
GM
72762012-01-18 Glenn Morris <rgm@gnu.org>
7277
7278 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7279 (set-auto-mode): Doc fixes.
7280
1db03b16
GM
72812012-01-17 Glenn Morris <rgm@gnu.org>
7282
0e6038be
GM
7283 * isearch.el (search-nonincremental-instead): Fix doc typo.
7284
1db03b16
GM
7285 * dired.el (dired-insert-directory): Handle newlines in directory name.
7286 (dired-build-subdir-alist): Unescape newlines in directory name.
7287
4cb0aa75
MA
72882012-01-17 Michael Albinus <michael.albinus@gmx.de>
7289
7290 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7291 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7292 (tramp-action-terminal): Use it. (Bug#10530)
7293
1d00653d
SM
72942012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7297
6a6ee00d
MR
72982012-01-16 Martin Rudalics <rudalics@gmx.at>
7299
7300 * window.el (window-state-ignored-parameters): Remove variable.
7301 (window--state-get-1): Rename argument MARKERS to IGNORE.
7302 Handle persistent window parameters. Make copy of clone-of
7303 parameter only if requested. (Bug#10348)
7304 (window--state-put-2): Install a window parameter only if it has
7305 a non-nil value or an existing parameter shall be overwritten.
7306
97912def
MA
73072012-01-15 Michael Albinus <michael.albinus@gmx.de>
7308
7309 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7310
688070a5
EZ
73112012-01-14 Eli Zaretskii <eliz@gnu.org>
7312
7313 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7314 don't pass the (nil) value of `upnode' to string-match.
7315
301afadc
CY
73162012-01-14 Chong Yidong <cyd@gnu.org>
7317
7318 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7319 Fix values recognized by the cursorBlink resource.
301afadc 7320
9e5788aa
PE
73212012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7322
7323 * epg.el (epg--make-temp-file): Avoid permission race condition
7324 when running on old Emacs versions (bug#10403).
7325
3cdb7f5a
GM
73262012-01-14 Glenn Morris <rgm@gnu.org>
7327
7328 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7329
8c82b1b4
AM
73302012-01-13 Alan Mackenzie <acm@muc.de>
7331
7332 Fix filling for when filladapt mode is enabled.
7333
7334 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7335 c-mask-paragraph, pass in `fill-paragraph' rather than
7336 `fill-region-as-paragraph'. (This is a reversion of a previous
7337 change.)
eb864a71
LM
7338 * progmodes/cc-mode.el (c-basic-common-init):
7339 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7340
e517eda4
GM
73412012-01-13 Glenn Morris <rgm@gnu.org>
7342
1498536e
GM
7343 * dired.el (dired-switches-escape-p): New function.
7344 (dired-insert-directory): Use dired-switches-escape-p.
7345 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7346
e517eda4
GM
7347 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7348
328f984d
GM
73492012-01-12 Glenn Morris <rgm@gnu.org>
7350
7351 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7352 changes in adaptive-fill-regexp. (Bug#10276)
7353
2cc769a8
AM
73542012-01-11 Alan Mackenzie <acm@muc.de>
7355
7356 Fix Emacs bug #10463 - put `widen's around the critical spots.
7357
1d00653d 7358 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7359 widen around each invocation of c-state-pp-to-literal. Remove an
7360 unused let variable.
7361
e52c37fa
GM
73622012-01-11 Glenn Morris <rgm@gnu.org>
7363
7364 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7365 Doc fix.
e52c37fa 7366
96f8741e
CY
73672012-01-10 Chong Yidong <cyd@gnu.org>
7368
1d00653d
SM
7369 * net/network-stream.el (network-stream-open-starttls):
7370 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7371 response to the capability command.
7372
b09a806e
GM
73732012-01-10 Glenn Morris <rgm@gnu.org>
7374
7375 * mail/unrmail.el (unrmail): Tweak previous change.
7376
7655cb66
CY
73772012-01-09 Chong Yidong <cyd@gnu.org>
7378
7379 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7380
9d5a8f0b
AM
73812012-01-08 Alan Mackenzie <acm@muc.de>
7382
7383 Optimise font locking in long enum definitions.
7384
7385 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7386 arm to a cond form to handle enums.
7387 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7388 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7389
9a0115ab 73902012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7391
7392 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7393 (Bug#10401)
6bb72cbd 7394
f186bb95
LMI
73952012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7396
29232a68
LMI
7397 * faces.el (set-face-attribute): Clarify the meaning of the nil
7398 frame (bug#10294).
7399
4e5d086d
LMI
7400 * subr.el (with-selected-frame): Mention that the selected frame
7401 is restored (bug#9980).
7402
8e66aebe
LMI
7403 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7404 (bug#9759).
7405
cd394be1 7406 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7407 (password-read): Don't autoload unused function.
7408
adf4e762
JB
74092012-01-07 Juanma Barranquero <lekktu@gmail.com>
7410
7411 * progmodes/which-func.el (which-func-mode): Turn into a
7412 non-interactive function and mark as obsolete (bug#10428).
7413
89bd9ccd
CY
74142012-01-06 Chong Yidong <cyd@gnu.org>
7415
7416 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7417 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7418 functions, along with 1 and -1.
7419
4afee9d5
EZ
74202012-01-06 Eli Zaretskii <eliz@gnu.org>
7421
7422 * time.el (display-time-load-average)
7423 (display-time-default-load-average): Doc fixes. See the thread
7424 starting at
7425 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7426 for the details.
7427
536aea70
GM
74282012-01-06 Glenn Morris <rgm@gnu.org>
7429
665ae865
GM
7430 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7431 has no messages. (Bug#10377)
7432
c869783d
GM
7433 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7434 than Info-edit. (Bug#10385)
7435
2bb4227e
GM
7436 * time.el (display-time-load-average, display-time-next-load-average):
7437 Doc fixes.
7438
7d5944b9
GM
7439 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7440 local setting of buffer-read-only to the input buffer. (Bug#10419)
7441
536aea70
GM
7442 * calendar/calendar.el (calendar-mode):
7443 Locally set scroll-margin to 0. (Bug#10379)
7444
7dccca16
UM
74452012-01-06 Ulrich Mueller <ulm@gentoo.org>
7446
7447 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7448
afbb7930
GM
74492012-01-05 Glenn Morris <rgm@gnu.org>
7450
7451 * eshell/em-unix.el (diff-no-select): Autoload it.
7452 (eshell/diff): Use diff-no-select. (Bug#10420)
7453
04482335
CY
74542012-01-05 Chong Yidong <cyd@gnu.org>
7455
7baca3bc
CY
7456 * shell.el (shell-dynamic-complete-functions): Revert last change.
7457 (shell-command-completion-function): New function.
7458 (shell-completion-vars): Use it to implement
7459 shell-completion-execonly (Bug#10417).
7460
04482335
CY
7461 * custom.el (enable-theme): Don't set custom-safe-themes.
7462
1d00653d
SM
7463 * cus-theme.el (custom-theme-merge-theme):
7464 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7465
bb5aa5d6
MM
74662012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7467
7468 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7469 first prompt in `sql-interacive-mode'.
7470 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7471 keywords.
6df6ae42 7472 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7473 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7474 context of original buffer. Invoke `sql-login-hook'.
7475
a7183d7c
EZ
74762012-01-04 Eli Zaretskii <eliz@gnu.org>
7477
7478 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7479 letters in cite-prefix.
7480
a1eacd1e
LMI
74812012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7482
7483 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7484
787cdb34
CY
74852012-01-03 Chong Yidong <cyd@gnu.org>
7486
1d00653d
SM
7487 * shell.el (shell-dynamic-complete-functions):
7488 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7489 comint-filename-completion first (Bug#10417).
7490
30710442
RS
74912012-01-02 Richard Stallman <rms@gnu.org>
7492
7493 * battery.el (battery-status-function):
7494 Detect when to use battery-yeeloong-sysfs.
7495 (battery-echo-area-format): Add string for Yeeloong.
7496 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7497 (battery-yeeloong-sysfs): New function.
7498
f75bfc33
CY
74992012-01-02 Chong Yidong <cyd@gnu.org>
7500
7501 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7502 (dirtrack): Merge code for handling relative filenames in prompt
7503 from shell-dir-cookie-watcher.
7504 (dirtrack-debug-message): New arg to avoid excess format calls.
7505
7506 * shell.el (shell-dir-cookie-re): Variable deleted.
7507 (shell-dir-cookie-watcher): Function deleted.
7508 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7509 with dirtrack-mode.
7510
651e947e
EZ
75112012-01-01 Eli Zaretskii <eliz@gnu.org>
7512
1d00653d
SM
7513 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7514 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7515 libgnutls-26.dll.
7516
94d4c7dc
AS
75172011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7518
7519 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7520
8d43f3cd
EZ
75212011-12-31 Eli Zaretskii <eliz@gnu.org>
7522
7523 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7524 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7525
98c8795a
MA
75262011-12-29 Michael Albinus <michael.albinus@gmx.de>
7527
7528 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7529 also for alternative shells.
7530 (tramp-open-connection-setup-interactive-shell): Check, whether
7531 the shell is a busybox.
7532 (tramp-send-command): Don't suppress multiple prompts for
7533 busyboxes, it hurts.
7534
51281b32
CY
75352011-12-28 Chong Yidong <cyd@gnu.org>
7536
7537 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7538 (gdb-get-source-file): Move mode line update to
7539 gdb-get-source-file (Bug#10087).
7540
2170cb53
CY
75412011-12-25 Chong Yidong <cyd@gnu.org>
7542
7543 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7544 gud-gdb-marker-filter without taking it as an argument.
7545 (gud-gdb-run-command-fetch-lines): Caller changed.
7546 (gud-gdb-completion-function): New variable.
7547 (gud-gdb-completion-at-point): Use it.
7548 (gud-gdb-completions-1): Split from gud-gdb-completions.
7549
7550 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7551 function as separate arguments.
7552 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7553 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7554 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7555 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7556 (gdb-stopped, def-gdb-auto-update-trigger)
7557 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7558 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7559 Callers changed.
2170cb53
CY
7560 (gud-gdbmi-completions): New function.
7561 (gdb): Use it for generating the completion table.
7562
be8b11bb
AM
75632011-12-24 Alan Mackenzie <acm@muc.de>
7564
7565 Introduce a mechanism to widen the region used in context font
1d00653d 7566 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7567
1d00653d
SM
7568 * progmodes/cc-langs.el (c-before-font-lock-functions):
7569 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7570 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7571 functions to be run just before context (etc.) font locking.
7572
7573 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7574 New, functionality extracted from
be8b11bb 7575 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7576 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7577 (c-after-change): Set c-in-after-change-fontification.
7578 (c-set-fl-decl-start): Rejig its interface, so it can be called
7579 from both after-change and context fontifying.
b81d40f0
JB
7580 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7581 New functions.
7582 (c-standard-font-lock-fontify-region-function): New variable.
7583 (c-font-lock-fontify-region): New function.
be8b11bb 7584
341cf6ac
JL
75852011-12-24 Juri Linkov <juri@jurta.org>
7586
7587 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7588 (Bug#10348)
7589
bffcee0a
MA
75902011-12-23 Michael Albinus <michael.albinus@gmx.de>
7591
7592 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7593 existence of source file. (Bug#10325)
7594
cb5e207c
AM
75952011-12-23 Alan Mackenzie <acm@muc.de>
7596
7597 Fix unstable fontification inside templates.
7598
b81d40f0
JB
7599 * progmodes/cc-langs.el (c-before-font-lock-functions):
7600 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7601 additionally has c-set-fl-decl-start. The other languages (apart
7602 from AWK) have that as a single entry.
7603
b81d40f0
JB
7604 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7605 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7606 c-set-fl-decl-start.
7607
b81d40f0
JB
7608 * progmodes/cc-mode.el (c-common-init, c-after-change):
7609 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7610 (c-set-fl-decl-start): New function, extracted from
7611 c-font-lock-enclosing-decls and enhanced.
7612
60ff536c
JB
76132011-12-23 Juanma Barranquero <lekktu@gmail.com>
7614
7615 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7616
1c4757d6
JL
76172011-12-22 Juri Linkov <juri@jurta.org>
7618
7619 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7620
d031f2c7
CY
76212011-12-22 Chong Yidong <cyd@gnu.org>
7622
7623 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7624
bace743a
DA
76252011-12-21 Drew Adams <drew.adams@oracle.com>
7626
7627 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7628
728a1f2b
JC
76292011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7630
7631 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7632
0d373f73
TZ
76332011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7634
fec0aaa4
TZ
7635 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7636 highlighting and support. Fix up comments for capitalization.
7637 (cfengine-mode-debug): New var.
7638 (cfengine3-mode): Change the modeline indicator to "CFE3".
7639 (cfengine3-font-lock-keywords): Improve defun highlighting.
7640 (cfengine2-actions): Rename from `cfengine-actions'.
7641 (cfengine2-font-lock-keywords): Rename from
7642 `cfengine-font-lock-keywords'.
7643 (cfengine2-imenu-expression): Rename from
7644 `cfengine-imenu-expression'.
7645 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7646 (cfengine2-beginning-of-defun): Rename from
7647 `cfengine-beginning-of-defun'.
7648 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7649 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7650 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7651 modeline indicator to "CFE2".
7652 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7653 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7654
bc86f573
CY
76552011-12-21 Chong Yidong <cyd@gnu.org>
7656
7657 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7658 filename argument.
7659
d45ba96b
MR
76602011-12-20 Martin Rudalics <rudalics@gmx.at>
7661
7662 * window.el (window-normalize-buffer-to-display): Remove.
7663 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7664
a6198c90
CY
76652011-12-19 Chong Yidong <cyd@gnu.org>
7666
7667 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7668 Don't signal an error in a predicate function; return non-nil.
7669 (vc-dir-mark-file): Move the error here.
7670 (vc-dir-mark-unmark): If acting on the region, keep going if one
7671 of the entries cannot be marked/unmarked.
7672 (vc-dir-mark-all-files): If current entry is a directory, mark
7673 only child files, as documented.
7674
34c5fb55
VB
76752011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7676
7677 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7678 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7679 addition.
7680
c803b2b7
JD
76812011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7682
7683 * term/ns-win.el (ns-get-selection-internal)
7684 (ns-store-selection-internal): Declare.
1154d12e
JB
7685 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7686 Declare as obsolete.
7687 (ns-get-pasteboard, ns-paste-secondary):
7688 Use ns-get-selection-internal.
7689 (ns-set-pasteboard, ns-copy-including-secondary):
7690 Use ns-store-selection-internal.
c803b2b7 7691
9cff91f8 76922011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7693
7694 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7695 (vc-deduce-fileset): Doc fix.
99a289d9 7696
f16c898a
AS
76972011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7698
7699 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7700
763237c4
SS
77012011-12-13 Sam Steingold <sds@gnu.org>
7702
7703 * man.el (Man-getpage-in-background): When running under a
7704 window-system, ignore $MANWIDTH and $COLUMNS.
7705
5fc1c122
KH
77062011-12-15 Kenichi Handa <handa@m17n.org>
7707
7708 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7709 (setup-ethiopic-environment-internal): Comment out key-binding for
7710 ethio-toggle-punctuation.
7711
13d49cbb
AM
77122011-12-13 Alan Mackenzie <acm@muc.de>
7713
898169a2
AM
7714 Add the switch statement to AWK Mode.
7715
7a71b18d 7716 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7717 "default" to the keywords regexp.
7718
7a71b18d 7719 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7720 expression as the rest.
1d00653d
SM
7721 (c-nonlabel-token-key): Allow string literals for AWK.
7722 Refactor for the other modes.
898169a2 7723
13d49cbb 7724 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7725 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7726 routines. Limit backward searching in c-font-lock-enclosing.decl.
7727
7728 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7729 pp-state and literal type in addition to the limits.
1d00653d 7730 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7731 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7732 (c-slow-in-literal, c-fast-in-literal): Remove.
7733 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7734
7735 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7736 being in a literal. Add a limit for backward searching.
7737
7738 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7739 c-slow-in-literal.
7740
15e0efc7
SM
77412011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7742
7743 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7744
454592a6
MR
77452011-12-13 Martin Rudalics <rudalics@gmx.at>
7746
7747 * window.el (delete-other-windows): Use correct frame in call to
7748 window-with-parameter.
7749
87393f26
DP
77502011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7751
7752 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7753 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7754 (makefile-gmake-statements, makefile-makepp-statements):
7755 Use it and add new makepp keywords.
7756 (makefile-makepp-font-lock-keywords): Add new patterns.
7757 (makefile-match-function-end): Match new [...] and [[...]].
7758
11636b22
JB
77592011-12-11 Juanma Barranquero <lekktu@gmail.com>
7760
7761 * ses.el (ses-call-printer-return, ses-cell-property-get)
7762 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7763 (ses-create-cell-variable, ses-reset-header-string)
7764 (ses-cell-set-formula, ses-repair-cell-reference-all)
7765 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7766 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7767 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7768 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7769 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7770 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7771 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7772 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7773 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7774 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7775 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7776 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7777
cf018193
VB
77782011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7779
7780 * ses.el: The overall change is to add cell renaming, that is
7781 setting fancy names for cell symbols other than name matching
7782 "\\`[A-Z]+[0-9]+\\'" regexp .
7783 (ses-create-cell-variable): New defun.
7784 (ses-relocate-formula): Relocate formulas only for cells the
7785 symbols of which are not renamed, i.e. symbols whose names do not
7786 match regexp "\\`[A-Z]+[0-9]+\\'".
7787 (ses-relocate-all): Relocate values only for cells the symbols of
7788 which are not renamed.
7789 (ses-load): Create cells variables as the (ses-cell ...) are read,
7790 in order to check row col consistency with cell symbol name only
7791 for cells that are not renamed.
7792 (ses-replace-name-in-formula): New defun.
7793 (ses-rename-cell): New defun.
7794
ee957461
CY
77952011-12-11 Chong Yidong <cyd@gnu.org>
7796
7797 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7798 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7799
9a9e9ef0
MR
78002011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7801
7802 * window.el (other-window): Fix docstring.
7803
92a8eba5
EZ
78042011-12-10 Eli Zaretskii <eliz@gnu.org>
7805
7806 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7807 `from' or `to' address before taking its substring.
7808 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7809 encoded name is chopped in the middle of the encoded string, and
7810 thus displayed encoded.
7811
e152e577
JB
78122011-12-10 Juanma Barranquero <lekktu@gmail.com>
7813
7814 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7815
e5d84bfe
EZ
78162011-12-10 Eli Zaretskii <eliz@gnu.org>
7817
7818 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7819 to use texinfo-update-node and commands that call it if the
7820 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7821 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7822 (texinfo-all-menus-update, texinfo-master-menu)
7823 (texinfo-update-node, texinfo-every-node-update)
7824 (texinfo-multiple-files-update): Doc fix. Warn against updating
7825 all the @node lines.
7826 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7827 argument is numeric. Explain better in the doc string what the
7828 function really does.
7829 (texinfo-insert-master-menu-list): Improve the error message
7830 displayed if there's no menu in the Top node.
7831 (Bug#2975) See also this thread:
e5d84bfe
EZ
7832 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7833
1d84e9bb
MG
78342011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7835
7836 * speedbar.el (speedbar-supported-extension-expressions):
7837 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7838
382c953b
JB
78392011-12-09 Juanma Barranquero <lekktu@gmail.com>
7840
7841 * printing.el (pr-mode-alist):
7842 * simple.el (filter-buffer-substring-functions)
7843 (completion-list-insert-choice-function):
7844 * window.el (window-with-parameter, window-atom-root)
7845 (window-sides-slots, window-size-fixed, window-min-delta)
7846 (window-max-delta, window--resize-mini-window)
7847 (window--resize-child-windows-normal, window-tree)
7848 (delete-other-windows, quit-window, split-window)
7849 (display-buffer-record-window, special-display-buffer-names)
7850 (special-display-regexps, special-display-popup-frame)
7851 (same-window-p, split-window-sensibly)
7852 (display-buffer-overriding-action, display-buffer-alist)
7853 (display-buffer-base-action, display-buffer, switch-to-buffer)
7854 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7855 (fit-window-to-buffer, recenter-positions)
7856 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7857 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7858 and remove unneeded backslashes in docstrings.
7859
39c9faef
SM
78602011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7861
98449af8
SM
7862 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7863
39c9faef
SM
7864 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7865 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7866 end in ".mk".
7867 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7868 when reading the makefile (bug#10116).
7869
86ed9fdc
SM
78702011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7871
7872 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7873 (bug#10116).
7874
5580f89d
GM
78752011-12-06 Glenn Morris <rgm@gnu.org>
7876
7877 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7878
28d3917c
CY
78792011-12-06 Chong Yidong <cyd@gnu.org>
7880
7881 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7882
a98edce9
JB
78832011-12-06 Juanma Barranquero <lekktu@gmail.com>
7884
7885 * textmodes/table.el (table-shorten-cell): Fix typo.
7886
e65adfac
CG
78872011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7888
7889 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7890
71cc0b74
EZ
78912011-12-05 Eli Zaretskii <eliz@gnu.org>
7892
7893 * descr-text.el (describe-char): Fix display of strong
7894 right-to-left characters and directional embeddings and overrides.
7895
7896 * simple.el (what-cursor-position): Fix display of codepoints of
7897 strong right-to-left characters.
7898
315bc30d
CY
78992011-12-05 Chong Yidong <cyd@gnu.org>
7900
7901 * faces.el (read-color): Doc fix.
7902
58a70b94
GM
79032011-12-05 Glenn Morris <rgm@gnu.org>
7904
7905 * align.el (align--set-marker): Add doc-string.
7906 Don't try to move something that is not a marker. (Bug#10216)
7907
5158face
GM
79082011-12-04 Glenn Morris <rgm@gnu.org>
7909
7910 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7911 overly zealous deletion of trailing whitespace.
7912
520fca41
JB
79132011-12-04 Juanma Barranquero <lekktu@gmail.com>
7914
7915 * server.el (server-delete-client): On Windows, do not try to delete
7916 the only terminal.
7917 (server-process-filter): On Windows, treat requests for a tty frame as
7918 if they were for a GUI frame if the running server is in GUI mode.
7919
5e605a2e
GM
79202011-12-03 Glenn Morris <rgm@gnu.org>
7921
7922 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7923
5c3fe83f
SM
79242011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7925
6f5e57e7
SM
7926 * electric.el: Streamline electric-indent's hook.
7927 (electric-indent-chars): Revert to simple list.
7928 (electric-indent-functions): New var.
7929 (electric-indent-post-self-insert-function): Use it.
7930
5c3fe83f
SM
7931 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7932 there's no inferior buffer (bug#10196).
7933 (prolog-consult-compile): Don't use toggle-read-only.
7934
6bdac736
MA
79352011-12-02 Michael Albinus <michael.albinus@gmx.de>
7936
7937 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7938 interrupt. (Bug#10187)
7939
6131ba7f
SM
79402011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7941
99c79fee
SM
7942 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7943 (bug#9160).
7944
6131ba7f
SM
7945 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7946 (bug#10191).
7947
cb0a02ea
JL
79482011-12-02 Juri Linkov <juri@jurta.org>
7949
7950 * info.el (Info-search): Display "end of manual" when Isearch
7951 reaches the end of single-file Info manual. (Bug#9918)
7952
66e0570c
EZ
79532011-12-02 Eli Zaretskii <eliz@gnu.org>
7954
7955 * isearch.el (isearch-message-prefix): Run the input method part
7956 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7957
02b16839
JL
79582011-12-02 Juri Linkov <juri@jurta.org>
7959
7960 * isearch.el (isearch-occur): Use `word-search-regexp' for
7961 `isearch-word'.
7962 (isearch-search-and-update): Add condition for `isearch-word' and
7963 call `word-search-regexp'. (Bug#10145)
7964
0b950688
GM
79652011-12-01 Glenn Morris <rgm@gnu.org>
7966
7967 * eshell/em-hist.el (eshell-hist-initialize):
7968 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7969 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7970
9505c3c7
SM
79712011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7972
7973 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7974
1bbe96b2 79752011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7976
a1beca85
SM
7977 * progmodes/verilog-mode.el (verilog-pretty-expr):
7978 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7979 verilog, such as += *= and the like.
7980 (verilog-assignment-operator-re): Regular expression to find the
7981 assigment operator in a verilog assignment.
7982 (verilog-assignment-operation-re): Regular expression to find an
7983 assignment statement for pretty-expr.
7984 (verilog-in-attribute-p): Query returns true if point is in an
7985 attribute context; used to skip these for expression line up from
7986 pretty-expr.
7987 (verilog-in-parameter-p): Query returns true if point is in an
7988 parameter definition context; used to skip these for expression
7989 line up from pretty-expr.
7990 (verilog-in-parenthesis-p): Query returns true if point is in a
7991 parenthetical expression, specifically ( ) but not [ ] or { };
7992 used by pretty-expr.
7993 (verilog-just-one-space): If there is no space, don't add one.
7994 (verilog-get-lineup-indent-2): Specifically skip just attribute
7995 contexts for expression lineup, rather than skipping all
7996 parenthetical expressions.
7997 (verilog-calculate-indent): Fix comment, and fix indent.
7998 (verilog-do-indent): Indent declarations in lists (suggested by
7999 Joachim Lechner).
8000 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8001 skeleton items.
8002 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8003 by Alain Mellan).
8004
1bbe96b2 80052011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8006
8007 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8008 parameters with embedded comments. Reported by Ray Stevens.
8009 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8010 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8011 Reported by Tim Holt.
8012 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8013 instantiated by upper module causing wrong expansion until AUTOed a
8014 second time. Reported by K C Buckenmaier.
8015 (verilog-diff-auto): Fix showing .* as a difference when
8016 `verilog-auto-star-save' off. Reported by Dan Dever.
8017 (verilog-auto-reset, verilog-read-always-signals)
8018 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8019 temporary signals in reset list if
8020 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8021 style to each signal's assignment type, bug381.
8022 Reported by Thomas Esposito.
6288f0ca
WS
8023 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8024 (verilog-uvm-statement-re): Support UVM indentation and
8025 highlighting, with old OVM keywords only.
a1beca85 8026 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8027 Support AUTOTIEOFF creating non-wire data types.
8028 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8029 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8030 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8031 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8032 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8033 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8034 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8035 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8036 non-numeric vector width. Reported by Alex Reed.
8037 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8038 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8039 (verilog-auto-delete-trailing-whitespace):
8040 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8041 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8042 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8043 Fix verilog-scan-cache corruption when running user AUTO expansion
8044 hooks that call indentation routines.
8045 (verilog-simplify-range-expression): Fix typo ignoring lower case
8046 identifiers.
8047 (verilog-delete-auto): Fix delete-autos to also remove user created
8048 automatics, as long as they start with AUTO.
8049 (verilog-batch-diff-auto, verilog-diff-auto)
8050 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8051 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8052 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8053 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8054 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8055 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8056 is disabled and its cache will get corrupt, causing AUTOS not to
8057 expand. Instead use only -quick functions.
8058 (verilog-scan-region): Fix scanning over escaped quotes.
8059 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8060 (verilog-re-search-backward-quick)
8061 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8062 related functions now ignore strings, to fix misparsing of strings
8063 with magic comments embedded in them.
a1beca85
SM
8064 (verilog-read-auto-template):
8065 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8066 Reported by Brad Dobbie.
8067 (verilog-read-auto-template):
8068 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8069 Reported by Brad Dobbie.
6288f0ca
WS
8070 (verilog-auto-inst, verilog-auto-inst-param)
8071 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8072 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8073 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8074 debugging templates without merge conflicts, bug357.
8075 Reported by Brad Dobbie.
8076 (verilog-read-auto-template):
8077 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8078 Reported by Brad Dobbie.
8079 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8080 abbrevs so user won't be asked to save.
8081 (verilog-read-auto-lisp-present): Fix to start at beginning of
8082 buffer in case called outside of verilog-auto.
8083 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8084 to "X-2". Reported by Matthew Myers.
8085 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8086 all inputs from module templates. Reported by Leith Johnson.
8087 (verilog-module-inside-filename-p): Fix locating programs as with
8088 modules.
8089 (verilog-auto-inst-port): Fix vl-width expressions when using
8090 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8091 (verilog-decls-get-regs, verilog-decls-get-signals,
8092 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8093 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8094 verilog-read-decls): Combine reg and wire structures into one var
8095 structure to represent SystemVerilog concepts.
8096 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8097 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8098 (verilog-auto-wire-type, verilog-insert-definition):
8099 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8100 SystemVerilog "logic" keyword instead of "wire"/"reg".
8101 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8102 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8103 ifdef or generate if so there's not a driver conflict).
8104 Reported by Matthew Myers.
8105 (verilog-auto-declare-nettype, verilog-insert-definition):
8106 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8107 `default_nettype none. Reported by Julian Gorfajn.
8108 (verilog-read-always-signals-recurse, verilog-read-decls)
8109 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8110 malformed end statement, bug325. Reported by Joshua Wise and
8111 Andrew Drake.
8112 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8113 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8114 when expanding .* in interfaces, bug320.
8115 Reported by Pierre-David Pfister.
6288f0ca 8116 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8117 name and open parenthesis, bug317.
8118 Reported by Pierre-David Pfister.
6288f0ca
WS
8119 (verilog-simplify-range-expression): Fix simplification of
8120 multiplications inside AUTOWIRE connections, bug303.
8121 (verilog-auto-inst-port): Support parameter expansion in
8122 multidimensional arrays.
8123 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8124 after "assert property". Reported by Julian Gorfajn.
8125 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8126 with multiplication, bug303.
8127 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8128 Reported by Jan Frode Lonnum.
8129
1bbe96b2
GM
81302011-11-30 Juanma Barranquero <lekktu@gmail.com>
8131
8132 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8133 (hfy-shell-file-name, hfy-shell):
8134 * international/fontset.el (x-decompose-font-name): Fix typos.
8135
81362011-11-29 Ken Brown <kbrown@cornell.edu>
8137
8138 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8139 (gdb-version): Remove defvar.
8140 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8141 (gdb-gud-context-command, gdb-non-stop-handler)
8142 (gdb-current-context-command, gdb-stopped): Use it.
8143 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8144 (gdb-non-stop-handler): Don't enable pretty-printing here.
8145 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8146 non-stop mode. Use the following.
8147 (gdb-check-target-async): New defun.
8148 (gud-watch, gdb-stopped): Fix whitespace.
8149 (gdb-get-source-file): Don't try to display the source file if
8150 `gdb-main-file' is nil.
8151
81522011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * align.el: Try to generate fewer markers (bug#10047).
8155 (align--set-marker): New macro.
8156 (align-region): Use it.
8157
c935221f
SM
81582011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8159
8160 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8161
e70b5064
CY
81622011-11-29 Chong Yidong <cyd@gnu.org>
8163
8164 * indent.el (indent-for-tab-command, indent-according-to-mode):
8165 Doc fix.
8166 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8167
f3af92b7
MA
81682011-11-29 Michael Albinus <michael.albinus@gmx.de>
8169
8170 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8171 aware of remote file names. (Bug#10124)
8172
ed472be9
CY
81732011-11-29 Chong Yidong <cyd@gnu.org>
8174
8175 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8176
24510c22
SM
81772011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8178
8179 * files.el (find-file): Don't use force-same-window (bug#10144).
8180 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8181 use pop-to-buffer if the selected window can't be used.
8182 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8183
c60c3703
EZ
81842011-11-28 Eli Zaretskii <eliz@gnu.org>
8185
8186 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8187 special-mode-map.
8188
e95def75
CY
81892011-11-28 Chong Yidong <cyd@gnu.org>
8190
8191 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8192
c3f1c606
NR
81932011-11-27 Nick Roberts <nickrob@snap.net.nz>
8194
8195 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8196 gdb-get-source-file-list on gdb-create-source-file-list.
8197
00db469c
EZ
81982011-11-26 Eli Zaretskii <eliz@gnu.org>
8199
8200 * whitespace.el (whitespace-newline): Use a different foreground
8201 color for 16-color light-background displays.
8202
4ad3bc2a
CY
82032011-11-24 Chong Yidong <cyd@gnu.org>
8204
8205 * window.el (display-buffer--special-action): Doc fix.
8206
e9fce1ac
JB
82072011-11-25 Juanma Barranquero <lekktu@gmail.com>
8208
8209 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8210 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8211 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8212 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8213 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8214 (avl-tree-stack-first):
8215 * emacs-lisp/cconv.el (cconv--analyse-use):
8216 * net/gnutls.el (gnutls-negotiate): Fix typos.
8217
cb825e5d
GM
82182011-11-24 Glenn Morris <rgm@gnu.org>
8219
3adbe224
GM
8220 * lpr.el (lpr-windows-system, lpr-lp-system):
8221 * mail/binhex.el (binhex-begin-line):
8222 * progmodes/grep.el (grep-history, grep-find-history):
8223 * textmodes/flyspell.el:
8224 * vc/pcvs-defs.el (cvs-global-menu):
8225 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8226 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8227 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8228
321decc8
GM
8229 * net/tls.el: Fix case of "GnuTLS".
8230
420b63ad
GM
8231 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8232
cb825e5d
GM
8233 * version.el (emacs-build-system): Give it a doc-string.
8234
a0649f08
JL
82352011-11-24 Juri Linkov <juri@jurta.org>
8236
8237 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8238
c0bc0fd4
GM
82392011-11-24 Glenn Morris <rgm@gnu.org>
8240
8241 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8242 if called on a non-mime message just toggle the headers. (Bug#8006)
8243
20db1522
JB
82442011-11-24 Juanma Barranquero <lekktu@gmail.com>
8245
8246 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8247 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8248 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8249 (allout-rebullet-heading, allout-open-sibtopic)
8250 (allout-toggle-current-subtree-encryption)
8251 (allout-toggle-subtree-encryption, allout-encrypt-string)
8252 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8253 (allout-distinctive-bullets-string, allout-auto-activation):
8254 * window.el (window-normalize-buffer-to-display):
8255 * progmodes/verilog-mode.el (verilog-batch-indent):
8256 * textmodes/bibtex.el (bibtex-field-braces-opt)
8257 (bibtex-field-strings-opt):
8258 * vc/cvs-status.el (cvs-tree-merge):
8259 Fix typos.
8260
7262a87c
MA
82612011-11-23 Michael Albinus <michael.albinus@gmx.de>
8262
8263 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8264 `non-essential' to t, in order to avoid remote connections.
8265
283430a1
EZ
82662011-11-23 Eli Zaretskii <eliz@gnu.org>
8267
a1beca85
SM
8268 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8269 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8270 case-insensitively.
8271
d2992a38
ML
82722011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8273
8274 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8275
50419064
GM
82762011-11-23 Glenn Morris <rgm@gnu.org>
8277
da94eca1
GM
8278 * paths.el (rmail-file-name): Reformat the doc-string so that it
8279 is picked up.
8280
9aac4de2
GM
8281 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8282 (rmail-auto-file): Ignore case in the "special" field names,
8283 as mail-fetch-field does for all others.
8284
8038d2d2
GM
8285 * mail/rmail.el (rmail-forward):
8286 * mail/rmailkwd.el (rmail-set-label):
8287 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8288 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8289
f3fe222a
GM
8290 * mail/rmail.el (rmail-current-message): Doc fix.
8291
50419064
GM
8292 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8293
28109f49
SM
82942011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8295
8296 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8297
394c65f1
GM
82982011-11-22 Glenn Morris <rgm@gnu.org>
8299
8300 * mail/rmailmm.el (test-rmail-mime-handler)
8301 (test-rmail-mime-bulk-handler)
8302 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8303
f2a0aa3a
JL
83042011-11-21 Juri Linkov <juri@jurta.org>
8305
1154d12e
JB
8306 * calc/calc.el (calc-read-key-sequence):
8307 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8308
9c34a344
LMI
83092011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8310
8311 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8312 Tell the caller that the next line needs recomputation, even
8313 though it doesn't start a sexp (bug#10094).
8314
f04a3be9
SM
83152011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8316
8317 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8318
7978747f
SM
83192011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8320
f04a3be9
SM
8321 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8322 Use force-same-window.
7978747f 8323
fe7a3057
JB
83242011-11-20 Juanma Barranquero <lekktu@gmail.com>
8325
8326 * descr-text.el (describe-char-unicode-data):
8327 * json.el (json-string-escape):
8328 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8329 (Footnote-unicode, Footnote-style-p):
8330 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8331
24901d61
CY
83322011-11-20 Chong Yidong <cyd@gnu.org>
8333
8334 * window.el (replace-buffer-in-windows): Restore interactive spec.
8335
bac7ff22
SM
83362011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8337
24f3d7b9
SM
8338 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8339
bac7ff22
SM
8340 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8341 (byte-compile-global-not-obsolete-vars): New var.
8342 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8343 Use it.
8344 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8345
cd1181db
JB
83462011-11-20 Juanma Barranquero <lekktu@gmail.com>
8347
8348 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8349 * progmodes/pascal.el (electric-pascal-equal):
8350 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8351 * xml.el (xml-substitute-special): Fix typos.
8352
7fb18e9e
GM
83532011-11-20 Glenn Morris <rgm@gnu.org>
8354
8355 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8356 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8357 Doc fixes.
8358 (rmail-decode-mime-charset): Mark as obsolete.
8359
8360 * mail/rmailsum.el (rmail-message-regexp-p-1):
8361 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8362 Before using mime functions, check they are set. (Bug#10077)
8363
d5a6b3ba
JL
83642011-11-19 Juri Linkov <juri@jurta.org>
8365
8366 * info.el (Info-finder-find-node): Use `package--builtins' instead
8367 of `package-alist'. Use node names formed by the pattern "Keyword "
8368 and the keyword name.
8369
e981b61f
AS
83702011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8371
1d00653d 8372 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8373
3ffbc301
JL
83742011-11-19 Juri Linkov <juri@jurta.org>
8375
8376 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8377 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8378 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8379 `old-history', `old-history-forward'. Add let-binding
8380 `window-selected'. Remove calls to `kill-buffer',
8381 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8382 before calling `Info-find-node', so `Info-find-node-2' will reread
8383 the Info file. Restore window positions only when `window-selected'
8384 is non-nil.
8385
30c62133
JL
83862011-11-19 Juri Linkov <juri@jurta.org>
8387
8388 * isearch.el (isearch-lazy-highlight-new-loop):
8389 Remove condition `(not isearch-error)'. (Bug#9918)
8390
8391 * misearch.el (multi-isearch-search-fun): Add condition
8392 `(not bound)' to ignore lazy-highlighting search.
8393 Add the search-failed message "end of multi" when the end of
8394 multi-sequence is reached. Uncapitalize the search-failed
8395 message "Repeat for next buffer".
8396
8397 * info.el (Info-search): Add the search-failed message
8398 "end of the manual" when the end of the manual is reached
8399 in Isearch mode.
8400
645ca9cf
JL
84012011-11-19 Juri Linkov <juri@jurta.org>
8402
8403 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8404 Use non-destructive `remove' instead of `delete' because
8405 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8406 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8407
df754f66
JL
84082011-11-19 Juri Linkov <juri@jurta.org>
8409
8410 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8411 to nil instead of binding `search-ring' and `regexp-search-ring'.
8412 (Bug#9185)
8413
0e23d96a
EZ
84142011-11-19 Eli Zaretskii <eliz@gnu.org>
8415
8416 * simple.el (line-move): Force movement by logical lines for any
8417 hscrolled window, not only when auto-hscroll-mode is on.
8418 (line-move-visual): Update doc string to that effect. (Bug#10076)
8419
8a6ccb66
AS
84202011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8421
8422 * language/european.el (macintosh): Define as alias for mac-roman.
8423
49ae5b39
EZ
84242011-11-19 Eli Zaretskii <eliz@gnu.org>
8425
8426 * mail/rmailmm.el (rmail-mime-display-header)
8427 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8428 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8429 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8430 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8431 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8432 of a raw aref.
8433 (rmail-mime-entity-segment): To get past the tagline, move forward
8434 2 more lines, to account for the 2 empty lines that precede and
8435 follow the line with the buttons.
8436 (rmail-mime-update-tagline): Move one more line, to get past the
8437 empty line that follows the buttons in the tagline. (Bug#9520)
8438
c56cad4a
MR
84392011-11-19 Martin Rudalics <rudalics@gmx.at>
8440
8441 * window.el (window-max-delta-1, window-min-delta-1)
8442 (window-min-size-1, window-state-get-1, window-state-put-1)
8443 (window-state-put-2): Use "window--" prefix.
8444
cbe71af3
SM
84452011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8446
2ad52c60
SM
8447 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8448 (smie-warning-count): New var.
8449 (smie-set-prec2tab): Use it.
8450 (smie-bnf->prec2): Improve warnings. Add docstring.
8451 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8452 (smie-bnf--set-class): New function.
8453 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8454 corner case.
8455
6944dbc1
SM
8456 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8457 (compilation-error-properties, compilation-move-to-column):
8458 Handle compilation-first-column while in the target buffer.
8459
c400c4d7
SM
8460 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8461 Don't hardcode point-min==1.
8462
6dbe3e96
SM
8463 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8464 (eshell-rewrite-for-command): Remove workaround.
8465 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8466 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8467 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8468
cbe71af3
SM
8469 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8470
a8e1496d
GM
84712011-11-17 Glenn Morris <rgm@gnu.org>
8472
8473 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8474 Ignore buffer-local generated-autoload-file if it is the same
8475 as the global value. (Bug#10049)
8476
df85d315
JB
84772011-11-17 Juanma Barranquero <lekktu@gmail.com>
8478
8479 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8480 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8481 (reftex-toc-previous-heading, reftex-toc-max-level)
8482 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8483 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8484 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8485 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8486 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8487 (reftex-toc-rename-label, reftex-toc-visit-location)
8488 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8489 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8490 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8491 leaving "*toc*" only for references to the buffer.
8492
a0c2d0ae
MR
84932011-11-17 Martin Rudalics <rudalics@gmx.at>
8494
8495 * window.el (window-resize, delete-window, split-window):
8496 Replace window-splits by window-combination-resize.
1d00653d 8497 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8498
35c0bac8
GM
84992011-11-17 Glenn Morris <rgm@gnu.org>
8500
8501 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8502 Make bash entry derive from sh entry, not shell entry.
8503
d0c8fc8a
MA
85042011-11-16 Michael Albinus <michael.albinus@gmx.de>
8505
7262a87c
MA
8506 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8507 local file name.
8508
7877f373
JB
85092011-11-16 Juanma Barranquero <lekktu@gmail.com>
8510
8511 * menu-bar.el (menu-bar-file-menu):
8512 * printing.el (pr-ps-utility):
8513 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8514 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8515 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8516 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8517 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8518 (icalendar--convert-cyclic-to-ical)
8519 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8520 (icalendar--convert-ical-to-diary)
8521 (icalendar--convert-recurring-to-diary)
8522 (icalendar--convert-non-recurring-all-day-to-diary)
8523 (icalendar-import-format-sample):
8524 * progmodes/idlw-shell.el (idlwave-shell-mode):
8525 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8526 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8527 (vhdl-ps-print-init): Fix typos.
8528
10649b82
KM
85292011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8530
9d0cfcd6
GM
8531 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8532 FSF and collapse date sequence, obscure author/maintainer email address
8533 better, remove extra version line, track relocation of author's webpage.
10649b82 8534
9d0cfcd6
GM
8535 * progmodes/python.el (python-pdbtrack-input-prompt)
8536 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8537 regular python pdb prompts. Adjustments shamelessly taken exactly as
8538 suggested in EmacsWiki page (tiny change):
8539 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8540
58179cce
JB
85412011-11-16 Juanma Barranquero <lekktu@gmail.com>
8542
8543 * expand.el (expand-pos, expand-index, expand-point):
8544 Remove redundant info from docstring.
8545 (expand-add-abbrevs): Doc fix.
8546 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8547 (expand-sample-perl-mode-expand-list): Fix typos.
8548
8549 * net/dbus.el (dbus-event-member-name):
8550 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8551 * term/pc-win.el (msdos-create-frame-with-faces):
8552 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8553
b6f67890
MR
85542011-11-16 Martin Rudalics <rudalics@gmx.at>
8555
8556 * window.el (split-window, window-state-get-1)
8557 (window-state-put-1, window-state-put-2): Rename occurrences of
8558 window-nest to window-combination-limit.
1d00653d 8559 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8560
ce7ddba0
CY
85612011-11-16 Chong Yidong <cyd@gnu.org>
8562
8563 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8564 regexp (Bug#10033).
8565
3ae704f4
SM
85662011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8567
8568 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8569 `completing-read' will remove *Completions* and will preserve
8570 current-buffer for us.
8571 (tmm-add-prompt): Users of *Completions* will always (re)set its
8572 major mode.
8573 (tmm-old-comp-map): Remove.
8574
6ad1cdde
GM
85752011-11-16 Glenn Morris <rgm@gnu.org>
8576
8577 * mail/rmailedit.el: Require rmailmm when compiling.
8578 (rmail-old-mime-state): New declaration.
8579 (rmail-edit-current-message): If editing a mime message,
8580 edit the "raw" message from the mbox buffer.
8581 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8582
d20faa20
GM
85832011-11-15 Glenn Morris <rgm@gnu.org>
8584
8585 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8586 which wasn't being used. Add optional arg to force given state.
8587 (rmail-mime): Add optional arg to force given state.
8588
c7015153
JB
85892011-11-15 Juanma Barranquero <lekktu@gmail.com>
8590
8591 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8592 * frame.el (display-mm-dimensions-alist):
8593 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8594 (outline-move-subtree-down):
8595 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8596 (newsticker--treeview-do-get-node):
8597 * net/quickurl.el (quickurl-list-buffer-name):
8598 * progmodes/dcl-mode.el (dcl-mode):
8599 * progmodes/gdb-mi.el (gdb-mapcar*):
8600 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8601
45261b50
GM
86022011-11-15 Glenn Morris <rgm@gnu.org>
8603
8604 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8605 in a boolean sense, so just make it a boolean, and fix the doc.
8606 (rmail-show-mime-function, rmail-mime-feature)
8607 (rmail-require-mime-maybe): Doc fixes.
8608 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8609
8610 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8611
0d26e0b6
JB
86122011-11-15 Juanma Barranquero <lekktu@gmail.com>
8613
8614 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8615 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8616 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8617 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8618
447f30f6
GM
86192011-11-15 Glenn Morris <rgm@gnu.org>
8620
672b871d
GM
8621 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8622 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8623 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8624 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8625 (rmail-mime, rmail-show-mime): Doc fixes.
8626
f6aa5bb1
GM
8627 * term/ns-win.el (mode-line-frame-identification):
8628 Leave it alone. (Bug#10051)
8629
947cd66b
GM
8630 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8631
447f30f6
GM
8632 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8633 Handle empty buffers. (Bug#9978)
8634
0b381c7e
JB
86352011-11-14 Juanma Barranquero <lekktu@gmail.com>
8636
8637 * international/mule.el (define-charset):
8638 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8639 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8640 * progmodes/verilog-mode.el (verilog-backward-token):
8641 * textmodes/ispell.el (lookup-words):
8642 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8643
71e027ac
GM
86442011-11-14 Glenn Morris <rgm@gnu.org>
8645
56632ce4
GM
8646 * progmodes/executable.el
8647 (executable-make-buffer-file-executable-if-script-p):
8648 Handle file-modes returning nil.
8649
40500957
GM
8650 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8651 message - not necessary, and causes problems. (Bug#9831)
8652
071c2340
GM
8653 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8654
d3cfca60
GM
8655 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8656
71e027ac
GM
8657 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8658 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8659 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8660
89d61221
MR
86612011-11-12 Martin Rudalics <rudalics@gmx.at>
8662
8663 * window.el (window-resize, delete-window): Use window-splits
8664 variable instead of function.
8665 (window-state-get-1, window-state-put-2, window-state-put):
8666 Don't deal with windows' splits status.
8667
98282f6f
GM
86682011-11-12 Glenn Morris <rgm@gnu.org>
8669
8670 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8671 (apropos-documentation): Doc fixes.
8672
40a8bdf6
JB
86732011-11-11 Juanma Barranquero <lekktu@gmail.com>
8674
8675 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8676 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8677
65bd19ff
SM
86782011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8679
8680 * electric.el (electric-indent-post-self-insert-function): Make it
8681 possible for a char to only indent in some circumstances.
8682 (electric-indent-mode): Simplify.
8683
54f9154c
MR
86842011-11-11 Martin Rudalics <rudalics@gmx.at>
8685
8686 * window.el (windows-with-parameter): Remove unused function.
8687 (windows-at-side): Rename to window-at-side-list.
8688 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8689 (window-side-check, window-size-ignore, window-size-fixed-1)
8690 (window-in-direction-2): Prefix with "window--".
8691 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8692
68cbc58b
GM
86932011-11-11 Glenn Morris <rgm@gnu.org>
8694
8695 * subr.el (eval-after-load): If FILE is already loaded,
8696 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8697
b2621720
GM
86982011-11-10 Glenn Morris <rgm@gnu.org>
8699
9a4de110
GM
8700 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8701 Call svn via vc-svn-command rather than vc-do-command.
8702 (vc-svn-command): Add --non-interactive. (Bug#9993)
8703 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8704
b2621720
GM
8705 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8706 Add toggle-read-only. (Bug#7292)
8707 * files.el (toggle-read-only): Mention that it should only
8708 be used interactively. (Bug#10006)
8709
1dce7193
SM
87102011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8711
d9ac1a1e
SM
8712 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8713 Adjust regexp for OCaml warnings.
8714
0c325082
SM
8715 * electric.el (electric-pair-post-self-insert-function): Let user
8716 turn it off buffer-locally (bug#9932).
8717
90132c14
SM
8718 * progmodes/python.el (python-beginning-of-statement):
8719 Rewrite (bug#2703).
8720
1dce7193
SM
8721 * progmodes/compile.el: Better handle TABs (bug#9749).
8722 (compilation-internal-error-properties)
8723 (compilation-next-error-function): Obey the target buffer's
8724 compilation-error-screen-columns.
8725
c4e7c63a
JB
87262011-11-09 Juanma Barranquero <lekktu@gmail.com>
8727
8728 * progmodes/meta-mode.el: Remove obsolete comments.
8729 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8730 Fix typos in docstrings.
8731
2cffd681
MR
87322011-11-09 Martin Rudalics <rudalics@gmx.at>
8733
8734 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8735 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8736 (window--resizable): New function. Make all callers of
8737 window-resizable call window--resizable instead.
8738 (window-resizable): Rewrite in terms of window--resizable.
8739
0edcba87
GM
87402011-11-08 Glenn Morris <rgm@gnu.org>
8741
8742 * progmodes/delphi.el (delphi-mode-syntax-table):
8743 Let define-derived-mode define a proper syntax table. (Bug#9994)
8744
4b0d61e3
SM
87452011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8746
8747 * window.el: Stay away from defsubst.
8748 (window-list-no-nils): Remove.
8749 (window-state-get-1, window-state-get): Use backquote instead.
8750
cd394be1 87512011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8752
4b0d61e3 8753 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8754 Fix incorrect use of default argument in `completing-read'.
8755
e1c2c6f2
MR
87562011-11-08 Martin Rudalics <rudalics@gmx.at>
8757
8758 * window.el (display-buffer-function, special-display-function):
8759 Mention display-buffer-record-window but do not mention
8760 help-setup parameter in doc-strings.
b3f4a882 8761 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8762
105216ed
CY
87632011-11-08 Chong Yidong <cyd@gnu.org>
8764
8765 * window.el (window-total-height, window-total-width): Doc fix.
8766 (window-body-size): Move from C.
8767 (window-body-height, window-body-width): Move to C.
8768
0a9f9ab5
SM
87692011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8770
8771 * window.el: Make special-display like display-buffer-alist (bug#9532).
8772 (display-buffer--special-action): New function, morphed
8773 from display-buffer--special.
8774 (display-buffer): Use it to handle special-display-buffers at higher
8775 priority (just after display-buffer-alist).
8776 (display-buffer-fallback-action, display-buffer--other-frame-action)
8777 (pop-to-buffer-same-window): Remove display-buffer--special.
8778
a769dd15
GM
87792011-11-07 Glenn Morris <rgm@gnu.org>
8780
8781 * calendar/cal-menu.el (cal-menu-set-date-title):
8782 Do nothing if not in a calendar. (Bug#9976)
8783
05a61ee3
SM
87842011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8785
8786 * files.el (find-file): Always use selected-window.
8787
be7f5545
MR
87882011-11-07 Martin Rudalics <rudalics@gmx.at>
8789
8790 * window.el (window-combinations): Make WINDOW argument
8791 mandatory. Rewrite doc-string.
8792 (walk-window-subtree, window-atom-check, window-min-delta)
8793 (window-max-delta, window--resize-this-window)
8794 (window--resize-root-window-vertically, window-tree)
8795 (balance-windows, window-state-put): Rewrite doc-strings as to
8796 not mention the term "subwindow".
8797 (window--resize-subwindows-skip-p): Rename to
8798 window--resize-child-windows-skip-p.
8799 (window--resize-subwindows-normal): Rename to
8800 window--resize-child-windows-normal.
8801 (window--resize-subwindows): Rename to
8802 window--resize-child-windows.
8803 (window-or-subwindow-p): Rename to window--in-subtree-p.
8804
3c6702ef
ML
88052011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8806
8807 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8808 Ensure that mbox format messages end in two newlines (Bug#9974).
8809
49745b39
CY
88102011-11-06 Chong Yidong <cyd@gnu.org>
8811
8812 * window.el (window-combination-p): Function deleted; its
8813 side-effect is not used in any existing code.
8814 (window-combinations, window-combined-p): Call window-*-child
8815 directly.
8816
24300f5f
CY
88172011-11-05 Chong Yidong <cyd@gnu.org>
8818
8819 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8820 (window-size-ignore, window-state-get): Callers changed.
8821 (window-normalize-window): Rename from window-normalize-any-window.
8822 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8823 (window-normalize-live-window): Delete.
447f16b8
CY
8824 (window-combination-p, window-combined-p, window-combinations)
8825 (walk-window-subtree, window-atom-root, window-min-size)
8826 (window-sizable, window-sizable-p, window-size-fixed-p)
8827 (window-min-delta, window-max-delta, window-resizable)
8828 (window-resizable-p, window-full-height-p, window-full-width-p)
8829 (window-current-scroll-bars, window-point-1, set-window-point-1)
8830 (window-at-side-p, window-in-direction, window-resize)
8831 (adjust-window-trailing-edge, maximize-window, minimize-window)
8832 (window-deletable-p, delete-window, delete-other-windows)
8833 (record-window-buffer, unrecord-window-buffer)
8834 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8835 (quit-window, split-window, window-state-put)
8836 (set-window-text-height, fit-window-to-buffer)
8837 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8838
89bd5ee1
EZ
88392011-11-04 Eli Zaretskii <eliz@gnu.org>
8840
53479029
EZ
8841 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8842 rfc2047-decode-string.
8843 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8844 warnings.
8845
89bd5ee1
EZ
8846 * window.el (window-body-height, window-body-width): Mention in
8847 the doc string that the return values are in frame's canonical
8848 units. (Bug#9949)
8849
bd17fdee
AM
88502011-11-03 Alan Mackenzie <acm@muc.de>
8851
8852 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8853 change in cc-engine.el.
8854
acc825c5
SM
88552011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8856
8857 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8858
1885e5b8
MR
88592011-11-02 Martin Rudalics <rudalics@gmx.at>
8860
8861 * window.el (quit-window): Call unrecord-window-buffer after
8862 showing another buffer in the window. (Bug#9937)
acc825c5 8863 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8864
ebe06da9
JB
88652011-11-02 Juanma Barranquero <lekktu@gmail.com>
8866
8867 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8868 Accept status with more than 9 shelves. (Bug#9935)
8869 Reported by Colin D Bennett <colin@gibibit.com>.
8870
4ee88440
MR
88712011-11-01 Martin Rudalics <rudalics@gmx.at>
8872
8873 * help.el (with-help-window): Don't reference
8874 temp-buffer-show-specifiers in doc-string.
8875
08e1d82c
AS
88762011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8877
8878 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8879 menu-item.
8880
84bd6e9e
VJL
88812011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8882
8883 * whitespace.el: New version 13.2.2.
8884 (whitespace-newline-mode): Disable properly. Reported by Sarah
8885 <EmacsWiki>.
8886
dba0634a
UJ
88872011-10-30 Ulf Jasper <ulf.jasper@web.de>
8888
8889 * net/newst-treeview.el: Remove "Time-stamp".
8890 (newsticker--group-manage-orphan-feeds): Do not call
8891 newsticker--treeview-tree-update.
db22a3c2
JB
8892 (newsticker-treeview-update, newsticker-treeview):
8893 Call newsticker--treeview-tree-update if necessary.
dba0634a 8894
3d8daefe
MR
88952011-10-30 Martin Rudalics <rudalics@gmx.at>
8896
8897 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8898 (window-iso-combinations): Remove "iso-" infix.
8899 Suggested by Chong Yidong.
3d8daefe
MR
8900 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8901 (window-max-delta-1, window-resize, window--resize-siblings)
8902 (window--resize-this-window, adjust-window-trailing-edge)
8903 (split-window, balance-windows-1)
8904 (shrink-window-if-larger-than-buffer):
8905 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8906 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8907
1bc4c3ae
SM
89082011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8911 in place (bug#9907).
8912 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8913 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8914 (eshell-structure-basic-command, eshell-rewrite-while-command)
8915 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8916 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8917 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8918 (eshell-do-pipelines-synchronously, eshell-eval-command):
8919 Use backquotes and prefer setq to set.
8920 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8921 (eshell-macrop): Use functionp.
c1e2f5fa 8922 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8923
30b65d9c
CY
89242011-10-30 Chong Yidong <cyd@gnu.org>
8925
8926 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8927 instead of set-mark (Bug#9810).
8928
2d197ffb
CY
89292011-10-30 Chong Yidong <cyd@gnu.org>
8930
8931 * window.el (split-window-below, split-window-right): Rename from
8932 split-window-above-each-other and split-window-side-by-side
8933 respectively. All callers changed.
8934 (split-window-sensibly, split-window-sensibly): Use them.
8935 (split-window-keep-point): Doc fix.
8936
8937 * isearch.el: Add isearch-scroll property to split-window-below
8938 and split-window-right.
8939
8940 * follow.el (follow-mode):
8941 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8942 * progmodes/ada-xref.el (ada-gdb-application):
8943 * emulation/vip.el (vip-buffer-in-two-windows):
8944 * image-dired.el (image-dired-dired-with-window-configuration):
8945 * dired-x.el (dired-do-find-marked-files):
8946 * dired.el (dired-pop-to-buffer):
8947 * bs.el (bs--show-with-configuration):
8948 * vc/emerge.el (emerge-setup-windows):
8949 * textmodes/two-column.el (2C-two-columns):
8950 * textmodes/reftex-toc.el (reftex-toc):
8951 * progmodes/gdb-mi.el (gdb-setup-windows):
8952 * progmodes/fortran.el (fortran-window-create):
8953 * net/newst-treeview.el (newsticker--treeview-window-init):
8954 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8955 * emulation/tpu-edt.el (tpu-gold-map):
8956 * emulation/crisp.el (crisp-mode-map):
8957 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8958
38bb2ca8
CY
89592011-10-29 Chong Yidong <cyd@gnu.org>
8960
aa4de341
CY
8961 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8962
e1eb5385
CY
8963 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8964
5d2ece3c
CY
8965 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8966 forged Ispell output (Bug#7904).
8967
38bb2ca8
CY
8968 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8969
d0af9f77
SM
89702011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8971
8972 * doc-view.el: Avoid ugly errors about not finding nil.
8973 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8974 (doc-view-dvipdf-program, doc-view-unoconv-program)
8975 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8976 Avoid nil or absolute file name as default value.
8977 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8978
52bedd34
AM
89792011-10-28 Alan Mackenzie <acm@muc.de>
8980
db22a3c2 8981 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8982
7e43cfa5
AM
89832011-10-28 Alan Mackenzie <acm@muc.de>
8984
8985 Amend the handling of c-beginning/end-of-defun in nested declaration
8986 scopes.
8987
52bedd34
AM
8988 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8989 cc-langs.el. Change it to a defcustom.
7e43cfa5 8990
52bedd34
AM
8991 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8992 cc-vars.el.
7e43cfa5 8993
d0af9f77
SM
8994 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8995 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8996
52bedd34 8997 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8998 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8999 (c-widen-to-enclosing-decl-scope): New function.
9000 (c-while-widening-to-decl-block): New macro.
9001 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9002 outward for defun boundaries, and correspondingly change symbol
9003 `respect-enclosure' to `go-outward'.
9004 (c-declaration-limits): Change algorithm to report only the "innermost"
9005 defun's boundaries.
9006
1a2ce9ee
DD
90072011-10-28 Deniz Dogan <deniz@dogan.se>
9008
9009 * net/rcirc.el (rcirc-mode): Use hard newlines.
9010
bc97a826
AM
90112011-10-28 Alan Mackenzie <acm@muc.de>
9012
9013 Amend to indent and fontify macros "which include their own semicolon"
9014 correctly, using the "virtual semicolon" mechanism.
9015
52bedd34 9016 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9017
d0af9f77 9018 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9019 Recode to scan one line at a time rather than having \n and \r
58179cce 9020 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9021 (c-forward-label): Amend for virtual semicolons.
58179cce 9022 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9023
52bedd34
AM
9024 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9025 of the new C macros.
bc97a826 9026
52bedd34 9027 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9028 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9029 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9030 (c-opt-cpp-macro-define): Make into a full language variable.
9031 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9032 AWK Mode (including \n, \r) removed, no longer needed.
9033
d0af9f77
SM
9034 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9035 Invoke c-make-macro-with-semi-re.
bc97a826 9036
52bedd34
AM
9037 * progmodes/cc-vars.el (c-macro-with-semi-re):
9038 (c-macro-names-with-semicolon): New variables.
58179cce 9039 (c-make-macro-with-semi-re): New function.
bc97a826 9040
7a6c0941
SM
90412011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9042
9043 * vc/log-edit.el: Fill empty field rather than adding new one.
9044 (log-edit-add-field): New function.
9045 (log-edit-insert-changelog): Use it.
9046
b0c4cdcf
ML
90472011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9048
9049 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9050
ee1f1da9
SM
90512011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9052
9053 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9054 (gdb--check-interpreter): New function.
9055 (gdb): Use it.
9056
51bc5f8b
GM
90572011-10-27 Glenn Morris <rgm@gnu.org>
9058
416a2c45
GM
9059 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9060 (least-positive-float, least-negative-float)
9061 (least-positive-normalized-float, least-negative-normalized-float)
9062 (float-epsilon, float-negative-epsilon):
9063 Remove unnecessary declarations.
9064
9065 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9066 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9067 (least-positive-float, least-negative-float)
9068 (least-positive-normalized-float, least-negative-normalized-float)
9069 (float-epsilon, float-negative-epsilon): Add doc-strings,
9070 based on those in cl.texi.
9071
51bc5f8b
GM
9072 * files.el (set-visited-file-name): If the major-mode changed,
9073 reload the local variables. (Bug#9796)
9074
15de15c6
CY
90752011-10-27 Chong Yidong <cyd@gnu.org>
9076
9077 * subr.el (change-major-mode-after-body-hook): New hook.
9078 (run-mode-hooks): Run it.
9079
ee1f1da9
SM
9080 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9081 Use change-major-mode-before-body-hook.
15de15c6
CY
9082
9083 * simple.el (fundamental-mode):
9084 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9085 change introducing fundamental-mode-hook.
9086
5430d399
JB
90872011-10-26 Juanma Barranquero <lekktu@gmail.com>
9088
acc825c5 9089 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9090
ad74a69e
MA
90912011-10-26 Michael Albinus <michael.albinus@gmx.de>
9092
9093 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9094 tramp.el explicitly. (Bug#7583)
ad74a69e 9095
71d4c2a5
SM
90962011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9097
9098 * progmodes/octave-mod.el:
9099 * progmodes/octave-inf.el: Update maintainer.
9100
b1f6fa26
CY
91012011-10-26 Chong Yidong <cyd@gnu.org>
9102
9103 * subr.el (with-wrapper-hook): Rewrite doc.
9104
3f04efd6
MA
91052011-10-25 Michael Albinus <michael.albinus@gmx.de>
9106
9107 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9108 filenames "/method:foo:". (Bug#9793)
3f04efd6 9109
410488d3
SM
91102011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9113 (bug#9865).
9114
c1ebb47e
GM
91152011-10-24 Glenn Morris <rgm@gnu.org>
9116
9117 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9118
7f5c46c7
MA
91192011-10-24 Michael Albinus <michael.albinus@gmx.de>
9120
9121 * notifications.el: Add the requirement of a running D-Bus session
9122 bus to the Commentary.
9123
db2440b6
JL
91242011-10-24 Juri Linkov <juri@jurta.org>
9125
9126 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9127 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9128 (Bug#9364)
9129
feecf435
JL
91302011-10-24 Juri Linkov <juri@jurta.org>
9131
9132 * info.el (Info-following-node-name-re): Add newline to the list
9133 of allowed characters for leading space. (Bug#9824)
9134
a3839de2
SM
91352011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9136
acc825c5
SM
9137 * progmodes/octave-inf.el (inferior-octave-mode-map):
9138 Fix C-c C-h binding.
a3839de2
SM
9139 * progmodes/octave-mod.el (octave-help): Remove.
9140
09388e76
MA
91412011-10-23 Michael Albinus <michael.albinus@gmx.de>
9142
9143 Sync with Tramp 2.2.3.
9144
9145 * net/tramp-cache.el (top): Pacify byte-compiler using
9146 `init-file-user' and `site-run-file'.
9147
9148 * net/trampver.el: Update release number.
9149
86c60681
CY
91502011-10-23 Chong Yidong <cyd@gnu.org>
9151
9152 * files.el (toggle-read-only): Remove obsolete comment about
9153 version control.
9154
9155 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9156 for toggle-read-only. Note that this hasn't called vc-next-action
9157 since 2008-05-02, though it wasn't documented at the time.
9158
a3839de2
SM
9159 * vc/ediff-init.el (ediff-toggle-read-only-function):
9160 Use toggle-read-only.
86c60681 9161
cd5495ff
AM
91622011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9163
9164 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9165 of c-parse-state.
9166
00b77525 9167 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9168 correct faulty logical expression.
cd5495ff
AM
9169 (c-parse-state-state, c-record-parse-state-state):
9170 (c-replay-parse-state-state): New defvar/defuns.
9171 (c-debug-parse-state): Use new functions.
9172
42ee24ed
MR
91732011-10-22 Martin Rudalics <rudalics@gmx.at>
9174
9175 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9176 last fix. Use window-in-direction correctly.
42ee24ed 9177
a7dee7e7
CY
91782011-10-21 Chong Yidong <cyd@gnu.org>
9179
9180 * progmodes/idlwave.el (idlwave-mode):
9181 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9182 require-final-newline; that's done in prog-mode.
9183 Suggested by Stefan Monnier.
a7dee7e7 9184
e07b9a6d
MR
91852011-10-21 Martin Rudalics <rudalics@gmx.at>
9186
9187 * mouse.el (mouse-drag-window-above)
9188 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9189 (mouse-drag-mode-line-1, mouse-drag-header-line)
9190 (mouse-drag-vertical-line-rightward-window): Remove.
9191 (mouse-drag-line): New function.
9192 (mouse-drag-mode-line, mouse-drag-header-line)
9193 (mouse-drag-vertical-line): Call mouse-drag-line.
9194 * window.el (window-at-side-p, windows-at-side): New functions.
9195
7e1361d9
UM
91962011-10-21 Ulrich Mueller <ulm@gentoo.org>
9197
9198 * tar-mode.el (tar-grind-file-mode):
9199 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9200
30fcaf3a
CY
92012011-10-21 Chong Yidong <cyd@gnu.org>
9202
9203 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9204 * progmodes/vera-mode.el (vera-mode):
9205 Use mode-require-final-newline.
30fcaf3a 9206
516eddb0
GM
92072011-10-20 Glenn Morris <rgm@gnu.org>
9208
db22a3c2 9209 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9210
10d5f513
CS
92112011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9212
9213 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9214
ac6c8639
CY
92152011-10-20 Chong Yidong <cyd@gnu.org>
9216
9217 * emulation/cua-base.el (cua-mode):
9218 * mail/footnote.el (footnote-mode):
9219 * mail/mailabbrev.el (mail-abbrevs-mode):
9220 * net/xesam.el (xesam-minor-mode):
9221 * progmodes/bug-reference.el (bug-reference-mode):
9222 * progmodes/cap-words.el (capitalized-words-mode):
9223 * progmodes/compile.el (compilation-minor-mode)
9224 (compilation-shell-minor-mode):
9225 * progmodes/gud.el (gud-tooltip-mode):
9226 * progmodes/hideif.el (hide-ifdef-mode):
9227 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9228 * progmodes/subword.el (subword-mode):
9229 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9230 * progmodes/which-func.el (which-function-mode):
9231 * term/tvi970.el (tvi970-set-keypad-mode):
9232 * term/vt100.el (vt100-wide-mode):
9233 * textmodes/flyspell.el (flyspell-mode):
9234 * textmodes/ispell.el (ispell-minor-mode):
9235 * textmodes/nroff-mode.el (nroff-electric-mode):
9236 * textmodes/paragraphs.el (use-hard-newlines):
9237 * textmodes/refill.el (refill-mode):
9238 * textmodes/reftex.el (reftex-mode):
9239 * textmodes/rst.el (rst-minor-mode):
9240 * textmodes/sgml-mode.el (html-autoview-mode)
9241 (sgml-electric-tag-pair-mode):
9242 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9243 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9244 * emulation/crisp.el (crisp-mode):
9245 * emacs-lisp/eldoc.el (eldoc-mode):
9246 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9247 minor mode behavior.
9248
aa42ab43
JL
92492011-10-19 Juri Linkov <juri@jurta.org>
9250
9251 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9252 the list of hard-coded chars with escape-glyph face.
9253
89400f1d
SM
92542011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9255
9256 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9257
305c07f6
MA
92582011-10-19 Michael Albinus <michael.albinus@gmx.de>
9259
9260 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9261 running process.
9262
13754b54
GM
92632011-10-19 Glenn Morris <rgm@gnu.org>
9264
9265 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9266 Ignore ignored files. (Bug#9726)
9267
06e21633
CY
92682011-10-19 Chong Yidong <cyd@gnu.org>
9269
9270 Doc fix for minor modes, stating that an omitted argument enables
9271 the mode unconditionally when called from Lisp.
9272
9273 * abbrev.el (abbrev-mode):
9274 * allout.el (allout-mode):
9275 * autoinsert.el (auto-insert-mode):
9276 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9277 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9278 (global-auto-revert-mode):
9279 * battery.el (display-battery-mode):
9280 * composite.el (global-auto-composition-mode)
9281 (auto-composition-mode):
9282 * delsel.el (delete-selection-mode):
9283 * desktop.el (desktop-save-mode):
9284 * dired-x.el (dired-omit-mode):
9285 * dirtrack.el (dirtrack-mode):
9286 * doc-view.el (doc-view-minor-mode):
9287 * double.el (double-mode):
9288 * electric.el (electric-indent-mode, electric-pair-mode):
9289 * emacs-lock.el (emacs-lock-mode):
9290 * epa-hook.el (auto-encryption-mode):
9291 * follow.el (follow-mode):
9292 * font-core.el (font-lock-mode):
9293 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9294 * help.el (temp-buffer-resize-mode):
9295 * hilit-chg.el (highlight-changes-mode)
9296 (highlight-changes-visible-mode):
9297 * hi-lock.el (hi-lock-mode):
9298 * hl-line.el (hl-line-mode, global-hl-line-mode):
9299 * icomplete.el (icomplete-mode):
9300 * ido.el (ido-everywhere):
9301 * image-file.el (auto-image-file-mode):
9302 * image-mode.el (image-minor-mode):
9303 * iswitchb.el (iswitchb-mode):
9304 * jka-cmpr-hook.el (auto-compression-mode):
9305 * linum.el (linum-mode):
9306 * longlines.el (longlines-mode):
9307 * master.el (master-mode):
9308 * mb-depth.el (minibuffer-depth-indicate-mode):
9309 * menu-bar.el (menu-bar-mode):
9310 * minibuf-eldef.el (minibuffer-electric-default-mode):
9311 * mouse-sel.el (mouse-sel-mode):
9312 * msb.el (msb-mode):
9313 * mwheel.el (mouse-wheel-mode):
9314 * outline.el (outline-minor-mode):
9315 * paren.el (show-paren-mode):
9316 * recentf.el (recentf-mode):
9317 * reveal.el (reveal-mode, global-reveal-mode):
9318 * rfn-eshadow.el (file-name-shadow-mode):
9319 * ruler-mode.el (ruler-mode):
9320 * savehist.el (savehist-mode):
9321 * scroll-all.el (scroll-all-mode):
9322 * scroll-bar.el (scroll-bar-mode):
9323 * server.el (server-mode):
9324 * shell.el (shell-dirtrack-mode):
9325 * simple.el (auto-fill-mode, transient-mark-mode)
9326 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9327 (line-number-mode, column-number-mode, size-indication-mode)
9328 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9329 * strokes.el (strokes-mode):
9330 * time.el (display-time-mode):
9331 * t-mouse.el (gpm-mouse-mode):
9332 * tool-bar.el (tool-bar-mode):
9333 * tooltip.el (tooltip-mode):
9334 * type-break.el (type-break-mode-line-message-mode)
9335 (type-break-query-mode):
9336 * view.el (view-mode):
9337 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9338 (global-whitespace-mode, global-whitespace-newline-mode):
9339 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9340
a3839de2
SM
9341 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9342 Fix autogenerated docstring.
06e21633 9343
5214e501
JL
93442011-10-19 Juri Linkov <juri@jurta.org>
9345
9346 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9347 by checking environment variables "DESKTOP_SESSION" and
9348 "XDG_CURRENT_DESKTOP". (Bug#9779)
9349
195f8db9
JL
93502011-10-19 Juri Linkov <juri@jurta.org>
9351
9352 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9353 (browse-url-chromium-program, browse-url-chromium-arguments):
9354 New defcustoms.
9355 (browse-url-default-browser): Check for `browse-url-chromium' and
9356 call `browse-url-chromium-program'.
9357 (browse-url-chromium): New command. (Bug#9779)
9358
343a34ff
JB
93592011-10-18 Juanma Barranquero <lekktu@gmail.com>
9360
9361 * facemenu.el (list-colors-duplicates): On Windows, detect more
9362 duplicates by assuming that only colors matching "^System" are
9363 special "system colors". (Bug#9722)
9364
6978a151
SM
93652011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9366
9367 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9368 to distinguish the author from the committer.
9369
6a80b297
MA
93702011-10-18 Michael Albinus <michael.albinus@gmx.de>
9371
9372 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9373
b31a5677
JK
93742011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9375
9376 * international/mule.el (sgml-html-meta-auto-coding-function):
9377 Add support for detecting encoding in HTML5 specified only as
9378 <meta charset="UTF-8">. Implementation just makes http-equiv and
9379 content-type parts from HTML4 encoding string optional. (Bug#9716)
9380
80c6d77f
GM
93812011-10-18 Glenn Morris <rgm@gnu.org>
9382
9383 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9384
08b0fee8
CY
93852011-10-18 Chong Yidong <cyd@gnu.org>
9386
9387 * faces.el (cursor): Doc fix.
9388
67e729a5
CY
93892011-10-17 Chong Yidong <cyd@gnu.org>
9390
9391 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9392
343a34ff 93932011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9394
9395 * dirtrack.el (dirtrack): Support shell buffers with path
9396 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9397
0bc06380
TZ
93982011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9399
9400 * json.el: Bump version to 1.3 and note change in History.
9401 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9402
8b79f3e0
SM
94032011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9404
5a7c536b
SM
9405 * comint.el (comint-insert-input, comint-send-input)
9406 (comint-get-old-input-default, comint-backward-matching-input)
9407 (comint-next-prompt): Use nil instead of `input' for field property of
9408 past user input (bug#114).
9409
96a8a0df
SM
9410 * minibuffer.el (completion--replace): Inherit surrounding properties
9411 (bug#114).
9412 (minibuffer-complete-and-exit): Use it.
9413
8b79f3e0
SM
9414 * comint.el (comint--table-subvert): Quote the all-completions output
9415 (bug#9160).
9416
b8f7ff0d
MR
94172011-10-17 Martin Rudalics <rudalics@gmx.at>
9418
8b79f3e0 9419 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9420
b8f7ff0d 9421 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9422 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9423 entries and separate them from frame entries.
9424
c235b555
GM
94252011-10-15 Glenn Morris <rgm@gnu.org>
9426
9427 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9428 Doc fixes.
9429
6bbfa6e1
CY
94302011-10-15 Chong Yidong <cyd@stupidchicken.com>
9431
8b79f3e0
SM
9432 * net/network-stream.el (network-stream-open-starttls):
9433 Improve detection of failure due to lack of TLS support.
ec5c990d 9434
6bbfa6e1
CY
9435 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9436 putting the input text in front and in bold.
9437
98488977
SM
94382011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9439
3d1337be
SM
9440 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9441
ee0b45e4
SM
9442 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9443 empty buffer.
9444
98488977
SM
9445 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9446 unread-command-events rather than pushing yet-another event.
9447
186f4720
EZ
94482011-10-14 Eli Zaretskii <eliz@gnu.org>
9449
9450 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9451 the explanation of the possible choices. Make the options passed
9452 to completing-read shorter.
9453
8b7a997c
AM
94542011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9455
9456 * textmodes/flyspell.el (flyspell-large-region): Make sure
9457 extended character mode is used if defined (Bug#1339).
9458
12587bbb
EZ
94592011-10-13 Eli Zaretskii <eliz@gnu.org>
9460
9461 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9462 character info for LRE, LRO, RLE, and RLO characters by appending
9463 an invisible PDF.
12587bbb 9464
bad41229
SM
94652011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9466
9467 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9468 even in case of error; add debug spec; simplify data flow.
9469 (with-timeout-handler): Remove.
9470
28dbc92f
MA
94712011-10-12 Michael Albinus <michael.albinus@gmx.de>
9472
9473 Fix Bug#6019, Bug#9315.
9474
9475 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9476 complete `buffer-file-name', the local file name part could look
9477 remotely (for example on VMS).
9478
9479 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9480 `tramp-run-real-handler'.
9481 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9482 already quoted by '"'.
9483
9484 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9485 Let `file-name-handler-alist' be nil, the local file name part
9486 could look remotely (for example on VMS).
9487
e1b0b23a
SM
94882011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9489
9490 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9491 from here...
9492 (flyspell-post-command-hook): ...to here.
9493
a120bde9
SM
94942011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9497 if not needed.
9498 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9499 using completion. Protect against "slow" callers.
9500 Remove the "message hack".
9501
7ce7717b
JL
95022011-10-11 Juri Linkov <juri@jurta.org>
9503
9504 * isearch.el (isearch-lazy-highlight-word): New variable.
9505 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9506 Use it. (Bug#9727)
9507
c02ee9d6
GM
95082011-10-11 Glenn Morris <rgm@gnu.org>
9509
9510 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9511 like f90-previous-statement does.
9512
93e616fd 95132011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9514
1f190e73 9515 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9516 only in interactive use, to avoid error.
9517
af7b6078
SM
95182011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9519
9520 * minibuffer.el (completion-file-name-table): Fix last change,
9521 i.e. ignore normal errors but not the other ones.
9522
0563dae9
MR
95232011-10-10 Martin Rudalics <rudalics@gmx.at>
9524
9525 * window.el (special-display-buffer-names)
9526 (special-display-regexps): Remove some remnants of earlier
9527 changes from doc-strings.
366ca7f3
MR
9528 (quit-windows-on): New function.
9529
9530 * vc/vc.el (vc-revert, vc-rollback):
9531 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9532 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9533 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9534
49677495
MR
95352011-10-09 Martin Rudalics <rudalics@gmx.at>
9536
9537 * window.el (frame-auto-hide-function): Add version tag.
9538 (Bug#9699)
9539
56f2d1e1
MA
95402011-10-09 Michael Albinus <michael.albinus@gmx.de>
9541
9542 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9543 condition.
9544
112a6592
LL
95452011-10-09 Leo Liu <sdl.web@gmail.com>
9546
9547 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9548 (Bug#9701)
9549
0812589b
GM
95502011-10-08 Glenn Morris <rgm@gnu.org>
9551
9552 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9553 before the first code statement zero indent. (Bug#9690)
9554
b2b0776e
CY
95552011-10-08 Chong Yidong <cyd@stupidchicken.com>
9556
9557 * simple.el (count-words-region): Always count in the region.
9558 Report the number of lines and characters too.
9559 (count-words): New command, which counts in the buffer if the
9560 region is inactive, as count-words-region used to.
9561 (count-words--message): New function. Handle plurals.
9562 (count-lines-region): Make it an alias for count-words-region.
9563
9564 * bindings.el (esc-map): Replace count-lines-region with
9565 count-words-region.
9566
c557cd6b
MR
95672011-10-08 Martin Rudalics <rudalics@gmx.at>
9568
9569 * window.el (window--delete): Delete dedicated frame
9570 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9571 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9572
61a57ef4 95732011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9574
3a7d293b 9575 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9576
c3833279
CY
95772011-10-07 Chong Yidong <cyd@stupidchicken.com>
9578
9579 * bindings.el ([M-left],[M-right]): Bind to left-word and
9580 right-word respectively.
9581
21ce8245
GM
95822011-10-07 Glenn Morris <rgm@gnu.org>
9583
9584 * cus-start.el (debug-on-quit): Fix custom type.
9585
6d823bb2
LMI
95862011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9587
0181e193
LMI
9588 * subr.el (define-key-after): Clarify that the function is not
9589 useful for non-menu keymaps.
9590
6d823bb2
LMI
9591 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9592
8e3459ce 95932011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9594
21ce8245 9595 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9596 in current minibuffer (Fix bug with recursive minibuffers).
9597
a1c2d21e
CY
95982011-10-06 Chong Yidong <cyd@stupidchicken.com>
9599
9600 * progmodes/gdb-mi.el (gdb): Doc fix.
9601
5a4cf282
MR
96022011-10-05 Martin Rudalics <rudalics@gmx.at>
9603
9604 * window.el (frame-auto-hide-function): New option replacing
9605 frame-auto-delete. Suggested by Stefan Monnier.
9606 (window--delete): Call frame-auto-hide-function instead of
9607 investigating frame-auto-delete.
c96111ea
MR
9608 (window-point-1, set-window-point-1): New functions.
9609 (window-in-direction, record-window-buffer, window-state-get-1)
9610 (display-buffer-record-window): Use window-point-1 instead of
9611 window-point.
9612 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9613
9854542e
SM
96142011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9615
9616 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9617
8943cfb0
GM
96182011-10-05 Glenn Morris <rgm@gnu.org>
9619
9620 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9621 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9622
647ab967
LL
96232011-10-05 Leo Liu <sdl.web@gmail.com>
9624
9625 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9626 works with buffer object.
9627
3ddfbced
SM
96282011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9629
9630 * mpc.el (mpc-tool-bar-map): Add labels.
9631
bdfa5dd2
GM
96322011-10-04 Glenn Morris <rgm@gnu.org>
9633
9634 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9635
0e2070b5
MR
96362011-10-04 Martin Rudalics <rudalics@gmx.at>
9637
9638 * window.el (window--delete): New function.
9639 (frame-auto-delete): Resuscitate option.
9640 (bury-buffer, replace-buffer-in-windows)
9641 (quit-window): Rewrite using window--delete.
9642 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9643 Pass display-buffer-mark-dedicated to window--display-buffer-2
9644 (Bug#9639).
9645
3dc61a09
SM
96462011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9647
915a9b64
SM
9648 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9649 returns a list (bug#9554). Add remote file name completion.
9650 * comint.el (comint--table-subvert): Curry and get quote&unquote
9651 functions as arguments.
9652 (comint--complete-file-name-data): Adjust call accordingly.
9653 * pcomplete.el (pcomplete--table-subvert): Remove.
9654 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9655
3dc61a09
SM
9656 * minibuffer.el (completion-table-case-fold): Use currying.
9657 (completion--styles-type, completion--cycling-threshold-type):
9658 New constants.
9659 (completion-styles, completion-category-overrides)
9660 (completion-cycle-threshold): Use them.
9661 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9662 completion-table-case-fold.
9663
8ea0a993
SB
96642011-10-03 Stephen Berman <stephen.berman@gmx.net>
9665
9666 * minibuffer.el (completion-category-overrides): Fix type of styles
9667 and add more user friendly tags (bug#9660).
9668
8c24b7f6
SM
96692011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9670
9671 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9672 (mule-input-method-string): New widget.
9673 (default-input-method, language-info-custom-alist): Use it.
9674
428fe61a
SM
96752011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9676
32c1fffd
SM
9677 * pcomplete.el: Require comint.
9678 (pcomplete--common-suffix): Remove.
9679 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9680 (pcomplete--table-subvert): Sync with comint--table-subvert.
9681 (pcomplete--entries): Use comint-completion-file-name-table.
9682 * comint.el (comint-unquote-filename): Simplify.
9683 (comint-completion-file-name-table): New function (bug#9616).
9684 (comint--complete-file-name-data): Use it.
9685
428fe61a
SM
9686 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9687 (pcmpl-gnu-tar-buffer): Remove.
9688 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9689 around. Make sure pcomplete-suffix-list is only changed temporarily.
9690 Don't look inside the tar's file if it's too large.
428fe61a 9691
04c52e2f
CY
96922011-10-01 Chong Yidong <cyd@stupidchicken.com>
9693
ce3cefcc
CY
9694 * cus-edit.el (custom-mode-map):
9695 * epa.el (epa-key-list-mode-map):
9696 * man.el (Man-mode-map):
9697 * startup.el (splash-screen-keymap):
9698 * simple.el (special-mode-map): Use scroll-up-command and
9699 scroll-down-command.
9700
9701 * progmodes/idlw-help.el (idlwave-help-mode-map):
9702 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9703 * net/newst-plainview.el (newsticker-mode-map):
9704 * emulation/ws-mode.el (wordstar-mode-map):
9705 * emulation/vi.el (vi-com-map):
9706 * calc/calc-graph.el (calc-graph-show-dumb):
9707 * term/sun.el (terminal-init-sun):
9708 * term/ns-win.el (global-map):
9709 * progmodes/grep.el (grep-mode-map):
9710 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9711 * mail/rmail.el (rmail-mode-map):
9712 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9713
04c52e2f
CY
9714 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9715 custom-safe-themes as special.
9716
79adf8c8
JD
97172011-10-01 Julien Danjou <julien@danjou.info>
9718
9719 * notifications.el (notifications-notify): Fix docstring.
9720
63bd50d3
PS
97212011-10-01 Per Starbäck <per@starback.se>
9722
9723 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9724
199e4c7e
MR
97252011-09-30 Martin Rudalics <rudalics@gmx.at>
9726
9727 * startup.el (command-line-1): Fix last fix by inserting
9728 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9729 (Bug#9605) and (Bug#9636)
199e4c7e 9730
fe5f08dd
EZ
97312011-09-29 Eli Zaretskii <eliz@gnu.org>
9732
9733 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9734 window is hscrolled, move by logical lines. (Bug#9607)
9735 (line-move-visual): Update the doc string to the above effect.
9736
b5516bbd
MR
97372011-09-29 Martin Rudalics <rudalics@gmx.at>
9738
ccee00c0
MR
9739 * window.el (display-buffer-record-window): When WINDOW is the
9740 selected window use `point' instead of `window-point'. (Bug#9626)
9741
b5516bbd
MR
9742 * startup.el (command-line-1): Use insert-before-markers when
9743 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9744
b5516bbd
MR
9745 * help.el (help-window): Remove variable.
9746
52aa0014
GM
97472011-09-29 Glenn Morris <rgm@gnu.org>
9748
9749 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9750
df9a7357
JB
97512011-09-29 Juanma Barranquero <lekktu@gmail.com>
9752
9753 * descr-text.el (describe-char-categories): Accept category
9754 descriptions more than one line long.
9755
a8406c20
SM
97562011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9757
88d9610c
SM
9758 * simple.el (delete-trailing-whitespace): Fix last change.
9759
a5daf810
SM
9760 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9761 Don't confuse "y => 3" as the beginning of a `y' operation.
9762
a8406c20
SM
9763 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9764 object has more than 4 slots (bug#9613).
9765
a239d4e9
JB
97662011-09-28 Juanma Barranquero <lekktu@gmail.com>
9767
9768 * subr.el (with-output-to-temp-buffer):
9769 * net/quickurl.el (quickurl, quickurl-browse-url):
9770 Fix typos in docstrings.
9771
693fbdb6
EZ
97722011-09-27 Eli Zaretskii <eliz@gnu.org>
9773
9774 * minibuffer.el (completion-styles)
9775 (completion-category-overrides): Cross reference each other in doc
9776 strings.
9777
8b457e28
GM
97782011-09-27 Glenn Morris <rgm@gnu.org>
9779
9780 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9781 to split-string. (Bug#9606)
9782
85a16208
LMI
97832011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9784
9785 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9786 (bug#9615).
9787
502f9ebd
CY
97882011-09-27 Chong Yidong <cyd@stupidchicken.com>
9789
9790 * emacs-lisp/package.el (list-packages): Fix echo area message.
9791
7690bdea
LL
97922011-09-27 Leo Liu <sdl.web@gmail.com>
9793
9794 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9795
e2ee6f30
MA
97962011-09-25 Michael Albinus <michael.albinus@gmx.de>
9797
9798 * net/dbus.el (dbus-unregister-object): Don't release services for
9799 registered signals. (Bug#9581)
9800
f3f98342
TZ
98012011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9802
9803 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9804 function that picks between cfengine 2 and 3 support
9805 automatically. Update docs accordingly.
9806
dd7aa8dd
KH
98072011-09-22 Kenichi Handa <handa@m17n.org>
9808
9809 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9810 ZERO.
9811 (indian-itrans-v5-table-for-tamil): New variable.
9812 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9813
3f2b07f8
KM
98142011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9815
9816 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9817 that's true if the current command involved collapsing of text.
9818 It's reset to false at the beginning of the next command.
9819 (allout-post-command-business): Move the cursor to the beginning
9820 of entry if the cursor is hidden and collapsing activity just
9821 happened.
9822
371d6a61
CY
98232011-09-24 Chong Yidong <cyd@stupidchicken.com>
9824
9825 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9826 tracking (Bug#9541).
9827
2ac2721a
UJ
98282011-09-24 Ulf Jasper <ulf.jasper@web.de>
9829
9830 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9831 (newsticker-show-news): Automatically load html rendering package
9832 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9833 because w3m-fill-column is let-bound" and the error "Symbol's value
9834 as variable is void: w3m-fill-column".
2ac2721a 9835
fac7ae53
MA
98362011-09-24 Michael Albinus <michael.albinus@gmx.de>
9837
9838 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9839 Release services only if they are defined. (Bug#9581)
9840
e08b633b
RS
98412011-09-23 Richard Stallman <rms@gnu.org>
9842
e488d29c
RS
9843 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9844 distinguish start of paragraph from start of its text.
9845
19c38752
RS
9846 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9847
e08b633b
RS
9848 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9849 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9850 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9851
0a39f27e
AS
98522011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9853
9854 * international/mule-diag.el (mule-diag): Insert a newline after
9855 each fontset description.
9856
db4e950d
SM
98572011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9858
9859 * simple.el (delete-trailing-whitespace):
9860 Document last change; simplify.
9861
eca3f3ea
PW
98622011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9863
d68e189a
PW
9864 * simple.el (delete-trailing-whitespace): Also delete
9865 extra newlines at the end of the buffer.
9866
eca3f3ea
PW
9867 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9868 (picture-newline): Use forward-line so as to ignore fields.
9869
01c157cc
SM
98702011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * subr.el (with-wrapper-hook): Fix edebug spec.
9873
022de23e
LMI
98742011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9875
9876 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9877 (bug#4538).
9878
91683089
MA
98792011-09-23 Michael Albinus <michael.albinus@gmx.de>
9880
eca3f3ea
PW
9881 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9882 Fix nasty bug using wrong cached values.
91683089 9883
5bdd6fa4
AM
98842011-09-23 Alan Mackenzie <acm@muc.de>
9885
9886 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9887
97adfb97
CY
98882011-09-23 Chong Yidong <cyd@stupidchicken.com>
9889
9890 * window.el (pop-to-buffer): Ensure right window is selected if we
9891 chose another frame.
9892
d4ef2b50
EZ
98932011-09-22 Eli Zaretskii <eliz@gnu.org>
9894
9895 * simple.el (what-cursor-position): Use get-char-property-change
9896 and next-single-char-property-change, to be able to show display
9897 properties that come from overlays as well as text properties.
9898
72258fe5
CY
98992011-09-22 Chong Yidong <cyd@stupidchicken.com>
9900
9901 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9902
9903 * cmuscheme.el (run-scheme, switch-to-scheme):
9904 * cus-edit.el (customize-group, custom-buffer-create)
9905 (customize-browse):
9906 * info.el (info):
9907 * shell.el (shell):
9908 * mail/sendmail.el (mail):
9909 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9910
8f098516
RS
99112011-09-22 Richard Stallman <rms@gnu.org>
9912
9913 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9914 move back only to line beg, don't move back over blank lines.
9915
e74f1bb6
MA
99162011-09-22 Michael Albinus <michael.albinus@gmx.de>
9917
9918 * files.el (copy-directory): Set directory attributes only in case
9919 they could be retrieved from the source directory. (Bug#9565)
9920
bfeef8b6
DK
99212011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9922
9923 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9924 (hs-find-block-beginning, hs-hide-level-recursive):
9925 Ignore strings as well as comments. (Bug#9502)
9926
7e423bb8
AS
99272011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9928
9929 * progmodes/sql.el (sql-comint-postgres):
9930 Convert port number to a string. (Bug#9566)
9931
b4d72fcf
MR
99322011-09-22 Martin Rudalics <rudalics@gmx.at>
9933
9934 * window.el (quit-window): Undedicate window when switching to
9935 previous buffer. Reported by Thierry Volpiatto
9936 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9937 (special-display-popup-frame): When popping up a new frame reset
9938 its previous buffers to nil. Simplify code.
b4d72fcf 9939
a7b88dc6
MA
99402011-09-21 Michael Albinus <michael.albinus@gmx.de>
9941
9942 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9943 and process filter, as done also in `shell-command'.
9944
cf4eacfd
MR
99452011-09-21 Martin Rudalics <rudalics@gmx.at>
9946
eca3f3ea 9947 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9948 Call set-window-start with NOFORCE argument t.
9949 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9950 (quit-window): Reword doc-string. Handle new format of
9951 quit-restore parameter. Don't delete window if it has a
9952 previous buffer we can show instead of the present one.
9953 (display-buffer-record-window): Rewrite using a new format for
9954 the quit-restore window parameter
9955 (special-display-popup-frame, display-buffer-same-window)
9956 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9957 (display-buffer-pop-up-window, display-buffer-use-some-window):
9958 Adapt symbol passed to display-buffer-record-window.
9959 * help.el (help-window-setup): Handle new format of quit-restore
9960 parameter.
9961
8d28cb95
SM
99622011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9963
94ab793f
SM
9964 * faces.el (face-list): Fix docstring (bug#9564).
9965
8d28cb95
SM
9966 * window.el (display-buffer--action-function-custom-type):
9967 Don't include internal functions in the Custom interface.
9968
3820edeb
JL
99692011-09-20 Juri Linkov <juri@jurta.org>
9970
9971 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9972 (Info-forward-node, Info-backward-node, Info-next-preorder)
9973 (Info-last-preorder): Use it. (Bug#9528)
9974
5147931d
JL
99752011-09-20 Juri Linkov <juri@jurta.org>
9976
9977 * info.el (Info-last-preorder): Visit last menu item only when
9978 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9979
cf499a1a
JD
99802011-09-20 Julien Danjou <julien@danjou.info>
9981
9982 * password-cache.el (password-cache-remove): Remove entries even if the
9983 value is nil, so that password with a nil value (negative caching) is
9984 possible to invalidate.
9985
f84e2fe2
LM
99862011-09-20 Lawrence Mitchell <wence@gmx.li>
9987
9988 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9989 all whitespace around breakpoint. (Bug#9553)
9990 (f90-find-breakpoint): Only break at whitespace inside a comment.
9991
78054a46
SM
99922011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9993
9994 * minibuffer.el (completion-file-name-table): Keep track of errors.
9995 (completion-table-with-predicate): Handle the case where pred1 is nil.
9996 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9997
345083b2
SM
99982011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9999
e24e27be
SM
10000 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10001 (debugger-return-value): Signal an error if the debugging context does
10002 not await any return value.
10003
345083b2
SM
10004 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10005 * image-mode.el (image-toggle-display-text)
10006 (image-toggle-display-image): Stay away from evil `intangible'.
10007
08d355e3
LL
100082011-09-19 Leo Liu <sdl.web@gmail.com>
10009
10010 * replace.el (occur-revert-arguments): Make it permanent-local.
10011 (occur-mode): Don't call font-lock-defontify.
10012
f01da43f
CY
100132011-09-19 Chong Yidong <cyd@stupidchicken.com>
10014
10015 * net/ldap.el (ldap-search-internal): Don't push empty search
10016 result (Bug#9508).
10017
b6072fa6
SM
100182011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10019
10020 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10021
443d6696
MA
100222011-09-19 Michael Albinus <michael.albinus@gmx.de>
10023
10024 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10025 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10026
7cc6e154
JL
100272011-09-18 Juri Linkov <juri@jurta.org>
10028
10029 * buff-menu.el (Buffer-menu-mode-map):
10030 * dired.el (dired-mode-map):
10031 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10032 (lisp-interaction-mode-map):
10033 * emacs-lisp/package.el (package-menu-mode-map):
10034 * epa.el (epa-key-list-mode-map):
10035 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10036 (menu-bar-options-menu):
10037 * outline.el (outline-mode-menu-bar-map):
10038 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10039 * vc/vc-dir.el (vc-dir-menu-map):
10040 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10041 Capitalize non-function content words in menu item strings.
10042
10043 * dired.el (dired-mode-map): Add menu item for
10044 `image-dired-dired-toggle-marked-thumbs'.
10045
80302a81
JL
100462011-09-18 Juri Linkov <juri@jurta.org>
10047
10048 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10049 to `isearch-case-fold-search' and restore its original value
10050 after the `isearch-mode' call.
10051
46c5cf66
JL
100522011-09-18 Juri Linkov <juri@jurta.org>
10053
10054 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10055 because `zgrep' returns 1 for successful matches (bug#9226).
10056
d18b513b
JL
100572011-09-18 Juri Linkov <juri@jurta.org>
10058
10059 * info.el (Info-extract-menu-node-name): Check the second match
10060 for empty string (second test-case of bug#9528).
10061 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10062 intermediate nodes to the history (first test-case of bug#9528).
10063
72753f87
JL
100642011-09-18 Juri Linkov <juri@jurta.org>
10065
10066 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10067 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10068
c9384295
JL
100692011-09-18 Juri Linkov <juri@jurta.org>
10070
1154d12e
JB
10071 * info.el (Info-file-supports-index-cookies):
10072 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10073 outputs one more line for long file names (bug#4142).
c9384295 10074
d473dce8
CY
100752011-09-18 Chong Yidong <cyd@stupidchicken.com>
10076
10077 * newcomment.el (comment-normalize-vars): If prompting for
10078 comment-start, set comment-start-skip too (Bug#8424).
10079
2176854d
JB
100802011-09-18 Johan Bockgård <bojohan@gnu.org>
10081
10082 * icomplete.el: Fix previous fix of Bug#5849.
10083 (icomplete-mode): Don't set completion-show-inline-help.
10084 (icomplete-minibuffer-setup): Set completion-show-inline-help
10085 locally during icompletion.
10086
3aace4e4
CY
100872011-09-18 Chong Yidong <cyd@stupidchicken.com>
10088
c940224f
CY
10089 * woman.el (woman2-process-escapes): Don't delete unrecognized
10090 escapes (Bug#7843).
10091
3aace4e4
CY
10092 * files.el (inhibit-first-line-modes-regexps): Add image files.
10093 (hack-local-variables-prop-line): Return nil for malformed
10094 prop-lines (Bug#9044).
10095
710dec63
MA
100962011-09-18 Michael Albinus <michael.albinus@gmx.de>
10097
10098 * net/tramp.el (top): Don't require 'shell.
10099 (tramp-methods): Fix docstring.
10100 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10101 Return complete remote file name. Handle "smb" case.
10102 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10103 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10104
10105 * net/tramp-compat.el (top): Require 'shell.
10106
10107 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10108 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10109 `tramp-current-host'.
10110 (tramp-get-remote-tmpdir): Remove.
10111
10112 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10113 `tramp-tmpdir' entries.
10114 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10115 (tramp-smb-handle-file-attributes): Ignore errors.
10116 (tramp-smb-wait-for-output): Check also for process end.
10117
5d5ac8ec
LMI
101182011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10119
10120 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10121 when sending QUIT (bug#9312).
10122
8c0f49f0
CY
101232011-09-17 Chong Yidong <cyd@stupidchicken.com>
10124
10125 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10126 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10127 occur-mode-display-occurrence.
10128 (occur-edit-mode): Add usage message.
10129 (occur-cease-edit): New command.
10130 (occur-after-change-function): Use text properties to find the
10131 position of the prefix text.
10132 (occur-engine): Set stickiness of prefix text properties.
10133
8f1383f7
GM
101342011-09-17 Glenn Morris <rgm@gnu.org>
10135
10136 * progmodes/etags.el (complete-tag):
10137 Fix call to completion-in-region. (Bug#9526)
10138
744ba0e3
JL
101392011-09-17 Juri Linkov <juri@jurta.org>
10140
10141 * textmodes/ispell.el (ispell-word): Add to the error message
10142 the word, ispell program name and current dictionary (bug#9121).
10143 (ispell-tex-arg-end): Capitalize "error" in the error message.
10144
d9bbf400
AS
101452011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10146
10147 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10148 check. (Bug#4251)
10149
8da11505
JL
101502011-09-17 Juri Linkov <juri@jurta.org>
10151
10152 * window.el (window-safe-min-height, window-safe-min-width):
10153 Fix typos (followup to bug#9522).
10154
a91adc7e
SJ
101552011-09-17 Sven Joachim <svenjoac@gmx.de>
10156
10157 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10158
064f328a
EZ
101592011-09-16 Eli Zaretskii <eliz@gnu.org>
10160
10161 * simple.el (line-move): If goal-column is set, move by logical
10162 lines, not by display lines. (Bug#971)
10163 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10164 to reflect the above change.
10165
e69df516
SM
101662011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10167
10168 * image.el (imagemagick-register-types): Use regexp-opt.
10169
cbb0f9ab
CY
101702011-09-15 Chong Yidong <cyd@stupidchicken.com>
10171
10172 * window.el (display-buffer-base-action): Rename from
10173 display-buffer-default-action. Make default value empty.
10174 (display-buffer-overriding-action): Convert to defvar.
10175 (display-buffer-fallback-action): New var.
10176
25322144
CY
101772011-09-15 Chong Yidong <cyd@stupidchicken.com>
10178
10179 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10180 declaration.
10181 (package--add-to-archive-contents): If there is a duplicate entry
10182 with an older version, remove it.
10183 (package-menu-mark-delete, package-menu-mark-install)
10184 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10185 (package-menu-mark-obsolete-for-deletion):
10186 Use package-menu-get-status instead of a regexp search.
25322144
CY
10187 (package-menu-get-status): Use tabulated-list-entry.
10188 (package-menu-mark-upgrades): New command.
d770725a 10189 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10190 (package-menu-execute): Do installation before deletion.
10191 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10192 instead of checking major-mode.
10193 (package-menu--find-upgrades): New function.
10194
7520339c
LMI
101952011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10196
10197 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10198 passwords in the log buffer.
65a046c4
LMI
10199 (smtpmail-process-filter): Update the process marker so that the
10200 "broken by peer" status message is inserted in the right place.
7520339c 10201
d3c30954
SM
102022011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10203
3fe48822
SM
10204 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10205 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10206 bibtex-completion-at-point-function.
10207 (bibtex-completion-at-point-function): Use them.
10208
1b8b3954
SM
10209 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10210
d3c30954
SM
10211 * mpc.el (mpc-constraints-tag-lookup): New function.
10212 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10213 also to browser "album|playlist".
10214
72779976
JL
102152011-09-14 Juri Linkov <juri@jurta.org>
10216
10217 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10218 (isearch-edit-string): Use length of `isearch-string' when
10219 `isearch-fail-pos' returns nil.
10220 (isearch-message): Remove duplicate code and call
10221 `isearch-fail-pos' with arg `t'.
10222
a0bf2bcd
CY
102232011-09-14 Chong Yidong <cyd@stupidchicken.com>
10224
17bb0a2d
CY
10225 * replace.el (occur-mode-goto-occurrence): Don't force using other
10226 window (Bug#9499).
10227
a0bf2bcd
CY
10228 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10229
f678e0b6
MR
102302011-09-14 Martin Rudalics <rudalics@gmx.at>
10231
10232 * window.el (display-buffer-window): Remove.
10233 (display-buffer-record-window): Use help-setup window parameter
10234 instead of variable display-buffer-window.
10235 (display-buffer-function, special-display-buffer-names)
10236 (special-display-function): Mention help-setup parameter instead
10237 of display-buffer-window in doc-string.
d3c30954
SM
10238 * help.el (help-window-setup): New argument help-window.
10239 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10240 Reword some messages.
10241 (with-help-window): Pass window used for displaying the buffer
10242 to help-window-setup. Don't set display-buffer-window.
10243
8e39b2e8
GM
102442011-09-13 Glenn Morris <rgm@gnu.org>
10245
10246 * emacs-lisp/debug.el (debugger-make-xrefs):
10247 Preserve point. (Bug#9462)
10248
85e9c04b
CY
102492011-09-13 Chong Yidong <cyd@stupidchicken.com>
10250
10251 * window.el (window-deletable-p): Use next-frame.
10252
1b36ed6a
MR
102532011-09-13 Martin Rudalics <rudalics@gmx.at>
10254
10255 * window.el (window-auto-delete): Remove.
10256 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10257 dedication and previous buffers.
1b36ed6a
MR
10258 (switch-to-prev-buffer): Don't delete window.
10259 (delete-windows-on): Delete a window's frame if and only if the
10260 window is dedicated.
10261 (replace-buffer-in-windows): Delete buffer's window or frame if
10262 and only if window is dedicated.
10263 (quit-window): Handle quit-restore as before last change.
4d61f28d 10264 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10265
ef8ef9fb
CY
102662011-09-13 Chong Yidong <cyd@stupidchicken.com>
10267
10268 * window.el (window-deletable-p): Never delete the last frame on a
10269 given terminal.
10270
b2cba41e
GM
102712011-09-13 Glenn Morris <rgm@gnu.org>
10272
10273 * help.el (describe-key-briefly): Copy previous standard-output change.
10274
51553db6 102752011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10276
10277 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10278
b7556719
GM
102792011-09-13 Glenn Morris <rgm@gnu.org>
10280
10281 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10282 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10283
64b51947
CY
102842011-09-12 Chong Yidong <cyd@stupidchicken.com>
10285
10286 * dired-aux.el (dired-mark-read-string): Don't return default
10287 value on empty input (Bug#9361).
10288 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10289 Omit initial minibuffer contents.
10290 (dired-do-chmod): Signal an error on empty input.
10291 (dired-mark-read-string): Don't return default on empty input.
10292
10293 * files.el (file-modes-symbolic-to-number): Doc fix.
10294
393a301e
SM
102952011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10296
10297 * international/mule-cmds.el (ucs-completions): Remove.
10298 (read-char-by-name): Use complete-with-action instead; add metadata.
10299
fa5660f9
CY
103002011-09-11 Chong Yidong <cyd@stupidchicken.com>
10301
10302 * window.el (display-buffer--action-function-custom-type)
10303 (display-buffer--action-custom-type): New vars.
10304 (display-buffer-alist, display-buffer-default-action)
10305 (display-buffer-overriding-action): Add defcustom types.
10306
4a592f66
CY
10307 * frame.el (delete-other-frames): Doc fix (Bug#276).
10308
73d56dbd
LMI
103092011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10310
10311 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10312
37ac18a3
CY
103132011-09-11 Chong Yidong <cyd@stupidchicken.com>
10314
10315 Change modes that used same-window-* vars to use switch-to-buffer.
10316
10317 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10318 Use switch-to-buffer.
10319
10320 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10321 (customize-browse, custom-buffer-create-other-window):
10322 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10323
10324 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10325 (Info-prev, Info-up, Info-speedbar-goto-node)
10326 (info-display-manual): Use switch-to-buffer.
10327 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10328
10329 * mail/sendmail.el (mail): Use switch-to-buffer.
10330 (mail-recover): Use switch-to-buffer-other-window.
10331
10332 * cmuscheme.el (run-scheme, switch-to-scheme):
10333 * ielm.el (ielm):
10334 * shell.el (shell):
10335 * net/rlogin.el (rlogin):
10336 * net/telnet.el (telnet, rsh):
10337 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10338
10195bd6
AS
103392011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10340
10341 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10342
b322f63a
LMI
103432011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10344
39d7fed6
LMI
10345 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10346 so don't mention it (bug#9301).
ba5a81f1 10347 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10348
ee0e9f11
LMI
10349 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10350 match `x', `w32' and `ns', like the manual says (bug#9029).
10351
0b1c89c1 10352 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10353 (process-kill-buffer-query-function): Mention the buffer name in
10354 the query.
0b1c89c1 10355
77549ea8
LMI
10356 * image-mode.el (image-next-line): The line parameter is mandatory
10357 (bug#9258).
10358
803ef892
LMI
10359 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10360 which can be useful (bug#9301).
10361
12980837
LMI
10362 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10363
91054f8f
LMI
10364 * subr.el (match-string): Mention that the current buffer should
10365 be the same as the search was done in (bug#9282).
10366
b322f63a
LMI
10367 * facemenu.el: Disable the remove-* commands if the mark isn't
10368 active (bug#9162).
10369
3199b96f
CY
103702011-09-10 Chong Yidong <cyd@stupidchicken.com>
10371
10372 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10373 of display-buffer.
10374 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10375
10376 * replace.el (occur-mode-goto-occurrence)
10377 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10378 and display-buffer.
10379
10380 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10381 display-buffer.
10382
10383 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10384 special-display and same-window variables.
10385 (mail-other-window): Use switch-to-buffer-other-window.
10386 (mail-other-frame): USe switch-to-buffer-other-frame.
10387
393a301e
SM
10388 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10389 Use display-buffer-other-frame.
3199b96f
CY
10390 (gdb-display-gdb-buffer): Use pop-to-buffer.
10391
10392 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10393
10394 * progmodes/python.el: Don't set same-window-buffer-names.
10395
10396 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10397
10398 * window.el (display-buffer-alist): Add *Python*.
10399
8319e0bf
CY
104002011-09-10 Chong Yidong <cyd@stupidchicken.com>
10401
10402 * window.el (display-buffer-alist): Add entry for buffers
10403 previously handled same-window-*.
10404 (display-buffer-alist, display-buffer-default-action)
10405 (display-buffer-overriding-action): Mark as risky.
10406 (display-buffer-alist): Document action function changes.
10407 (display-buffer--same-window-action)
10408 (display-buffer--other-frame-action): New variables.
10409 (switch-to-buffer, display-buffer-other-frame): Use them.
10410 (display-buffer): Rename reuse-frame entry to reusable-frames.
10411 (display-buffer-reuse-selected-window): Function deleted.
10412 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10413 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10414 (display-buffer-special): New function.
10415 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10416 display-buffer-reuse-or-pop-window. Split off special-display
10417 part into display-buffer-special.
10418 (display-buffer-use-some-window): Don't perform any special
10419 pop-up-frames handling.
10420 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10421 (display-buffer--maybe-same-window): Rename from
0d3ff375 10422 display-buffer-maybe-same-window.
8319e0bf 10423
919a69aa
CY
10424 * info.el: Don't set same-window-regexps.
10425 (info-setup): New function.
10426 (info-other-window, info): Call it.
10427
10428 * cus-edit.el: Don't set same-window-regexps.
10429 (customize-group): New argument.
10430 (customize-group-other-window): Use it.
10431 (customize-face, customize-face-other-window): Likewise.
10432 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10433
8319e0bf
CY
10434 * net/rlogin.el:
10435 * net/telnet.el:
10436 * progmodes/gud.el: Don't set same-window-regexps.
10437
10438 * cmuscheme.el:
10439 * ielm.el:
10440 * shell.el:
10441 * mail/sendmail.el:
10442 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10443
25173000
JL
104442011-09-10 Juri Linkov <juri@jurta.org>
10445
10446 * isearch.el (isearch-edit-string): Remove obsolete mention of
10447 `C-w' (`isearch-yank-word-or-char') from docstring.
10448 (isearch-query-replace): Fix typo in docstring (bug#9466).
10449
056e44ef
JL
104502011-09-10 Juri Linkov <juri@jurta.org>
10451
10452 * paren.el (show-paren-function): Don't show escaped parens.
10453 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10454
c3760c17
EZ
104552011-09-10 Eli Zaretskii <eliz@gnu.org>
10456
10457 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10458 (mm-default-file-encoding): Remove autoload forms, they are
10459 replaced with autoload cookies in mml.el and mm-encode.el.
10460 (mail-add-attachment): New command.
10461 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10462 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10463 the doc string.
10464 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10465
fece895e
RT
104662011-09-10 Reuben Thomas <rrt@sc3d.org>
10467
e69df516
SM
10468 * simple.el (count-words-region): Use buffer if there's no region
10469 (bug#9429).
fece895e 10470
5e68ce4a
JL
104712011-09-09 Juri Linkov <juri@jurta.org>
10472
10473 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10474 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10475 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10476
0a6b9622
AM
104772011-09-09 Alan Mackenzie <acm@muc.de>
10478
10479 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10480 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10481
14a29deb
EZ
104822011-09-09 Eli Zaretskii <eliz@gnu.org>
10483
10484 Fix for Savannah bug#9392.
10485 * simple.el (mail-encode-mml): New defvar.
10486
10487 * mail/rmail.el (mail-encode-mml): Add a defvar.
10488 (rmail-enable-mime-composing): Default to t.
10489 (rmail-forward): Use MIME method of forwarding only if both
10490 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10491 Set mail-encode-mml non-nil if the MIME method was used.
10492
10493 * mail/sendmail.el (mml-to-mime): Add autoload form.
10494 (mail-encode-mml): Add a defvar.
10495 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10496 to nil.
10497 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10498 message through mml-to-mime, and reset mail-encode-mml to nil.
10499
28c45130
GM
105002011-09-09 Glenn Morris <rgm@gnu.org>
10501
10502 * woman.el (woman-if-body): When processing an .el block,
10503 do not delete the next .el block as well. (Bug#9447)
69f4b618 10504 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10505
9b1c252e
MR
105062011-09-08 Martin Rudalics <rudalics@gmx.at>
10507
10508 * window.el (window-deletable-p): Make sure window is live before
10509 invoking window-prev-buffers.
10510
567457e3
LL
105112011-09-08 Leo Liu <sdl.web@gmail.com>
10512
10513 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10514
97f05794
JL
105152011-09-08 Juri Linkov <juri@jurta.org>
10516
10517 * progmodes/compile.el (compilation-environment): Make it
10518 a defcustom (bug#8340).
10519
8b0874b5
MR
105202011-09-08 Martin Rudalics <rudalics@gmx.at>
10521
10522 * window.el (frame-auto-delete): Rename to window-auto-delete.
10523 Make it control auto-deletion of windows and/or frames.
10524 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10525 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10526 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10527 Rewrite handling of case when window/frame can be deleted.
10528 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10529 argument t. (Bug#9456)
8b0874b5 10530
4feb6e73
CY
105312011-09-07 Chong Yidong <cyd@stupidchicken.com>
10532
10533 * help-mode.el (help-mode): Restore autoload.
10534
91ab9c13
JL
105352011-09-07 Juri Linkov <juri@jurta.org>
10536
10537 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10538 `compilation-environment'. Set buffer-local
10539 `compilation-environment' to `thisenv' later after (funcall mode).
10540 (Bug#8340)
10541
10542 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10543 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10544 instead of replacing its value. (Bug#8340)
10545
0527e251
JL
105462011-09-07 Juri Linkov <juri@jurta.org>
10547
10548 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10549 based on text properties put by `grep-filter' instead of matching
10550 escape sequences.
10551 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10552 to the value of `grep-error-screen-columns' (bug#9438).
10553
249f792c
JL
105542011-09-07 Juri Linkov <juri@jurta.org>
10555
10556 * simple.el (next-error-highlight, next-error-highlight-no-select):
10557 Doc fix (bug#9432).
10558
ff7271b9
OT
105592011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10560
10561 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10562 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10563
183fc730
LL
105642011-09-07 Leo Liu <sdl.web@gmail.com>
10565
10566 * net/rcirc.el (rcirc-mode): Conditionally initialize
10567 rcirc-input-ring.
10568
77694924
SM
105692011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10570
10571 * emacs-lisp/find-func.el (find-function-C-source): Only set
10572 find-function-C-source-directory after checking that we found a source
10573 file there (bug#9440).
10574
d809b8eb
AM
105752011-09-06 Alan Mackenzie <acm@muc.de>
10576
10577 * isearch.el (isearch-other-meta-char): Wherever a key list is
10578 unread, "unread" the prefix arg, too. This fixes bug #8901.
10579
453de99f
OG
105802011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10581
10582 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10583
90439906
JL
105842011-09-05 Juri Linkov <juri@jurta.org>
10585
10586 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10587
f62bd846
JL
105882011-09-05 Juri Linkov <juri@jurta.org>
10589
10590 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10591 keeping point where processing of grep matches begins, and
10592 continue to delete remaining escape sequences from the same point.
10593 (grep-filter): Make leading zero optional in "0?1;31m" because
10594 git-grep emits "\033[1;31m" escape sequences unlike expected
10595 "\033[01;31m" as GNU Grep does (bug#9408).
10596 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10597
045820ec
JL
105982011-09-05 Juri Linkov <juri@jurta.org>
10599
10600 * subr.el (y-or-n-p): Capitalize "yes".
10601
f5e29b9b
MA
106022011-09-04 Michael Albinus <michael.albinus@gmx.de>
10603
10604 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10605 `tramp-cache-unload-hook' where appropriate.
10606 (tramp-methods): Rename `tramp-remote-sh' to
10607 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10608 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10609
10610 * net/tramp-sh.el (top): Don't require 'shell.
10611 (tramp-methods): Add `tramp-remote-shell' and
10612 `tramp-remote-shell-args' entries.
10613 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10614 (tramp-sh-handle-shell-command): Remove.
10615 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10616 Use `tramp-remote-shell'.
10617
2784c434
CY
106182011-09-03 Chong Yidong <cyd@stupidchicken.com>
10619
393a301e 10620 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10621 (sendmail-query-once): Save directly to send-mail-function.
10622 Update message-send-mail-function too.
10623
10624 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10625
464cdf56
CS
106262011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10627
10628 * progmodes/python.el (python-mode-map): Use correct function to
10629 start python interpreter from menu-bar (as reported by Geert
10630 Kloosterman).
10631 (inferior-python-mode-map): Fix typo.
393a301e 10632 (python-shell-map): Remove.
464cdf56 10633
d37e5c87
DD
106342011-09-03 Deniz Dogan <deniz@dogan.se>
10635
10636 * net/rcirc.el (rcirc-print): Simplify code for
10637 rcirc-scroll-show-maximum-output. There is no need to walk
10638 through all windows to find the right one.
10639
f3ada0ee
CS
106402011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10641
10642 * help.el (help-return-method): Doc fix.
10643
1f3c99ca
MR
106442011-09-03 Martin Rudalics <rudalics@gmx.at>
10645
10646 * window.el (window-deletable-p): Don't return a non-nil value
10647 when there's a buffer that was shown in the window before.
10648 (Bug#9419)
393a301e
SM
10649 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10650 Set window's previous buffers to nil.
1f3c99ca 10651
a3cf097f
EZ
106522011-09-03 Eli Zaretskii <eliz@gnu.org>
10653
10654 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10655 newline before and after the tag line, so it doesn't interfere
10656 with determining the paragraph direction of bidirectional text.
10657
3d03de90
LL
106582011-09-03 Leo Liu <sdl.web@gmail.com>
10659
10660 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10661
c3313451
CY
106622011-09-02 Chong Yidong <cyd@stupidchicken.com>
10663
393a301e 10664 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10665 (pop-to-buffer): Change interactive spec. Pass second argument
10666 directly to display-buffer.
10667 (display-buffer): Fix interactive spec. Use functionp to
10668 distinguish between a function and a list of functions.
10669
10670 * abbrev.el (edit-abbrevs):
10671 * arc-mode.el (archive-extract):
10672 * autoinsert.el (auto-insert):
10673 * bookmark.el (bookmark-bmenu-list):
10674 * files.el (find-file):
10675 * view.el (view-buffer):
10676 * progmodes/compile.el (compilation-goto-locus):
10677 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10678
89894cd8
CY
106792011-09-02 Chong Yidong <cyd@stupidchicken.com>
10680
10681 * window.el (display-buffer-alist): Doc fix.
10682 (display-buffer): Add docstring. Don't treat
10683 display-buffer-default specially.
10684 (display-buffer-reuse-selected-window)
10685 (display-buffer-same-window, display-buffer-maybe-same-window)
10686 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10687 (display-buffer-pop-up-window)
10688 (display-buffer-reuse-or-pop-window)
10689 (display-buffer-use-some-window): New functions.
10690 (display-buffer-default-action): Use them.
393a301e 10691 (display-buffer-default): Delete.
89894cd8
CY
10692 (pop-to-buffer-1): Fix choice of actions.
10693
ae0bc9fb
SM
106942011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10695
10696 * minibuffer.el (completion--insert-strings): Don't get confused by
10697 completion entries that end with an LF char.
10698
e9d90883
EZ
106992011-09-01 Eli Zaretskii <eliz@gnu.org>
10700
10701 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10702
437014c8
CY
107032011-09-01 Chong Yidong <cyd@stupidchicken.com>
10704
10705 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10706 (display-buffer-same-window, display-buffer-other-window):
10707 New functions.
437014c8
CY
10708 (pop-to-buffer-1): New function. Use the above.
10709 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10710 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10711
10712 * view.el (view-buffer-other-window, view-buffer-other-frame):
10713 Just use pop-to-buffer.
10714
a5e063d5
TV
107152011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10716
10717 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10718
793d32bb
WH
107192011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10720
10721 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10722
d65e4c15
RS
107232011-08-31 Richard Stallman <rms@gnu.org>
10724
10725 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10726 of the separation of rmail-view-buffer from rmail-buffer.
10727 If you say no to "replace original", the decrypt is in the
10728 view buffer. If you say yes, the decrypt goes into the
10729 rmail buffer also.
10730
f818cd2a
MR
107312011-08-31 Martin Rudalics <rudalics@gmx.at>
10732
10733 * window.el (display-buffer-window): Rewrite doc-string.
10734 (display-buffer-record-window): New function.
10735 (display-buffer-macro-specifiers)
10736 (display-buffer-even-window-sizes, display-buffer-set-height)
10737 (display-buffer-set-width, display-buffer-in-window)
10738 (display-buffer-reuse-window, display-buffer-split-specifiers)
10739 (display-buffer-side-specifiers, display-buffer-split-window-1)
10740 (display-buffer-split-window, display-buffer-split-atom-window)
10741 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10742 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10743 (display-buffer-other-window-means-other-frame)
10744 (display-buffer-normalize-special)
10745 (display-buffer-normalize-default)
10746 (display-buffer-normalize-argument)
10747 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10748 (display-buffer-normalize-specifiers, display-buffer-frame)
10749 (display-buffer-same-window, display-buffer-same-frame)
10750 (display-buffer-other-window)
10751 (display-buffer-same-frame-other-window)
10752 (display-buffer-other-frame, pop-to-buffer-same-window)
10753 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10754 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10755 (switch-to-buffer-same-frame)
10756 (switch-to-buffer-other-window-same-frame)
10757 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10758 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10759 (display-buffer-alist-set): Remove.
10760 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10761 (special-display-regexps, special-display-function):
10762 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10763 parameter.
10764 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10765 (special-display-frame-alist, special-display-popup-frame)
10766 (same-window-buffer-names, same-window-regexps, same-window-p)
10767 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10768 (split-window-preferred-function, split-height-threshold)
10769 (split-width-threshold, window-splittable-p)
10770 (split-window-sensibly, window--try-to-split-window)
10771 (window--frame-usable-p, even-window-heights)
10772 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10773 (window--display-buffer-2, display-buffer-other-frame):
10774 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10775 (display-buffer-default, display-buffer-assq-regexp): New functions.
10776 (display-buffer-alist): Rewrite doc-string.
10777 (display-buffer-default-action)
10778 (display-buffer-overriding-action): New variables.
10779 (display-buffer, switch-to-buffer): Rewrite.
10780 (pop-to-buffer): Restore Emacs 23 behavior but use
10781 window-normalize-buffer-to-display.
10782 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10783 Restore Emacs 23 behavior but use
10784 window-normalize-buffer-to-switch-to.
10785 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10786 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10787 Rewrite using Emacs 23 options.
f818cd2a 10788
5bc3b51d
MA
107892011-08-31 Michael Albinus <michael.albinus@gmx.de>
10790
10791 * net/tramp.el (tramp-root-regexp): Remove.
10792 (tramp-completion-file-name-regexp-unified)
10793 (tramp-completion-file-name-regexp-separate)
10794 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10795 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10796 (tramp-drop-volume-letter): Simplify definition.
10797 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10798
b1a4f8e1
SM
107992011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10800
10801 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10802 (bug#9356).
10803
5664fa7b
RT
108042011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10805
b1a4f8e1 10806 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10807
9a45d6c3
JL
108082011-08-29 Juri Linkov <juri@jurta.org>
10809
10810 * isearch.el (isearch-done): Don't display message "Mark saved"
10811 when arg `edit' is non-nil to prevent its flicker in the echo area.
10812
fb87e0fb
CY
108132011-08-28 Chong Yidong <cyd@stupidchicken.com>
10814
10815 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10816 obsolete packages for deletion.
10817
09ac1c2a
CS
108182011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10819
10820 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10821 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10822 view-mode from help-mode.
10823 (help-xref-override-view-map): Remove.
10824 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10825 view-mode is not used anymore.
10826
7a1ff57f
CY
108272011-08-28 Chong Yidong <cyd@stupidchicken.com>
10828
10829 * server.el (server-port): Doc fix.
10830
b9696605
CY
10831 * cus-theme.el (custom-theme-choose-mode): Inherit from
10832 special-mode (Bug#9124).
10833 (custom-theme-choose-mode-map): Add special-mode to parent.
10834
ef8cdf8c
AM
108352011-08-28 Alan Mackenzie <acm@muc.de>
10836
10837 * progmodes/cc-fonts.el
10838 (c-make-font-lock-BO-decl-search-function): New function.
10839 (c-basic-matchers-after - "Fontify the clauses after various
10840 keywords"): Extract the three keyword lists for the 3 erroneous
10841 constructs from the list of four, and use the new function above
10842 in place of an old one.
10843
27de4e20
DD
108442011-08-28 Deniz Dogan <deniz@dogan.se>
10845
10846 * net/rcirc.el (rcirc-insert-prev-input)
10847 (rcirc-insert-next-input): Remove unused argument.
10848
356a3681
SM
108492011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10850
10851 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10852
3fc9b218
AM
108532011-08-27 Alan Mackenzie <acm@muc.de>
10854
10855 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10856 handle function pointer parameters properly.
10857
538a061c
MR
108582011-08-27 Martin Rudalics <rudalics@gmx.at>
10859
10860 * window.el (display-buffer-reuse-window): Fix case where
10861 selected window was reused with non-nil OTHER-WINDOW argument.
10862 (Bug#9381)
10863
35b1c40c
DD
108642011-08-27 Deniz Dogan <deniz@dogan.se>
10865
10866 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10867 oftc's NickServ messages.
10868
2f6a3e79
GM
108692011-08-27 Glenn Morris <rgm@gnu.org>
10870
10871 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10872
7254299e
CY
108732011-08-26 Chong Yidong <cyd@stupidchicken.com>
10874
10875 * emacs-lisp/package.el (package-install): Call package-initialize
10876 if called interactively.
10877
f8ccf167
LL
108782011-08-26 Leo Liu <sdl.web@gmail.com>
10879
10880 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10881
3e8cd5ce
JL
108822011-08-25 Juri Linkov <juri@jurta.org>
10883
10884 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10885 `search-whitespace-regexp' (bug#9364).
10886
93eb7113
JL
108872011-08-25 Juri Linkov <juri@jurta.org>
10888
10889 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10890 `regexp-search-ring' to their global values to protect from
10891 updating by `read-from-minibuffer' (bug#9185).
10892
f65d1611
JL
108932011-08-25 Juri Linkov <juri@jurta.org>
10894
10895 * textmodes/ispell.el (ispell-command-loop): Add newline
10896 at the end of the "Use option `i'..." line.
10897
f1cf7a31
JL
108982011-08-25 Juri Linkov <juri@jurta.org>
10899
10900 * battery.el (display-battery-mode): If `battery-status-function'
10901 or `battery-mode-line-format' is nil, display the message and set
10902 `display-battery-mode' to nil (bug#9363).
10903
0c95fcf7
EZ
109042011-08-25 Eli Zaretskii <eliz@gnu.org>
10905
10906 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10907 bidi-string-mark-left-to-right; they are unnecessary now.
10908
a2ebe600
DD
109092011-08-25 Deniz Dogan <deniz@dogan.se>
10910
10911 * net/quickurl.el: Documentation typo fixes.
10912
e4ed06f1
CY
109132011-08-25 Chong Yidong <cyd@stupidchicken.com>
10914
10915 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10916
e5f1c99e
GM
109172011-08-25 Glenn Morris <rgm@gnu.org>
10918
b2948976
GM
10919 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10920
e5f1c99e
GM
10921 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10922 (smtpmail-via-smtp): Handle nil response from smtp.
10923
f22f4808
JL
109242011-08-24 Juri Linkov <juri@jurta.org>
10925
10926 * proced.el (proced-marked): Inherit from `error' instead of
10927 `font-lock-warning-face'.
10928
10929 * ibuffer.el (ibuffer-marked-face): Change default face from
10930 `font-lock-warning-face' to `warning'.
10931 (ibuffer-deletion-face): Change default face from
10932 `font-lock-type-face' to `error'.
10933
10934 * battery.el (battery-update): Use the face `error' instead of
10935 `font-lock-warning-face' (bug#6117).
10936
6a93965e
JL
109372011-08-24 Juri Linkov <juri@jurta.org>
10938
10939 * faces.el (success): Change face color from "Green3" to
10940 "ForestGreen" on light background (bug#9353).
10941
1ed43b09
CY
109422011-08-24 Chong Yidong <cyd@stupidchicken.com>
10943
5664fa7b
RT
10944 * window.el (quit-window): Rename from quit-restore-window.
10945 Use same arglist as old quit-window.
1ed43b09
CY
10946 (frame-auto-delete): Doc fix.
10947
10948 * view.el (view-mode-exit): Use quit-window.
10949
11dcdbb2
JL
109502011-08-24 Juri Linkov <juri@jurta.org>
10951
10952 * isearch.el (isearch-ring-adjust1): Start visiting previous
10953 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10954 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10955 for empty search string (when the last search string is reused
10956 automatically) to adjust the isearch ring to the last element and
10957 prepare the correct index for further M-p commands (bug#9185).
10958
de62b4df
KH
109592011-08-24 Kenichi Handa <handa@m17n.org>
10960
10961 * international/ucs-normalize.el: If decomposition property of
10962 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10963 nil.
10964 (nfd, nfkd): Likewise.
10965
963b492b
SM
109662011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10967
10968 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10969 from process filters aren't reliably transmitted to the surrounding
10970 accept-process-output.
10971 (mpc-proc-check): New function.
10972 (mpc-proc-sync): Use it (bug#8293)
10973
93b6b5e1
SM
109742011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10975
10976 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10977 Add compatibility functions (bug#9313).
10978
bca633fb
EZ
109792011-08-23 Eli Zaretskii <eliz@gnu.org>
10980
b177498a
EZ
10981 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10982
6df6ae42 10983 * international/uni-bidi.el: Regenerate.
bca633fb 10984
0902a04e
KH
109852011-08-23 Kenichi Handa <handa@m17n.org>
10986
10987 * international/charprop.el:
10988 * international/uni-bidi.el:
10989 * international/uni-category.el:
10990 * international/uni-combining.el:
10991 * international/uni-comment.el:
10992 * international/uni-decimal.el:
10993 * international/uni-decomposition.el:
10994 * international/uni-digit.el:
10995 * international/uni-lowercase.el:
10996 * international/uni-mirrored.el:
10997 * international/uni-name.el:
10998 * international/uni-numeric.el:
10999 * international/uni-old-name.el:
11000 * international/uni-titlecase.el:
11001 * international/uni-uppercase.el: Regenerate.
11002
3bbf23bc
MR
110032011-08-23 Martin Rudalics <rudalics@gmx.at>
11004
11005 * help.el (help-window-setup): Fix message displayed when other
11006 window is reused. (Bug#9341)
11007
b3fd59bd
SM
110082011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11009
1802e444
SM
11010 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11011 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11012
b3fd59bd
SM
11013 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11014 Mark obsolete.
11015 * shell.el (shell-parse-pcomplete-arguments): New function.
11016 (shell-completion-vars): Use it instead (bug#9160).
11017
4eb61348
SM
110182011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11019
867cab74
SM
11020 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11021 strings and comments (bug#9333).
11022
4eb61348
SM
11023 * emacs-lisp/debug.el (debug-arglist): New function.
11024 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11025 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11026
262a1439
JL
110272011-08-22 Juri Linkov <juri@jurta.org>
11028
56ee679c
JL
11029 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11030 Revert regexp that highlights output switches to its old
11031 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11032
262a1439
JL
11033 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11034 to check for empty output (bug#9226).
11035
f13f86fb
CY
110362011-08-22 Chong Yidong <cyd@stupidchicken.com>
11037
11038 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11039 symbol-constituent as the default, as that stops font-lock from
11040 working properly (Bug#8843).
11041
c65c9622
LMI
110422011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11043
11044 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11045 `coding-system-for-*' around the process open call to avoid
11046 auth-source side effects.
e7f2c178 11047 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11048 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11049 probe hangs.
c65c9622 11050
23a8a5ab
CY
110512011-08-21 Chong Yidong <cyd@stupidchicken.com>
11052
ff98b2dd
CY
11053 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11054
23a8a5ab
CY
11055 * emacs-lisp/find-func.el (find-function-noselect): New arg
11056 lisp-only.
11057
11058 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11059 signal an error for built-in functions (Bug#6664).
11060
f5e3c598
LMI
110612011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11062
11063 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11064 (smtpmail-try-auth-methods): Use it.
11065
a3f2468a
CY
110662011-08-21 Chong Yidong <cyd@stupidchicken.com>
11067
2c34e8da
CY
11068 * font-lock.el (font-lock-fontify-region)
11069 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11070 (font-lock-default-unfontify-buffer)
11071 (font-lock-default-fontify-region)
11072 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11073
b3fd59bd
SM
11074 * progmodes/compile.el (compilation-error-properties):
11075 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11076 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11077 `ant' regexp.
ee31aabc 11078
a3f2468a
CY
11079 * net/browse-url.el (browse-url-firefox): Don't call
11080 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11081
8e999f70
GM
110822011-08-20 Glenn Morris <rgm@gnu.org>
11083
c21a496a
GM
11084 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11085
59ee0542
GM
11086 * tutorial.el (tutorial--default-keys): Update some default bindings.
11087
8e999f70
GM
11088 * files.el (hack-local-variables): Fully ignore case for "mode:".
11089
e3715033
AM
110902011-08-20 Alan Mackenzie <acm@muc.de>
11091
11092 Resolve invalid use of a regexp in regexp-opt.
11093
4d61f28d
JB
11094 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11095 detection for a java annotation.
e3715033 11096
4d61f28d 11097 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11098 detection for a java annotation.
11099
4d61f28d
JB
11100 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11101 handling for java.
e3715033
AM
11102 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11103
04ed2e9c
CY
111042011-08-20 Chong Yidong <cyd@stupidchicken.com>
11105
11106 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11107 (Bug#9274).
11108
826cee64
AM
111092011-08-20 Alan Mackenzie <acm@muc.de>
11110
58179cce 11111 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11112 such a construct. Mainly for when jit-lock etc. starts a chunk
11113 here.
11114
58179cce 11115 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11116 variable.
58179cce 11117 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11118 c-make-font-lock-search-function.
11119 (c-make-font-lock-search-function): Use the above function.
11120 (c-make-font-lock-context-search-function): New function.
11121 (c-cpp-matchers): Enhance the preprocessor expression case with
11122 the above function
11123 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11124 which takes an expression.
11125
11126 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11127
13009bd8
MR
111282011-08-20 Martin Rudalics <rudalics@gmx.at>
11129
11130 * window.el (display-buffer-reuse-window)
11131 (display-buffer-pop-up-window): Don't reuse or split a side
11132 window.
11133
9234ff7f
GM
111342011-08-19 Glenn Morris <rgm@gnu.org>
11135
11136 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11137 Downcase "Mode:". (Bug#9331)
9234ff7f 11138
f635daa1
CY
111392011-08-18 Chong Yidong <cyd@stupidchicken.com>
11140
11141 * international/characters.el: Add L and R categories.
11142
11143 * subr.el (bidi-string-mark-left-to-right): Rename from
11144 string-mark-left-to-right. Use category search.
11145
11146 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11147
bc987f8b
JL
111482011-08-18 Juri Linkov <juri@jurta.org>
11149
11150 * faces.el (error, warning, success): New faces with definitions
11151 copied from old default values of `font-lock-warning-face',
11152 `compilation-warning', `compilation-info' (bug#6117).
11153
11154 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11155
11156 * progmodes/compile.el (compilation-error): Inherit from `error'.
11157 (compilation-warning): Inherit from `warning'.
11158 (compilation-info): Inherit from `success'.
11159
11160 * dired.el (dired-marked): Inherit from `warning'.
11161 (dired-flagged): Inherit from `error'.
11162
57173b96
LMI
111632011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11164
3e79eb87
LMI
11165 * mail/smtpmail.el (auth-source): Require to avoid problems with
11166 binding variables (bug#9298). Also clean up some unused
11167 autoloads.
11168
b3fd59bd
SM
11169 * net/network-stream.el (network-stream-open-starttls):
11170 Support using starttls.el without using gnutls-cli.
57173b96 11171
02b404de
JL
111722011-08-17 Juri Linkov <juri@jurta.org>
11173
11174 * progmodes/grep.el (rgrep): Handle the case when
11175 `grep-find-command' is a cons cell (bug#9278).
11176
8c9177f2
MR
111772011-08-17 Martin Rudalics <rudalics@gmx.at>
11178
11179 * window.el (display-buffer-pop-up-frame): Run frame creation
11180 function with BUFFER current (as special-display-popup-frame
11181 does). Reported by Drew Adams.
11182
3644a0ab
DU
111832011-08-17 Daiki Ueno <ueno@unixuser.org>
11184
11185 * epa-mail.el: Simplify GnuPG group expansion using
11186 epg-expand-group.
11187 (epa-mail-group-alist, epa-mail-group-modtime)
11188 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11189 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11190 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11191 Remove.
11192
5e617bc2 111932011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11194
11195 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11196
9c4aeabf
AM
111972011-08-16 Alan Mackenzie <acm@muc.de>
11198
11199 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11200 Correct, to avoid the inside of macros.
11201
3a99bf64
RS
112022011-08-16 Richard Stallman <rms@gnu.org>
11203
04963aa8
RS
11204 * epa-mail.el: Handle GnuPG group definitions.
11205 (epa-mail-group-alist, epa-mail-group-modtime)
11206 (epa-mail-gnupg-conf-file): New variables.
11207 (epa-mail-parse-groups, epa-mail-sync-groups)
11208 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11209 (epa-mail-expand-recipients): New functions.
11210 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11211
177549d0
RS
11212 * mail/rmail.el (rmail-epa-decrypt): New command.
11213
fe38beef
RS
11214 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11215 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11216 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11217 (epa-decrypt-armor-in-region): Make error message clearer.
11218
934eacb9
SM
112192011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11220
11221 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11222 and "a2b" to "ab" for `prefix'.
11223
d024fb4e
CY
112242011-08-14 Chong Yidong <cyd@stupidchicken.com>
11225
11226 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11227 filter groups.
de148fee
CY
11228 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11229 Fourquet (Bug#8804).
d024fb4e 11230
62f1ca49
JB
112312011-08-12 Juanma Barranquero <lekktu@gmail.com>
11232
11233 * startup.el (argi): Declare as global variable (bug#9275).
11234
9ccaaa4b
CY
112352011-08-12 Chong Yidong <cyd@stupidchicken.com>
11236
11237 * subr.el (string-mark-left-to-right): Search the entire string
11238 for RTL script, not just the terminating character. Doc fix.
11239
a3dae87a
SM
112402011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11241
6cd18349
SM
11242 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11243 New function.
11244 (js--regexp-literal, js-syntax-propertize-function): Remove.
11245 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11246 (js-mode-map): Don't rebind electric keys.
11247 (js-insert-and-indent): Remove.
11248 (js-mode): Setup electric-layout and electric-indent instead.
11249
a3dae87a
SM
11250 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11251
9d5cb631
DU
112522011-08-12 Daiki Ueno <ueno@unixuser.org>
11253
11254 * epa.el (epa-progress-callback-function): Fix the logic of
11255 displaying progress.
11256 * epa-file.el (epa-file-insert-file-contents): Make progress
11257 display more user-friendly.
11258 (epa-file-write-region): Ditto.
11259
3e26a4a2
CY
112602011-08-10 Chong Yidong <cyd@stupidchicken.com>
11261
11262 * subr.el (string-mark-left-to-right): New function.
11263
11264 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11265 Use string-mark-left-to-right.
11266 (list-buffers-noselect): Caller changed.
11267
a3dae87a
SM
11268 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11269 Use string-mark-left-to-right.
3e26a4a2
CY
11270 (tabulated-list-print): Recenter after moving point.
11271
ac8cf6e6
JL
112722011-08-10 Juri Linkov <juri@jurta.org>
11273
11274 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11275 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11276 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11277
8d96c9a4
CY
112782011-08-09 Chong Yidong <cyd@stupidchicken.com>
11279
11280 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11281 (Bug#7554).
11282
7be1c708 112832011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11284
11285 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11286 character. (Bug#6594)
11287
37e11a63
CY
112882011-08-08 Chong Yidong <cyd@stupidchicken.com>
11289
839dde57
CY
11290 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11291 (image-dired--with-db-file): New macro.
11292 (image-dired-write-tags, image-dired-remove-tag)
11293 (image-dired-create-gallery-lists, image-dired-write-comments)
11294 (image-dired-get-comment, image-dired-mark-tagged-files)
11295 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11296 (image-dired-gallery-generate): Use insert-file-contents.
11297
37e11a63
CY
11298 * time.el (display-time-world-list, display-time-world-display):
11299 * time-stamp.el (time-stamp-string):
11300 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11301 set-time-zone-rule (Bug#7337).
11302
0b4946c4
DU
113032011-08-08 Daiki Ueno <ueno@unixuser.org>
11304
11305 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11306 (epg-error-to-string, epg-errors-to-string): New function.
11307 (epg-wait-for-completion): Reverse errors list.
11308 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11309 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11310 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11311 (epg-sign-keys, epg-generate-key-from-file)
11312 (epg-generate-key-from-string): Format errors by using
11313 epg-errors-to-string (bug#9255).
11314 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11315
75bfc667
JL
113162011-08-07 Juri Linkov <juri@jurta.org>
11317
11318 * faces.el (list-faces-display): Remove extra angle bracket
11319 from `help-mode-map'.
11320
11321 * info.el (Info-history-toc-nodes): Doc fix.
11322
11323 * longlines.el (longlines-mode): Doc fix.
11324
673e08bb
SM
113252011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11326
4640dd88
SM
11327 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11328 of statements and in a few more cases (bug#9183).
11329
673e08bb
SM
11330 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11331 New functions.
11332 (cl-transform-lambda): Use them (bug#9239).
11333
89b3f019
MR
113342011-08-05 Martin Rudalics <rudalics@gmx.at>
11335
11336 * window.el (display-buffer-same-window)
11337 (display-buffer-same-frame, display-buffer-other-window)
11338 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11339 (pop-to-buffer-other-window)
11340 (pop-to-buffer-same-frame-other-window)
11341 (pop-to-buffer-other-frame): Make them defuns.
11342 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11343
640c8776
SM
113442011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11345
11346 * subr.el (make-composed-keymap): Move from C. Change calling
11347 convention, and improve docstring to bring attention to a subtle point.
11348 * minibuffer.el (completing-read-default): Adjust accordingly.
11349
63648a95
MA
113502011-08-03 Michael Albinus <michael.albinus@gmx.de>
11351
11352 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11353 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11354
11355 * net/trampver.el: Update release number.
11356
b796c9b7
SM
113572011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11358
11359 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11360 "in" (bug#9190).
11361
2239d7d5
LMI
113622011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11363
e07dd7c3
LMI
11364 * mail/sendmail.el (sendmail-query-once): Restore the current
11365 buffer after querying (bug#9074).
11366
0e6a2bd7
LMI
11367 * dired.el (dired-flagged): Use different faces for marked and
11368 flagged files (bug#6117).
11369
ce887515
LMI
11370 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11371 (bug#4433).
11372
92f2affc
LMI
11373 * ido.el (ido-mode): Switch off the message if called
11374 non-interactively.
11375
57d5aff0
LMI
11376 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11377 before 587, since it appears that that's more likely to work for
11378 more people.
11379
98cd6c18 11380 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11381 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11382 exist.
11383
b96dec83
LMI
11384 * info.el: Remove the `Info-beginning-of-buffer' function
11385 (bug#8325).
11386
b796c9b7
SM
11387 * net/network-stream.el (network-stream-open-starttls):
11388 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11389
d90e2ea0
MR
113902011-08-01 Martin Rudalics <rudalics@gmx.at>
11391
11392 * window.el (display-buffer-in-window): Don't set dedicated status
11393 of window here (Bug#9215).
11394 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11395 (display-buffer-pop-up-side-window)
b796c9b7 11396 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11397
cca09170
SM
113982011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11399
11400 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11401 before binding generated-autoload-file.
11402
027b979c
DD
114032011-08-01 Deniz Dogan <deniz@dogan.se>
11404
11405 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11406
3c7ee4f3
MA
114072011-07-30 Michael Albinus <michael.albinus@gmx.de>
11408
11409 Sync with Tramp 2.2.2.
11410
11411 * net/trampver.el: Update release number.
11412
2cc8e51a
JL
114132011-07-30 Juri Linkov <juri@jurta.org>
11414
11415 * dired-aux.el (dired-touch-initial): Remove function.
11416 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11417 current time, and `default' to the last modification time of the
11418 current marked file (bug#6887).
11419
a514d856
JM
114202011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11421
11422 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11423 numeric argument to read-number (bug#9163).
a514d856 11424
8a7eddd7
MA
114252011-07-27 Michael Albinus <michael.albinus@gmx.de>
11426
11427 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11428 connection process, it could be nil.
11429
1ddd96f5
LL
114302011-07-27 Leo Liu <sdl.web@gmail.com>
11431
11432 Simplify url handling in rcirc-mode.
11433
11434 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11435 (rcirc-browse-url-at-mouse): Remove.
11436 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11437
b248a85d
AM
114382011-07-26 Alan Mackenzie <acm@muc.de>
11439
11440 Fontify bitfield declarations properly.
11441
11442 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11443 (c-symbol-chars): Now exported as a lang variable.
11444 (c-not-primitive-type-keywords): New lang variable.
11445
11446 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11447 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11448 parsed as a bitfield declaration.
b248a85d 11449
b796c9b7
SM
11450 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11451 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11452 (c-punctuation-in): New function.
11453 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11454 declarations properly.
11455
68575ab0
UJ
114562011-07-26 Ulf Jasper <ulf.jasper@web.de>
11457
11458 * calendar/icalendar.el (icalendar--all-events): Take care of
11459 multiple vcalendars in a single file.
b796c9b7 11460 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11461
0f0a88b9
DD
114622011-07-25 Deniz Dogan <deniz@dogan.se>
11463
11464 * image.el (insert-image): Clarifying docstring.
11465
0b3f36df
MA
114662011-07-24 Michael Albinus <michael.albinus@gmx.de>
11467
11468 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11469 `tramp-send-command-and-check' if there is no error.
11470 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11471
a9901f61
AM
114722011-07-22 Alan Mackenzie <acm@muc.de>
11473
11474 Prevent cc-langs.elc being loaded at run time.
11475
11476 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11477 cc-langs.
11478
4d61f28d 11479 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11480 "(require 'cc-langs)". Quote a form so it will evaluate at
11481 (cc-mode's) compilation time.
11482
11d074b2
MA
114832011-07-22 Michael Albinus <michael.albinus@gmx.de>
11484
11485 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11486 loading. (Bug#9114)
11487
938b94c8
MR
114882011-07-21 Martin Rudalics <rudalics@gmx.at>
11489
11490 * window.el (display-buffer-pop-up-window)
11491 (display-buffer-pop-up-side-window)
11492 (display-buffer-in-side-window): Call display-buffer-set-height
11493 and display-buffer-set-width after setting the new window's
b796c9b7 11494 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11495
bfa4f190
SS
114962011-07-20 Sam Steingold <sds@gnu.org>
11497
11498 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11499 (etags-tags-included-tables): Call `convert-standard-filename' on
11500 the file names contained in TAGS so that windows Emacs can handle
11501 TAGS files created by cygwin ctags.
11502
8ca42262
LMI
115032011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11504
11505 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11506 which apparently didn't work.
11507
5db2afd2 115082011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11509
5db2afd2
RW
11510 * proced.el (proced-send-signal): For *Marked Processes* buffer
11511 put point at beginning of buffer.
11512
92e15d10
SB
115132011-07-19 Stephen Berman <stephen.berman@gmx.net>
11514
11515 * proced.el (proced-format): Make header lines align with the text
11516 (bug#1779).
11517
1bfd59e5
LMI
115182011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11519
11520 * view.el (view-buffer): Allow running in `special' modes if we're
11521 visiting a file (bug#8615).
11522
f5aae37c
MR
115232011-07-19 Martin Rudalics <rudalics@gmx.at>
11524
11525 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11526 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11527 New functions.
f5aae37c
MR
11528 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11529 more accurately.
11530
bf2c1571
AM
115312011-07-18 Alan Mackenzie <acm@muc.de>
11532
11533 Fontify declarators properly when, e.g., a jit-lock chunk begins
11534 inside a declaration.
11535
11536 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11537
b796c9b7
SM
11538 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11539 New function.
bf2c1571
AM
11540 (c-complex-decl-matchers): Insert reference to
11541 c-font-lock-enclosing-decls.
11542
11543 * progmodes/cc-engine.el (c-backward-single-comment):
11544 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11545 to nil around calls to (forward-comment -1).
11546
4e190b80
LMI
115472011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11548
12dc863d
LMI
11549 * image.el (put-image): Doc typo fix.
11550
a762e966
LMI
11551 * progmodes/etags.el (tags-search): Doc typo fix.
11552
4e190b80
LMI
11553 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11554 password if we get errors 550 to 554.
11555
f019fb21
LMI
115562011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11557
b796c9b7 11558 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11559
81746738
LMI
11560 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11561 indentation character (bug#6380).
11562
3ee3a1b5
LMI
11563 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11564
c82f64de
LMI
11565 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11566 to clarify what the problem is (bug#4291).
11567
f019fb21
LMI
11568 * simple.el (current-kill): Clarify what
11569 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11570 (auto-fill-mode): Document `auto-fill-function' in relation to
11571 `auto-fill-mode' (bug#2470).
f019fb21 11572
0794775d
LM
115732011-07-16 Lawrence Mitchell <wence@gmx.li>
11574
11575 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11576 method if slot is read-only (bug#9035).
11577
be39b8cc
MR
115782011-07-16 Martin Rudalics <rudalics@gmx.at>
11579
b796c9b7 11580 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11581 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11582 selected before, see discussion of (Bug#8615), (Bug#6954).
11583 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11584
6ccf7859
GM
115852011-07-15 Glenn Morris <rgm@gnu.org>
11586
11587 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11588 Respect help-form.
6ccf7859 11589
87e86684
LM
115902011-07-09 Lawrence Mitchell <wence@gmx.li>
11591
11592 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11593 (gnutls-negotiate): Use it.
11594
d6066239
LMI
115952011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11596
b796c9b7
SM
11597 * net/gnutls.el (gnutls-negotiate):
11598 Upcase `gnutls-algorithm-priority'.
d6066239 11599
bd23ebc0
GM
116002011-07-15 Glenn Morris <rgm@gnu.org>
11601
c65bca65
GM
11602 * jka-compr.el (jka-compr-verbose): Move from here...
11603 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11604 Add missing :version tag.
11605 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11606
478615cc
LMI
116072011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11608
7b41decb
LMI
11609 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11610 (gnutls-negotiate): Use it.
11611
dbc44fcd
LMI
11612 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11613
06789f97
LMI
11614 * info.el (Info-beginning-of-buffer): New command.
11615 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11616 announcing `b' as the key (bug#8325).
ab896c37 11617 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11618
c39da690
LMI
11619 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11620
3aa5f34b
LMI
11621 * international/mule-cmds.el
11622 (describe-specified-language-support): Make the error message
11623 clearer (bug#8905).
11624
4bf0979f
LMI
11625 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11626
478615cc
LMI
11627 * isearch.el (isearch-barrier): Add a doc string, since it's
11628 mentioned in a function doc string (bug#8678).
11629
75c68aa1
MR
116302011-07-15 Martin Rudalics <rudalics@gmx.at>
11631
11632 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11633 buffer argument (Bug#9083) and self-identifying label argument.
11634
a7c33da2
GM
116352011-07-15 Glenn Morris <rgm@gnu.org>
11636
11637 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11638
2f5c6024
LMI
116392011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11640
11641 * man.el (Man-fontify-manpage): Fix message when formatting the
11642 man page (bug#7929).
11643
0bb23927 116442011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11645
11646 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11647 argument LRM; if non-nil, append an invisible LRM character to the
11648 buffer name.
11649 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11650 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11651 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11652 paragraph direction.
cce4b0a7 11653
621ef9ab
LMI
116542011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11655
d1583c48
LMI
11656 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11657 the man page name (bug#7929).
11658
6a57fb5f
LMI
11659 * image.el (put-image): Mention the `put-image' overlay property
11660 (bug#7834).
11661
d7956b14
LMI
11662 * scroll-bar.el (set-scroll-bar-mode): Mention that
11663 `scroll-bar-mode' lists the values (bug#7772).
11664
5b2d4a66
LMI
11665 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11666 command (bug#7729).
11667
7509a874
LMI
11668 * rect.el (apply-on-rectangle): Return the point after the last
11669 operation.
11670 (string-rectangle): Go to the point after the last operation
11671 (bug#7522).
11672
4fe74b19
LMI
11673 * printing.el (pr-toggle-region): Clarify the documentation
11674 slightly (bug#7493).
11675
b796c9b7
SM
11676 * time.el (display-time-update):
11677 Allow `display-time-mail-function' to return nil (bug#7158).
11678 Fix suggested by Detlev Zundel.
ab283561 11679
fc233c9d
LMI
11680 * vc/diff.el (diff): Clarify the order the file names are read
11681 (bug#7111).
11682
43f5740b
LMI
11683 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11684 the doc string (bug#7015).
11685
f2182a76
LMI
11686 * font-lock.el (font-lock-maximum-decoration): Mention what
11687 numeric levels mean (bug#6935).
11688
621ef9ab
LMI
11689 * startup.el (initial-buffer-choice): Don't mention the `none'
11690 selection, which is against policy.
11691
adc47434
MR
116922011-07-14 Martin Rudalics <rudalics@gmx.at>
11693
b796c9b7
SM
11694 * window.el (display-buffer-normalize-special):
11695 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11696
7e5bfb8f
EZ
116972011-07-14 Eli Zaretskii <eliz@gnu.org>
11698
11699 * subr.el (version<, version<=, version=): Mention "-CVS" and
11700 "-12345" alpha version numbers.
11701
27fa387a
CY
117022011-07-14 Chong Yidong <cyd@stupidchicken.com>
11703
11704 * bindings.el: Add advertised binding for set-mark-command
11705 (Bug#5772).
11706
8bdfa064
CY
117072011-07-14 Chong Yidong <cyd@stupidchicken.com>
11708
11709 * bindings.el (mode-line-other-buffer):
11710 * bookmark.el (bookmark-bmenu-2-window):
11711 * bs.el (bs-cycle-next, bs-cycle-previous):
11712 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11713 switch-to-buffer.
11714
11715 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11716 Delete.
8bdfa064 11717
5eba16a3
JB
117182011-07-14 Juanma Barranquero <lekktu@gmail.com>
11719
11720 * follow.el (follow-debug-message, follow-redisplay):
11721 * jka-cmpr-hook.el (with-auto-compression-mode):
11722 Fix typos in docstrings.
11723
15853710
LMI
117242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11725
a28e4607
LMI
11726 * subr.el (with-silent-modifications): Clarify somewhat what the
11727 macro inhibits (bug#6525).
11728
15853710
LMI
11729 * simple.el (eval-expression): Note what it does if called
11730 interactively (bug#6495).
11731
bee0fcef
CY
117322011-07-13 Chong Yidong <cyd@stupidchicken.com>
11733
b796c9b7
SM
11734 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11735 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11736
11737 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11738 Remove switch-to-buffer.
11739
58274504
LMI
117402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11741
bd2fcc8d
LMI
11742 * files.el (make-directory): Clarify that an error will be raised
11743 if there's an error (bug#6397).
11744
0f04b32c
LMI
11745 * startup.el (initial-buffer-choice): Add `none' as a choice
11746 (bug#6234).
11747
465c5fc8
LMI
11748 * subr.el (add-hook): Clarify section about buffer-local hooks
11749 (bug#6218).
11750
58274504
LMI
11751 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11752
bead9a43
JB
117532011-07-13 Juanma Barranquero <lekktu@gmail.com>
11754
11755 * tabify.el (untabify): Preserve the current column so that point
11756 doesn't move (bug#6032).
11757
3af98a7b
LMI
117582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11759
b796c9b7
SM
11760 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11761 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11762
6240145a
GM
117632011-07-13 Glenn Morris <rgm@gnu.org>
11764
11765 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11766 (dired-insert-directory): Give a message the first time
11767 if ls is found not to support --dired.
11768
1d8c2ccc
LMI
117692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11770
11771 * simple.el (toggle-truncate-lines): Clarify what is toggled
11772 (bug#5580). Text by Drew Adams.
11773
5fc4038e
CY
117742011-07-13 Chong Yidong <cyd@stupidchicken.com>
11775
11776 * simple.el (blink-matching-open): Make the error message from the
11777 last change less verbose.
11778
bf6012e5
DN
117792011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11780
11781 * font-lock.el (font-lock-comment-face): Use the high contrast
11782 "yellow" color for font-lock-comment-face on low color terminals
11783 using a dark background color (bug#4221).
11784
343c3b5a
LMI
117852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11786
7e9505c5
LMI
11787 * dired.el (dired-insert-set-properties): Make the doc string
11788 reflect what it does now (bug#5325).
11789
c26fdcf5
LMI
11790 * simple.el (blink-matching-open): Say that we were unable to find
11791 the match within the limit, if we're limited (bug#5122).
11792
bb388cc5
LMI
11793 * international/mule-cmds.el (prefer-coding-system): Add an
11794 example (bug#4869).
11795
343c3b5a
LMI
11796 * progmodes/etags.el (tags-search): Document `file-list-form'
11797 (bug#4731).
11798
2a517d45
LM
117992011-07-13 Lawrence Mitchell <wence@gmx.li>
11800
11801 * net/browse-url.el (browse-url-default-browser)
11802 (browse-url-browser-function): Make the default browser choice a
11803 bit more logical (bug#4300). Also clean up the doc string.
11804
b6c78ef2
JB
118052011-07-13 Juanma Barranquero <lekktu@gmail.com>
11806
11807 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11808 binary endings (bug#4440).
11809
1c4dd947
LMI
118102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11811
a2014063
LMI
11812 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11813 which can be pretty annoying (bug#8971).
11814
9c9c2d88
LMI
11815 * jka-compr.el (jka-compr-verbose): New variable, and use
11816 throughout (bug#8971).
11817
1c4dd947
LMI
11818 * info.el (Info-find-file): Fall back on the installation
11819 directory if we can't find the info node anywhere else.
11820
a1c9f41b
SO
118212011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11822
11823 * vc/vc.el (vc-revert-file):
11824 Don't set file time-stamp in the past. (Bug#5181)
11825
536f3d36
LMI
118262011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11827
7152b011
LMI
11828 * files.el (after-find-file): Give a better error message when
11829 trying to find a symlink that points to a file that doesn't exist
11830 (bug#4398).
11831
536f3d36
LMI
11832 * progmodes/cc-vars.el: Remove (probably) misleading comment
11833 (bug#4396).
11834
460c0fba
JB
118352011-07-12 Johan Bockgård <bojohan@gnu.org>
11836
11837 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11838
7a6bda45
CY
118392011-07-12 Chong Yidong <cyd@stupidchicken.com>
11840
11841 * mouse-sel.el: Hack restoring functionality, while keeping
11842 compatibility with 2010-07-03 changes to mouse selection.
11843 (mouse-sel-primary-overlay): New var.
11844 (mouse-sel-selection-alist): Use it.
11845 (mouse-sel-mode): Doc fix; remove points that are default features
11846 of mouse.el.
11847
c79598ef
JB
118482011-07-12 Johan Bockgård <bojohan@gnu.org>
11849
11850 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11851 Fix previous fix (bug#2490).
11852
ff8be6ef
RW
118532011-07-12 Roland Winkler <winkler@gnu.org>
11854
b796c9b7
SM
11855 * textmodes/bibtex.el (bibtex-initialize):
11856 Use pop-to-buffer-same-window.
ff8be6ef
RW
11857 (bibtex-search-entries): Fix interactive call.
11858
296ba3ee
LMI
118592011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11860
f5242a02 11861 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11862 Fontise bytecomp Error lines more correctly (bug#2490).
11863 Fix suggested by Johan Bockgård.
f5242a02 11864
296ba3ee
LMI
11865 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11866
11867 * dired-x.el (dired-guess-default): Use `delete-dups'.
11868
f69fd0d2
CY
118692011-07-12 Chong Yidong <cyd@stupidchicken.com>
11870
11871 * dired.el (dired-mark-prompt):
11872 * dired-aux.el (dired-read-shell-command): Doc fix.
11873
eab5dc07
LMI
118742011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11875
b796c9b7
SM
11876 * mail/sendmail.el (sendmail-query-once):
11877 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11878 emacs -Q.
11879
11880 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11881
eab5dc07
LMI
11882 * cus-edit.el (custom-file): Take an optional no-error variable.
11883 (customize-save-variable): Set the variable, and give a warning if
11884 running under "emacs -q".
11885
a1e65d42
JB
118862011-07-11 Juanma Barranquero <lekktu@gmail.com>
11887
11888 * loadhist.el (unload-feature-special-hooks):
11889 Add `auto-coding-functions', `fill-nobreak-predicate' and
11890 `find-directory-functions' (bug#5327).
11891
1d52da10
LMI
118922011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11893
be958f1d
LMI
11894 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11895
5bedb26c
LMI
11896 * cus-edit.el (custom-guess-name-alist): -alist variables should
11897 use the `alist' type (bug#3120). Suggested by Drew Adams.
11898
1d52da10
LMI
11899 * printing.el: Add documentation to all the `pr-toggle-' commands.
11900
cd394be1 119012011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11902
11903 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11904 backends where it makes sense (bug#2623).
11905
dcc88d8a
LMI
119062011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11907
c3de9feb
LMI
11908 * dired-x.el (dired-guess-default): Remove duplicate shell command
11909 entries (bug#2028).
8a93078b 11910 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11911 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11912
dcc88d8a
LMI
11913 * subr.el (remove-duplicates): New conveniency function.
11914
505e3645
LMI
119152011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11916
11917 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11918 (bug#1526).
11919
119202011-07-10 Martin Rudalics <rudalics@gmx.at>
11921
11922 * window.el (display-buffer-normalize-default): Don't invert
11923 meaning of even-window-heights. Reported by Eli Zaretskii
11924 <eliz@gnu.org>.
11925
455e4fa1
BR
119262011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11927
11928 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11929
8e0bc3e9
CY
119302011-07-10 Chong Yidong <cyd@stupidchicken.com>
11931
11932 * window.el (display-buffer): Fix arguments to
11933 display-buffer-reuse-window in last change.
11934
fa7c3228
CY
11935 * faces.el (link): Use a less saturated blue on light backgrounds.
11936
11937 * startup.el (fancy-startup-text, fancy-about-text)
11938 (fancy-startup-tail): Use font-lock faces, for background safety.
11939
c0a7f300
BN
119402011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11941
b796c9b7
SM
11942 * emulation/viper-cmd.el (viper-change-state-to-vi):
11943 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11944
4dc2a129
MR
119452011-07-09 Martin Rudalics <rudalics@gmx.at>
11946
11947 * window.el (display-buffer-default-specifiers): Remove.
11948 (display-buffer-macro-specifiers): Remove default specifiers.
11949 (display-buffer-alist): Default to nil.
b796c9b7 11950 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11951 (display-buffer-pop-up-window): Allow splitting internal
11952 windows. Check whether a live window was created.
11953 (display-buffer-other-window-means-other-frame)
11954 (display-buffer-normalize-arguments): Rename to
11955 display-buffer-normalize-argument and rewrite. Set the
11956 other-window specifier.
11957 (display-buffer-normalize-special): New function.
11958 (display-buffer-normalize-options): Rename to
11959 display-buffer-normalize-default and rewrite.
11960 (display-buffer-normalize-options-inhibit): Remove.
11961 (display-buffer-normalize-specifiers): Rewrite.
11962 (display-buffer): Process other-window specifier and call
11963 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11964 more faithfully.
b796c9b7 11965 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11966 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11967 (display-buffer-in-window, display-buffer-alist-set):
11968 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11969 <tassilo@member.fsf.org>.
11970
2d43b8c9
LL
119712011-07-09 Leo Liu <sdl.web@gmail.com>
11972
11973 * register.el (insert-register): Restore accidental change on
11974 2011-06-26. (Bug#9028)
11975
7f9b7c53
GM
119762011-07-09 Glenn Morris <rgm@gnu.org>
11977
11978 * subr.el (remq): Handle the empty list. (Bug#9024)
11979
f042cfd8
AS
119802011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11981
11982 * mail/sendmail.el (send-mail-function): No longer delay custom
11983 initialization.
11984 * custom.el (custom-initialize-delay): Doc fix.
11985
856b2f11
SM
119862011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11987
11988 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11989
afae1d68
MA
119902011-07-08 Michael Albinus <michael.albinus@gmx.de>
11991
11992 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11993 human-friendly prompt.
11994
0757af94
SM
119952011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11998 provided by a particular plugin.
11999
d760b731
LMI
120002011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12001
12002 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12003 save customizations (with "emacs -Q"), just set the variable
12004 instead of erroring out.
12005
12006 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12007
cd79ce90
JL
120082011-07-08 Juri Linkov <juri@jurta.org>
12009
12010 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12011 (archive-zip-update-case): Use 7z if found by `executable-find'.
12012 The order of searching the available programs is the same as in
12013 `archive-zip-extract' (bug#8968).
12014
14cc04aa
CY
120152011-07-07 Chong Yidong <cyd@stupidchicken.com>
12016
12017 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12018 (menu-bar-options-menu): Tweak descriptions.
12019
0a1848ec
LMI
120202011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12021
12022 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12023 menu items into verb phrases (bug#1421). Also refill to fit under
12024 80 columns.
12025
f5bd0689
CY
120262011-07-07 Chong Yidong <cyd@stupidchicken.com>
12027
538e85c6
CY
12028 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12029 (Info-read-node-name): Doc fix (Bug#1084).
12030
f5bd0689
CY
12031 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12032 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12033 (end-of-sexp, beginning-of-sexp)
12034 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12035 (forward-symbol, forward-same-syntax, word-at-point)
12036 (sentence-at-point): Doc fix (Bug#1144).
12037
56ec5115
LMI
120382011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12039
f3f8e37f
LMI
12040 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12041 should cover it (bug#1281).
12042
0757af94 12043 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12044
e9fce1ac 12045 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12046 negotiation fails, then possibly try again with a non-encrypted
12047 connection (bug#9017).
12048
56ec5115
LMI
12049 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12050 be used.
12051
c2f9aec8
RS
120522011-07-07 Richard Stallman <rms@gnu.org>
12053
12054 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12055 property, and handle its changed format.
12056 Look for the correct line number.
12057 Use file's line contents (but not past first =) to find
12058 correct line in message.
12059
ef7b981d 120602011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12061
12062 * international/characters.el (build-unicode-category-table):
12063 Delete it.
0757af94 12064 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12065
0757af94 12066 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12067 to src/chartab.c.
12068 (get-char-code-property): Call unicode-property-table-internal to
12069 load a file. Call get-unicode-property-internal where necessary.
12070 (put-char-code-property): Call unicode-property-table-internal to
12071 load a file. Call put-unicode-property-internal where necessary.
12072 put-unicode-property-internal where necessary.
0757af94
SM
12073 (char-code-property-description):
12074 Call unicode-property-table-internal to load a file.
c805dec0
KH
12075
12076 * international/charprop.el:
12077 * international/uni-bidi.el:
12078 * international/uni-category.el:
12079 * international/uni-combining.el:
12080 * international/uni-comment.el:
12081 * international/uni-decimal.el:
12082 * international/uni-decomposition.el:
12083 * international/uni-digit.el:
12084 * international/uni-lowercase.el:
12085 * international/uni-mirrored.el:
12086 * international/uni-name.el:
12087 * international/uni-numeric.el:
12088 * international/uni-old-name.el:
12089 * international/uni-titlecase.el:
12090 * international/uni-uppercase.el: Regenerate.
12091
12092 * loadup.el: Load international/charprop.el before
12093 international/characters.
12094
e14b388a
CY
120952011-07-07 Chong Yidong <cyd@stupidchicken.com>
12096
12097 * window.el (next-buffer, previous-buffer): Signal an error if
12098 called from a minibuffer window.
12099
12100 * bindings.el: Revert 2011-07-04 change.
12101
354cf0ba
RS
121022011-07-06 Richard Stallman <rms@gnu.org>
12103
12104 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12105 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12106 Treat markers like ints.
12107 (rmail-mime-entity): Doc fix.
12108
a48868a7
LMI
121092011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12110
4906cd3d
LMI
12111 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12112 defcustom again for backwards compatibility.
12113
e0457abe
LMI
12114 * simple.el (shell-command-on-region): Fill.
12115
d67f7e1f
LMI
12116 * dired-aux.el (dired-kill-line): Add a doc string.
12117
fe204702
LMI
12118 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12119 to "\\sw\\|\\s_" (bug#358).
12120
a48868a7
LMI
12121 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12122 (dired-unmark-backward): Ditto.
12123 (dired-flag-backup-files): Ditto.
12124
12125 * dired-x.el (dired-mark-sexp): Ditto.
12126
aa8a705c
RS
121272011-07-06 Richard Stallman <rms@gnu.org>
12128
12129 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12130 (rmail-mime-entity): New arg TRUNCATED.
12131 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12132 New functions.
12133 (rmail-mime-save): Warn if entity is truncated.
12134 (rmail-mime-toggle-hidden): Likewise, for showing.
12135 (rmail-mime-process-multipart): Record when an entity is truncated.
12136
a9a936b9
RS
12137 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12138 if ENTITY is a string.
12139
1f2b92cb
LMI
121402011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12141
f4f73198 12142 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12143 of faces when `M-C-x'-ing their definitions (bug#8378).
12144 Also clean up the code slightly.
f4f73198 12145
12b16734 12146 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12147 because that makes the colors go away.
12b16734 12148
f0691d22
LMI
12149 * mail/sendmail.el (send-mail-function): Change the default to
12150 `sendmail-query-once'.
9e87df06 12151 (sendmail-query-once): Add an autoload cookie.
f0691d22 12152
1f2b92cb
LMI
12153 * net/network-stream.el (network-stream-open-starttls): Try using
12154 a plain connection even if the server offered STARTTLS, and we
12155 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12156 capability. This should make smtpmail.el work in slightly more
12157 configurations.
12158
1cdd2a1b
MA
121592011-07-06 Michael Albinus <michael.albinus@gmx.de>
12160
12161 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12162 New defun.
12163 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12164
fbcc67e2
MM
121652011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12166
12167 * progmodes/sql.el: Version 3.0
0757af94 12168 (sql-product-alist): Add product :completion-object,
fbcc67e2 12169 :completion-column, and :statement attributes.
0757af94 12170 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12171 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12172 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12173 ansi keywords.
12174 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12175 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12176 (sql-oracle-show-reserved-words): New function for development.
12177 (sql-product-font-lock): Simplify for source code buffers.
12178 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12179 New functions.
12180 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12181 (sql-mode-map): Add statement movement functions.
12182 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12183 New variable.
fbcc67e2
MM
12184 (sql-statement-regexp, sql-beginning-of-statement)
12185 (sql-end-of-statement, sql-signum): New functions.
0757af94 12186 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12187 (sql-show-sqli-buffer): Bug fix.
12188 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12189 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12190 with sql-interactive-mode.
12191 (sql-save-connection): Save buffer local settings.
0757af94 12192 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12193 (sql-product-interactive): Bug fix.
12194 (sql-preoutput-hold): New variable.
12195 (sql-interactive-remove-continuation-prompt): Bug fixes.
12196 (sql-debug-redirect): New variable.
12197 (sql-str-literal): New function.
12198 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12199 Redesign.
fbcc67e2
MM
12200 (sql-oracle-save-settings, sql-oracle-restore-settings)
12201 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12202 (sql-completion-object, sql-completion-column)
12203 (sql-completion-sqlbuf): New variables.
12204 (sql-build-completions-1, sql-build-completions)
12205 (sql-try-completion): New functions.
12206 (sql-read-table-name): Use them.
12207 (sql-contains-names): New buffer local variable.
12208 (sql-list-all, sql-list-table): Use it.
12209 (sql-oracle-completion-types): New variable.
12210 (sql-oracle-completion-object, sql-sqlite-completion-object)
12211 (sql-postgres-completion-object): New functions.
12212
d4eaeab1
GM
122132011-07-06 Glenn Morris <rgm@gnu.org>
12214
12215 * window.el (pop-to-buffer): Doc fix.
12216
322b7dab 122172011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12218
12219 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12220
322b7dab 122212011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12222
322b7dab 12223 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12224
322b7dab 12225 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12226
605dd5bf
CY
122272011-07-05 Chong Yidong <cyd@stupidchicken.com>
12228
12229 * button.el (button): Inherit from link face. Suggested by Dan
12230 Nicolaescu.
12231
7dbfa719
SM
122322011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12233
3db614b0
SM
12234 * progmodes/gdb-mi.el: Fit in 80 columns.
12235 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12236 switch-to-buffer.
12237
7dbfa719
SM
12238 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12239 if imenu is simply not configured (bug#8941).
12240
919d884a
KM
122412011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12242
12243 * allout.el (allout-post-undo-hook): New allout outline-change
12244 event hook to signal undo activity.
12245 (allout-post-command-business): Run allout-post-undo-hook if an
12246 undo just occurred.
7dbfa719
SM
12247 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12248 * allout-widgets.el (allout-widgets-after-undo-function):
12249 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12250 in the vicinity of an undo.
12251 (allout-widgets-mode): Include allout-widgets-after-undo-function
12252 on the new allout-post-undo-hook.
12253
450a0f09
SM
122542011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12255
12256 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12257 Let define-derived-mode define it.
12258 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12259 cycles of abbrev-table inheritance (bug#8998).
12260
2de69e00
RW
122612011-07-05 Roland Winkler <winkler@gnu.org>
12262
12263 * textmodes/bibtex.el: Add support for biblatex.
12264 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12265 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12266 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12267 (bibtex-entry-alist, bibtex-field-alist): New variables.
12268 (bibtex-entry-field-alist): Obsolete alias for
12269 bibtex-BibTeX-entry-alist.
12270 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12271 (bibtex-set-dialect): New command.
12272 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12273 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12274 Bind via bibtex-set-dialect.
2de69e00
RW
12275 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12276 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12277 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12278 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12279 Define via bibtex-set-dialect.
450a0f09
SM
12280 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12281 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12282 (bibtex-vec-push, bibtex-vec-incr): New functions.
12283 (bibtex-format-entry, bibtex-field-list)
12284 (bibtex-print-help-message, bibtex-validate)
12285 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12286
2dcdbdd9
SM
122872011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12288
12289 * progmodes/compile.el (compilation-goto-locus):
12290 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12291 * bs.el (bs-cycle-next, bs-cycle-previous):
12292 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12293 * bindings.el (mode-line-other-buffer):
12294 * autoinsert.el (auto-insert):
12295 * arc-mode.el (archive-extract):
12296 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12297
b27640fe
JB
122982011-07-05 Juanma Barranquero <lekktu@gmail.com>
12299
12300 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12301 Fix check of `emacs-lock-unlockable-modes'.
12302 Coerce true values of `emacs-lock--try-unlocking' to t.
12303
53bbe3ad
JB
123042011-07-05 Juanma Barranquero <lekktu@gmail.com>
12305
12306 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12307 * emacs-lock.el: New file.
12308
1d3cdbc7
JD
123092011-07-05 Julien Danjou <julien@danjou.info>
12310
12311 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12312 than `boundp' to check if face is set.
12313
9173deec
JB
123142011-07-05 Juanma Barranquero <lekktu@gmail.com>
12315
12316 * register.el (registerv-make):
12317 * window.el (window-min-height): Fix typos in docstrings.
12318
869795d6
JD
123192011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12320
9173deec 12321 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12322 Update doc string.
12323
b768cdcd
JB
123242011-07-04 Juanma Barranquero <lekktu@gmail.com>
12325
12326 * server.el (server-execute): Catch quit and call
12327 `server-return-error' to pass the error back to emacsclient and
12328 close the connection (bug#8942).
12329
13aa217b
KM
123302011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12331
12332 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12333 insecure exception for current topic. Also note that auto-saves
12334 are handled differently.
12335
5d3385a0 12336 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12337 State variables for tracking auto-save inhibition situation.
12338
12339 (allout-write-contents-hook-handler): Rename from
12340 'allout-write-file-hook-handler', and describe how it depends on
12341 write-contents-functions sensitivity to non-nil value to prevent
12342 file write.
12343
12344 (allout-auto-save-hook-handler): Remove. auto-save does not check
12345 this in individual buffers, only in the starting buffer, so this
12346 is not the right way for us to inhibit auto-save in a buffer
12347 according to its condition.
12348
12349 (allout-mode): Use new allout-write-contents-hook-handler, and
12350 only with write-contents-functions. Remove auto-save provisions -
12351 they're implemented elsewhere.
12352
12353 (allout-before-change-handler): If undo is in progress, note that
12354 for attention of allout-post-command-business.
12355
12356 (allout-post-command-business): If the command we're following was
12357 an undo, check for change in the status of encrypted items and
12358 adjust auto-save inhibitions accordingly.
12359
12360 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12361 according to whether there are or aren't any plain-text topics
12362 pending encryption.
12363
2dcdbdd9 12364 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12365 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12366 if there are plain-text topics pending encryption.
13aa217b
KM
12367
12368 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12369 buffer-saved-size and some allout state to not inhibit auto-saves
12370 if there are no longer any plain-text topics pending encryption.
12371
0757af94
SM
12372 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12373 No longer provide for exemption of the current topic.
13aa217b 12374
ac89b32c
JL
123752011-07-04 Juri Linkov <juri@jurta.org>
12376
12377 Add 7z operations to delete and save changed members (bug#8968).
12378 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12379 New defcustoms.
12380 (archive-7z-write-file-member): New function.
12381 (archive-7z-summarize): Fix the number of dashes in the
12382 listing output.
12383
8fa39615
SM
123842011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12385
12386 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12387 (bug#8958).
12388
2f11b3f1
CY
123892011-07-04 Chong Yidong <cyd@stupidchicken.com>
12390
d66fef2b
CY
12391 * bindings.el: Ignore next-buffer and previous-buffer in
12392 minibuffer-local-map.
12393
2f11b3f1
CY
12394 * font-lock.el (font-lock-builtin-face): Change light background
12395 color to dark slate blue (Bug#6693).
12396
f932a347
WD
123972011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12398
12399 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12400
c8af70e1
SM
124012011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12402
12403 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12404 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12405 Add switch-to-buffer.
12406
f158badc
LMI
124072011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12408
12409 * isearch.el (isearch-search-fun-function): Clarify further the
12410 meaning of the function returned.
12411
6d95bd46
MA
124122011-07-04 Michael Albinus <michael.albinus@gmx.de>
12413
12414 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12415
12416 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12417 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12418 Use it.
12419 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12420 `tramp-default-remote-path' does not exist.
12421 (tramp-send-command-and-read): New optional argument NOERROR.
12422 (tramp-open-connection-setup-interactive-shell)
12423 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12424 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12425 (tramp-process-sentinel): Flush also process' connection property.
12426 (tramp-sh-handle-start-file-process): Do not set process
12427 sentinel. It is done now ...
12428 (tramp-maybe-open-connection): ... here. (Bug#8929)
12429
909e6b67
MK
124302011-07-04 MON KEY <monkey@sandpframing.com>
12431
12432 * play/animate.el (animate-string): Doc fixes and allow changing
12433 the buffer name (bug#5417).
12434
124352011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12436
c8af70e1 12437 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12438
f34755dc
PE
124392011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12440
396cec72
PE
12441 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12442 This is simpler and helps future-proof the code.
12443 (timer-until): Use time-subtract and float-time.
08235028 12444 (timer--time-less-p): Use time-less-p.
f34755dc 12445
56e6cc31
JB
124462011-07-04 Juanma Barranquero <lekktu@gmail.com>
12447
3abb79e5
JB
12448 * type-break.el (timep): Use the value of `float-time' to avoid a
12449 byte-compiler warning.
12450
56e6cc31
JB
12451 * server.el (server-eval-and-print): Return any result, even nil.
12452
7b9430b4
PE
124532011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12454
12455 * type-break.el: Accept time formats that the builtins accept.
12456 (timep, type-break-time-difference): Accept any format that
12457 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12458 This is simpler and helps future-proof the code.
12459 (type-break-time-difference): Round rather than ignoring
12460 subseconds components.
12461
3034e9e7
LMI
124622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12463
12464 * info.el (Info-apropos-matches): Make non-interactive, since it
12465 doesn't seem to do anything useful as a command (bug#8829).
12466
1485f4c0
CY
124672011-07-03 Chong Yidong <cyd@stupidchicken.com>
12468
12469 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12470 Move from faces.el.
1485f4c0
CY
12471 (frame-default-terminal-background): New function.
12472
12473 * custom.el (custom-push-theme): Don't record faces in `changed'
12474 theme; this doesn't work correctly for per-frame face settings.
12475 (disable-theme): Use face-set-after-frame-default to reset faces.
12476 (custom--frame-color-default): New function.
12477
9fa3dd45
LMI
124782011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12479
c8af70e1 12480 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12481 (bug#8769).
12482
6cbbc20c
KR
124832011-03-29 Kevin Ryde <user42@zip.com.au>
12484
12485 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12486 `perl-Test2' extend to match possible "fail #N" rep count
12487 (bug#8377).
12488
c7f98048
LMI
124892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12490
65676592
LMI
12491 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12492 `smtpmail-via-smtp' now returns the error instead of nil.
12493
c7f98048
LMI
12494 * isearch.el (isearch-search-fun-function): Clarify the doc string
12495 (bug#8101).
12496
56e6cc31 124972011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12498
12499 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12500 unnecessary spaces (bug#8987).
12501
2b216704
LMI
125022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12503
12504 * net/network-stream.el (open-network-stream): Use the
12505 :end-of-capability command thoughout.
12506
125072011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12508
12509 * net/network-stream.el (open-network-stream): Add the
12510 :end-of-capability command parameter, used by pop3.el.
12511
36adf6ce
LMI
125122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12513
1ca0da0e
LMI
12514 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12515
fc00f69c
LMI
12516 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12517 for list)" (bug#6475).
12518
28fd8759 12519 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12520 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12521 an error (bug#6297).
12522
0dd8b6da
LMI
12523 * man.el (Man-reference-regexp): Allow matching possible
12524 word-wrapped references (bug#6289).
12525
ce1438d6
LMI
12526 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12527 for consistency with the other vc buffers (bug#6197).
12528 (vc-checkin): Ditto.
12529
12530 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12531
36adf6ce
LMI
12532 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12533
e83cc1f7
LMI
125342011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12535
8a20ca4c
LMI
12536 * custom.el (defcustom): Clarify that :set is only used in the
12537 Customize user interface (bug#6089).
12538
83319045
LMI
12539 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12540 associated with a file, refuse to run instead of erroring out
12541 (bug#6084).
12542
a8392169
LMI
12543 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12544 the doc string, since it appears that using `fill-column' always
12545 controls the width (bug#7845).
12546
e83cc1f7
LMI
12547 * simple.el (shell-command-on-region): Say where the error output
12548 went if `shell-command-default-error-buffer' is set (bug#6857).
12549
e47ca23b
KM
125502011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12551
12552 * allout.el (allout-yank-processing): Adjust cursor position for
12553 backwards-deleted space.
12554
12555 (allout-rebullet-heading): Register changes with
12556 allout-exposure-changed-hook, so the modified topic is properly
12557 decorated.
12558
5cf56143
LMI
125592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12560
08549772
LMI
12561 * minibuffer.el (completion-in-region): Document PREDICATE
12562 (bug#7136).
12563
48e96771
LMI
12564 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12565 of keyword/argument pairs (bug#6904).
12566
c8af70e1
SM
12567 * replace.el (multi-occur):
12568 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12569
e17d05e2
LMI
125702011-07-02 Drew Adams <drew.adams@oracle.com>
12571
12572 * dired.el (dired-mark-if): Make the message about whether it's
12573 marking or unmarking clearer (bug#8523).
12574
063b0e45
LMI
125752011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12576
12577 * disp-table.el (display-table-print-array): New function.
12578 (describe-display-table): Use it to print the vectors more pretty
12579 (Bug#8859).
12580
28545e04
MR
125812011-07-02 Martin Rudalics <rudalics@gmx.at>
12582
12583 * window.el (window-state-get-1): Don't assign clone numbers.
12584 Add clone-of item to list of window parameters.
12585 (window-state-put-2): Don't process clone numbers.
12586 (display-buffer-alist): Fix doc-string.
12587
3349e122
SM
125882011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12589
12590 * subr.el (remq): Don't allocate if it's not needed.
12591 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12592 (keymap--merge-bindings): New functions.
12593 (keymap-canonicalize): Use them to refine the canonicalization.
12594 * minibuffer.el (minibuffer-local-completion-map)
12595 (minibuffer-local-must-match-map): Move initialization from C.
12596 (minibuffer-local-filename-completion-map): Move initialization from C;
12597 don't inherit from anything here.
12598 (minibuffer-local-filename-must-match-map): Make obsolete.
12599 (completing-read-default): Use make-composed-keymap to combine
12600 minibuffer-local-filename-completion-map with either
12601 minibuffer-local-must-match-map or
12602 minibuffer-local-filename-completion-map.
12603
d224ac83
GM
126042011-07-01 Glenn Morris <rgm@gnu.org>
12605
3de63bf8
GM
12606 * type-break.el (type-break-time-sum): Use dolist.
12607
d224ac83
GM
12608 * textmodes/flyspell.el (flyspell-word-search-backward):
12609 Replace CL function.
12610
1a1e3f32
SM
126112011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12612
fe3f64d5
SM
12613 * mouse.el (mouse--strip-first-event): New function.
12614 (function-key-map): Use it to map fringe clicks to normal clicks
12615 by default.
12616
eb604e34
SM
12617 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12618 (vc-bzr-revision-completion-table): Add support for annotate and date.
12619
1a1e3f32
SM
12620 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12621 inherit from parent.
12622
5bd35902
LMI
126232011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12624
ace6c69c 12625 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12626 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12627
191e2bed
LMI
12628 * dired.el (dired-mode): Fix up the doc string as suggested by
12629 Drew Adams (bug#8817).
12630
5bd35902
LMI
12631 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12632 cookie, since the manual says that it should be possible to add
12633 this function to `find-file-hook' (bug#8709).
12634
eee8207a
TZ
126352011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12636
12637 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12638 here. Noted Ted Zlatanov as the maintainer.
12639 (cfengine-common-settings, cfengine-common-syntax): New functions
12640 to set up common things between `cfengine-mode' and
12641 `cfengine3-mode'.
12642 (cfengine3-mode): New mode.
12643 (cfengine3-defuns cfengine3-defuns-regex
12644 (cfengine3-class-selector-regex cfengine3-category-regex)
12645 (cfengine3-vartypes cfengine3-font-lock-keywords)
12646 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12647 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12648
36b148cf
MA
126492011-07-01 Michael Albinus <michael.albinus@gmx.de>
12650
12651 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12652
12653 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12654
0bf4ba9a
MR
126552011-07-01 Martin Rudalics <rudalics@gmx.at>
12656
12657 * window.el (same-window-buffer-names, same-window-regexps)
12658 (same-window-p, special-display-frame-alist)
12659 (special-display-popup-frame, special-display-function)
12660 (special-display-buffer-names, special-display-regexps)
12661 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12662 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12663 (split-window-preferred-function, split-height-threshold)
12664 (split-width-threshold, even-window-heights)
12665 (display-buffer-mark-dedicated, window-splittable-p)
12666 (split-window-sensibly, window-safely-shrinkable-p):
12667 Un-obsolete.
12668 (display-buffer): Don't spread args with function specifier
12669 because special-display-popup-frame won't like it.
12670
35837f51
PE
126712011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12672
d0672f86
PE
12673 Time-stamp simplifications and fixes.
12674 These improve accuracy slightly, and future-proof the code
12675 against some potential changes to current-time format.
12676
b9444d97
PE
12677 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12678 by using time-since and float-time.
12679
0ef923dc
PE
12680 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12681 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12682 + NNN microseconds".
12683
2f81380d
PE
12684 * type-break.el (type-break-time-sum): Rewrite using time-add.
12685
845b5c3e
PE
12686 * play/hanoi.el (hanoi-current-time-float): Remove.
12687 All uses replaced by float-time.
12688
ee6f1be0
PE
12689 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12690 This yields a more-accurate answer.
12691 (rng-time-to-float): Remove; no longer needed.
12692
fe955043
PE
12693 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12694
5777162a
PE
12695 * calendar/timeclock.el (timeclock-seconds-to-time):
12696 Defalias to seconds-to-time, since they're the same thing.
12697
3103f8b6 12698 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12699 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12700 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12701
0e61a35f
SM
127022011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12703
12704 * window.el (bury-buffer): Don't iconify the only frame.
12705 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12706 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12707
ddd63a1e
CY
127082011-07-01 Chong Yidong <cyd@stupidchicken.com>
12709
0e61a35f
SM
12710 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12711 Add mouse-yank-primary.
ddd63a1e 12712
055f4923
TZ
127132011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12714
12715 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12716
6a2fb145
SM
127172011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12718
12719 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12720 (find-library-name): Use it to find relative load names when provided
12721 absolute file name (bug#8803).
12722
fd4983f2
LMI
127232011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12724
887d14ad
LMI
12725 * textmodes/flyspell.el (flyspell-word): Consider words that
12726 differ only in case as potential doublons (bug#5687).
12727
c53dc7fc
LMI
12728 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12729 Remove two rather uninteresting debugging-like messages to make
12730 debbugs.el more silent.
12731
fd4983f2
LMI
12732 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12733 a password-like phrase.
12734
7a71b18d 127352011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12736
12737 * progmodes/cc-guess.el: New file.
12738
6a2fb145 12739 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12740
12741 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12742 derived from `c-basic-common-init'.
12743
12744 * progmodes/cc-mode.el (top-level): Require cc-guess.
12745 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12746
1fa280a3
LM
127472011-06-30 Lawrence Mitchell <wence@gmx.li>
12748
12749 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12750
e6597158
AM
127512011-06-30 Alan Mackenzie <acm@muc.de>
12752
1fa280a3
LM
12753 * progmodes/cc-engine.el (c-guess-continued-construct):
12754 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12755 lock is disabled. Name this case as "CASE G".
12756
68ba37fb
KM
127572011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12758
12759 * allout.el (allout-yank-processing): Fix injection of extra space
12760 between bullet and non-whitespace character in first topic when
12761 pasting, ensuring that the actual spacing in the pasted topic
12762 following the bullet char is preserved. This extra space was
12763 causing pasted encrypted topics to get a decrypted status even
12764 when the content was actually still encrypted. Now the decryption
12765 status from before the paste is preserved.
12766
12767 (allout-flag-region): Set all allout overlays so they evaporate
12768 when reduced to zero length (evanescent), to prevent overlay
12769 leakage.
12770
887a0b34
GM
127712011-06-30 Glenn Morris <rgm@gnu.org>
12772
94b9acce
GM
12773 * w32-fns.el (w32-charset-info-alist): Declare.
12774
1d9b46d4
GM
12775 * find-dired.el (find-grep-options): Simplify.
12776
cc232200
GM
12777 * term/ns-win.el (ns-set-resource): Declare.
12778
28e77c46
GM
12779 * ses.el (row, col): Declare dynamic variables honestly.
12780
887a0b34
GM
12781 * textmodes/reftex-parse.el (index-tags): Declare.
12782
658d8eb8
CY
127832011-06-30 Chong Yidong <cyd@stupidchicken.com>
12784
12785 * cus-edit.el (customize-push-and-save): New function.
12786
12787 * files.el (hack-local-variables-confirm): Use it.
12788
1fa280a3
LM
12789 * custom.el (load-theme): New arg NO-CONFIRM.
12790 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12791 (custom-enabled-themes): Doc fix.
12792
12793 * cus-theme.el (customize-create-theme)
12794 (custom-theme-merge-theme): Callers to load-theme changed.
12795
bb617717
LMI
127962011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12797
d61bdd5d
LMI
12798 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12799 short URLs have at least one dot in them (bug #7614).
12800
bb617717
LMI
12801 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12802 nil, because using a pty is apparently too slow (bug #895).
12803
2f31f37a
LMI
128042011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12805
12806 * mail/sendmail.el (sendmail-query-once): New function.
12807 (sendmail-query-once-function): New variable.
12808
3076b24e
GM
128092011-06-29 Glenn Morris <rgm@gnu.org>
12810
faf2a174
GM
12811 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12812
3076b24e
GM
12813 * ses.el (top-level): Require cl when compiling.
12814 (ses-set-localvars): Fix error statement.
12815 Call it at compile time to silence a storm of warnings.
12816
5386012d
MR
128172011-06-29 Martin Rudalics <rudalics@gmx.at>
12818
12819 * window.el (normalize-live-buffer): Rename to
12820 window-normalize-buffer.
12821 (normalize-live-frame): Rename to window-normalize-frame.
12822 (normalize-any-window): Rename to window-normalize-any-window.
12823 (normalize-live-window): Rename to window-normalize-live-window.
12824 (make-window-atom): Rename to window-make-atom.
12825 (window-resize-reset): Rename to window--resize-reset.
12826 (window-resize-reset-1): Rename to window--resize-reset-1.
12827 (resize-mini-window): Rename to window--resize-mini-window.
12828 (resize-subwindows-skip-p): Rename to
12829 window--resize-subwindows-skip-p.
12830 (resize-subwindows-normal): Rename to
12831 window--resize-subwindows-normal.
12832 (resize-subwindows): Rename to window--resize-subwindows.
12833 (resize-other-windows): Rename to window--resize-siblings.
12834 (resize-this-window): Rename to window--resize-this-window.
12835 (resize-root-window): Rename to window--resize-root-window.
12836 (resize-root-window-vertically): Rename to
12837 window--resize-root-window-vertically.
12838 (normalize-buffer-to-display): Rename to
12839 window-normalize-buffer-to-display.
12840 (normalize-buffer-to-switch-to): Rename to
12841 window-normalize-buffer-to-switch-to.
12842 Correspondingly update all callers of the functions listed
12843 above.
12844 (display-buffer-alist, display-buffer-normalize-arguments)
12845 (display-buffer-normalize-options, display-buffer)
12846 (display-buffer-alist-set): Use "function" instead of
12847 "fun-with-args".
12848
1176868d
CY
128492011-06-28 Chong Yidong <cyd@stupidchicken.com>
12850
12851 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12852 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12853 debbugs.gnu.org. Mention acknowledgment email.
12854
20a7a65f
LMI
128552011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12856
12857 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12858 buffer multibyteness, since it shouldn't matter.
12859
5f45cca5
MR
128602011-06-28 Martin Rudalics <rudalics@gmx.at>
12861
12862 * window.el (display-buffer-in-side-window): Handle dedicated
12863 windows as in display-buffer-reuse-window.
12864 (display-buffer-normalize-alist): Use value of override
12865 specifier.
12866 (display-buffer-normalize-specifiers): Use value of
12867 other-window-means-other-frame specifier.
12868 (display-buffer-alist): Rewrite some texts in widgets.
12869 (display-buffer): Spread arguments when calling function
12870 specified by fun-with-args.
12871
ad85fe1f
DD
128722011-06-28 Deniz Dogan <deniz@dogan.se>
12873
1fa280a3
LM
12874 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12875 Unnest `let'.
da68c4c8 12876
ad85fe1f
DD
12877 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12878 selectors (Bug#5732).
ec49bd31 12879 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12880
a08cc025
JA
128812011-06-27 Jari Aalto <jari.aalto@cante.net>
12882
12883 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12884 (eshell-ls-date-format): New defcustom.
12885 (eshell-ls-file): Use it.
12886
e2b551c5
SM
128872011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12888
12889 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12890
8982b231
KY
128912011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12892
12893 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12894 (ange-ftp-make-tmp-name): New arg.
12895 (ange-ftp-file-local-copy): Use it.
12896
36c9fa27
J
128972011-06-27 Jambunathan K <kjambunathan@gmail.com>
12898
12899 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12900 no-conversion (Bug#8870).
12901
d68443dc
MR
129022011-06-27 Martin Rudalics <rudalics@gmx.at>
12903
12904 * window.el (window-right, window-left, window-child)
12905 (window-child-count, window-last-child)
12906 (window-iso-combination-p, walk-window-tree-1)
12907 (window-atom-check-1, window-tree-1, delete-window)
12908 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12909 new naming conventions - window-vchild, window-hchild,
12910 window-next and window-prev are now called window-top-child,
12911 window-left-child, window-next-sibling and window-prev-sibling
12912 respectively.
d615d6d2
MR
12913 (resize-window-reset): Rename to window-resize-reset.
12914 (resize-window-reset-1): Rename to window-resize-reset-1.
12915 (resize-window): Rename to window-resize.
12916 (window-min-height, window-min-width)
12917 (resize-mini-window, resize-this-window, resize-root-window)
12918 (resize-root-window-vertically, adjust-window-trailing-edge)
12919 (enlarge-window, shrink-window, maximize-window)
12920 (minimize-window, delete-window, quit-restore-window)
12921 (split-window, balance-windows, balance-windows-area-adjust)
12922 (balance-windows-area, window-state-put-2)
12923 (display-buffer-even-window-sizes, display-buffer-set-height)
12924 (display-buffer-set-width, set-window-text-height)
12925 (fit-window-to-buffer): Rename all "resize-window" prefixed
12926 calls to use the "window-resize" prefix convention.
12927 (display-buffer-alist): Fix symbol for label specifier.
12928 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12929 corresponding specifier.
12930 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12931
b6458526
VB
129322011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12933
12934 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12935 convention.
12936 (ses-call-printer): Does not pass an empty string to formatter when the
12937 cell is empty to keep from barking printer Calc math-format-value.
12938
d31fd9ac
RS
129392011-06-27 Richard Stallman <rms@gnu.org>
12940
43d5bf84
RS
12941 * battery.el (battery-mode-line-limit): New variable.
12942 (battery-update): Handle it.
12943
d31fd9ac
RS
12944 * mail/rmailmm.el (rmail-mime-process-multipart):
12945 Handle truncated messages.
12946
819a6054
GM
129472011-06-27 Glenn Morris <rgm@gnu.org>
12948
12949 * progmodes/flymake.el (flymake-err-line-patterns):
12950 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12951
cedc73f2
VB
129522011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12953
819a6054 12954 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12955 (ses--clean-!, ses--clean-_): New functions.
12956 (ses-range): Add configurability of readout order, and conversion
12957 to Calc vector.
12958
5e5d49b6
VB
12959 * ses.el (ses-repair-cell-reference-all): New function.
12960 (ses-cell-symbol): Set macro as safe, so that it can be used in
12961 formulas.
12962
56e6cc31 12963 * ses.el: Update cycle detection algorithm.
90ca8b49 12964 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12965 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12966 (ses-set-localvars): New function.
12967 (ses-make-cell): Add property-list as a cell element.
12968 (ses-cell-property-get-fun, ses-cell-property-get)
12969 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12970 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12971 New functions.
90ca8b49
VB
12972 (ses-cell-property-set, ses-cell-property-pop)
12973 (ses-cell-property-get-handle): New macro.
12974 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12975 New aliases, used for code readability.
12976 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12977 cycle detection.
12978 (ses-self-reference-early-detection): New defcustom.
fac916bf 12979 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12980 (ses-mode): Use ses-set-localvars.
12981 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12982 before lauching the update processing.
12983 (ses-initialize-Dijkstra-attempt): New function.
12984 (ses-recalculate-cell): Update for cycle detection based on
12985 Dijkstra algorithm.
12986
2bb63e81
VB
12987 * ses.el: Fix commenting and indenting convention.
12988
c9d29fb8
SM
129892011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12990
12991 * bs.el (bs-cycle-next): Complete last change.
12992
d8e4b68b
JB
129932011-06-27 Drew Adams <drew.adams@oracle.com>
12994
12995 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12996
40098786
LMI
129972011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12998
c9d29fb8
SM
12999 * net/network-stream.el (network-stream-open-starttls):
13000 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13001 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13002
40098786
LMI
13003 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13004 to binary to possibly avoid line encoding issues on Windows (among
13005 other things).
13006
468d09d4
LMI
130072011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13008
13009 * net/network-stream.el (open-network-stream): Return an :error
13010 saying what the problem was, if possible.
13011
13012 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13013 server.
13014
13015 * net/network-stream.el (network-stream-open-starttls): If we
13016 wanted to use STARTTLS, and the server offered it, but we weren't
13017 able to because we had no STARTTLS support, then close the connection.
13018 (open-network-stream): Return an :error element, if present.
13019
16f07dd7
CY
130202011-06-26 Chong Yidong <cyd@stupidchicken.com>
13021
88821ca0
CY
13022 * hl-line.el (hl-line-sticky-flag): Doc fix.
13023 (global-hl-line-sticky-flag): New option (Bug#8323).
13024 (global-hl-line-highlight): Obey it.
13025
16f07dd7
CY
13026 * vc/vc.el (vc-revert-show-diff): Default to t.
13027
6b5ccddf
KM
130282011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13029
c9d29fb8
SM
13030 * allout-widgets.el (allout-widgets-post-command-business):
13031 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13032 undecorated when an isearch is continued past, and isearch
13033 automatically collapses them. This leads to "widget leaks", where
13034 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13035 hidden widgets can slow down cursor travel, substantially.
13036 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13037 so we're doing without this nicety.
13038
13039 (allout-widgets-tally-string): Don't try to do a hash-table-count
13040 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13041 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13042 *Messages* when allout-widgets-maintain-tally is t.
13043
355f2e07
MR
130442011-06-26 Martin Rudalics <rudalics@gmx.at>
13045
13046 * window.el (display-buffer-normalize-argument): Rename to
13047 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13048 LABEL argument. Respect special-display-function when popping up
13049 a new frame. Fix code searching for a window showing the buffer
13050 on another frame.
c9d29fb8
SM
13051 (display-buffer-normalize-specifiers):
13052 Call display-buffer-normalize-arguments.
355f2e07
MR
13053 (display-buffer-in-window): Don't undedicate the window if its
13054 buffer remains the same.
13055 Reported by Drew Adams <drew.adams@oracle.com>.
13056 (display-buffer-alist): Add choice for same-window macro
13057 specfier.
13058 (display-buffer): Mention special meaning of LABEL argument in
13059 doc-string. Fix quoting. Don't pop up a new frame even as
13060 fallback.
13061
7ca8fc42
JB
130622011-06-26 Juanma Barranquero <lekktu@gmail.com>
13063
13064 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13065 avoid deleting the current window in some cases (bug#8911).
13066
bc312254
AS
130672011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13068
13069 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13070 (Bug#8934)
13071
2db18f3f
LMI
130722011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13073
c9d29fb8
SM
13074 * net/network-stream.el (network-stream-open-starttls):
13075 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13076 (network-stream-open-tls): Ditto.
13077
6302e0d3
LL
130782011-06-26 Leo Liu <sdl.web@gmail.com>
13079
13080 * register.el (registerv): New struct.
13081 (registerv-make): New function.
c9d29fb8
SM
13082 (jump-to-register, describe-register-1, insert-register):
13083 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13084 struct. (Bug#8415)
13085
5fdd4046
CY
130862011-06-26 Chong Yidong <cyd@stupidchicken.com>
13087
2afef60a
CY
13088 * vc/vc.el (vc-revert-show-diff): New defcustom.
13089 (vc-diff-internal): New arg specifying diff buffer.
13090 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13091 reuse an existing *vc-diff* buffer (Bug#8927).
13092
5fdd4046
CY
13093 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13094
e93db24a
GM
130952011-06-26 Glenn Morris <rgm@gnu.org>
13096
13097 * progmodes/f90.el (f90-critical-indent): New option.
13098 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13099 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13100 (f90-mode): Doc fix.
13101 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13102 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13103 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13104 (f90-match-end): Handle block, critical.
13105
eefff499
GM
131062011-06-25 Glenn Morris <rgm@gnu.org>
13107
f6ba4cc9
GM
13108 * calendar/diary-lib.el (diary-included-files): Doc fix.
13109 (diary-include-files): New function, extracted from
13110 diary-include-other-diary-files and diary-mark-included-diary-files.
13111 (diary-include-other-diary-files, diary-mark-included-diary-files):
13112 Just call diary-include-files.
13113 (diary-mark-entries): Reset diary-included-files on first call.
13114
16712304
GM
13115 * calendar/diary-lib.el (diary-mark-entries)
13116 (diary-mark-included-diary-files):
13117 Visit included diary-files in temp buffers.
13118
5d8e0d43
GM
13119 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13120 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13121 (f90-start-block-re, f90-imenu-generic-expression)
13122 (f90-looking-at-program-block-start, f90-no-block-limit):
13123 Add support for submodules.
13124
ccf7a5d5
GM
13125 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13126 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13127
11fdef7d 131282011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13129
13130 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13131 buffer-file-type before setting its value, to avoid disastrous
eefff499 13132 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13133
74f53697
JB
131342011-06-25 Juanma Barranquero <lekktu@gmail.com>
13135
13136 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13137
13138 * ses.el (ses-unload-function):
13139 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13140
13141 * proced.el (proced-unload-function):
13142 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13143
18a4ce5e
AR
131442011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13145
13146 * server.el (server-create-window-system-frame): Add parameters arg.
13147 (server-process-filter): Doc fix. Handle frame-parameters.
13148
519d22cc
JB
131492011-06-25 Juanma Barranquero <lekktu@gmail.com>
13150
13151 Fix bug#8730, bug#8781.
13152
13153 * loadhist.el (unload--set-major-mode): New function.
13154 (unload-feature): Use it.
13155
13156 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13157 (python-unload-function): New function.
13158
c206f5b0
SM
131592011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13160
13161 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13162
f9ad64f3
GS
131632011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13164
13165 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13166 the candidates list.
13167
7d0da90e
JB
131682011-06-24 Juanma Barranquero <lekktu@gmail.com>
13169
13170 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13171
14b4e83d
RS
131722011-06-23 Richard Stallman <rms@gnu.org>
13173
13174 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13175 (rmail-variables): Set next-error-move-function.
13176 (rmail-what-message): Take argument POS.
13177 (rmail-next-error-move): New function.
13178
273d2baf
SM
131792011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13180
13181 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13182 messages for adjacent non-terminals.
13183
56c2cc9a
RS
131842011-06-23 Richard Stallman <rms@gnu.org>
13185
13186 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13187 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13188 (rmail-start-mail): Don't specify use of rmail-mail-return;
13189 that's done by mail-bury now.
13190 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13191
d59eb518
MA
131922011-06-23 Michael Albinus <michael.albinus@gmx.de>
13193
13194 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13195 SIZE is a number.
13196
02cfc6d6
MR
131972011-06-23 Martin Rudalics <rudalics@gmx.at>
13198
13199 * window.el (get-lru-window, get-mru-window)
13200 (get-largest-window): Never return a minibuffer window.
13201 (display-buffer-pop-up-window): Fix a bug that could lead to
13202 reusing the minibuffer window.
13203 (display-buffer): Pass original specifier argument to
13204 display-buffer-function instead of the normalized one.
13205 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13206
4e323265
LL
132072011-06-22 Leo Liu <sdl.web@gmail.com>
13208
13209 * minibuffer.el (completing-read-function)
13210 (completing-read-default): Move from minibuf.c
13211
7a70468f
RS
132122011-06-22 Richard Stallman <rms@gnu.org>
13213
50718fc2
RS
13214 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13215 to Rmail even if not started by a special Rmail command.
13216
7a70468f
RS
13217 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13218 Copy the buffer currently showing just one message.
13219
297dde5a
RW
132202011-06-22 Roland Winkler <winkler@gnu.org>
13221
13222 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13223 (bibtex-clean-entry): First delete the old key so that a
13224 customized algorithm for generating the new key does not get
13225 confused by the old key.
13226 (bibtex-url): Obey regexp of first step.
13227 (bibtex-search-entries): Do not use add-to-list with local
13228 list-var.
13229
97bb1093
LMI
132302011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13231
13232 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13233 stored a user name, then query for the password first, instead of
13234 waiting for SMTP to give an error message and the trying again.
13235
1c0f1a19
JD
132362011-06-22 Lawrence Mitchell <wence@gmx.li>
13237
13238 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13239 BUFFER in call-process.
13240
396f7c9d
LMI
132412011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13242
13243 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13244 QUIT twice.
ddb7ffee
LMI
13245 (smtpmail-try-auth-methods): Require user name and password from
13246 auth-source.
396f7c9d 13247
8998d1b3
MR
132482011-06-22 Martin Rudalics <rudalics@gmx.at>
13249
13250 * window.el (display-buffer-default-specifiers)
13251 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13252 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13253 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13254
13255 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13256 (special-display-frame-alist, special-display-popup-frame):
13257 Remove duplicate declarations. These are now in window.el.
13258
4ea31e07
LMI
132592011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13260
c9d29fb8
SM
13261 * mail/smtpmail.el (smtpmail-via-smtp):
13262 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13263 server supports it. SMTP servers that support STARTTLS commonly
13264 require it.
13265
13266 * net/network-stream.el (network-stream-open-starttls): Support
13267 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13268 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13269
95f41d9a
LMI
13270 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13271 upgrades with `open-network-stream', and rely solely on
13272 auth-source for all credentials. Big changes throughout the file,
13273 but in particular:
c9d29fb8
SM
13274 (smtpmail-auth-credentials): Remove.
13275 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13276 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13277 MAIL FROM, too.
95f41d9a 13278
c9d29fb8
SM
13279 * net/network-stream.el (network-stream-open-starttls):
13280 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13281 STARTTLS.
13282 (auth-source): Require.
13283 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13284 (network-stream-certificate): Change cert-cert to cert and
13285 cert-key to key.
4ea31e07 13286
065ec2c7
MA
132872011-06-21 Michael Albinus <michael.albinus@gmx.de>
13288
13289 * net/tramp-cache.el (top): Don't load the persistency file when
13290 "emacs -Q" has been called.
13291
cd93b359
DR
132922011-06-21 Tim Harper <timcharper@gmail.com>
13293
d8e4b68b
JB
13294 * term/ns-win.el (ns-initialize-window-system):
13295 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13296 resource to NO as it is not yet supported by the NS port.
13297
ae9c0411
JB
132982011-06-21 Juanma Barranquero <lekktu@gmail.com>
13299
13300 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13301 (list-dynamic-libraries): ...not here.
13302
7f3f739f
LL
133032011-06-21 Leo Liu <sdl.web@gmail.com>
13304
13305 * subr.el (sha1): Implement sha1 using secure-hash.
13306
327c8fb1
MR
133072011-06-21 Martin Rudalics <rudalics@gmx.at>
13308
13309 * window.el (display-buffer-alist): In default value do not
13310 enforce searching a window on any but the selected frame.
13311 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13312 (display-buffer-select-window): Remove function.
13313 (display-buffer-in-window): When a window on another frame gets
13314 reused, do not select it any more but just raise its frame if
13315 necessary (Bug#8851) and (Bug#8856).
13316 (display-buffer-normalize-options): Handle pop-up-frames related
13317 options more faithfully.
13318 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13319 window if it is on another frame.
c9d29fb8
SM
13320 (display-buffer-alist, display-buffer-default-specifiers):
13321 Don't make new frame unsplittable by default.
9e9de014
MR
13322 (display-buffer-normalize-argument): Fix doc-string typo and use
13323 'same-frame-other-window instead of 'other-window when associating
13324 with display-buffer-macro-specifiers.
327c8fb1 13325
7cf3f556
VB
133262011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13327
13328 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13329 New functions.
13330 (5x5-mode-map, 5x5-mode-menu): Bind them.
13331 (5x5-draw-grid): Tweak the solver's rendering.
13332
60a406cf
SM
133332011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13334
13335 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13336 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13337
d8e4b68b 133382011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13339
13340 * menu-bar.el: Use function variable instead of switch-to-buffer.
13341 (menu-bar-select-buffer-function): New variable.
60a406cf 13342 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13343
478d6f95
SM
133442011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13345
13346 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13347 variable's status.
13348
ca530739
JD
133492011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13350
13351 * x-dnd.el (x-dnd-version-from-flags)
13352 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13353 and long as number (Bug#8899).
13354 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13355
bcd70d97
SM
133562011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13357
60a406cf 13358 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13359 (completion-try-completion, completion-all-completions): Compute the
13360 metadata argument if it's missing; make it optional (bug#8795).
13361
60a406cf 13362 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13363 (widget-complete): Use new :completion-function property.
13364 (widget-completions-at-point): New function.
13365 (default): Use :completion-function instead of :complete.
60a406cf
SM
13366 (widget-default-completions): Rename from widget-default-complete;
13367 Rewrite.
bcd70d97
SM
13368 (widget-string-complete, widget-file-complete, widget-color-complete):
13369 Remove functions.
13370 (file, symbol, function, variable, coding-system, color):
13371 * international/mule-cmds.el (default-input-method, charset)
13372 (language-info-custom-alist):
13373 * cus-edit.el (face): Use new property :completions.
13374
13375 * progmodes/pascal.el (pascal-completions-at-point): New function.
13376 (pascal-mode): Use it.
13377 (pascal-mode-map): Use completion-at-point.
13378 (pascal-toggle-completions): Make obsolete.
13379 (pascal-complete-word, pascal-show-completions):
13380 * progmodes/octave-mod.el (octave-complete-symbol):
13381 Redefine as obsolete alias.
13382 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13383 Signal absence of completion info for old Octave,
13384 (inferior-octave-complete): Redefine as obsolete alias.
13385 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13386 (meta-completions-at-point): Rename from meta-complete-symbol and
13387 adapt it for use on completion-at-point-functions.
13388 (meta-common-mode): Use it.
13389 (meta-looking-at-backward, meta-match-buffer): Remove.
13390 (meta-complete-symbol): Redefine as obsolete alias.
13391 (meta-common-mode-map): Use completion-at-point.
13392 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13393 (makefile-mode-map): Use completion-at-point.
13394 (makefile-completions-at-point): Rename from makefile-complete and
13395 adapt it for use on completion-at-point-functions.
13396 (makefile-mode): Use it.
13397 (makefile-complete): Redefine as obsolete alias.
13398
aebf69c8
DD
133992011-06-20 Deniz Dogan <deniz@dogan.se>
13400
13401 * net/rcirc.el: Delete trailing whitespaces once and for all.
13402
bfbbb27d
DC
134032011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13404
13405 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13406
d264a46b
CY
134072011-06-19 Chong Yidong <cyd@stupidchicken.com>
13408
4ca009e5
CY
13409 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13410
d264a46b
CY
13411 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13412
fbf5b3ce
MR
134132011-06-19 Martin Rudalics <rudalics@gmx.at>
13414
13415 * window.el (display-buffer-other-window-means-other-frame):
13416 Call display-buffer-normalize-alist.
13417 (display-buffer-normalize-specifiers-1): Rename to
13418 display-buffer-normalize-argument. New argument other-frame.
13419 Rewrite.
13420 (display-buffer-normalize-specifiers-2): Rename to
13421 display-buffer-normalize-options.
13422 (display-buffer-normalize-alist-1): New function.
13423 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13424 display-buffer-normalize-alist.
13425 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13426 (display-buffer-normalize-options-inhibit): New variable.
13427 (display-buffer-normalize-specifiers): Rewrite calling
13428 display-buffer-normalize-alist,
13429 display-buffer-normalize-argument, and
13430 display-buffer-normalize-options. Don't call the latter if
13431 display-buffer-normalize-options-inhibit is non-nil.
13432 (frame-auto-delete): New option.
13433 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13434 (window-list-no-nils, window-state-ignored-parameters)
13435 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13436 (window-state-put-1, window-state-put-2, window-state-put):
13437 New functions.
9a028c23
MR
13438 (display-buffer-normalize-options): Move special-display-p group
13439 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13440
6d10d800
CY
134412011-06-18 Chong Yidong <cyd@stupidchicken.com>
13442
6420d28b
CY
13443 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13444 groups (Bug#8776).
13445 (rx-submatch-n): New function.
13446 (rx): Document it.
13447
ddb8b596
CY
13448 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13449 (Bug#8768).
13450
13451 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13452
77080289
CY
13453 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13454
61dfb316
CY
13455 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13456 anytime existing face settings are present (Bug#8889).
13457
6d10d800
CY
13458 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13459 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13460 Remove unused argument.
13461
be3fb2b8
MR
134622011-06-18 Martin Rudalics <rudalics@gmx.at>
13463
bcd70d97
SM
13464 * window.el (display-buffer-default-specifiers):
13465 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13466 pop-up-window-min-width, and another reuse-window specifier
13467 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13468 (display-buffer-normalize-specifiers-2):
13469 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13470 pop-up-windows is unset. Add a reuse-window specifier for the
13471 case popping up a new window fails.
13472 (special-display-popup-frame): Remove double quoting.
28dec25a 13473 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13474
1c6d8c76
SM
134752011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13476
13477 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13478 according to comint-completion-addsuffix.
13479
13480 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13481 (pcomplete-suffix-list): Mark as obsolete.
13482 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13483 pcomplete-seen in the closure.
13484 (pcomplete-comint-setup): Setup completion-at-point as well.
13485 (pcomplete--entries): New function.
13486 (pcomplete--env-regexp): New var.
13487 (pcomplete-entries): Rewrite to work with partial-completion and
13488 without relying on pcomplete-suffix-list.
13489 (pcomplete-pare-list): Remove, unused.
13490
25aef8b8
MR
134912011-06-17 Martin Rudalics <rudalics@gmx.at>
13492
13493 * window.el (display-buffer-alist): Set pop-up-window-min-height
13494 and pop-up-window-min-width in default value. Reported by
13495 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13496 other-window-means-other-frame.
13497 (display-buffer-macro-specifiers): Comment out entry for
13498 other-window specifier.
13499 (display-buffer-other-window-means-other-frame): New function.
13500 (display-buffer-normalize-specifiers-1): New arguments
13501 buffer-name and label. Treat other-window case specially.
13502 (display-buffer-normalize-specifiers-2): Treat other-window case
13503 specially.
13504 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13505 (display-buffer-normalize-specifiers):
13506 Call display-buffer-normalize-specifiers-3.
25aef8b8 13507
dbad4f69
MR
135082011-06-17 Martin Rudalics <rudalics@gmx.at>
13509
13510 * window.el (same-window-p): Fix two typos introduced when
13511 adding with-no-warnings.
d1067961
MR
13512 (display-buffer-normalize-specifiers-1): Don't check
13513 pop-up-frames for 'unset initialization.
13514 (display-buffer-normalize-specifiers-2): Major rewrite using
13515 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13516 (pop-up-frames, display-buffer-reuse-frames)
13517 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13518 Suggested by David Engster <deng@randomsample.de>.
13519 (even-window-heights): Initialize to 'unset.
13520 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13521 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13522 other window case.
dbad4f69 13523
9b9c9e3a
MR
135242011-06-16 Martin Rudalics <rudalics@gmx.at>
13525
bcd70d97
SM
13526 * window.el (display-buffer-normalize-specifiers-1):
13527 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13528 second argument of display-buffer (Bug#8865).
981d5c09
MR
13529 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13530 (switch-to-buffer-other-window-same-frame)
13531 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13532 Adams (Bug#8875).
9c2755e9
MR
13533 (display-buffer): Don't check noninteractive when calling
13534 display-buffer-pop-up-frame.
13535 (display-buffer-pop-up-frame): Never pop up a frame in
13536 noninteractive mode (Bug#8857).
67222e1d
MR
13537 (enlarge-window, shrink-window): Don't report an error when the
13538 window can't be resized as requested (Bug#8862).
9b9c9e3a 13539
2b75be67
SM
135402011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13541
9ffdd3ba
SM
13542 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13543
cb581a67
SM
13544 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13545
2b75be67
SM
13546 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13547
8c0e3589
AM
135482011-06-15 Alan Mackenzie <acm@muc.de>
13549
cb581a67
SM
13550 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13551 for declarators, disable knr checking to speed up for normal files.
13552 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13553
b96e6cde
LMI
135542011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13555
4bba86e6
LMI
13556 * net/network-stream.el (open-network-stream): Add the keyword
13557 :always-query-capabilities for the case where you want to force a
13558 `plain' network connection, but the protocol still requires the
13559 capabilitiy command (i.e., SMTP and EHLO).
13560
2b75be67 13561 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13562 consistency with other `-live-p' functions.
13563
efdcdbf8
SM
135642011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13565
13566 * window.el (same-window-buffer-names, same-window-regexps)
13567 (special-display-frame-alist, special-display-popup-frame)
13568 (special-display-function, special-display-buffer-names)
13569 (special-display-regexps, pop-up-frame-alist)
13570 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13571 (pop-up-windows, split-window-preferred-function)
13572 (split-height-threshold, split-width-threshold, even-window-heights)
13573 (display-buffer-mark-dedicated): Don't encourage the use of
13574 display-buffer-alist from Elisp code.
13575
c5cde042
DN
135762011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13577
13578 * progmodes/python.el (python-mode): Derive from prog-mode.
13579 * progmodes/ps-mode.el (ps-mode):
13580 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13581 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13582 * progmodes/ld-script.el (ld-script-mode): Likewise.
13583
baa1c9ab
MR
135842011-06-15 Martin Rudalics <rudalics@gmx.at>
13585
13586 * window.el (display-buffer-alist): Trim default value to avoid
13587 popping up a new frame (Bug#8857) or reusing an arbitrary window
13588 on another frame.
13589 (display-buffer): Do not fall back on popping up a new frame in
13590 batch mode (Bug#8857).
13591
c5dd5a51
CY
135922011-06-14 Chong Yidong <cyd@stupidchicken.com>
13593
13594 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13595 (custom-theme-summary): New function.
13596 (customize-themes): Use it.
13597
d647b7c4
GM
135982011-06-13 Glenn Morris <rgm@gnu.org>
13599
13600 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13601
9481c002
MR
136022011-06-13 Martin Rudalics <rudalics@gmx.at>
13603
357f93d2
MR
13604 * help.el (help-window): Remove variable.
13605 (help-window-point-marker, temp-buffer-max-height)
13606 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13607 (help-print-return-message): Don't set help-window.
13608 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13609 (help-window-setup-finish): Remove.
13610 (help-window-display-message, help-window-setup)
13611 (with-help-window): Major rewrite based on new
13612 display-buffer-window variable.
13613
13614 * help-mode.el (help-mode-finish): Remove help-window related
13615 code.
13616
13617 * view.el (view-exits-all-viewing-windows): Remove reference to
13618 view-return-to-alist in doc-string.
13619 (view-return-to-alist): Make obsolete.
13620 (view-buffer): Call pop-to-buffer-same-window and remove
13621 undo-window code.
13622 (view-buffer-other-window): Call pop-to-buffer-other-window and
13623 simplify code. Ignore second argument.
13624 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13625 simplify code. Ignore second argument.
13626 (view-return-to-alist-update): Make obsolete.
13627 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13628 Rewrite using quit-restore window parameters.
2b75be67
SM
13629 (view-mode-exit): Rename second argument to EXIT-ONLY.
13630 Rewrite using quit-restore-window.
357f93d2
MR
13631 (View-exit, View-exit-and-edit, View-leave, View-quit)
13632 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13633 appropriate arguments.
13634 (view-end-message): Use quit-restore window parameter.
13635
9481c002
MR
13636 * window.el (display-buffer-function): Rewrite doc-string.
13637 (display-buffer-window, display-buffer-alist): New variables.
13638 (display-buffer-split-specifiers)
13639 (display-buffer-side-specifiers)
13640 (display-buffer-macro-specifiers): New constants.
13641 (display-buffer-even-window-sizes, display-buffer-set-height)
13642 (display-buffer-set-width, display-buffer-select-window)
13643 (display-buffer-in-window, display-buffer-reuse-window)
13644 (display-buffer-split-window-1, display-buffer-split-window)
13645 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13646 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13647 (display-buffer-in-side-window, normalize-buffer-to-display)
13648 (display-buffer-normalize-specifiers-1)
13649 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13650 (display-buffer-normalize-specifiers, display-buffer-frame):
13651 New functions.
9481c002
MR
13652 (display-buffer): Major rewrite.
13653 (display-buffer-other-window, display-buffer-other-frame)
13654 (pop-to-buffer, switch-to-buffer-other-window)
13655 (switch-to-buffer-other-frame): Rewrite.
13656 (display-buffer-same-window, display-buffer-same-frame)
13657 (display-buffer-same-frame-other-window)
13658 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13659 (pop-to-buffer-other-window)
13660 (pop-to-buffer-same-frame-other-window)
13661 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13662 (switch-to-buffer-other-window-same-frame): New functions.
13663 (same-window-p, special-display-p): Rewrite disabling warnings.
13664 Make obsolete.
13665 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13666 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13667 Make obsolete
13668 (same-window-buffer-names, same-window-regexps)
13669 (special-display-frame-alist, special-display-popup-frame)
13670 (special-display-function, special-display-buffer-names)
13671 (special-display-regexps, pop-up-frame-alist)
13672 (pop-up-frame-function, split-window-preferred-function)
13673 (split-height-threshold, split-width-threshold)
13674 (even-window-heights): Make obsolete.
13675
9db51aca
GM
136762011-06-12 Glenn Morris <rgm@gnu.org>
13677
13678 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13679 Misc simplifications.
9db51aca 13680
39cffb44
MR
136812011-06-12 Martin Rudalics <rudalics@gmx.at>
13682
13683 * window.el (window-safely-shrinkable-p): Restore function which
13684 was inadvertently removed in change from 2011-06-11. Declare as
13685 obsolete.
13686
2b75be67
SM
13687 * calendar/calendar.el (calendar-generate-window):
13688 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13689 window-safely-shrinkable-p.
13690
a8955be7
GM
136912011-06-12 Glenn Morris <rgm@gnu.org>
13692
13693 * progmodes/fortran.el (fortran-mode-syntax-table):
13694 * progmodes/f90.el (f90-mode-syntax-table):
13695 Set % to punctuation. (Bug#8820)
13696 (f90-find-tag-default): Remove, no longer needed.
13697
f0d4059d
DC
136982011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13699
13700 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13701
1100a63c
CY
137022011-06-11 Chong Yidong <cyd@stupidchicken.com>
13703
13704 * image.el (image-animated-p): Return animation delay in seconds.
13705 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13706 (image-animate-timeout): Remove DELAY argument. Don't assume
13707 every subimage has the same delay; get it from image-animated-p.
13708 (image-animate): Caller changed.
13709
def722bf
MA
137102011-06-11 Michael Albinus <michael.albinus@gmx.de>
13711
13712 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13713 to ignored backtrace functions.
13714
0a2bb1a9
GM
137152011-06-11 Glenn Morris <rgm@gnu.org>
13716
13717 * calendar/appt.el (appt-disp-window-function): Doc fix.
13718 (appt-check): Handle overlapping appointments. (Bug#8337)
13719
6198ccd0
MR
137202011-06-11 Martin Rudalics <rudalics@gmx.at>
13721
13722 * window.el (window-tree-1, window-tree): New functions, moving
13723 the latter to window.el.
13724 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13725 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13726 (bw-refresh-edges): Remove.
13727 (balance-windows-1, balance-windows-2): New functions.
13728 (balance-windows): Rewrite in terms of window tree functions,
13729 balance-windows-1 and balance-windows-2.
13730 (bw-adjust-window): Remove.
13731 (balance-windows-area-adjust): New function with functionality of
13732 bw-adjust-window but using resize-window.
2b75be67
SM
13733 (set-window-text-height): Rewrite doc-string.
13734 Use normalize-live-window and resize-window.
13735 (enlarge-window-horizontally, shrink-window-horizontally):
13736 Rename argument to DELTA.
6198ccd0
MR
13737 (window-buffer-height): New function.
13738 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13739 Rewrite using new window resize routines.
2b75be67
SM
13740 (kill-buffer-and-window, mouse-autoselect-window-select):
13741 Use ignore-errors instead of condition-case.
6198ccd0
MR
13742 (quit-window): Call delete-frame instead of delete-windows-on
13743 for the only buffer on frame.
13744
9397e56f
MR
137452011-06-10 Martin Rudalics <rudalics@gmx.at>
13746
13747 * loadup.el (top-level): Load window before files for the sake
13748 of replace-buffer-in-windows.
13749
13750 * files.el (read-buffer-to-switch)
13751 (switch-to-buffer-other-window)
2b75be67
SM
13752 (switch-to-buffer-other-frame, display-buffer-other-frame):
13753 Move to window.el.
9397e56f
MR
13754
13755 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13756 (previous-buffer): Move to window.el.
13757
13758 * bindings.el (unbury-buffer): Move to window.el.
13759
13760 * window.el (delete-other-windows-vertically): Move after
13761 definition of delete-other-windows.
13762 (other-window, delete-windows-on, replace-buffer-in-windows):
13763 Move here from window.c.
13764 (record-window-buffer, unrecord-window-buffer)
13765 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13766 (switch-to-next-buffer): New functions.
13767 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13768 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13769 (previous-buffer): Move here from simple.el.
13770 Call switch-to-prev-buffer.
9397e56f
MR
13771 (bury-buffer): Move here from buffer.c. Switch to previous
13772 buffer when window cannot be deleted.
13773 (unbury-buffer): Move here from bindings.el.
13774 (ctl-x-map): Move binding for other-window from window.c to
13775 here.
13776 (read-buffer-to-switch, switch-to-buffer-other-window)
13777 (switch-to-buffer-other-frame): Move here from files.el.
13778 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13779 (switch-to-buffer): Move here from buffer.c.
13780 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13781
562dd5e9
MR
137822011-06-10 Martin Rudalics <rudalics@gmx.at>
13783
13784 * window.el (window-min-height, window-min-width): Move here
13785 from window.c. Add defcustoms and rewrite doc-strings.
13786 (resize-mini-window, resize-window): New functions.
13787 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13788 Move here from window.c.
13789 (maximize-window, minimize-window): New functions.
13790 (delete-window, delete-other-windows, split-window): Move here
13791 from window.c.
13792 (window-split-min-size): New function.
13793 (split-window-keep-point): Mention split-window-above-each-other
13794 instead of split-window-vertically.
2b75be67 13795 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13796 Rename split-window-vertically to split-window-above-each-other
13797 and provide defalias for old definition.
13798 (split-window-side-by-side, split-window-horizontally):
13799 Rename split-window-horizontally to split-window-side-by-side
13800 and provide defalias for the old definition.
562dd5e9
MR
13801 (ctl-x-map): Move bindings for delete-window,
13802 delete-other-windows and enlarge-window here from window.c.
13803 Replace bindings for split-window-vertically and
13804 split-window-horizontally by bindings for
13805 split-window-above-each-other and split-window-side-by-side.
13806
13807 * cus-start.el (all): Remove entries for window-min-height and
13808 window-min-width. Add entries for window-splits and
13809 window-nest.
13810
f0da764a
GM
138112011-06-09 Glenn Morris <rgm@gnu.org>
13812
80675c21
GM
13813 * calendar/appt.el (appt-mode-line): New function.
13814 (appt-check, appt-disp-window): Use it.
13815
f0da764a
GM
13816 * files.el (hack-one-local-variable-eval-safep):
13817 Allow minor-modes with explicit +/-1 arguments.
13818
59f623b7
TZ
138192011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13820
13821 * term/xterm.el (xterm): Add defgroup.
13822 (xterm-extra-capabilities): Add defcustom to supply known xterm
13823 capabilities, skip querying them, or query them (default).
13824 (terminal-init-xterm): Use it.
13825 (terminal-init-xterm-modify-other-keys): New function to set up
13826 modifyOtherKeys support to simplify `terminal-init-xterm'.
13827
9aab8e0d
MR
138282011-06-09 Martin Rudalics <rudalics@gmx.at>
13829
13830 * window.el (resize-window-reset, resize-window-reset-1)
13831 (resize-subwindows-skip-p, resize-subwindows-normal)
13832 (resize-subwindows, resize-other-windows, resize-this-window)
13833 (resize-root-window, resize-root-window-vertically)
13834 (window-deletable-p, window-or-subwindow-p)
13835 (frame-root-window-p): New functions.
13836
e8b08aee
GM
138372011-06-09 Glenn Morris <rgm@gnu.org>
13838
13839 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13840 (ange-ftp-get-files): Use it.
13841
254c37a5
AK
138422011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13843
13844 * mail/sendmail.el (mail-recover-1, mail-recover):
13845 * files.el (recover-file, recover-session):
13846 Handle dired-listing-switches not being just a single short option.
13847
35d7dbd3
GM
138482011-06-09 Glenn Morris <rgm@gnu.org>
13849
13850 * calendar/appt.el (appt-display-message, appt-disp-window):
13851 Handle lists of appointments.
13852
387522b2
MR
138532011-06-08 Martin Rudalics <rudalics@gmx.at>
13854
2b75be67
SM
13855 * window.el (one-window-p): Move down in code.
13856 Rewrite doc-string.
13857 (window-current-scroll-bars): Rewrite doc-string.
13858 Normalize live window argument.
387522b2
MR
13859 (walk-windows, get-window-with-predicate, count-windows):
13860 Rewrite doc-string. Use window-list-1.
13861 (window-in-direction-2, window-in-direction, get-mru-window):
13862 New functions.
13863
d8e4b68b 138642011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13865
13866 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13867 Doc fix (Bug#8713).
13868
138692011-06-08 Chong Yidong <cyd@stupidchicken.com>
13870
13871 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13872
138732011-06-08 Juanma Barranquero <lekktu@gmail.com>
13874
13875 * loadhist.el (unload-feature-special-hooks):
13876 Add `comint-output-filter-functions'.
13877
0de12c52
IK
138782011-06-08 Ivan Kanis <gnu@kanis.fr>
13879
13880 * calendar/appt.el (appt-check): Move some initializations into the let.
13881
f3d1777e
MR
138822011-06-08 Martin Rudalics <rudalics@gmx.at>
13883
13884 * window.el (window-height): Defalias to window-total-height.
13885 (window-width): Defalias to window-body-width.
13886
18af70d0
CY
138872011-06-07 Chong Yidong <cyd@stupidchicken.com>
13888
13889 * image-mode.el (image-toggle-animation): New command.
13890 (image-mode-map): Bind it to RET.
13891 (image-mode): Update message.
13892 (image-toggle-display-image): Avoid a spurious cache flush.
13893 (image-transform-rotation): Doc fix.
13894 (image-transform-properties): Return quickly in the normal case.
13895 (image-animate-loop): Rename from image-animate-max-time.
13896
2b75be67 13897 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13898 (create-animated-image): Remove unnecessary function.
13899 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13900 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13901 (image-animate-timer): Use car-safe.
13902 (image-animate-timeout): Rename argument.
13903
190b47e6
MR
139042011-06-07 Martin Rudalics <rudalics@gmx.at>
13905
13906 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13907 window.c. Rename first argument to ALL-FRAMES.
13908 Rephrase doc-strings.
13909 (get-buffer-window-list): Rewrite using window-list-1.
13910 Rephrase doc-string.
a1511caf
MR
13911 (window-safe-min-height, window-safe-min-width): New constants.
13912 (window-size-ignore, window-min-size, window-min-size-1)
13913 (window-sizable, window-sizable-p, window-size-fixed-1)
13914 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13915 (window-max-delta-1, window-max-delta, window-resizable)
13916 (window-resizable-p, window-total-height, window-total-width)
13917 (window-body-width): New functions.
13918 (window-full-height-p, window-full-width-p): Rewrite using
13919 window-total-size.
13920 (window-body-height): Rewrite using window-body-size.
190b47e6 13921
85cc1f11
MR
139222011-06-06 Martin Rudalics <rudalics@gmx.at>
13923
13924 * window.el (window-right, window-left, window-child)
13925 (window-child-count, window-last-child, window-any-p)
13926 (normalize-live-buffer, normalize-live-frame)
13927 (normalize-any-window, normalize-live-window)
13928 (window-iso-combination-p, window-iso-combined-p)
13929 (window-iso-combinations)
13930 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13931 (windows-with-parameter, window-with-parameter)
13932 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13933 (window-atom-check, window-side-check, window-check):
13934 New functions.
85cc1f11
MR
13935 (ignore-window-parameters, window-sides, window-sides-vertical)
13936 (window-sides-slots): New variables.
13937 (window-size-fixed): Move down in code. Minor doc-string fix.
13938
e7156492
AS
139392011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13940
13941 * comint.el (comint-dynamic-complete-as-filename)
13942 (comint-dynamic-complete-filename): Correctly call
13943 completion-in-region.
13944
7e821d0d
DD
139452011-06-05 Deniz Dogan <deniz@dogan.se>
13946
13947 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13948 in last change.
13949
ac09b8a1
DD
139502011-06-05 Deniz Dogan <deniz@dogan.se>
13951
13952 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13953 (rcirc): Use it to prompt for encryption.
13954
34699b85
RW
139552011-06-05 Roland Winkler <winkler@gnu.org>
13956
13957 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13958 (bibtex-search-entries): New command bound to C-c C-a.
13959 (bibtex-display-entries): New function.
13960
004dedd3
RW
139612011-06-05 Roland Winkler <winkler@gnu.org>
13962
13963 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13964 (bibtex-insert-kill): After yanking insert newline if necessary.
13965 (bibtex-initialize): Call bibtex-string-files-init only once.
13966 (bibtex-mode): Do not call easy-menu-add.
13967 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13968 (bibtex-yank): Set arg properly if nil.
13969
022fe7ce
RW
139702011-06-05 Roland Winkler <winkler@gnu.org>
13971
2b75be67
SM
13972 * textmodes/bibtex.el (bibtex-search-entry-globally):
13973 New variable.
022fe7ce
RW
13974 (bibtex-search-entry): Use it.
13975
b7c3692a
RW
139762011-06-05 Roland Winkler <winkler@gnu.org>
13977
13978 * textmodes/bibtex.el (bibtex-entry-format): New option
13979 sort-fields.
13980 (bibtex-format-entry, bibtex-reformat): Honor this option.
13981 (bibtex-parse-entry): Return fields in proper order.
13982
8eda563d
JB
139832011-06-05 Juanma Barranquero <lekktu@gmail.com>
13984
13985 * doc-view.el (doc-view-remove-if): Move computation of result out
13986 of `dolist' to silence misleading lexical-binding warning.
13987
7dbe3dbc
CY
139882011-06-04 Chong Yidong <cyd@stupidchicken.com>
13989
13990 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13991 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13992
0c33dd17
MA
139932011-06-04 Michael Albinus <michael.albinus@gmx.de>
13994
13995 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13996 "SunOS 5.10".
13997
f8f91c2b
MA
139982011-06-04 Michael Albinus <michael.albinus@gmx.de>
13999
14000 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14001 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14002 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14003 (tramp-parse-putty):
14004 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14005 (tramp-completion-function-alist-ssh)
14006 (tramp-completion-function-alist-telnet)
14007 (tramp-completion-function-alist-su)
14008 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14009 cookie.
14010
14011 * net/tramp-ftp.el:
14012 * net/tramp-sh.el:
14013 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14014 load "tramp.el" `tramp-set-completion-function'.
14015
e17d9003
SM
140162011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14017
14018 * shell.el: Require and use pcomplete.
14019 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14020 (shell-completion-vars): Set pcomplete-default-completion-function.
14021
6c4cab03
DD
140222011-06-04 Deniz Dogan <deniz@dogan.se>
14023
14024 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14025 `memq' (Bug#8799).
14026
ea9fafe0
SM
140272011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14028
14029 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14030
b3e945d3
JB
140312011-06-02 Juanma Barranquero <lekktu@gmail.com>
14032
14033 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14034 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14035 * vc/log-view.el (log-view-beginning-of-defun):
14036 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14037 (smerge-refine-forward, smerge-refine-chopup-region):
14038 Silence warning for unused `dotimes' counter variables.
14039
7d520089
SM
140402011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14041
14042 * net/tramp.el (tramp-with-progress-reporter): Rename from
14043 with-progress-reporter. Use `declare'.
14044 * net/tramp-smb.el:
14045 * net/tramp-sh.el:
14046 * net/tramp-gvfs.el: Update all uses.
14047
a1c2400f
JB
140482011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14049
14050 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14051 buffer isn't killed before making it current.
14052
2403c841
SM
140532011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14054
14055 Silence various byte-compiler warnings.
14056 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14057 `access-type' and new obsolescence format.
14058 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14059 new format.
14060 (byte-compile-check-variable): New `access-type' argument.
14061 Only warn if the access-type is obsolete.
14062 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14063 (byte-compile-variable-set): Adjust callers.
14064 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14065 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14066 setting it as obsolete.
14067 * simple.el (minibuffer-completing-symbol):
14068 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14069 access as obsolete.
14070 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14071 obsolete yet.
14072 * international/quail.el (quail-mouse-choose-completion): Remove unused
14073 code referring to obsolete var.
14074 (quail-choose-completion-string): Remove.
14075 * server.el (server-clients-with, server-kill-buffer-query-function)
14076 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14077 * proced.el (proced-send-signal):
14078 * emacs-lisp/lisp.el (lisp-complete-symbol):
14079 Replace completion-annotate-function with completion-extra-properties.
14080
2462470b
SM
140812011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14082
fb5b2591
SM
14083 * simple.el (goto-line): Use read-number.
14084 (overriding-map-is-bound): Remove.
14085 (saved-overriding-map): Change default.
14086 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14087 Take the map as argument.
14088 (universal-argument, negative-argument, digit-argument): Use it.
14089 (restore-overriding-map): Adjust.
14090 (do-auto-fill): Use fill-forward-paragraph.
14091 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14092
fd6fa53f
SM
14093 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14094 (minibuffer-inactive-mode): New major mode.
14095 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14096 the *Messages* buffer" hack.
14097 (mouse-popup-menubar): Don't burp if the event is a normal key.
14098
2462470b
SM
14099 Miscellaneous tweaks.
14100 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14101 lexical scoping as in subr.el's dolist and dotimes.
14102 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14103 Silence compiler warning.
14104 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14105 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14106 * international/ccl.el (ccl-compile): Trivial simplification.
14107 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14108 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14109 `printflag' argument.
14110 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14111 Purecopy the whole obsolescence data.
14112
108bf785
LL
141132011-06-01 Leo Liu <sdl.web@gmail.com>
14114
14115 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14116 improve doc-string as suggested by Marco Pessotto
14117 <melmothx@gmail.com>.
14118 (rcirc-print): Fix last change.
14119
30a23501
SM
141202011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14121
14122 * minibuffer.el (complete-with-action): Return nil for the metadata and
14123 boundaries of non-functional tables.
14124 (completion-table-dynamic): Return nil for the metadata.
14125 (completion-table-with-terminator): Add default case, using
14126 complete-with-action.
14127 (completion--metadata): New function.
14128 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14129 to try and avoid pathological performance problems.
14130 (completion--embedded-envvar-table): Return `category' metadata.
14131
bcd54f83
LMI
141322011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14133
14134 * subr.el (process-alive-p): New tiny convenience function.
14135
e227544d
SM
141362011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14137
14138 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14139 content but also its previous major mode.
14140
e8296fdc
HE
141412011-05-31 Helmut Eller <eller.helmut@gmail.com>
14142
4d61f28d 14143 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14144 *Backtrace* buffer when we exit with C-M-c.
14145
620c53a6
SM
141462011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14147
14148 * minibuffer.el: Add metadata method to completion tables.
14149 (completion-category-overrides): New defcustom.
14150 (completion-metadata, completion--field-metadata)
14151 (completion-metadata-get, completion--styles)
14152 (completion--cycle-threshold): New functions.
14153 (completion-try-completion, completion-all-completions):
14154 Add `metadata' argument to choose completion-styles.
14155 (completion--do-completion): Use metadata to choose cycling.
14156 (completion-all-sorted-completions): Use metadata for sorting.
14157 Remove :completion-cycle-penalty which is not needed any more.
14158 (completion--try-word-completion): Add `metadata' argument.
14159 (minibuffer-completion-help): Check metadata for annotation function
14160 and sorting.
14161 (completion-file-name-table): Return `category' metadata.
14162 (minibuffer-completing-file-name): Make obsolete.
14163 * simple.el (minibuffer-completing-symbol): Make obsolete.
14164 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14165 completion-try-completion.
14166
1257e755
SM
141672011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14168
14169 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14170
3767e706
LL
141712011-05-30 Leo Liu <sdl.web@gmail.com>
14172
14173 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14174 (rcirc-print): Decode all incoming messages (bug#8744).
14175 (rcirc-decode-coding-system): Allow value nil for automatic coding
14176 system detection.
3767e706 14177
d1a5d56a
GM
141782011-06-01 Glenn Morris <rgm@gnu.org>
14179
14180 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14181
e8cbec34
CY
141822011-05-29 Chong Yidong <cyd@stupidchicken.com>
14183
14184 * image.el (image-animate-max-time): Allow nil and t values.
14185 Default to nil.
14186 (create-animated-image): Doc fix.
14187 (image-animate-start): Remove second arg; just use
14188 image-animate-max-time.
14189 (image-animate-timeout): Doc fix. Args changed.
14190
14191 * image-mode.el (image-toggle-display-image): Ensure that the
14192 image spec passed to the animate timer is the same object as in
58179cce 14193 the buffer's display property (Bug#6981).
e8cbec34
CY
14194 (image-transform-properties): Doc fix.
14195
14196 * image.el (image-animate-max-time): Default to nil.
14197
159daf87
MR
141982011-05-29 Martin Rudalics <rudalics@gmx.at>
14199
14200 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14201 entire buffer list (Bug#8184).
14202
d66c4c7c
CY
142032011-05-29 Chong Yidong <cyd@stupidchicken.com>
14204
14205 * image.el (imagemagick-types-inhibit)
14206 (imagemagick-register-types): Doc fix.
14207
80aec780
DD
142082011-05-29 Deniz Dogan <deniz@dogan.se>
14209
14210 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14211 default.
14212
1dd3c2d9
CY
142132011-05-29 Chong Yidong <cyd@stupidchicken.com>
14214
14215 * select.el: Don't perform clipboard-manager saving in hooks;
14216 leave the hooks empty.
14217
60e56523
LL
142182011-05-28 Leo Liu <sdl.web@gmail.com>
14219
14220 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14221 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14222 (occur-edit-mode): New major mode (Bug#8463).
14223 (occur-after-change-function): New function.
14224 (occur-engine): Give Occur tags a read-only property.
14225
2b1e1a22
KR
142262011-05-28 Kevin Ryde <user42@zip.com.au>
14227
14228 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14229
5d344e88
CY
142302011-05-28 Chong Yidong <cyd@stupidchicken.com>
14231
8e6ca83d
CY
14232 * bindings.el (help-echo): Make the initial non-indicator dash
14233 empty on graphical terminals (Bug#7295).
14234
5d344e88
CY
14235 * files.el (auto-mode-alist): Move config rule after the
14236 in-stripping one (Bug#8547).
14237
bfbbace7
CY
14238 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14239
fbeba6e2
CY
14240 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14241 setting (Bug#8740).
14242
60ed8c72
AA
142432011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14244
4ac619f0
AA
14245 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14246 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14247 (Bug#8539).
60ed8c72 14248
23db196e
CY
142492011-05-28 Chong Yidong <cyd@stupidchicken.com>
14250
14251 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14252
5012f24c
DK
142532011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14254
14255 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14256 (hs-hide-block-at-point, hs-find-block-beginning)
14257 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14258 (Bug#8279).
14259
6a639b16
GM
142602011-05-28 Glenn Morris <rgm@gnu.org>
14261
14262 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14263
d43eaf2c
CY
142642011-05-28 Chong Yidong <cyd@stupidchicken.com>
14265
5199bde1
CY
14266 * help-fns.el (describe-function-1): If the function is a derived
14267 major mode, print the parent mode.
14268
d43eaf2c
CY
14269 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14270 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14271
423428a8
SM
142722011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14273
0ff8e1ba 14274 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14275 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14276 * progmodes/etags.el (tags-completion-at-point-function):
14277 * info-look.el (info-lookup-completions-at-point): Mark as
14278 non-exclusive.
14279 (info-complete): Adjust accordingly.
14280
423428a8
SM
14281 * info-look.el: Convert to lexical-binding and completion-at-point.
14282 (info-lookup-completions-at-point): New function.
14283 (info-complete): Use it and completion-in-region.
14284
b74aa22b
DA
142852011-05-28 Drew Adams <drew.adams@oracle.com>
14286
14287 * isearch.el: Let M-e start with point at the first mismatched char.
14288 (isearch-fail-pos): New function.
14289 (isearch-edit-string): Use it.
14290
66e2e71d
DK
142912011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14292
14293 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14294
b1890b0f 142952011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14296
14297 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14298 traversal functions for avl-trees.
14299 (avl-tree--stack): New struct.
14300 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14301 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14302 (avl-tree--do-enter): Add optional `updatefun' arg.
14303 Change return value.
eb95d01d 14304 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14305 (avl-tree--do-delete): Add `test' and `nilflag' args.
14306 Change return value.
eb95d01d
TC
14307 (avl-tree-member): Add optional `nilflag'
14308 (avl-tree-member-p): New function.
14309 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14310 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14311 (avl-tree-stack-empty-p): New functions.
14312
3769ddcf
TC
14313 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14314 avl-tree--del-balance1 and make it work both ways.
14315 (avl-tree--del-balance2): Remove.
14316 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14317 make it work both ways.
14318 (avl-tree--enter-balance2): Remove.
14319 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14320 New macros.
14321 (avl-tree--mapc, avl-tree-map): Add direction argument.
14322
eb95d01d 143232011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14324
14325 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14326
a9f737ee
CY
143272011-05-27 Chong Yidong <cyd@stupidchicken.com>
14328
14329 * select.el: Support clipboard managers with built-in function
14330 x-clipboard-manager-save, via delete-frame-functions and
14331 kill-emacs-hook.
14332 (xselect-convert-to-targets): Add MULTIPLE target to list.
14333 (xselect-convert-to-save-targets): New function.
14334
c92a1e54
KH
143352011-05-27 Kenichi Handa <handa@m17n.org>
14336
14337 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14338 let-binding rfc2047-encode-encoded-words to nil.
14339
e145f188
GM
143402011-05-27 Glenn Morris <rgm@gnu.org>
14341
5ec8a862
GM
14342 * mail/emacsbug.el: Don't require url-util.
14343
4b29d9fb
GM
14344 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14345
e145f188
GM
14346 * files.el (set-auto-mode):
14347 Also respect mode: entries at the end of the file. (Bug#8586)
14348
7d15102b
GM
143492011-05-26 Glenn Morris <rgm@gnu.org>
14350
98f593b8
GM
14351 * files.el (hack-local-variables-prop-line, hack-local-variables):
14352 Downcase mode names, as seems to be traditional.
27b48e63 14353 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14354
7d15102b
GM
14355 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14356 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14357
51d5b4ec
JD
143582011-05-25 Julien Danjou <julien@danjou.info>
14359
14360 * textmodes/rst.el (rst-define-level-faces): Do not define face
14361 symbol if it is already defined.
14362
91513f63
VB
143632011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14364
14365 * play/5x5.el (5x5-new-game, 5x5-randomize):
14366 Reset 5x5-solver-output to nil when a new grid is cast.
14367 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14368 these debugging traces, as defmacro breaks the compiled code.
14369
4d90d6d0
DK
143702011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14371
14372 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14373
e1b90ef6
LL
143742011-05-24 Leo Liu <sdl.web@gmail.com>
14375
14376 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14377 (vc-bzr-sha1): Adapt.
14378
d8e4b68b 14379 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14380
14381 * bindings.el: Provide sha1 feature.
14382
db0406bb 143832011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14384
14385 * mail/sendmail.el: Require `rfc2047'.
14386 (mail-insert-from-field): Do not perform RFC2047 encoding.
14387 (mail-encode-header): New function.
14388 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14389 buffer to the return value of select-message-coding-system.
14390 Call mail-encode-header.
b8d747b9
KH
14391
14392 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14393
db0406bb 143942011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14395
4d90d6d0
DK
14396 * mail/supercite.el (sc-default-cite-frame):
14397 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14398
eb8a5e9b
GM
143992011-05-24 Glenn Morris <rgm@gnu.org>
14400
f8630703
GM
14401 * progmodes/python.el (brm-menu): Declare.
14402
8831bbed
GM
14403 * emulation/viper.el (viper-set-hooks): Declare.
14404
eb8a5e9b
GM
14405 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14406 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14407 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14408 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14409 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14410 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14411
a2a25d24
SM
144122011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14413
14414 Add an :exit-function for completion-at-point.
14415
14416 * minibuffer.el (completion--done): New fun.
14417 (completion--do-completion): Use it. New arg `expect-exact'.
14418 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14419 since completion--do-completion does it for us now.
14420 (minibuffer-force-complete): Use completion--done and
14421 completion--replace. Handle sole-completion case with more care.
14422 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14423 (completion-extra-properties): New var.
14424 (completion-annotate-function): Make obsolete.
14425 (minibuffer-completion-help): Adjust accordingly.
14426 Use completion-list-insert-choice-function.
14427 (completion-at-point, completion-help-at-point):
14428 Bind completion-extra-properties.
14429 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14430 * simple.el (completion-list-insert-choice-function): New var.
14431 (completion-setup-function): Preserve it.
14432 (choose-completion): Pay attention to it, shuffle the code a bit.
14433 (choose-completion-string): New arg `insert-function'.
14434
14435 * textmodes/bibtex.el: Convert to lexical binding.
14436 (bibtex-mode-map): Use completion-at-point.
14437 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14438 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14439 (bibtex-complete): Define as obsolete alias.
14440 (bibtex-complete-internal): Remove.
14441 (bibtex-format-entry): Remove unused sub-group in regexp.
14442 * shell.el (shell--command-completion-data)
14443 (shell-environment-variable-completion):
14444 * pcomplete.el (pcomplete-completions-at-point):
14445 * comint.el (comint--complete-file-name-data): Use :exit-function
14446 instead of completion-table-with-terminator so it also works for
14447 choose-completion.
14448
e44e373d
SM
144492011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14450
4f91a816
SM
14451 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14452
782fc819
SM
14453 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14454 (bug#8710).
14455
e44e373d
SM
14456 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14457
381987c3
KM
144582011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14459
14460 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14461 customization variable and implement: If non-nil, auto-fill will
14462 be inhibited while on topic's header line.
14463
b776bc70
VB
144642011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14465
14466 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14467 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14468 always have a solution in grid size = 5 cases.
14469 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14470 (5x5-solver-output, 5x5-log-buffer): New vars.
14471 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14472 Make these variables buffer local to achieve 5x5 multi-session-ness.
14473 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14474 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14475 (5x5-solve-suggest): New funs.
14476 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14477 randomize a grid so that we ensure that there is always a solution.
14478 (5x5-make-random-grid): Allow other movement than flipping.
14479
7de88b6e
KR
144802011-05-23 Kevin Ryde <user42@zip.com.au>
14481
14482 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14483 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14484 advice and passes PREDICATE.
14485
b1ef1257
SM
144862011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14487
bbca48fe
SM
14488 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14489 byte-compile-lambda if it's actually a lambda.
14490
b1ef1257
SM
14491 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14492 Fix function quoting. Use backquote better.
14493
92a9cc65
YS
144942011-05-22 Yuanle Song <sylecn@gmail.com>
14495
14496 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14497 matching (Bug#8516).
14498
f0fb8059
JA
144992011-01-22 Jari Aalto <jari.aalto@cante.net>
14500
14501 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14502 different face (Bug#8178).
14503
d5b44c93
CY
145042011-05-22 Chong Yidong <cyd@stupidchicken.com>
14505
14506 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14507 defface (Bug#8144).
14508
79106a44
SM
145092011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14510
9c848d8a
SM
14511 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14512 funcall as well (bug#8712). Warn when performing those conversions.
14513 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14514
79106a44
SM
14515 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14516
88dfa756
GM
145172011-05-22 Glenn Morris <rgm@gnu.org>
14518
14519 * files.el (hack-local-variables-prop-line): Small simplifications.
14520 (hack-local-variables, hack-local-variables-prop-line):
14521 If MODE-ONLY, return the mode, rather than just `t'.
14522
b7cf2c79
SM
145232011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14524
14525 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14526
3f1a8558
GM
145272011-05-21 Glenn Morris <rgm@gnu.org>
14528
7e4ccca3
GM
14529 * files.el (hack-local-variables-prop-line, hack-local-variables):
14530 If only interested in the mode, don't bother doing the other stuff.
14531
637d46ca
GM
14532 * image-mode.el (image-after-revert-hook):
14533 Redraw all frames on which the image is visible. (Bug#8567)
14534
973d955b
GM
14535 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14536
3f1a8558
GM
14537 * wid-edit.el (widget-checklist-match-inline):
14538 Fix 2011-04-19 change. (Bug#8649)
14539
96479927
SM
145402011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14541
1dcf791f
SM
14542 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14543 Also allow singlespace after single-letter capitals followed by a dot.
14544
96479927
SM
14545 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14546 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14547
35fd0881
N
145482011-05-20 Nix <nix@esperi.org.uk>
14549
14550 * files.el (basic-save-buffer-2):
14551 Fix handling of break-hardlink-on-save with non-existent files.
14552
82745640
DD
145532011-05-19 Deniz Dogan <deniz@dogan.se>
14554
14555 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14556 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14557
4a720484
GM
145582011-05-19 Glenn Morris <rgm@gnu.org>
14559
d1f21341
GM
14560 * progmodes/f90.el (f90-type-def-re):
14561 Handle "type, bind(c)". (Bug#8691)
14562
4a720484
GM
14563 * emacs-lisp/autoload.el (batch-update-autoloads):
14564 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14565
2fb0a219
MA
145662011-05-18 Michael Albinus <michael.albinus@gmx.de>
14567
14568 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14569 property for the correct connection in case of multihops.
14570
e565dd37
GM
145712011-05-18 Glenn Morris <rgm@gnu.org>
14572
c2571358 14573 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14574 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14575
e565dd37
GM
14576 Rationalize calendar handling of day and month abbrev-arrays.
14577 * calendar/calendar.el (calendar-customized-p): New function.
14578 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14579 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14580 Add :set function.
14581 (calendar-abbrev-length, calendar-day-abbrev-array)
14582 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14583 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14584 Elements may no longer be nil.
14585 (calendar-day-name, calendar-month-name):
14586 Update for changed nature of abbrev arrays.
14587 * calendar/diary-lib.el (diary-name-pattern):
14588 Update for changed nature of abbrev arrays.
14589 (diary-mark-entries-1): Update calendar-make-alist calls.
14590 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14591 * calendar/cal-html.el (cal-html-day-abbrev-array):
14592 Simply inherit from calendar-day-abbrev-array.
14593
1d99a745
SM
145942011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14595
14596 * progmodes/grep.el (grep-mode): Disable default
14597 compilation-directory-matcher setting (bug#8684).
14598
7c1d9aa0
MA
145992011-05-17 Michael Albinus <michael.albinus@gmx.de>
14600
14601 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14602 instead of "head" and "tail". There were problems with SunOS 5.9,
14603 and it performs better.
14604
3952e9d8
GM
146052011-05-17 Glenn Morris <rgm@gnu.org>
14606
2dd12e7f
GM
14607 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14608
e4157b9c
GM
14609 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14610 Replace obsolete function.
14611
8e249bbd
GM
14612 * shell.el (pcomplete-parse-arguments-function): Declare.
14613
3952e9d8
GM
14614 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14615 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14616 (appt-check): Doc fixes.
14617 (appt-disp-window-function, appt-delete-window-function):
14618 Remove needless special case in custom :type.
14619 (appt-display-count): Default to 0, not nil.
14620 (appt-check): Reset appt-display-count to 0, not nil.
14621
c71a0d48 146222011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14623
c71a0d48
GM
14624 * progmodes/python.el (python-font-lock-keywords):
14625 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14626
31d55be9
SM
146272011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14628
14629 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14630
3bfacb2f
KR
146312011-05-16 Kevin Ryde <user42@zip.com.au>
14632
14633 * info-look.el (makefile-automake-mode): New setups, looking in
14634 automake manual, then makefile-mode.
14635 (makefile-mode): Remove automake manual, have it just in
14636 makefile-automake-mode since there's various things different or
14637 not relevant to plain make.
14638 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14639 believe a hypothetical automake-mode would go to makefile-mode,
14640 not the other way around.
14641
c8e83751
CY
146422011-05-15 Chong Yidong <cyd@stupidchicken.com>
14643
5e9e35cd
CY
14644 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14645 hunk-end tags (Bug#8672).
14646
c8e83751
CY
14647 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14648 vc-annotate-show-diff-revision-at-line (Bug#8671).
14649
50b23e5a
GM
146502011-05-14 Glenn Morris <rgm@gnu.org>
14651
7210a739
GM
14652 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14653 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14654 (change-log-font-lock-keywords): Also handle multiple author lines
14655 with leading tabs. (Bug#8644)
7210a739 14656
4691905a
GM
14657 * calendar/appt.el (appt-check): Rename some local variables.
14658 Some simplification/reordering.
14659
50b23e5a
GM
14660 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14661 (feedmail-sendmail-f-doesnt-sell-me-out)
14662 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14663 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14664 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14665 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14666 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14667 (feedmail-binmail-gnulinuxish-template):
14668 Rename from feedmail-binmail-linuxish-template.
14669 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14670 Use insert-buffer-substring.
14671
215cda7c
BC
146722011-05-14 Bill Carpenter <bill@carpenter.org>
14673
14674 * mail/feedmail.el (feedmail-patch-level): Increase.
14675 (feedmail-debug): New custom group.
14676 (feedmail-confirm-outgoing-timeout)
14677 (feedmail-sendmail-f-doesnt-sell-me-out)
14678 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14679 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14680 (feedmail-sender-line, feedmail-from-line)
14681 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14682 (feedmail-spray-this-address)
215cda7c
BC
14683 (feedmail-spray-address-fiddle-plex-list)
14684 (feedmail-queue-use-send-time-for-date)
14685 (feedmail-queue-use-send-time-for-message-id)
14686 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14687 (feedmail-buffer-eating-function):
14688 Doc fixes.
14689 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14690 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14691 (feedmail-message-action-scroll-down): New functions.
14692 (feedmail-queue-directory, feedmail-queue-draft-directory):
14693 Use expand-file-name.
14694 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14695 Remove C-v help entry.
14696 (feedmail-queue-buffer-file-name): New variable.
14697 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14698 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14699 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14700 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14701 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14702 (feedmail-message-action-toggle-spray)
14703 (feedmail-run-the-queue-no-prompts)
14704 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14705 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14706 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14707 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14708 (feedmail-envelope-deducer, feedmail-fiddle-from)
14709 (feedmail-fiddle-sender, feedmail-default-date-generator)
14710 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14711 (feedmail-fiddle-spray-address)
14712 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14713 (feedmail-fiddle-list-of-fiddle-plexes)
14714 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14715 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14716 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14717 Change default. Doc fix.
14718 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14719 (feedmail-binmail-linuxish-template): New constant.
14720 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14721 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14722 (feedmail-send-it): Add debug call.
14723 Use feedmail-queue-buffer-file-name, and
14724 feedmail-send-it-immediately-wrapper.
14725 (feedmail-message-action-send): Add debug call.
14726 Use feedmail-send-it-immediately-wrapper.
14727 (feedmail-queue-express-to-queue): Add debug call.
14728 Run feedmail-queue-express-hook.
14729 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14730 (feedmail-message-action-help-blat):
14731 Rename from feedmail-queue-send-edit-prompt-help-first.
14732 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14733 Check line-endings. Handle errors better.
14734 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14735 Doc fix. Add debug call.
14736 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14737 Use feedmail-queue-send-edit-prompt-inner.
14738 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14739 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14740 from feedmail-queue-send-edit-prompt.
14741 (feedmail-queue-send-edit-prompt-help)
14742 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14743 (feedmail-tidy-up-slug): Add debug call.
14744 Respect feedmail-queue-slug-suspect-regexp.
14745 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14746 (feedmail-dump-message-to-queue): Add debug call.
14747 Expand queue-directory.
14748 (feedmail-dump-message-to-queue): Change message slightly.
14749 Use feedmail-say-chatter.
14750 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14751 (feedmail-send-it-immediately-wrapper): New function.
14752 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14753 Insert empty string rather than newline. Handle full-frame case.
14754 Use catch/throw. Use feedmail-say-chatter.
14755 (feedmail-fiddle-from): Try mail-host-address.
14756 (feedmail-default-message-id-generator): Doc fix.
14757 Bind system-time-locale. Handle missing end.
14758 (feedmail-fiddle-x-mailer): Add debug call.
14759 Handle feedmail-x-mailer-line being nil.
14760 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14761 Add debug call. Use buffer-substring-no-properties.
14762 (feedmail-say-debug, feedmail-say-chatter): New functions.
14763 (feedmail-find-eoh): Give an explicit error.
14764
42c7e61e
UJ
147652011-05-13 Ulf Jasper <ulf.jasper@web.de>
14766
c2571358 14767 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14768 family from helvetica to sans.
c2571358 14769 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14770 etc/images/newsticker.
14771
c2571358 14772 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14773 family from helvetica to sans.
14774
14775 * net/newst-plainview.el (newsticker-new-item-face)
14776 (newsticker-old-item-face, newsticker-immortal-item-face)
14777 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14778 (newsticker-statistics-face): Change default family from
42c7e61e 14779 helvetica to sans.
c2571358 14780 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14781 etc/images/newsticker.
14782
5d3385a0
JB
14783 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14784 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14785 auto-marking.
14786
8497a297
DV
147872011-05-13 Didier Verna <didier@xemacs.org>
14788
14789 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14790 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14791 TODO entries.
8497a297
DV
14792 (lisp-lambda-list-keyword-parameter-indentation)
14793 (lisp-lambda-list-keyword-parameter-alignment)
14794 (lisp-lambda-list-keyword-alignment): New customizable user options.
14795 (lisp-indent-defun-method): Improve docstring.
14796 (extended-loop-p): Fix comment.
14797 (lisp-indent-lambda-list-keywords-regexp): New variable.
14798 (lisp-indent-lambda-list): New function.
14799 (lisp-indent-259): Use it.
14800 (lisp-indent-defmethod): Support for more than one
14801 method qualifier and properly indent methods lambda-lists.
14802 (defgeneric): Provide a missing common-lisp-indent-function property.
14803
f278f87f
SM
148042011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14805
14806 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14807 bounds for the empty string (bug#8667).
14808
5233edd7
GM
148092011-05-13 Glenn Morris <rgm@gnu.org>
14810
5237a44f
GM
14811 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14812
8340026c 14813 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14814 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14815
5233edd7 14816 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14817 (appt-time-msg-list): Doc fix.
a5464014 14818 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14819
92d10796
AS
148202011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14821
14822 * progmodes/ld-script.el (ld-script-keywords)
14823 (ld-script-builtins): Update keywords list.
14824
914a0ae1
SM
148252011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14826
c89be45f
SM
14827 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14828
914a0ae1
SM
14829 * shell.el (shell-completion-vars): New function.
14830 (shell-mode):
14831 * simple.el (read-shell-command): Use it.
14832 (blink-matching-open): No need for " [...]" in minibuffer-message.
14833
98dc3df3
GM
148342011-05-12 Glenn Morris <rgm@gnu.org>
14835
14836 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14837 (appt-check): Simplify.
14838
d2fc7e3d 148392011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14840
4d61f28d 14841 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14842 literal "/dev/null".
14843
d2fc7e3d 148442011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14845
14846 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14847 Fix typo.
14848
d2fc7e3d 148492011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14850
3f254caa
SM
14851 * progmodes/which-func.el (which-function):
14852 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14853 which might not be defined (Bug#8260).
14854
d45885f7
GM
148552011-05-12 Glenn Morris <rgm@gnu.org>
14856
14857 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14858 Let byte-compile-initial-macro-environment always take precedence.
14859
488086f4
SM
148602011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14861
14862 * net/rcirc.el: Add support for SSL/TLS connections.
14863 (rcirc-server-alist): New field `encryption'.
14864 (rcirc): Check `encryption' settings.
14865 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14866 Merge make-local-variable into `set'.
14867 (rcirc--connection-open-p): New function.
14868 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14869 the process is not a network process (e.g. running gnutls-cli).
14870 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14871 Make rcirc-(en|de)code-coding-system local here.
14872 (rcirc-mode): Merge make-local-variable into `set'.
14873 (rcirc-parent-buffer): Make permanent buffer-local.
14874 (rcirc-multiline-minor-mode): Don't do it here.
14875 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14876 there's no server buffer.
14877
7d3b9d44
GM
148782011-05-11 Glenn Morris <rgm@gnu.org>
14879
f64049c6
GM
14880 * newcomment.el (comment-kill): Prefix "unused" local.
14881
93c9df73
GM
14882 * term/w32console.el (get-screen-color): Declare.
14883
7d3b9d44
GM
14884 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14885 Handle symbol elements of byte-compile-initial-macro-environment.
14886
9e2dd53f
LL
148872011-05-10 Leo Liu <sdl.web@gmail.com>
14888
488086f4
SM
14889 * bookmark.el (bookmark-bmenu-mode-map):
14890 Bind bookmark-bmenu-search to `/'.
8b340240 14891
9e2dd53f 14892 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14893 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14894 (Footnote-unicode): New function.
14895 (footnote-style-alist): Add unicode style to the list.
14896 (footnote-style): Doc fix.
9e2dd53f 14897
79b70037
GM
148982011-05-10 Jim Meyering <meyering@redhat.com>
14899
14900 Fix doubled-word typos.
14901 * international/quail.el (quail-insert-kbd-layout): and and -> and
14902 * kermit.el: and and -> and
14903 * net/ldap.el (ldap-search-internal): to to -> to
14904 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14905 * progmodes/js.el (js-mode): and and -> and
14906 * textmodes/artist.el (artist-move-to-xy): at at -> at
14907 (artist-draw-region-trim-line-endings): if if -> if
14908 And Safetyc -> Safety.
14909 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14910
b8f82dc1 149112011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 14912 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14913
14914 * files.el (hack-one-local-variable-eval-safep):
14915 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14916
4f99f44b
GM
149172011-05-10 Glenn Morris <rgm@gnu.org>
14918
14919 * calendar/diary-lib.el (diary-list-entries-hook)
14920 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14921 (diary-nongregorian-marking-hook, diary-list-entries)
14922 (diary-include-other-diary-files, diary-mark-entries)
14923 (diary-mark-included-diary-files): Doc fixes.
14924
84f29e6b
JB
149252011-05-09 Juanma Barranquero <lekktu@gmail.com>
14926
14927 * misc.el: Require tabulated-list.el during compilation.
14928
9bedd73a
CY
149292011-05-09 Chong Yidong <cyd@stupidchicken.com>
14930
488086f4
SM
14931 * progmodes/compile.el (compilation-start):
14932 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14933 (compilation-filter-hook): Doc fix.
14934
797c735c
DD
149352011-05-09 Deniz Dogan <deniz@dogan.se>
14936
14937 * wdired.el: Remove outdated installation comment. Fix usage
14938 comment.
14939
5f4b1dfe
JB
149402011-05-09 Juanma Barranquero <lekktu@gmail.com>
14941
14942 * misc.el: Implement new command `list-dynamic-libraries'.
14943 (list-dynamic-libraries--loaded-only-p): New variable.
14944 (list-dynamic-libraries--refresh): New function.
14945 (list-dynamic-libraries): New command.
14946
4c44026c
CY
149472011-05-09 Chong Yidong <cyd@stupidchicken.com>
14948
488086f4
SM
14949 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14950 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14951 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14952 higher priority to avoid clobbering by gnu.
14953
027f966d
CY
149542011-05-08 Chong Yidong <cyd@stupidchicken.com>
14955
14956 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14957 if the face has existing theme settings (Bug#8454).
14958
085f5d7d
CY
149592011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14960
488086f4
SM
14961 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14962 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14963
2a86a00c
RS
14964 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14965 special file names `.' and `..' (Bug#8259).
14966
d9c54a06
CY
149672011-05-08 Chong Yidong <cyd@stupidchicken.com>
14968
488086f4
SM
14969 * progmodes/grep.el (grep-mode-font-lock-keywords):
14970 Remove buffer-changing entries.
d9c54a06
CY
14971 (grep-filter): New function.
14972 (grep-mode): Add it to compilation-filter-hook.
14973
14974 * progmodes/compile.el (compilation-filter-hook)
14975 (compilation-filter-start): New defvars.
14976 (compilation-filter): Call compilation-filter-hook prior to
14977 updating the process mark.
14978
c4662635
SM
149792011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14980
14981 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14982
b0512a1d
EZ
149832011-05-07 Eli Zaretskii <eliz@gnu.org>
14984
605c9376
EZ
14985 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14986 mailclient-send-it even if window-system is nil. (Bug#8595)
14987
c4662635
SM
14988 * term/w32console.el (terminal-init-w32console):
14989 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14990 background-mode. (Bug#8597)
14991
d1dc2cc2
SM
149922011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14993
14994 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14995 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14996 New functions.
14997 (defgeneric, eieio--defmethod): Use them.
14998 (eieio-defgeneric): Remove.
14999 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15000
915d1300
GM
150012011-05-07 Glenn Morris <rgm@gnu.org>
15002
a3961c3e
GM
15003 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15004 Use let rather than let*.
15005 (timeclock-find-discrep): Remove unused local.
15006
314347b9
GM
15007 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15008
915d1300
GM
15009 * calendar/appt.el (appt-time-msg-list): Doc fix.
15010
275b59b0
NF
150112011-05-06 Noah Friedman <friedman@splode.com>
15012
15013 * apropos.el (apropos-print-doc): Only use
15014 emacs-lisp-docstring-fill-column when it is bound to an integer,
15015 per that variable's documentation.
15016
6c19f744
SM
150172011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15018
15019 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15020 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15021
60f884b2
GM
150222011-05-06 Glenn Morris <rgm@gnu.org>
15023
5006e634
GM
15024 * calendar/appt.el (appt-message-warning-time): Doc fix.
15025 (appt-warning-time-regexp): New option.
15026 (appt-make-list): Respect appt-message-warning-time.
15027
548d0a63
GM
15028 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15029 New options.
15030 (diary-add-to-list): Strip comments from the displayed string.
15031 (diary-mode): Set comment-start and comment-end.
15032
60f884b2
GM
15033 * vc/diff-mode.el (smerge-refine-subst): Declare.
15034 (diff-refine-hunk): Don't require smerge-mode when compiling.
15035
989681bb
JB
150362011-05-06 Juanma Barranquero <lekktu@gmail.com>
15037
15038 * simple.el (list-processes): Return nil as the docstring says.
15039
a6bc05e1
MA
150402011-05-05 Michael Albinus <michael.albinus@gmx.de>
15041
15042 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15043 to "".
15044 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15045 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15046 determining of binary transfer. (Bug#7383)
15047
23c22e9a
MA
150482011-05-05 Michael Albinus <michael.albinus@gmx.de>
15049
c4662635
SM
15050 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15051 Fix port computation bug. (Bug#8618)
23c22e9a 15052
0bff894f
GM
150532011-05-05 Glenn Morris <rgm@gnu.org>
15054
b8296902
GM
15055 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15056
1f522ce8
GM
15057 * simple.el (shell-dynamic-complete-functions)
15058 (comint-dynamic-complete-functions): Declare.
15059
cf5bee67
GM
15060 * net/network-stream.el (gnutls-negotiate):
15061 * simple.el (tabulated-list-print): Fix declarations.
15062
15063 * progmodes/gud.el (syntax-symbol, syntax-point):
15064 Remove unnecessary and incorrect declarations.
15065
0bff894f
GM
15066 * emacs-lisp/check-declare.el (check-declare-scan):
15067 Handle byte-compile-initial-macro-environment in bytecomp.el
15068
9869b3ae
SM
150692011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15070
15071 Fix earlier half-done eieio-defmethod change (bug#8338).
15072 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15073 Streamline and change calling convention.
15074 (defmethod): Adjust accordingly and simplify.
15075 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15076 new eieio--defmethod.
15077 (slot-boundp): Minor CSE simplification.
15078
9c1d5ac5
MZ
150792011-05-05 Milan Zamazal <pdm@zamazal.org>
15080
15081 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15082 (glasses-make-readable): Use glasses-separate-capital-groups.
15083
455c834e
JB
150842011-05-05 Juanma Barranquero <lekktu@gmail.com>
15085
15086 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15087 (warning-series): Doc fix.
15088 (display-warning): Don't try to create the buffer if we just found it.
15089
9ed7c8cb
CY
150902011-05-04 Chong Yidong <cyd@stupidchicken.com>
15091
15092 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15093 (autoload-find-generated-file): New function.
15094 (generate-file-autoloads): Bind generated-autoload-file to
15095 buffer-file-name.
9869b3ae
SM
15096 (update-file-autoloads, update-directory-autoloads):
15097 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15098 output file (Bug#7989).
15099 (batch-update-autoloads): Doc fix.
15100
0898ca10
JB
151012011-05-04 Juanma Barranquero <lekktu@gmail.com>
15102
15103 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15104
31dfb76c
GM
151052011-05-04 Glenn Morris <rgm@gnu.org>
15106
f330b642
GM
15107 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15108 function, so it follows changes in calendar-date-style.
15109 (diary-fancy-date-matcher): New function.
15110 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15111 (diary-fancy-font-lock-fontify-region-function):
15112 Use diary-fancy-date-pattern as a function.
15113
31dfb76c
GM
15114 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15115 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15116
48e79d6a
TZ
151172011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15118
15119 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15120 instead of positional arguments. Allow :keylist and :crlfiles
15121 arguments.
15122 (open-gnutls-stream): Call it.
15123
15124 * net/network-stream.el (network-stream-open-starttls): Adjust to
15125 call `gnutls-negotiate' with :process and :hostname arguments.
15126
dd5a5ee0
SM
151272011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15128
ef80fc09
SM
15129 * minibuffer.el (completion--message): New function.
15130 (completion--do-completion, minibuffer-complete)
15131 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15132 (completion--do-completion): Don't ignore completion-auto-help when in
15133 icomplete-mode.
15134
dd5a5ee0
SM
15135 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15136 internal encoding (e.g. tibetan zero is not whitespace).
15137 (global-whitespace-mode): Prefer save-current-buffer.
15138 (whitespace-trailing-regexp): Remove useless save-match-data.
15139 (whitespace-empty-at-bob-regexp): Minor simplification.
15140
b7d22a83
CY
151412011-05-03 Chong Yidong <cyd@stupidchicken.com>
15142
15143 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15144
5192af46
AM
151452011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15146
15147 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15148 Use `concat' to create string for insertion.
5192af46 15149
5767d190
SM
151502011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15151
15152 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15153 Avoid open-line which runs post-self-insert-hook.
15154 (bibtex-fill-entry): Remove unused `end' var.
15155
bf242939
AM
151562011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15157
5767d190
SM
15158 * textmodes/ispell.el (ispell-add-per-file-word-list):
15159 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15160
25666126
LL
151612011-05-03 Leo Liu <sdl.web@gmail.com>
15162
15163 * isearch.el (isearch-yank-pop): New command.
5767d190 15164 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15165 (isearch-forward): Mention it.
15166
52d3c2d0
SM
151672011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15168
1bcace58
SM
15169 * simple.el (minibuffer-complete-shell-command): Remove.
15170 (minibuffer-local-shell-command-map): Use completion-at-point.
15171 (read-shell-command): Setup completion vars here instead.
15172 (read-expression-map): Bind TAB to symbol completion.
15173
52d3c2d0
SM
15174 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15175 error directly rather via storing it into `results'.
15176
35813471
LL
151772011-05-02 Leo Liu <sdl.web@gmail.com>
15178
15179 * vc/diff.el: Fix description.
15180
e793a940
LMI
151812011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15182
15183 * server.el (server-eval-at): New function.
15184
8de66e05
LMI
151852011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15186
15187 * net/network-stream.el (open-network-stream): Take a :nowait
15188 parameter and pass it on to `make-network-process'.
15189 (network-stream-open-plain): Ditto.
15190
dcb79f20
AS
151912011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15192
15193 * faces.el (face-spec-set-match-display): Don't match toolkit
15194 options on terminal frames.
15195
14a7fbd8
SM
151962011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15197
7eabc1be
SM
15198 * progmodes/pascal.el: Use lexical binding.
15199 (pascal-mode-map): Remove author preferences.
15200
14a7fbd8
SM
15201 * pcomplete.el (pcomplete-std-complete): Don't abuse
15202 completion-at-point.
15203
50f84510
JB
152042011-04-28 Juanma Barranquero <lekktu@gmail.com>
15205
6e087a44
JB
15206 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15207 removing code that has been dead since 1991 or so.
15208
50f84510
JB
15209 * startup.el (command-line): When warning about "_emacs", use a
15210 delayed warning to allow the user to filter it out.
15211
0ba690bd
DD
152122011-04-28 Deniz Dogan <deniz@dogan.se>
15213
15214 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15215 user has not joined.
15216
08abfaad
SM
152172011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15218
15219 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15220 aren't any completions at point.
15221
638f053a
JB
152222011-04-28 Juanma Barranquero <lekktu@gmail.com>
15223
15224 * subr.el (display-delayed-warnings): New function.
15225 (delayed-warnings-hook): New variable.
15226
8fff8daa
SM
152272011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15228
08abfaad
SM
15229 * minibuffer.el (completion-at-point, completion-help-at-point):
15230 Don't presume that a given completion-at-point-function will always
15231 use the same calling convention.
15232
8fff8daa
SM
15233 * pcomplete.el (pcomplete-completions-at-point):
15234 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15235 pcomplete-seen is non-nil.
15236 (pcomplete-comint-setup): Also recognize the new comint/shell
15237 completion functions.
15238 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15239 pcomplete-seen is non-nil.
15240
841a1577 152412011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15242
841a1577 15243 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15244 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15245 the first character in the entry. This allows for code to add its
211ec907
UJ
15246 own uid to the entry.
15247 (icalendar--convert-float-to-ical): Add export of
15248 `diary-float'-entries save for those with the optional DAY
15249 argument.
15250
2a782793
DC
152512011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15252
15253 * subr.el (shell-quote-argument): Use alternate escaping strategy
15254 when we spot a variable reference in a string.
15255
0438ce91
DC
152562011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15257
15258 * cus-start.el (all): Define customization for debug-on-event.
15259
841a1577 152602011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15261
15262 * subr.el (shell-quote-argument): Escape correctly under Windows.
15263
d090ed6c
SM
152642011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15265
15266 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15267
bfd31217
MA
152682011-04-25 Michael Albinus <michael.albinus@gmx.de>
15269
d090ed6c
SM
15270 * net/tramp.el (tramp-process-actions): Add POS argument.
15271 Delete region between POS and (pos).
bfd31217 15272
d090ed6c
SM
15273 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15274 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15275 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15276
15277 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15278 position in `tramp-process-actions' call.
15279
15280 * net/trampver.el: Update release number.
15281
e92f3bd3
SM
152822011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15283
850256b5
SM
15284 * custom.el (defcustom): Obey lexical-binding.
15285
e92f3bd3
SM
15286 Fix octave-inf completion problems reported by Alexander Klimov.
15287 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15288 Inherit from octave-mode-syntax-table.
15289 (inferior-octave-mode): Set info-lookup-mode.
15290 (inferior-octave-completion-at-point): New function.
15291 (inferior-octave-complete): Use it and completion-in-region.
15292 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15293 comint-filename-completion.
15294 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15295 symbol elements which shouldn't be word elements.
15296 (octave-font-lock-keywords, octave-beginning-of-defun)
15297 (octave-function-header-regexp): Adjust regexps accordingly.
15298 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15299
cd22b309
JB
153002011-04-25 Juanma Barranquero <lekktu@gmail.com>
15301
15302 * net/gnutls.el (gnutls-errorp): Declare before first use.
15303
8b492194
TZ
153042011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15305
15306 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15307 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15308 default trustfile exists before going to use it. Add missing
5a5fa834 15309 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15310 Reported by Claudio Bley <claudio.bley@gmail.com>.
15311 (open-gnutls-stream): Add usage example.
15312
15313 * net/network-stream.el (network-stream-open-starttls): Give host
15314 parameter to `gnutls-negotiate'.
15315 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15316 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15317
841a1577 153182011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15319
cd22b309
JB
15320 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15321 Use correct match group (bug#8438).
05842630 15322
3ba7869c
CY
153232011-04-24 Chong Yidong <cyd@stupidchicken.com>
15324
512e3ae1
CY
15325 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15326 (package-menu--generate): New arg specifying packages to show.
15327 (package-menu-refresh, package-menu-execute, list-packages):
15328 Callers changed.
15329 (package-show-package-list): New function, replacing deleted
15330 package--list-packages (renamed because it is non-internal).
15331
15332 * finder.el (finder-list-matches): Use package-show-package-list
15333 instead of deleted package--list-packages.
15334
e92f3bd3
SM
15335 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15336 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15337 (vc-annotate-mode-map): Bind it to RET.
15338
7031be6d
UR
153392011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15340
15341 * progmodes/etags.el (next-file): Don't use set-buffer to change
15342 buffers (Bug#8478).
15343
4ef177aa
CY
153442011-04-24 Chong Yidong <cyd@stupidchicken.com>
15345
c8d173eb
CY
15346 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15347
4ef177aa
CY
15348 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15349 (apropos-accumulator): Doc fix.
15350 (apropos-function, apropos-macro, apropos-command)
15351 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15352 (apropos-plist): Add face property.
15353 (apropos-symbols-internal): Fix indentation.
15354 (apropos-print): Simplify help, and recognize apropos-multi-type.
15355 (apropos-print-doc): Use button-type-get to extract the button's
15356 face property. Fill docstring (Bug#8352).
15357
4ffd0d6b 153582011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15359
15360 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15361
c6c32125 15362 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15363 (mpuz-mode-map): Use mapc.
c6c32125
JB
15364 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15365 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15366 Fix typos in docstrings.
15367
58d468b4
JB
15368 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15369 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15370
6470c3c6
JB
15371 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15372
4ffd0d6b 153732011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15374
15375 * minibuffer.el (completion--do-completion): Avoid the "Next char
15376 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15377
3ad8bad0
CY
15378 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15379 mouse-2 into unread-command-events, it is interpreted correctly.
15380
71d73c9c 15381 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15382 (image-toggle-display): Doc fix.
71d73c9c 15383
841a1577 153842011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15385
4ffd0d6b
GM
15386 * textmodes/page.el (what-page): Use line-number-at-pos to
15387 calculate line number (Bug#6825).
6e1dbaa9 15388
c2fb1b60
JB
153892011-04-22 Juanma Barranquero <lekktu@gmail.com>
15390
15391 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15392 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15393 Pass argument NO-DEFAULT to `find-tag-interactive'.
15394
e02f48d7
JB
153952011-04-22 Juanma Barranquero <lekktu@gmail.com>
15396
15397 Lexical-binding cleanup.
15398
15399 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15400 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15401 * progmodes/ada-prj.el (ada-prj-initialize-values)
15402 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15403 (ada-prj-show-value):
15404 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15405 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15406 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15407 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15408 * progmodes/bug-reference.el (bug-reference-push-button):
15409 * progmodes/fortran.el (fortran-line-length):
15410 * progmodes/glasses.el (glasses-change):
15411 * progmodes/octave-mod.el (octave-fill-paragraph):
15412 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15413 (python-pdbtrack-grub-for-buffer, python-sentinel):
15414 * progmodes/sql.el (sql-save-connection):
15415 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15416 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15417 Mark unused parameters.
15418
15419 * progmodes/compile.el (compilation--flush-directory-cache)
15420 (compilation--flush-parse, compile-internal): Mark unused parameters.
15421 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15422 (compilation-next-error-function): Remove unused variable `timestamp'.
15423
15424 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15425 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15426
15427 * progmodes/dcl-mode.el (dcl-end-of-command):
15428 Remove unused variable `start'.
15429 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15430 (dcl-option-value-basic, dcl-option-value-offset)
15431 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15432 Mark unused parameters.
15433 (dcl-save-local-variable): Remove unused variable `val'.
15434 (mode): Declare.
15435
15436 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15437 Mark unused parameters.
15438 (delphi-ignore-changes): Move before first use.
15439 (delphi-charset-token-at): Remove unused variable `start'.
15440 (delphi-else-start): Remove unused variable `if-count'.
15441 (delphi-comment-block-start, delphi-comment-block-end):
15442 Remove unused variable `kind'.
15443 (delphi-indent-line): Remove unused variable `new-point'.
15444
15445 * progmodes/ebrowse.el (ebrowse-files-list)
15446 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15447 Mark unused parameters. Don't quote `lambda'.
15448 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15449 Don't quote `lambda'.
15450 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15451 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15452 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15453 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15454 Use `ignore-errors'.
15455 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15456 (ebrowse-view/find-file-and-search-pattern)
15457 (ebrowse-view/find-member-declaration/definition):
15458 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15459 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15460 Rename parameter PREFIX-ARG to PREFIX.
15461 (ebrowse-tags-read-name): Remove unused variables `start' and
15462 `member-info'.
15463 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15464 to `tags-file'.
15465
15466 * progmodes/etags.el (local-find-tag-hook): Declare.
15467 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15468 Mark unused parameters.
15469
15470 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15471 (executable-interpret): Mark unused parameter.
15472
15473 * progmodes/flymake.el (flymake-process-sentinel)
15474 (flymake-after-change-function)
15475 (flymake-create-temp-with-folder-structure)
15476 (flymake-get-include-dirs-dot): Mark unused parameters.
15477 (flymake-safe-delete-directory): Remove unused variable `err'.
15478
15479 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15480 (speedbar-timer-fn, speedbar-line-text)
15481 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15482 (speedbar-center-buffer-smartly): Declare functions.
15483 (gdb-find-watch-expression): Remove unused variable `array'.
15484 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15485 (gdb-starting): Mark unused parameters.
15486 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15487 (gdb-table-string): Remove unused variable `res'.
15488 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15489 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15490 (gdb-display-buffer): Remove unused variable `cur-size'.
15491
15492 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15493 allow lexical-binding compilation.
15494 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15495 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15496 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15497 Mark unused parameters.
15498 (gud-gdb-marker-filter): Remove unused variable `match'.
15499 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15500 lambda expressions and funcall them, instead of using `fset'.
15501
15502 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15503 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15504
15505 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15506 variable `header-beg'; use `let'.
15507
15508 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15509 `restart', `last-sexp' and `at-do'.
15510
15511 * progmodes/js.el (js--debug): Mark unused parameter.
15512 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15513 (js--splice-into-items): Remove unused variable `item'.
15514 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15515
15516 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15517 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15518 (makefile-complete): Remove unused variable `try'.
15519 (makefile-fill-paragraph, makefile-match-function-end):
15520 Mark unused parameters.
15521
15522 * progmodes/octave-inf.el (inferior-octave-complete):
15523 Remove unused variable `proc'.
15524 (inferior-octave-output-digest): Mark unused parameter.
15525
15526 * progmodes/perl-mode.el (perl-calculate-indent):
15527 Remove unused variable `err'.
15528
15529 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15530 (prolog-indent-line): Mark unused parameters.
15531 (prolog-indent-line): Remove unused variable `beg'.
15532
15533 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15534 (reporter-dont-compact-list): Declare.
15535
15536 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15537 Remove unused variable `char'.
15538 (sh-debug): Mark unused parameter.
15539 (sh-get-indent-info): Remove unused variable `start'.
15540 (sh-calculate-indent): Remove unused variable `var'.
15541
15542 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15543 (simula-electric-keyword): Remove unused variable `null'.
15544 (simula-search-backward, simula-search-forward): Remove unused
15545 variables `begin' and `end'.
15546
15547 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15548 Remove unused variable `pos'.
15549 (vera-electric-tab, vera-comment-uncomment-region):
15550 Mark unused parameters.
15551 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15552
7ede3b65
CY
155532011-04-22 Chong Yidong <cyd@stupidchicken.com>
15554
15555 * emacs-lisp/package.el (package--builtins, package-alist)
15556 (package-load-descriptor, package-built-in-p, package-activate)
15557 (define-package, package-installed-p)
15558 (package-compute-transaction, package-buffer-info)
15559 (package--push): Doc fix. Distinguish more clearly between
15560 version strings and version lists.
15561
121656e9
JB
155622011-04-21 Juanma Barranquero <lekktu@gmail.com>
15563
15564 Lexical-binding cleanup.
15565
15566 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15567 (5x5-make-mutate-best):
15568 * play/fortune.el (fortune-in-buffer):
15569 * play/gomoku.el (gomoku-init-display):
15570 * play/solitaire.el (solitaire, solitaire-do-check):
15571 * play/tetris.el (tetris-default-update-speed-function):
15572 Mark unused parameters.
15573
15574 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15575 (bubbles--shift): Remove unused variable `char-org'.
15576 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15577 (bubbles--show-images): Remove unused variable `char'.
15578
15579 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15580 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15581 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15582 (decipher-analyze-buffer): Use ?\s.
15583 (decipher-make-checkpoint): Remove unused variable `mapping'.
15584
15585 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15586
15587 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15588 Remove unused variable `result'; use `let'.
15589
15590 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15591 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15592 (gametree-children-shown-p, gametree-compute-reduced-score):
15593 Use `ignore-errors'.
15594
15595 * play/handwrite.el (ps-lpr-switches): Declare.
15596 (handwrite): Remove unused variables `pmin' and `lastp'.
15597
15598 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15599
15600 * play/landmark.el (landmark-init-display)
15601 (landmark-update-naught-weights): Mark unused parameters.
15602 (landmark-y): Remove unused variable `noise'. Simplify.
15603 (landmark-human-plays): Remove unused variable `score'.
15604
15605 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15606 (mpuz-try-proposal): Remove unused variable `game'.
15607
15608 * play/zone.el (life-patterns): Declare.
15609
80f499c7
JB
156102011-04-20 Juanma Barranquero <lekktu@gmail.com>
15611
15612 * vc/vc.el (ediff-vc-internal): Declare function.
15613
024ff170
SM
156142011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15615
c0a193ea
SM
15616 * shell.el: Use lexical-binding and std completion UI.
15617 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15618 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15619 comint-preoutput-filter-functions rather than on
15620 comint-output-filter-functions.
15621 (shell-command-completion, shell--command-completion-data)
15622 (shell-filename-completion, shell-environment-variable-completion)
15623 (shell-c-a-p-replace-by-expanded-directory): New functions.
15624 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15625 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15626 (shell-dynamic-complete-environment-variable): Use them.
15627 (shell-dynamic-complete-as-environment-variable)
15628 (shell-dynamic-complete-as-command): Remove.
15629 (shell-match-partial-variable): Match past point.
15630 * comint.el: Clean up use of completion-at-point-functions.
15631 (comint-completion-at-point): New function.
15632 (comint-mode): Use it completion-at-point-functions.
15633 (comint-dynamic-complete): Make it obsolete.
15634 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15635 (comint-c-a-p-replace-by-expanded-history): New function.
15636 (comint-dynamic-complete-functions)
15637 (comint-replace-by-expanded-history): Use it.
15638 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15639 termination strings. Try harder to avoid second try-completion.
15640 (completion-in-region-mode-map): Disable bindings that don't work yet.
15641
2dbaa080
SM
15642 * comint.el: Use lexical-binding. Require CL.
15643 (comint-dynamic-complete-functions): Use comint-filename-completion.
15644 (comint-completion-addsuffix): Tweak custom type.
15645 (comint-filename-completion, comint--common-suffix)
15646 (comint--common-quoted-suffix, comint--table-subvert)
15647 (comint--complete-file-name-data): New functions.
15648 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15649 (comint-dynamic-list-filename-completions): Use them.
15650 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15651
2dbaa080
SM
15652 * minibuffer.el (completion-in-region-mode):
15653 Keep completion-in-region-mode--predicate global.
15654 (completion-in-region--postch):
15655 Assume completion-in-region-mode--predicate is not null.
15656
c79a6f38
SM
15657 * progmodes/flymake.el (flymake-start-syntax-check-process):
15658 Obey `dir'. Simplify.
15659
024ff170
SM
15660 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15661 we're in VC after all.
15662
1c6c854e
CS
156632011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15664
15665 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15666 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15667 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15668
bed7f140
SM
156692011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15670
332e62ab
SM
15671 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15672 add sanity check.
15673
bed7f140
SM
15674 * obsolete/erc-hecomplete.el: Make obsolete.
15675 * obsolete/: Standardize obsolescence info in the header.
15676
f195c582
GM
156772011-04-20 Glenn Morris <rgm@gnu.org>
15678
15679 * calendar/solar.el (solar-horizontal-coordinates):
15680 Use the longitude argument rather than `calendar-longitude'.
15681 (solar-date-next-longitude): Remove unused locals.
15682
cb79b8c0
VJL
156832011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15684
15685 * whitespace.el: New version 13.2.1.
15686
156872011-04-20 felix <EmacsWiki> (tiny change)
15688
d8e4b68b 15689 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15690 switching between major modes on a file.
15691
602ea69d
SM
156922011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15693
15694 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15695 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15696 multi-line comments as well.
15697
06b60517
JB
156982011-04-19 Juanma Barranquero <lekktu@gmail.com>
15699
15700 Lexical-binding cleanup.
15701
15702 * arc-mode.el (archive-mode-revert):
15703 * cmuscheme.el (scheme-interactively-start-process):
15704 * custom.el (custom-initialize-delay):
15705 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15706 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15707 * emacs-lock.el (emacs-lock-clear-sentinel):
15708 * ezimage.el (defezimage):
15709 * follow.el (follow-avoid-tail-recenter):
15710 * fringe.el (set-fringe-mode-1):
15711 * generic-x.el (bat-generic-mode-compile):
15712 * help-mode.el (help-info-variable, help-do-xref)
15713 (help-mode-revert-buffer):
15714 * help.el (view-emacs-todo):
15715 * iswitchb.el (iswitchb-completion-help):
15716 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15717 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15718 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15719 * locate.el (locate-update):
15720 * longlines.el (longlines-encode-region)
15721 (longlines-after-change-function):
15722 * outline.el (outline-isearch-open-invisible):
15723 * ps-def.el (declare-function, charset-dimension, char-width)
15724 (encode-char):
15725 * ps-mule.el (ps-mule-plot-string):
15726 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15727 (recentf-edit-list-select, recentf-edit-list-validate)
15728 (recentf-open-files-action):
15729 * rect.el (delete-whitespace-rectangle-line)
15730 (rectangle-number-line-callback):
15731 * register.el (window-configuration-to-register)
15732 (frame-configuration-to-register):
15733 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15734 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15735 (xselect-convert-to-targets, xselect-convert-to-delete)
15736 (xselect-convert-to-filename, xselect-convert-to-charpos)
15737 (xselect-convert-to-lineno, xselect-convert-to-colno)
15738 (xselect-convert-to-os, xselect-convert-to-host)
15739 (xselect-convert-to-user, xselect-convert-to-class)
15740 (xselect-convert-to-name, xselect-convert-to-integer)
15741 (xselect-convert-to-atom, xselect-convert-to-identity):
15742 * subr.el (declare, ignore, process-kill-without-query)
15743 (text-clone-maintain):
15744 * terminal.el (te-get-char, te-tic-sentinel):
15745 * tool-bar.el (tool-bar-make-keymap):
15746 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15747 * type-break.el (type-break-mode, type-break-noninteractive-query):
15748 * view.el (View-back-to-mark):
15749 * wid-browse.el (widget-browse-action, widget-browse-widget)
15750 (widget-browse-widgets, widget-browse-sexp):
15751 * widget.el (define-widget-keywords):
15752 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15753 Mark unused parameters.
15754
15755 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15756 (align-areas): Remove unused variable `look'.
15757 (align-region): Remove unused variables `real-end' and `pos-list'.
15758
15759 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15760
15761 * bindings.el (mode-line-modified, mode-line-remote):
15762 Mark unused parameters.
15763 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15764
15765 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15766 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15767
15768 * comint.el (comint-history-isearch-pop-state)
15769 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15770 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15771 (comint-substitute-in-file-name): Doc fix.
15772
15773 * completion.el (cmpl-statistics-block): Mark unused parameter.
15774 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15775 (save-completions-to-file, load-completions-from-file):
15776 Remove unused local variable `e'.
15777
15778 * composite.el (compose-chars): Remove unused variable `len'.
15779 (lgstring-insert-glyph): Remove unused variable `g'.
15780 (compose-glyph-string): Remove unused variables `ascent',
15781 `descent', `lbearing' and `rbearing'.
15782 (compose-glyph-string-relative): Remove unused variables
15783 `lbearing', `rbearing' and `wadjust'.
15784 (compose-gstring-for-graphic): Remove unused variables `header',
15785 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15786 (compose-gstring-for-terminal): Remove unused variables `header'
15787 and `nchars'. Use `let', not `let*'.
15788
15789 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15790 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15791 (Custom-buffer-done, custom-buffer-create-internal)
15792 (custom-browse-visibility-action, custom-browse-group-tag-action)
15793 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15794 (widget-magic-mouse-down-action, custom-toggle-parent)
15795 (custom-add-parent-links, custom-toggle-hide-variable)
15796 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15797 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15798 (custom-face-menu-create, custom-variable-menu-create, get)
15799 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15800 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15801 (customize-apropos): Remove unused variable `tests'.
15802 (custom-group-value-create): Remove unused variable `hidden-p'.
15803 (sort-fold-case): Declare.
15804
15805 * cus-theme.el (custom-reset-standard-faces-list)
15806 (custom-reset-standard-variables-list): Declare.
15807 (customize-create-theme, custom-theme-revert, custom-theme-write)
15808 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15809 Mark unused parameters.
15810
15811 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15812
15813 * delim-col.el (delimit-columns-max): Move defvar before first use.
15814
15815 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15816 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15817
15818 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15819 (auto-insert): Declare.
15820 (desktop-restore-file-buffer): Rename desktop-* parameters;
15821 mark unused ones.
15822 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15823 (desktop-buffer): Rename desktop-* parameters.
15824
15825 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15826 (dframe-reposition-frame-xemacs, dframe-help-echo)
15827 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15828 Mark unused parameters.
15829
15830 * dired-aux.el (backup-extract-version-start, overwrite-query)
15831 (overwrite-backup-query, rename-regexp-query)
15832 (rename-non-directory-query): Declare.
15833 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15834 (dired-add-entry): Remove unused variable `orig-file-name'.
15835 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15836 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15837 `dired-copy-preserve-time' directly.
15838 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15839 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15840
15841 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15842 (dired-virtual-revert, dired-make-relative-symlink):
15843 Mark unused parameters.
15844 (manual-program): Declare.
15845 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15846 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15847 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15848
15849 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15850
15851 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15852
15853 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15854 Declare.
15855
15856 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15857
15858 * electric.el (Electric-command-loop): Rename parameter
15859 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15860
15861 * expand.el (expand-in-literal): Remove unused variable `here'.
15862
15863 * facemenu.el (facemenu-add-new-color):
15864 Remove unused variable `docstring'.
15865
15866 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15867 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15868 (face-attr-construct): Mark unused parameter. Doc fix.
15869 (read-color): Remove unused variable `hex-string'.
15870
15871 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15872 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15873 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15874 (display-buffer-other-frame): Remove unused variable `old-window'.
15875 (kill-buffer-hook): Declare.
15876 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15877 Mark unused parameters.
15878 (after-find-file): Pass 1 to `auto-save-mode', not t.
15879
15880 * files-x.el (auto-insert): Declare.
15881 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15882
15883 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15884 variable `buf'. Mark unused parameter.
06b60517
JB
15885 (find-lisp-insert-directory): Mark unused parameter.
15886
15887 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15888 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15889 (format-common-tail): Remove, unused.
15890 (format-deannotate-region): Remove unused variable `loc'.
15891 (format-annotate-region): Remove unused variable `p'.
15892 (format-annotate-single-property-change): Remove unused variables
15893 `default' and `tail'.
15894
15895 * forms.el (read-file-filter): Declare.
15896 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15897
15898 * frame.el (frame-creation-function-alist): Mark unused parameter.
15899 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15900
15901 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15902 Remove unused parameters.
15903 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15904 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15905
15906 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15907 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15908 (hfy-prepare-tag-map): Mark unused parameters.
15909 (htmlfontify-buffer): Use `called-interactively-p'.
15910
15911 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15912 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15913 (ibuffer-do-occur): Mark unused parameters.
15914 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15915 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15916
15917 * ibuffer.el: Don't quote `lambda'.
15918 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15919 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15920 Mark unused parameters.
15921
15922 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15923 (ido-completing-read): Mark unused parameters.
15924 (ido-copy-current-word): Mark unused parameters;
15925 remove unused variable `name'.
15926 (ido-sort-merged-list): Remove unused parameter `dirs'.
15927
15928 * ielm.el (ielm-input-sender): Mark unused parameter.
15929 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15930 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15931 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15932 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15933 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15934
15935 * image-dired.el (image-dired-display-thumbs): Remove unused
15936 variables `curr-file' and `count'.
15937 (image-dired-remove-tag): Remove unused variable `start'.
15938 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15939 variable `curr-file'
15940 (image-dired-rotate-original): Remove unused variable `temp-file'.
15941 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15942 Remove unused variable `file'.
15943 (image-dired-gallery-generate): Remove unused variable `curr'.
15944 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15945
15946 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15947
15948 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15949
15950 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15951
15952 * isearch.el (minibuffer-history-symbol): Declare.
15953 (isearch-edit-string): Remove unused variable `err'.
15954 (isearch-message-prefix, isearch-message-suffix):
15955 Mark unused parameters.
15956
15957 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15958
15959 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15960
15961 * makesum.el (double-column): Remove unused variable `cnt'.
15962
15963 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15964 (ido-ignore-item-temp-list): Declare.
15965
15966 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15967 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15968 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15969 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15970 `mouse-col-delta'.
15971
15972 * mouse-sel.el (mouse-extend-internal):
15973 Remove unused variable `orig-window-frame'.
15974
15975 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15976 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15977 Move declarations before first use.
15978 (pcomplete-opt): Mark unused parameters; doc fix.
15979
15980 * proced.el (proced-revert): Mark unused parameter.
15981 (proced-send-signal): Remove unused variable `err'.
15982
15983 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15984 Rename parameter PREFIX-ARG to ARG.
15985 (ps-basic-plot-string, ps-basic-plot-whitespace):
15986 Mark unused parameters.
15987
15988 * replace.el (replace-count): Define.
15989 (occur-revert-function): Mark unused parameters.
15990 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15991 (isearch-case-fold-search, isearch-string): Declare.
15992 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15993 bind `case-fold-search'. Remove unused variables `beg' and `end',
15994 and simplify.
15995 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15996 COUNT and bind `replace-count'.
15997 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15998 to COUNT.
15999
16000 * savehist.el (print-readably, print-string-length): Declare.
16001
16002 * shadowfile.el (shadow-expand-cluster-in-file-name):
16003 Remove unused variable `cluster'.
16004 (shadow-copy-file): Remove unused variable `i'.
16005 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16006 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16007 (shadow-define-literal-group, shadow-define-regexp-group)
16008 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16009
16010 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16011 (shell): Use `called-interactively-p'.
16012 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16013
16014 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16015 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16016 (delete-backward-char): Remove unused variable `ocol'.
16017 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16018 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16019 (event-apply-hyper-modifier, event-apply-shift-modifier)
16020 (event-apply-control-modifier, event-apply-meta-modifier):
16021 Mark unused parameters.
16022 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16023 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16024
16025 * speedbar.el (speedbar-ignored-directory-expressions)
16026 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16027 (speedbar-find-file, speedbar-dir-follow)
16028 (speedbar-directory-buttons-follow, speedbar-tag-find)
16029 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16030 (speedbar-buffers-line-directory, speedbar-buffer-click):
16031 Mark unused parameters.
16032 (speedbar-tag-file): Remove unused variable `mode'.
16033 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16034
16035 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16036
16037 * talk.el (talk): Remove unused variable `display'.
16038
16039 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16040 (tar-write-region-annotate): Mark unused parameter.
16041
16042 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16043 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16044 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16045 warning by another.
16046
16047 * time-stamp.el (time-stamp-string-preprocess):
16048 Remove unused variable `require-padding'.
16049
16050 * tree-widget.el (widget-glyph-enable): Declare.
16051 (tree-widget-action): Mark unused parameter.
16052
16053 * w32-fns.el (x-get-selection): Mark unused parameter.
16054 (autoload-make-program, generated-autoload-file): Declare.
16055
16056 * wdired.el (wdired-revert): Mark unused parameters.
16057 (wdired-xcase-word): Remove unused variable `err'.
16058
16059 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16060 (whitespace-help-scroll): Remove unused variable `data-help'.
16061
16062 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16063 (widget-image-insert, widget-after-change, default)
16064 (widget-default-format-handler, widget-default-notify)
16065 (widget-default-prompt-value, widget-info-link-action)
16066 (widget-url-link-action, widget-function-link-action)
16067 (widget-variable-link-action, widget-file-link-action)
16068 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16069 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16070 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16071 (widget-insert-button-action, widget-delete-button-action, visibility)
16072 (widget-documentation-link-action, widget-documentation-string-action)
16073 (widget-const-prompt-value, widget-regexp-match, symbol)
16074 (widget-coding-system-prompt-value)
16075 (widget-key-sequence-value-to-external, sexp)
16076 (widget-sexp-value-to-internal, character, vector, cons)
16077 (widget-choice-prompt-value, widget-boolean-prompt-value)
16078 (widget-color--choose-action): Mark unused parameters.
16079 (widget-item-match-inline, widget-choice-match-inline)
16080 (widget-checklist-match, widget-checklist-match-inline)
16081 (widget-group-match): Rename parameter VALUES to VALS.
16082 (widget-field-value-set): Remove unused variable `size'.
16083 (widget-color-action): Remove unused variables `value' and `start'.
16084
16085 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16086 variable `dir'. Doc fix.
06b60517
JB
16087 (windmove-find-other-window): Don't pass it.
16088
16089 * window.el (count-windows): Mark unused parameter.
16090 (bw-adjust-window): Remove unused variable `err'.
16091
16092 * woman.el (woman-file-name): Remove unused variable `default'.
16093 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16094 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16095 (global-font-lock-mode): Declare.
16096 (woman-decode-region): Mark unused parameter.
16097 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16098
16099 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16100 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16101 (x-dnd-handle-moz-url): Remove unused variable `title'.
16102 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16103
16104 * xml.el (xml-parse-tag, xml-parse-attlist):
16105 Remove unused variable `pos'.
16106
bc4f7f3d
GM
161072011-04-19 Glenn Morris <rgm@gnu.org>
16108
16109 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16110 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16111 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16112 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16113 * calendar/cal-html.el (cal-html-insert-minical):
16114 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16115 (calendar-mark-date-pattern):
16116 Prefix "unused" locals.
16117
16118 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16119 optional argument `style'.
16120
16121 * calendar/appt.el (appt-make-list):
16122 * calendar/cal-china.el (calendar-chinese-date-string):
16123 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16124 (diary-hebrew-yahrzeit):
16125 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16126 * calendar/calendar.el (calendar-generate-window):
16127 * calendar/time-date.el (time-to-days):
16128 Remove unused local variables.
16129
16a43933
CY
161302011-04-18 Chong Yidong <cyd@stupidchicken.com>
16131
16132 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16133 glyphless-char-display table.
16134 (tabulated-list-glyphless-char-display): New var.
16135
7eed1860
SS
161362011-04-18 Sam Steingold <sds@gnu.org>
16137
16138 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16139 to acknowledgments.
16140
4d2d1ccd
GM
161412011-04-17 Glenn Morris <rgm@gnu.org>
16142
16143 * calendar/diary-lib.el (diary-sexp-entry):
16144 * calendar/holidays.el (holiday-sexp):
16145 Set debug-on-error rather than the removed stack-trace-on-error.
16146
239da61d
GM
161472011-04-16 Glenn Morris <rgm@gnu.org>
16148
16149 * progmodes/f90.el: Use lexical-binding.
16150 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16151
8b05752a
SM
161522011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16153
daca8ba5
SM
16154 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16155 (mail-mode): Setup mailalias completion here instead.
16156 * mail/mailalias.el: Use lexical-binding.
16157 (pattern, mailalias-done): Declare dynamic.
16158 (mail-completion-at-point-function): New function, from mail-complete.
16159 (mail-complete): Use it.
16160 (mail-completion-expand): New function.
16161 (mail-get-names): Use it.
16162 (mail-directory, mail-directory-process, mail-directory-stream):
16163 Don't use `pattern' for lexically bound arg.
16164
6f542485
SM
16165 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16166
037e7c3f
SM
16167 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16168 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16169 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16170
8b05752a
SM
16171 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16172 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16173 (byte-interactive-p): Define them again, for use when inlining
16174 old code.
16175
49093f60
JB
161762011-04-15 Juanma Barranquero <lekktu@gmail.com>
16177
16178 * loadup.el: Use `string-to-number', not `string-to-int'.
16179
b5b8e7de
SM
161802011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16181
16182 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16183 gud-gdb-complete-command.
16184 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16185 (gud-gdb-completion-at-point): New function.
16186 (gud-gdb-completions): Remove.
16187
f42efeb5
MA
161882011-04-14 Michael Albinus <michael.albinus@gmx.de>
16189
49093f60
JB
16190 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16191 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16192 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16193 whether `executable-find' is bound.
f42efeb5
MA
16194
16195 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16196
e240cc21
SM
161972011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16198
16199 * minibuffer.el (completion-in-region-mode-predicate)
16200 (completion-in-region-mode--predicate): New vars.
16201 (completion-in-region, completion-in-region--postch)
16202 (completion-in-region-mode): Use them.
16203 (completion--capf-wrapper): Also return the hook function.
16204 (completion-at-point, completion-help-at-point):
16205 Adjust and provide a predicate.
c2bd2ab0
SM
16206
16207 Preserve arg names for advice of subr and lexical functions (bug#8457).
16208 * help-fns.el (help-function-arglist): Consolidate the subr and
16209 new-byte-code cases. Add argument `preserve-names' to extract names
16210 from the docstring when needed.
16211 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16212 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16213 (ad-arglist): Use help-function-arglist's new arg.
16214 (ad-definition-type): Use cond.
16215
c183f693
JB
162162011-04-13 Juanma Barranquero <lekktu@gmail.com>
16217
06641a47
JB
16218 * autorevert.el (auto-revert-handler):
16219 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16220 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16221 Don't quote lambda.
16222
c183f693
JB
16223 * image-mode.el (image-transform-set-scale):
16224 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16225
1e3b6001
G
162262011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16227
16228 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16229 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16230 Upgrades via gnutls-cli are too slow to be done opportunistically.
16231
2d6af8dd
JB
162322011-04-12 Juanma Barranquero <lekktu@gmail.com>
16233
16234 * dframe.el (dframe-current-frame): Remove spurious quote.
16235
c0749a51
GM
162362011-04-12 Glenn Morris <rgm@gnu.org>
16237
088d0d61
GM
16238 * calendar/cal-tex.el (cal-tex-end-document):
16239 Try to automatically use latin1 input if needed.
16240
c0749a51
GM
16241 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16242 Don't try to cons a mark onto an empty element.
16243
5c90fde0
LL
162442011-04-11 Leo Liu <sdl.web@gmail.com>
16245
16246 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16247 buffers.
16248 (ido-kill-buffer-at-head): Support killing virtual buffers.
16249
369e974d
CY
162502011-04-10 Chong Yidong <cyd@stupidchicken.com>
16251
16252 * minibuffer.el (completion-show-inline-help): New var.
16253 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16254 (minibuffer-force-complete, minibuffer-complete-word):
16255 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16256
16257 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16258 to avoid interference from inline help (Bug#5849).
16259
37f1c930
LL
162602011-04-10 Leo Liu <sdl.web@gmail.com>
16261
099c39a4
JB
16262 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16263 Fix typo.
37f1c930 16264
a32d4040
CY
162652011-04-09 Chong Yidong <cyd@stupidchicken.com>
16266
16267 * image-mode.el (image-toggle-display-image): Signal an error if
16268 not in Image mode.
16269 (image-transform-mode, image-transform-resize)
16270 (image-transform-set-rotation): Doc fix.
daca8ba5 16271 (image-transform-set-resize): Delete.
a32d4040
CY
16272 (image-transform-set-scale, image-transform-fit-to-height)
16273 (image-transform-fit-to-width): Handle image-toggle-display-image
16274 and image-transform-resize directly.
16275
099c39a4 162762011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16277
16278 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16279 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16280 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16281 (doc-view-mode-map): Add bindings for the new functions.
16282
099c39a4 162832011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16284
4d61f28d 16285 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16286 Fix typo in docstring.
16287
3726838a
EZ
162882011-04-08 Eli Zaretskii <eliz@gnu.org>
16289
04f33f1e
EZ
16290 * files.el (file-size-human-readable): Produce one digit after
16291 decimal, like "ls -lh" does.
16292
16293 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16294 the file size representation.
16295
3726838a
EZ
16296 * simple.el (list-processes): If async subprocesses are not
16297 available, error out with a clear error message.
16298
cbb59342
CY
162992011-04-08 Chong Yidong <cyd@stupidchicken.com>
16300
16301 * help.el (help-form-show): New function, to be called from C.
16302 Put help-form output in a buffer named differently than *Help*.
16303
e3971c44
EZ
163042011-04-08 Eli Zaretskii <eliz@gnu.org>
16305
16306 * files.el (file-size-human-readable): New function.
16307
16308 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16309 computing the representation inline. Don't require `cl'.
16310
12544bbe
GM
163112011-04-08 Glenn Morris <rgm@gnu.org>
16312
a1de6c6a
GM
16313 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16314
3c4671f4
GM
16315 * net/browse-url.el (browse-url-firefox):
16316 Test system-type, not system-configuration.
16317
b605679c
GM
16318 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16319 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16320 Use log-edit-empty-buffer-p. (Bug#7598)
16321
56442f0c
GM
16322 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16323 (rlogin-mode-map): Initialize in the defvar.
16324 (rlogin): Use ignore-errors.
16325
12544bbe
GM
16326 * replace.el (occur-mode-map): Some fixes for menu items.
16327
eb237b0f
AH
163282011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16329
16330 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16331
7d668f2c
CY
163322011-04-06 Chong Yidong <cyd@stupidchicken.com>
16333
e67a13ab
CY
16334 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16335 issuing unused warnings.
16336
16337 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16338 macro directly.
16339
7d668f2c
CY
16340 * simple.el: Lisp reimplement of list-processes. Based on an
16341 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16342 (process-menu-mode): New major mode.
16343 (list-processes--refresh, list-processes):
16344 (process-menu-visit-buffer): New functions.
16345
16346 * files.el (save-buffers-kill-emacs): Don't assume any return
16347 value of list-processes, which is undocumented anyway.
16348
a83ec3c9
CY
163492011-04-06 Chong Yidong <cyd@stupidchicken.com>
16350
16351 * emacs-lisp/tabulated-list.el: New file.
16352
e91a96fe
CY
16353 * emacs-lisp/package.el: Use Tabulated List mode.
16354 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16355 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16356 table format using Tabulated List mode variables.
16357 (package--push): New macro, replacing package-list-maybe-add.
16358 (package-menu--generate): Use package--push. Renamed from
16359 package--generate-package-list.
16360 (package-menu-refresh, list-packages): Use it.
daca8ba5 16361 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16362 Return insertion data instead of inserting it directly.
099c39a4
JB
16363 (package-menu-describe-package, package-menu-execute):
16364 Use tabulated-list-get-id.
e91a96fe
CY
16365 (package-menu-mark-delete, package-menu-mark-install)
16366 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16367 (package-menu-mark-obsolete-for-deletion):
16368 Use tabulated-list-put-tag.
e91a96fe
CY
16369 (package--list-packages, package-menu-revert)
16370 (package-menu-get-package, package-menu-get-version)
16371 (package-menu-sort-by-column): Functions deleted.
16372 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16373 (package-menu--status-predicate, package-menu--version-predicate)
16374 (package-menu--name-predicate)
16375 (package-menu--description-predicate): Handle arguments in the
16376 Tabulated List format.
16377 (package-list-packages-no-fetch): Call list-packages.
16378
3e214b50
JB
163792011-04-06 Juanma Barranquero <lekktu@gmail.com>
16380
16381 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16382 (after-find-file): Don't bind it.
3e214b50
JB
16383 (revert-buffer-in-progress-p): New variable.
16384 (revert-buffer): Bind it.
16385 Pass nil for `after-find-file-from-revert-buffer'.
16386
16387 * saveplace.el (save-place-find-file-hook): Use new variable
16388 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16389
3f0f1700
GM
163902011-04-06 Glenn Morris <rgm@gnu.org>
16391
c0274801
GM
16392 * Makefile.in (AUTOGEN_VCS): New variable.
16393 (autoloads): Use $AUTOGEN_VCS.
16394
3f0f1700
GM
16395 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16396 * calendar/calendar.el (calendar-mode-map):
16397 Check for toolkit scroll bars. (Bug#8305)
16398
41ea9e48
CY
163992011-04-05 Chong Yidong <cyd@stupidchicken.com>
16400
16401 * minibuffer.el (completion-in-region--postch)
16402 (completion-in-region-mode): Remove unnecessary messages.
16403
6194c800
JB
164042011-04-05 Juanma Barranquero <lekktu@gmail.com>
16405
33256f14
JB
16406 * font-lock.el (font-lock-refresh-defaults):
16407 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16408 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16409
6194c800
JB
16410 * info.el (Info-directory-list, Info-read-node-name-2)
16411 (Info-split-parameter-string): Doc fixes.
16412 (Info-virtual-nodes): Reflow docstring.
16413 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16414 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16415 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16416 Fix typos in docstrings.
16417 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16418 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16419 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16420 (Info-restore-desktop-buffer): Mark unused parameters.
16421 (Info-directory-find-file, Info-directory-find-node)
16422 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16423 (Info-virtual-index-find-node, Info-apropos-find-file)
16424 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16425 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16426 (Info-virtual-index): Remove unused local variable `nodename'.
16427
b87a8200 164282011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16429
b87a8200
DD
16430 * net/rcirc.el: Update my e-mail address.
16431 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16432
3b2ff876
CY
164332011-04-05 Chong Yidong <cyd@stupidchicken.com>
16434
16435 * startup.el (command-line): Save the cursor's theme-face
16436 directly, instead of using face-override-spec.
16437
16438 * custom.el (load-theme): Minor optimization in assigning faces.
16439
8d17e7ca
JB
164402011-04-04 Juanma Barranquero <lekktu@gmail.com>
16441
16442 * help-fns.el (describe-variable): Complete all variables having
16443 documentation, including keywords.
16444 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16445
2fbc1934
JB
164462011-04-04 Juanma Barranquero <lekktu@gmail.com>
16447
16448 Convert to lexical-binding.
16449
16450 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16451 (bs--get-marked-string, bs--get-modified-string)
16452 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16453 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16454 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16455
16456 * ehelp.el (electric-help-execute-extended)
16457 (electric-help-ctrl-x-prefix):
16458 * hexl.el (hexl-revert-buffer-function):
16459 * linum.el (linum-after-change, linum-after-scroll):
16460 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16461
16462 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16463
74f50695
DU
164642011-04-04 Daiki Ueno <ueno@unixuser.org>
16465
16466 * epa-dired.el:
16467 * epa-mail.el:
16468 * epa-hook.el:
16469 * epa-file.el:
16470 * epa.el:
16471 * epg.el: Use lexical binding.
16472
c11325f7
CY
164732011-04-03 Chong Yidong <cyd@stupidchicken.com>
16474
0d9e9a12
CY
16475 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16476
c11325f7 16477 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16478 dictionary case for flyspell-mark-duplications-exceptions.
16479 Use regexp matching for languages.
c11325f7
CY
16480 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16481 default dictionary (Bug#7926).
16482
da91b5f2
CY
164832011-04-02 Chong Yidong <cyd@stupidchicken.com>
16484
099c39a4
JB
16485 * emacs-lisp/package.el (package--with-work-buffer):
16486 Recognize https URLs.
da91b5f2 16487
099c39a4
JB
16488 * net/network-stream.el: Move from gnus/proto-stream.el.
16489 Change prefix to network-stream throughout.
da91b5f2
CY
16490 (open-protocol-stream): Merge into open-network-stream, leaving
16491 open-protocol-stream as an alias. Handle nil BUFFER args.
16492
16493 * subr.el (open-network-stream): Move to net/network-stream.el.
16494
afa8e9f6
GM
164952011-04-02 Glenn Morris <rgm@gnu.org>
16496
1d2e369d
GM
16497 * find-dired.el (find-exec-terminator): New option.
16498 (find-ls-option): Test for -ls support.
16499 (find-ls-subdir-switches): Test for -b in find-ls-option.
16500 (find-dired, find-grep-dired): Doc fixes.
16501 (find-dired): Use find-exec-terminator.
16502
8abb7da8 16503 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16504 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16505 (find-name-arg): Remove purecopy.
8abb7da8 16506
f3ca7378
GM
16507 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16508 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16509 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16510 accordingly. Don't add the null-device if not needed.
16511
afa8e9f6
GM
16512 * files.el (save-some-buffers): Doc fix.
16513
35eae264
EZ
165142011-04-02 Eli Zaretskii <eliz@gnu.org>
16515
16516 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16517
26b51db5
JB
165182011-04-01 Juanma Barranquero <lekktu@gmail.com>
16519
16520 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16521 Use `dolist' rather than `mapcar'.
16522
7200d79c
SM
165232011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16524
03408648 16525 Add lexical binding.
7200d79c 16526
03408648
SM
16527 * subr.el (apply-partially): Use new closures rather than CL.
16528 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16529 (dolist, dotimes): Use slightly different expansion for lexical code.
16530 (functionp): Move to C.
16531 (letrec): New macro.
16532 (with-wrapper-hook): Use it and apply-partially instead of CL.
16533 (eval-after-load): Preserve lexical-binding.
16534 (save-window-excursion, with-output-to-temp-buffer): Turn them
16535 into macros.
7200d79c 16536
03408648
SM
16537 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16538
16539 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16540 than the arglist.
16541 (help-add-fundoc-usage): Don't add `Not documented'.
16542 (help-function-arglist): Handle closures, subroutines, and new
16543 byte-code-functions.
16544 (help-make-usage): Remove leading underscores.
16545 (describe-function-1): Handle closures.
16546 (describe-variable): Use special-variable-p for completion.
16547
16548 * files.el (lexical-binding): Declare safe.
f488fb65 16549
03408648
SM
16550 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16551 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16552 (pcase): Add `let' pattern.
16553 Change memoization so it actually works.
16554 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16555 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16556 <let>: New case.
f488fb65 16557
03408648
SM
16558 * emacs-lisp/macroexp.el: Use lexical binding.
16559 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16560 Don't convert ' to #' without checking that it's indeed quoting
16561 a lambda.
16562
16563 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16564 Use eval-sexp-add-defvars.
03408648
SM
16565 (eval-sexp-add-defvars): New fun.
16566
16567 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16568
16569 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16570 Don't autoload.
16571 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16572 than the internal `byte-compile-lambda'.
16573 (defmethod): Don't hide code under quotes.
16574 (eieio-defmethod): New `code' argument.
16575
16576 * emacs-lisp/eieio-comp.el: Remove.
16577
16578 * emacs-lisp/edebug.el (edebug-eval-defun)
16579 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16580 (edebug-toggle): Avoid `eval'.
16581
16582 * emacs-lisp/disass.el (disassemble-internal): Handle new
16583 `closure' objects.
16584 (disassemble-1): Handle new byte codes.
16585
16586 * emacs-lisp/cl.el (pushnew): Silence warning.
16587
16588 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16589 (cl-byte-compile-throw): Remove.
16590 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16591
16592 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16593 closures.
16594
16595 * emacs-lisp/cconv.el: New file.
16596
16597 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16598 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16599 (byte-compile-initial-macro-environment):
16600 Handle declare-function here.
16601 (byte-compile--lexical-environment): New var.
16602 (byte-stack-ref, byte-stack-set, byte-discardN)
16603 (byte-discardN-preserve-tos): New lap codes.
16604 (byte-interactive-p): Don't use any more.
16605 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16606 New macros.
16607 (byte-compile-lapcode): Use them and handle new lap codes.
16608 (byte-compile-obsolete): Remove.
16609 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16610 (byte-compile-arglist-warn): Check late def of inlinable funs.
16611 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16612 since they should have been expanded by now.
16613 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16614 (byte-compile-from-buffer): Remove unused second arg.
16615 (byte-compile-preprocess): New function.
16616 (byte-compile-toplevel-file-form): New function to distinguish
16617 file-form calls from outside from file-form calls from hunk-handlers.
16618 (byte-compile-file-form): Simplify.
16619 (byte-compile-file-form-defsubst): Remove.
16620 (byte-compile-file-form-defmumble): Simplify now that
16621 byte-compile-lambda always returns a byte-code-function.
16622 (byte-compile): Preprocess.
16623 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16624 Remove, not used any more.
16625 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16626 (byte-compile-make-args-desc): New funs.
16627 (byte-compile-lambda): Handle lexical functions. Always return
16628 a byte-code-function.
16629 (byte-compile-reserved-constants): New var, to make up room for
16630 closed-over variables.
16631 (byte-compile-constants-vector): Obey it.
16632 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16633 (byte-compile-macroexpand-declare-function): New function.
16634 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16635 byte-code-functions.
16636 (byte-compile-form): Check obsolescence here.
16637 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16638 (byte-compile-variable-ref): Remove.
16639 (byte-compile-dynamic-variable-op): New fun.
16640 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16641 (byte-compile-variable-set): New funs.
16642 (byte-compile-discard): Add 2 args.
16643 (byte-compile-stack-ref, byte-compile-stack-set)
16644 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16645 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16646 macroexpand-all instead.
16647 (byte-compile-quote-form): Remove.
16648 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16649 (byte-compile-bind, byte-compile-unbind): New funs.
16650 (byte-compile-let): Handle let* and lexical binding.
16651 (byte-compile-let*): Remove.
16652 (byte-compile-catch, byte-compile-unwind-protect)
16653 (byte-compile-track-mouse, byte-compile-condition-case):
16654 Handle a new :fun-body form, used for lexical scoping.
16655 (byte-compile-save-window-excursion)
16656 (byte-compile-with-output-to-temp-buffer): Remove.
16657 (byte-compile-defun): Simplify.
16658 (byte-compile-stack-adjustment): New fun.
16659 (byte-compile-out): Use it.
16660 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16661
16662 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16663 handler any more.
16664
16665 * emacs-lisp/byte-opt.el: Use lexical binding.
16666 (byte-inline-lapcode): Remove (to bytecomp).
16667 (byte-compile-inline-expand): Pay attention to inlining to/from
16668 lexically bound code.
16669 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16670 any more.
16671 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16672 any more and don't call compiler-macros.
16673 (byte-compile-splice-in-already-compiled-code): Remove.
16674 (byte-code): Don't inline any more.
16675 (disassemble-offset): Receive `bytes' as argument rather than via
16676 dynamic scoping.
16677 (byte-compile-tag-number): Declare before first use.
16678 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16679 `return' even if make-spliceable.
16680 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16681 obsolete interactive-p.
16682 (byte-optimize-lapcode): Optimize new lap-codes.
16683 Don't trip up on new form of `byte-constant' lap code.
16684
16685 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16686
16687 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16688
16689 * custom.el (custom-initialize-default, custom-declare-variable):
16690 Use `defvar'.
16691
16692 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16693 New variables.
16694 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16695 (COMPILE_FIRST): Add macroexp and cconv.
16696 * makefile.w32-in: Mirror changes in Makefile.in.
16697
16698 * vc/cvs-status.el:
16699 * vc/diff-mode.el:
16700 * vc/log-edit.el:
16701 * vc/log-view.el:
16702 * vc/smerge-mode.el:
16703 * textmodes/bibtex-style.el:
090bd7cb 16704 * textmodes/css-mode.el:
03408648
SM
16705 * startup.el:
16706 * uniquify.el:
da91b5f2
CY
16707 * minibuffer.el:
16708 * newcomment.el:
16709 * reveal.el:
16710 * server.el:
16711 * mpc.el:
16712 * emacs-lisp/smie.el:
16713 * doc-view.el:
16714 * dired.el:
03408648
SM
16715 * abbrev.el: Use lexical binding.
16716
0f0c1f27
EZ
167172011-04-01 Eli Zaretskii <eliz@gnu.org>
16718
16719 * info.el (info-display-manual): New function.
16720
c82b2579
SM
167212011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16722
16723 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16724
221ddf68
TH
167252011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16726
16727 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16728 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16729
cba6e77e
GM
167302011-03-31 Glenn Morris <rgm@gnu.org>
16731
e040639f
GM
16732 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16733
cba6e77e
GM
16734 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16735
6d0f1c9e
CS
167362011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16737
16738 * progmodes/python.el (python-default-interpreter)
16739 (python-python-command-args, python-jython-command-args)
16740 (python-which-shell, python-which-args, python-which-bufname)
16741 (python-file-queue, python-comint-output-filter-function)
16742 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16743 variables and functions.
16744
3e2d70fd
SM
167452011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16746
16747 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16748 (completion-in-region-mode): New minor mode.
16749 (completion-in-region): Use it.
16750 (completion-in-region--data, completion-in-region-mode-map): New vars.
16751 (completion-in-region--postch): New function.
16752 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16753 New vars.
16754 (completion--capf-wrapper): New function.
16755 (completion-at-point): Use it to track well-behavedness of
16756 hook functions.
16757 (completion-help-at-point): New command.
16758
f3e4086c
JM
167592011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16760
16761 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16762 syntax class to search for whitespace on a single line
16763 (Message-ID: <4D938140.4030905@redhat.com>).
16764
eb7ffc14
LL
167652011-03-30 Leo Liu <sdl.web@gmail.com>
16766
16767 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16768 New commands.
16769 (edit-abbrevs-map): Bind them here.
16770 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16771
d806ab68
KM
167722011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16773
16774 * allout.el (allout-hide-by-annotation, allout-flag-region):
16775 Reduce possibility of overlay leakage by making them volatile.
16776
16777 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16778 hash is not shared between buffers. Mode initialization is
16779 responsible for giving it a useful starting value.
16780 (allout-item-span): Reduce possibility of overlay leakage by
16781 making them volatile.
16782 (allout-widgets-count-buttons-in-region): Add diagnostic function
16783 for tracking down button overlay leaks.
16784
ea622834
LL
167852011-03-29 Leo Liu <sdl.web@gmail.com>
16786
16787 * ido.el (ido-read-internal): Use the default history var
16788 minibuffer-history if no HISTORY is specified.
16789
b62f8267
G
167902011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16791
03408648
SM
16792 * net/imap.el (imap-shell-open, imap-process-connection-type):
16793 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16794 Kerberos, SSL, other subprocesses.
16795
947b6566
LL
167962011-03-28 Leo Liu <sdl.web@gmail.com>
16797
16798 * abbrev.el (abbrev-table-empty-p): New function.
16799 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16800 nonempty ones. (Bug#5937)
16801
5ffb62aa
JD
168022011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16803
16804 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16805
7a097943
LL
168062011-03-27 Leo Liu <sdl.web@gmail.com>
16807
16808 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16809 for foreground and background colors.
16810 (ansi-color-make-color-map): Adapt.
16811
c5b40130
LL
168122011-03-25 Leo Liu <sdl.web@gmail.com>
16813
1f48f7d2
LL
16814 * midnight.el (midnight-time-float): Remove. Note it calculates
16815 the microsecond component incorrectly and seconds-to-time does the
16816 same job.
625897ec 16817 Remove redundant (require 'timer).
1f48f7d2 16818
c5b40130
LL
16819 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16820 (ido-completions): Remove unused arguments. (Bug#8329)
16821
d86d2721
SM
168222011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16823
16824 * minibuffer.el (completion--flush-all-sorted-completions):
16825 Remove itself from hook.
16826 (completion-at-point): Let the functions perform the completion
16827 immediately and return nil or t.
16828 * comint.el (comint-dynamic-complete-functions): Now identical to
16829 completion-at-point-functions.
16830 (comint-dynamic-list-input-ring): Remove unused var `index'.
16831 (comint--match-partial-filename, comint--unquote&expand-filename):
16832 New funs, split from comint-match-partial-filename.
16833 (comint-dynamic-complete): Use completion-at-point.
16834 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16835
e8974c48
DA
168362011-03-24 Drew Adams <drew.adams@oracle.com>
16837
16838 * thingatpt.el: Support `defun'.
16839
def71b5e
LL
168402011-03-23 Leo Liu <sdl.web@gmail.com>
16841
cb5af48e
LL
16842 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16843
def71b5e
LL
16844 * help-mode.el (help-mode-finish): Tweak regexp.
16845
927c53e7
GM
168462011-03-23 Glenn Morris <rgm@gnu.org>
16847
18d05bed
GM
16848 * eshell/esh-opt.el (eshell-eval-using-options):
16849 Do not bind unused local variable `eshell-option-stub'.
16850
927c53e7
GM
16851 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16852
9d0da923
JB
168532011-03-22 Juanma Barranquero <lekktu@gmail.com>
16854
16855 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16856 keymap variable in `with-no-warnings' to avoid a warning when the
16857 keymap has been already `defconst'ed.
16858
4b978a67
LL
168592011-03-22 Leo Liu <sdl.web@gmail.com>
16860
16861 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16862 encode all chars in abbrevs; otherwise use emacs-mule or
16863 utf-8-emacs. (Bug#8308)
16864
5fd62452
JB
168652011-03-22 Juanma Barranquero <lekktu@gmail.com>
16866
0b1596c6
JB
16867 * simple.el (backward-delete-char-untabify):
16868 Avoid warning about using `delete-backward-char'.
16869
5fd62452
JB
16870 * image.el (image-type-file-name-regexps): Make it variable.
16871 `imagemagick-register-types' modifies it, and the user may want
16872 to add new extensions for known image types.
16873 (imagemagick-register-types): Throw error if not using ImageMagick.
16874
0b4e93f1
LL
168752011-03-22 Leo Liu <sdl.web@gmail.com>
16876
16877 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16878 located before rcirc-prompt-end-marker.
16879 (rcirc-complete): Error if point is not after rcirc prompt.
16880 Handle the case when table is nil.
9882e214 16881 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16882
fccee4ab
CY
168832011-03-22 Chong Yidong <cyd@stupidchicken.com>
16884
16885 * custom.el (custom--inhibit-theme-enable): Make it affect only
16886 custom-theme-set-variables and custom-theme-set-faces.
16887 (provide-theme): Ignore custom--inhibit-theme-enable.
16888 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16889 (custom-enabling-themes): Delete variable.
d86d2721
SM
16890 (enable-theme): Accept only loaded themes as arguments.
16891 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16892 (custom-enabled-themes): Forbid themes from setting this.
16893 Eliminate use of custom-enabling-themes.
16894 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16895
af896da6
LL
168962011-03-21 Leo Liu <sdl.web@gmail.com>
16897
16898 * ido.el (ido-read-internal): Add ido-selected to history instead
16899 of user input.
16900
78f64af0
SM
169012011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16902
16903 * subr.el (deferred-action-list, deferred-action-function):
16904 Mark obsolete.
16905
b16ac1ec
LL
169062011-03-21 Leo Liu <sdl.web@gmail.com>
16907
810f7698
LL
16908 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16909 change on 2011-02-13 (bug#8309).
16910
b16ac1ec
LL
16911 * minibuffer.el (read-file-name-function): Change default value.
16912 (read-file-name--defaults): Rename from read-file-name-defaults.
16913 (read-file-name-default): Rename from read-file-name.
16914 (read-file-name): Call read-file-name-function.
16915
4e05e67e
GM
169162011-03-21 Glenn Morris <rgm@gnu.org>
16917
16918 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16919 Doc fixes.
16920
4359915b
CY
169212011-03-21 Chong Yidong <cyd@stupidchicken.com>
16922
16923 * cus-theme.el: Add missing provide statement.
16924 (customize-create-theme): Extract theme value correctly.
16925 (custom-theme-visit-theme): Autoload.
16926 (customize-create-theme): Prompt before inserting default faces.
16927
1fe275ee
JB
169282011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16929
16930 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16931 units and musical notes.
16932
cd394be1 169332011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16934
16935 * ido.el (ido-read-internal): Use completing-read-default.
16936 (ido-completing-read): Fix compatibility with completing-read.
16937
7d476bde
CO
169382011-03-20 Christian Ohler <ohler@gnu.org>
16939
16940 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16941 (ert-delete-all-tests): Use `called-interactively-p' rather than
16942 `interactive-p'.
16943 (ert--make-xrefs-region): Respect END.
16944
fe0fb33e
CY
169452011-03-19 Chong Yidong <cyd@stupidchicken.com>
16946
ff854b0b
CY
16947 * dired-aux.el (dired-create-directory): Signal an error if the
16948 directory already exists (Bug#8246).
16949
fe0fb33e
CY
16950 * facemenu.el (list-colors-display): Call list-faces-display
16951 inside with-help-window.
16952 (list-colors-print): Use display property to align the final
16953 column, instead of checking window-width.
16954
576bce32
EZ
169552011-03-19 Eli Zaretskii <eliz@gnu.org>
16956
4d61f28d 16957 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16958 windows-nt systems.
16959 (emerge-protect-metachars): Quote correctly for ms-dos and
16960 windows-nt systems.
16961
89c41d68 169622011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16963
16964 * info.el (info-initialize): Replace all uses of `:' with
16965 path-separator for compatibility with non-Unix systems.
16966 Cache quoting of path-separator. (Bug#8258)
16967
b14e3e21 169682011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16969
16970 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16971 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16972 (mouse-avoidance-mode): Fix typos in docstrings.
16973
4525ce3e
CY
169742011-03-19 Chong Yidong <cyd@stupidchicken.com>
16975
16976 * startup.el (package-subdirectory-regexp): Move from package.el.
16977 Omit \\` and \\', and let callers add them.
16978
16979 * emacs-lisp/package.el (package-strip-version)
16980 (package-load-all-descriptors): Add \\` and \\' to
16981 package-subdirectory-regexp before using it.
16982 (package-untar-buffer): New arg DIR; ensure that file untars only
16983 into this expected directory. Remove superfluous delete-region.
16984 (package-unpack): Caller changed.
16985 (package-tar-file-info): Use package-subdirectory-regexp.
16986
a904a09a 169872011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16988
a904a09a
SM
16989 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16990 diff-mode-shared-map (bug#8284).
16991 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16992
169932011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16994
16995 * calendar/time-date.el (format-seconds): Use assoc instead of
16996 assoc-string, since assoc-string doesn't exist in XEmacs.
16997
171fc304
JB
169982011-03-17 Juanma Barranquero <lekktu@gmail.com>
16999
17000 * custom.el (custom-known-themes): Reflow docstring.
17001 (custom-theme-load-path): Fix typo in docstring.
17002 (load-theme): Fix typo in error message.
17003 (custom-available-themes, custom-variable-theme-value):
17004 Use `let', not `let*'.
17005
d71990a1
JB
170062011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17007
17008 * calc/README: Mention inclusion of musical notes.
17009
17010 * calc/calc-units.el (calc-lu-quant): Rename from
17011 `calc-logunits-quantity'.
17012 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17013 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17014 (calc-db): Rename from `calc-dblevel'.
17015 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17016 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17017 (calc-np): Rename from `calc-nplevel'.
17018 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17019 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17020 (calc-lu-plus): Rename from `calc-logunits-add'.
17021 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17022 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17023 (calc-lu-minus): Rename from `calc-logunits-sub'.
17024 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17025 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17026 (calc-lu-times): Rename from `calc-logunits-mul'.
17027 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17028 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17029 (calc-lu-divide): Rename from `calc-logunits-div'.
17030 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17031 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17032
17033 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17034 functions being autoloaded.
17035
17036 * calc/calc.el (calc-lu-power-reference): Rename from
17037 `calc-logunits-power-reference'.
17038 (calc-lu-field-reference): Rename from
17039 `calc-logunits-field-reference'.
17040
7a71b18d
GM
17041 * calc/calc-help.el (calc-l-prefix-help):
17042 Mention musical note functions.
d71990a1 17043
40c2934b
SM
170442011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17045
17046 * minibuffer.el (completion-all-sorted-completions):
17047 Use :completion-cycle-penalty text property if present.
17048
b0911414
KM
170492011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17050
17051 * allout.el (allout-yank-processing): Adjust for new rebulleting
17052 regime so bullet being yanked is used without prompting the user
17053 for a choice.
17054
8a05b668
JB
170552011-03-16 Juanma Barranquero <lekktu@gmail.com>
17056
17057 * startup.el (command-line): Warn the user that _emacs is deprecated.
17058
5ba5fb81
JB
170592011-03-16 Juanma Barranquero <lekktu@gmail.com>
17060
17061 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17062 (delphi-verbose, delphi-comment-face, delphi-string-face)
17063 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17064 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17065 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17066 (delphi-new-comment-line, delphi-font-lock-defaults)
17067 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17068 Fix typos in docstrings.
17069
2dab465b
KM
170702011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17071
5ba5fb81 17072 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17073 Invert the roles of character and string values for INSTEAD, so a
17074 string is used for the more common case of a defaulting prompt.
17075
0adf5618
SM
170762011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17077
17078 * progmodes/ruby-mode.el (ruby-backward-sexp):
17079 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17080 * play/gamegrid.el (gamegrid-make-face):
17081 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17082 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17083 * notifications.el (notifications-notify):
17084 * net/xesam.el (xesam-search-engines):
17085 * net/quickurl.el (quickurl-list-insert):
17086 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17087
d72700e5
CY
170882011-03-15 Chong Yidong <cyd@stupidchicken.com>
17089
17090 * startup.el (command-line): Update package subdirectory regexp.
17091
49c5410a
SM
170922011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17093
c6eee9aa
SM
17094 * allout.el (allout-abbreviate-flattened-numbering)
17095 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17096
49c5410a
SM
17097 * subr.el (read-char-choice): Only show the cursor after the prompt,
17098 not after the answer.
17099
047b2bb9
KR
171002011-03-15 Kevin Ryde <user42@zip.com.au>
17101
17102 * help-fns.el (variable-at-point): Skip leading quotes, if any
17103 (bug#8253).
17104
0a57d256
SM
171052011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17106
17107 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17108 warning message.
17109
77c992bc
MA
171102011-03-14 Michael Albinus <michael.albinus@gmx.de>
17111
17112 * shell.el (shell): When called interactively, offer to change the
17113 shell file name on remote hosts.
17114
eebc475d
TZ
171152011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17116
17117 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17118 integration for LDAP parameters. The host, base, user or binddn,
17119 and secret tokens can be specified in a netrc file, for instance.
17120 This is optional because an `auth-source' parameter must be
17121 specified in the search attributes.
17122
9d05d1ba
JB
171232011-03-13 Juanma Barranquero <lekktu@gmail.com>
17124
17125 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17126
09d9db2c
GM
171272011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17128
17129 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17130 into declaration. Remove redundant and harmful binding.
17131
171322011-03-12 Eli Zaretskii <eliz@gnu.org>
17133
17134 * files.el (file-ownership-preserved-p): Pass `integer' as an
17135 explicit 2nd argument to `file-attributes'. If the file's owner
17136 is the Administrators group on Windows, and the current user is
17137 Administrator, consider that a match.
17138
17139 * server.el (server-ensure-safe-dir): Consider server directory
17140 safe on MS-Windows if its owner is the Administrators group while
17141 the current Emacs user is Administrator. Use `=' to compare
17142 numerical UIDs, since they could be integers or floats.
17143
219bd536
JB
171442011-03-12 Juanma Barranquero <lekktu@gmail.com>
17145
17146 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17147
f3afd36b
MA
171482011-03-12 Michael Albinus <michael.albinus@gmx.de>
17149
17150 Sync with Tramp 2.2.1.
17151
17152 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17153
17154 * net/trampver.el: Update release number.
17155
3aaaa6f1
SM
171562011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17157
94642599
SM
17158 * progmodes/compile.el (compilation--previous-directory): Fix up
17159 various nil/dead-marker mismatches (bug#8014).
17160 (compilation-directory-properties, compilation-error-properties):
17161 Don't call it at a position past the one we're about to change.
17162
3aaaa6f1
SM
17163 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17164 Disable obsolescence warnings in the file that declares it.
17165
14239447
KM
171662011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17167
099c39a4
JB
17168 * allout-widgets.el (allout-widgets-tally):
17169 Initialize allout-widgets-tally as a hash table rather than nil to
17170 prevent mode-line redisplay warnings. Also, clarify the module
17171 description and fix a comment typo.
14239447 17172
135e287c
JB
171732011-03-11 Juanma Barranquero <lekktu@gmail.com>
17174
17175 * help-fns.el (describe-variable): Don't complete keywords.
17176 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17177
ffbf300e
CY
171782011-03-10 Chong Yidong <cyd@stupidchicken.com>
17179
ba08b241
CY
17180 * emacs-lisp/package.el (package-version-join): Impose a standard
17181 string representation for pre/alpha/beta version lists.
17182 (package-unpack-single): Standardize the directory name by passing
17183 it through package-version-join.
17184 (package-strip-rcs-id): Accept any version string that does not
17185 signal an error in version-to-list.
ffbf300e 17186
f346fd6b
MA
171872011-03-10 Michael Albinus <michael.albinus@gmx.de>
17188
17189 * simple.el (delete-trailing-whitespace): Return nil for the
17190 benefit of `write-file-functions'.
17191
ccb55d27
GM
171922011-03-10 Glenn Morris <rgm@gnu.org>
17193
5ceaac0c
GM
17194 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17195
02da65ff
GM
17196 * vc/vc-git.el (vc-git-program): New option.
17197 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17198 (vc-git--call): Use it.
17199
b2f603cc
GM
17200 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17201
5772caab
GM
17202 * cus-edit.el (Custom-newline): If no button at point, look
17203 for a subgroup button at start-of-line. (Bug#2298)
17204
ccb55d27
GM
17205 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17206
ec6ecaed
JD
172072011-03-10 Julien Danjou <julien@danjou.info>
17208
17209 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17210 `cursor-type' is nil.
17211
9d5aa01d
JB
172122011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17213
17214 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17215
b6a5875b
KM
172162011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17217
7a71b18d 17218 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17219 preserves the existing header prefix, rebulleting it if necessary,
17220 rather than replacing it. This is necessary for proper operation
17221 of cooperative addons like allout-widgets.
1154d12e
JB
17222 (allout-make-topic-prefix, allout-rebullet-heading):
17223 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17224 value as alternate bullet to be used, instead of prompting the user
17225 for a bullet character.
b6a5875b 17226
ee545c35
MA
172272011-03-09 Michael Albinus <michael.albinus@gmx.de>
17228
d86d2721
SM
17229 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17230 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17231 `tramp-default-port'.
17232
c47971d7
DD
172332011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17234
17235 * net/rcirc.el (rcirc-handler-001): Remove useless
17236 with-rcirc-process-buffer.
17237 (rcirc-check-auth-status): Swap arguments to string-match.
17238
13522cb4
GM
172392011-03-09 Glenn Morris <rgm@gnu.org>
17240
0be6f4f1
GM
17241 * shell.el (shell-mode):
17242 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17243
13522cb4
GM
17244 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17245 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17246
515de2e3
CY
172472011-03-08 Chong Yidong <cyd@stupidchicken.com>
17248
17249 * emacs-lisp/package.el (package-refresh-contents)
17250 (package-menu-execute): Use condition-case-no-debug.
17251
b511b994
MA
172522011-03-08 Michael Albinus <michael.albinus@gmx.de>
17253
17254 * simple.el (shell-command-to-string): Use `process-file'.
17255
17256 * emacs-lisp/package.el (package-tar-file-info): Handle also
17257 remote files.
17258
d86d2721
SM
17259 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17260 Use `equal' for upload base check.
b511b994 17261
25bbfb31
AM
172622011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17263
17264 * textmodes/texinfo.el (texinfo-environments):
17265 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17266
be996521
GM
172672011-03-08 Glenn Morris <rgm@gnu.org>
17268
e9c8529f
GM
17269 * cus-start.el (cursor-in-non-selected-windows):
17270 Fix :set quoting oddness. (Bug#8192)
17271
be996521
GM
17272 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17273 in some setf expressions. (Bug#2159)
17274
2bb5649e
CY
172752011-03-08 Chong Yidong <cyd@stupidchicken.com>
17276
17277 * custom.el (custom-available-themes): Return themes in
17278 alphabetical order.
17279
33383987 17280See ChangeLog.15 for earlier changes.
e3d51b27
MR
17281
17282;; Local Variables:
17283;; coding: utf-8
e3d51b27
MR
17284;; End:
17285
acaf905b 17286 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17287
17288 This file is part of GNU Emacs.
17289
17290 GNU Emacs is free software: you can redistribute it and/or modify
17291 it under the terms of the GNU General Public License as published by
17292 the Free Software Foundation, either version 3 of the License, or
17293 (at your option) any later version.
17294
17295 GNU Emacs is distributed in the hope that it will be useful,
17296 but WITHOUT ANY WARRANTY; without even the implied warranty of
17297 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17298 GNU General Public License for more details.
17299
17300 You should have received a copy of the GNU General Public License
17301 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.